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 cStorages = {
[2090] = 17679, -- ThroneInfernatil
[2091] = 17680, -- ThroneTafariel
[2092] = 17681, -- ThroneVerminor
[2093] = 17682, -- ThroneApocalypse
[2094] = 17683, -- ThroneBazir
[2095] = 17684, -- ThroneAshfalor
[2096] = 17685 -- ThronePumin
}
function onStepIn(creature, item, position, fromPosition)
local player = creature:getPlayer()
if not player then
return true
end
if player:getStorageValue(cStorages[item:getMovementId()]) ~= 1 then
player:teleportTo(fromPosition)
player:say('You\'ve not absorbed energy from this throne.', TALKTYPE_MONSTER_SAY)
end
return true
end