mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-20 09:13:27 +02:00
99% poi quest done. Missing bureaucrats npcs, maybe some exit tps and quest log
This commit is contained in:
12
data/actions/scripts/pits_of_inferno/stoneLever.lua
Normal file
12
data/actions/scripts/pits_of_inferno/stoneLever.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
|
||||
if item.itemid == 2772 then
|
||||
local stonePosition = Position(32849, 32282, 10)
|
||||
local stoneItem = Tile(stonePosition):getItemById(1791)
|
||||
if stoneItem then
|
||||
stoneItem:remove()
|
||||
stonePosition:sendMagicEffect(CONST_ME_EXPLOSIONAREA)
|
||||
item:transform(2773)
|
||||
end
|
||||
end
|
||||
return true
|
||||
end
|
Reference in New Issue
Block a user