99% poi quest done. Missing bureaucrats npcs, maybe some exit tps and quest log

This commit is contained in:
ErikasKontenis
2020-05-05 17:24:05 +03:00
parent 92998c466c
commit 99ea898868
33 changed files with 1429 additions and 461 deletions

View File

@@ -0,0 +1,20 @@
local lava = {
Position(32912, 32209, 15),
Position(32913, 32209, 15),
Position(32912, 32210, 15),
Position(32913, 32210, 15)
}
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
local lavaTile
for i = 1, #lava do
lavaTile = Tile(lava[i]):getGround()
if lavaTile and isInArray({410, 727}, lavaTile.itemid) then
lavaTile:transform(lavaTile.itemid == 727 and 410 or 727)
lava[i]:sendMagicEffect(CONST_ME_POFF)
end
end
item:transform(item.itemid == 2772 and 2773 or 2772)
return true
end