mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-19 16:53:26 +02:00
99% poi quest done. Missing bureaucrats npcs, maybe some exit tps and quest log
This commit is contained in:
11
data/actions/scripts/pits_of_inferno/bazirMazeLever.lua
Normal file
11
data/actions/scripts/pits_of_inferno/bazirMazeLever.lua
Normal 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
|
Reference in New Issue
Block a user