I've replaced standard tfs 1.2 drooploot.lua with this:
In corpse after death you cannot find that item. Why is that?
LUA:
function onDeath(player, corpse, killer, mostDamage, unjustified, mostDamage_unjustified)
local container = Container(corpse)
if not Player(killer) or not container then
return
end
container:addItem(5943, 1)
return true
end
In corpse after death you cannot find that item. Why is that?