mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-18 08:13:27 +02:00
99% poi quest done. Missing bureaucrats npcs, maybe some exit tps and quest log
This commit is contained in:
14
data/actions/scripts/pits_of_inferno/trapLever.lua
Normal file
14
data/actions/scripts/pits_of_inferno/trapLever.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
Reference in New Issue
Block a user