Moved dropLoot to Lua