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:
22
data/movements/scripts/pits_of_inferno/bazirTiles.lua
Normal file
22
data/movements/scripts/pits_of_inferno/bazirTiles.lua
Normal 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
|
Reference in New Issue
Block a user