MadMOOK
Hoo
- Joined
- Apr 20, 2011
- Messages
- 802
- Reaction score
- 43
in the mines... when a dwarf dies on top of remains of gold ore, it doesnt remove the remains and the big stone comes back with the remains on top of it so u cant mine it again...
So my question is, how do i remove the dwarf bodies WITH the remains of gold ore?
So my question is, how do i remove the dwarf bodies WITH the remains of gold ore?
Code:
function dostoneReturn(itemposition,oldid)
local pos = getThingfromPos(itemposition)
doTransformItem(pos.uid,oldid)
doSetItemText(pos.uid, getItemNameById(oldid))
doSendMagicEffect(itemposition,math.random(28,30))
end