changeset 221:9dca914cbd13

Added debug print for currency looting.
author James D. Callahan III <jcallahan@curse.com>
date Mon, 28 Jan 2013 11:10:54 -0600
parents 62434c87d375
children c0e19e730b06
files Main.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Main.lua	Fri Jan 25 16:37:13 2013 -0600
+++ b/Main.lua	Mon Jan 28 11:10:54 2013 -0600
@@ -1634,6 +1634,7 @@
                 --            elseif slot_type == _G.LOOT_SLOT_MONEY then
                 --                table.insert(current_action.loot_list, ("money:%d"):format(_toCopper(item_text)))
             elseif slot_type == _G.LOOT_SLOT_CURRENCY then
+                Debug(("Found currency: %s"):format(icon_texture))
                 table.insert(current_loot.list, ("currency:%d:%s"):format(quantity, icon_texture:match("[^\\]+$"):lower()))
             end
         end