mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-18 16:23:27 +02:00
99% poi quest done. Missing bureaucrats npcs, maybe some exit tps and quest log
This commit is contained in:
16
data/actions/scripts/pits_of_inferno/mazeStone.lua
Normal file
16
data/actions/scripts/pits_of_inferno/mazeStone.lua
Normal file
@@ -0,0 +1,16 @@
|
||||
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
|
||||
if item.itemid == 2773 then
|
||||
return false
|
||||
end
|
||||
|
||||
toPosition.x = toPosition.x - 1
|
||||
toPosition.y = toPosition.y + 1
|
||||
|
||||
local stone = Tile(toPosition):getItemById(1791)
|
||||
if stone then
|
||||
stone:remove()
|
||||
end
|
||||
|
||||
item:transform(2773)
|
||||
return true
|
||||
end
|
Reference in New Issue
Block a user