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,22 @@
local stonePosition = Position(32826, 32274, 11)
function removeStone()
local stoneItem = Tile(stonePosition):getItemById(1772)
if stoneItem then
stoneItem:remove()
stonePosition:sendMagicEffect(CONST_ME_POFF)
end
end
function onStepIn(creature, item, position, fromPosition)
local player = creature:getPlayer()
if not player then
return true
end
player:teleportTo(Position(32826, 32273, 12))
player:getPosition():sendMagicEffect(CONST_ME_EXPLOSIONAREA)
Game.createItem(1772, 1, stonePosition)
addEvent(removeStone, 10 * 1000)
return true
end