introduce new custom items

This commit is contained in:
ErikasKontenis
2022-07-24 14:55:36 +03:00
parent c511e72afd
commit 327800f990
7 changed files with 269 additions and 2 deletions

View File

@@ -157,6 +157,8 @@
<action itemid="3653" script="misc/special_rights.lua" />
<action itemid="3696" script="misc/special_rights.lua" />
<action itemid="3702" script="misc/special_rights.lua" />
<action itemid="17115" script="misc/special_rights.lua" />
<action itemid="17137" script="misc/special_rights.lua" />
<!-- Fun -->
<action actionid="17572" script="misc/rookgard_skip.lua" />

View File

@@ -3,7 +3,7 @@ function onUse(player, item, fromPosition, target, toPosition)
if item:getId() == 372 then
item:transform(394, 1)
item:decay()
elseif item:getId() == 386 or item:getId() == 421 then
elseif item:getId() == 386 or item:getId() == 421 or item:getId() == 17115 or item:getId() == 17137 then
local relPos = item:getPosition():moveRel(0, 1, -1)
player:teleportTo(relPos)
elseif item:getId() == 593 then