mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-16 15:24:55 +02:00
99% poi quest done. Missing bureaucrats npcs, maybe some exit tps and quest log
This commit is contained in:
17
data/movements/scripts/pits_of_inferno/puminTeleport.lua
Normal file
17
data/movements/scripts/pits_of_inferno/puminTeleport.lua
Normal file
@@ -0,0 +1,17 @@
|
||||
function onStepIn(creature, item, position, fromPosition)
|
||||
local player = creature:getPlayer()
|
||||
if not player then
|
||||
return true
|
||||
end
|
||||
|
||||
if 1 == 1 then
|
||||
-- TODO: if player:getStorageValue(Storage.PitsOfInferno.Pumin) > 8 then
|
||||
player:teleportTo(Position(32786, 32308, 15))
|
||||
player:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
|
||||
else
|
||||
player:teleportTo(fromPosition)
|
||||
player:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
|
||||
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'To enter Pumin\'s domain you must gain permission from the bureaucrats.')
|
||||
end
|
||||
return true
|
||||
end
|
Reference in New Issue
Block a user