From 4841a5e469b6cf1cfd573c194a28b4e0e451683b Mon Sep 17 00:00:00 2001 From: The Dax Date: Tue, 1 Jul 2025 11:39:24 -0400 Subject: [PATCH] InspectPlayer: add quantity amount to the print statements for the inventory --- resources/scripts/commands/gm/InspectPlayer.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/scripts/commands/gm/InspectPlayer.lua b/resources/scripts/commands/gm/InspectPlayer.lua index da4ad60..5aea8d8 100644 --- a/resources/scripts/commands/gm/InspectPlayer.lua +++ b/resources/scripts/commands/gm/InspectPlayer.lua @@ -72,7 +72,8 @@ function onCommand(args, player) printf(player, "--- Page %s ---", page_num) for slot_num, slot in pairs(page.slots) do if slot.id ~= NO_ITEM then - printf(player, "slot %s: (id: %s, condition: %s%%)", slot_num, slot.id, getItemCondition(slot.condition)) + printf(player, "slot %s: (id: %s, condition: %s%%, quantity: %s)", + slot_num, slot.id, getItemCondition(slot.condition), slot.quantity) end end end