2025-02-26 13:42:34 +01:00

15 lines
310 B
Lua

function onUse(player, item, fromPosition, target, toPosition, isHotkey)
item:transform(item.itemid == 2772 and 2773 or 2772)
if item.itemid ~= 2772 then
return true
end
local stoneItem = Tile(Position(32826, 32274, 11)):getItemById(1772)
if stoneItem then
stoneItem:remove()
end
return true
end