First commit

This commit is contained in:
2025-02-26 13:42:34 +01:00
commit f465c9072c
2467 changed files with 426214 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
local portal = Tile(Position(32816, 32345, 13)):getItemById(1949)
if not portal then
local item = Game.createItem(1949, 1, Position(32816, 32345, 13))
item:setMovementId(17686)
else
portal:remove()
end
item:transform(item.itemid == 2772 and 2773 or 2772)
return true
end