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 config = {
[16772] = Position(32754, 32365, 15),
[16773] = Position(32725, 32381, 15),
[16774] = Position(32827, 32241, 12),
[50082] = Position(32745, 32394, 14),
[50083] = Position(32745, 32394, 14)
}
function onStepIn(creature, item, position, fromPosition)
local player = creature:getPlayer()
if not player then
return true
end
local targetPosition = config[item:getMovementId()]
if not targetPosition then
return true
end
player:teleportTo(targetPosition)
return true
end