From b4ed8eeac780841370acb16c2e63787ea5795b2a Mon Sep 17 00:00:00 2001 From: Durel Date: Fri, 18 May 2018 16:11:44 -0400 Subject: [PATCH] 1) Added a workaround for quivers. Aard reports a quiver wearable location as "ready" but you can't wear anything at the "ready" location. Instead, you must wear it as the "readied" location. Dinv now translates "ready" to "readied" as necessary. 2) Added "@Gdinv consume display owned@W" mode to list only items in your consumable table that you actually have in your inventory. This gives you a quick summary of what you are actually carrying and suppresses items if you don't have any of that item type. --- aard_inventory.xml | 61 ++++++++++++++++++++++++++++++++++------------ 1 file changed, 46 insertions(+), 15 deletions(-) diff --git a/aard_inventory.xml b/aard_inventory.xml index cf6688e..47e6cea 100644 --- a/aard_inventory.xml +++ b/aard_inventory.xml @@ -89,7 +89,7 @@ dbot.version : Module to track version and changelog information and update the save_state="y" date_written="2017-08-12 08:45:15" requires="4.98" - version="2.0043" + version="2.0044" > 0)) then + if (not didPrintHeader) then + dbot.print(header) + didPrintHeader = true + end -- if + dbot.print(string.format(" %3d %5d %s%4d@w %s", + (entry.level or 0), (entry.room or 0), countColor, count, (entry.name or "nil"))) + end -- if numEntries = numEntries + 1 end -- for end -- if