mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-12-12 12:59:47 +01:00
introduce new custom items
This commit is contained in:
@@ -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" />
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user