comparison Main.lua @ 81:3db9f681d2e5

Writing Lua using Python syntax isn't very productive.
author James D. Callahan III <jcallahan@curse.com>
date Wed, 22 Aug 2012 13:45:24 -0500
parents fffa5af4c6ce
children fc3e8a55d7ea
comparison
equal deleted inserted replaced
80:fffa5af4c6ce 81:3db9f681d2e5
984 elseif slot_type == _G.LOOT_SLOT_CURRENCY then 984 elseif slot_type == _G.LOOT_SLOT_CURRENCY then
985 table.insert(action_data.loot_list, ("currency:%d:%s"):format(quantity, icon_texture:match("[^\\]+$"):lower())) 985 table.insert(action_data.loot_list, ("currency:%d:%s"):format(quantity, icon_texture:match("[^\\]+$"):lower()))
986 end 986 end
987 end 987 end
988 988
989 for guid in guids_used do 989 for guid in pairs(guids_used) do
990 loot_guid_registry[guid] = true 990 loot_guid_registry[guid] = true
991 end 991 end
992 update_func() 992 update_func()
993 end 993 end
994 end -- do-block 994 end -- do-block