2025-02-26 13:42:34 +01: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