2020-03-20 00:17:07 +02:00

7 lines
290 B
Lua

function onUse(player, item, fromPosition, target, toPosition)
if item:getId() == 2772 and Game.isItemThere({x = 33145, y = 32863, z = 8}, 1650) then
Game.removeItemOnMap({x = 33145, y = 32863, z = 8}, 1650)
Game.createItem(1651, 1, {x = 33145, y = 32863, z = 8})
end
return true
end