Index: scripts/zones/Phomiuna_Aqueducts/npcs/_0rs.lua =================================================================== --- scripts/zones/Phomiuna_Aqueducts/npcs/_0rs.lua (revision 2251) +++ scripts/zones/Phomiuna_Aqueducts/npcs/_0rs.lua (working copy) @@ -22,7 +22,7 @@ function onTrigger(player,npc) - player:messageSpecial(7166); -- earth lampe + player:messageSpecial(7165); -- earth lampe GetNPCByID(16888069):openDoor(7); local element = VanadielDayElement(); Index: scripts/zones/Phomiuna_Aqueducts/npcs/qm5.lua =================================================================== --- scripts/zones/Phomiuna_Aqueducts/npcs/qm5.lua (revision 0) +++ scripts/zones/Phomiuna_Aqueducts/npcs/qm5.lua (working copy) @@ -0,0 +1,42 @@ +----------------------------------- +-- Area: Phomiuna Aqueducts +-- NPC: ??? +----------------------------------- + +----------------------------------- +-- onTrade Action +----------------------------------- + +function onTrade(player,npc,trade) +end; + +----------------------------------- +-- onTrigger Action +----------------------------------- + +function onTrigger(player,npc) + local xPos = player:getXPos(); + if (xPos <= -65) then + GetNPCByID(16888062):openDoor(7) + else + player:messageSystem(9); + end +end; + +----------------------------------- +-- onEventUpdate +----------------------------------- + +function onEventUpdate(player,csid,option) +--printf("CSID: %u",csid); +--printf("RESULT: %u",option); +end; + +----------------------------------- +-- onEventFinish +----------------------------------- + +function onEventFinish(player,csid,option) +--printf("CSID: %u",csid); +--printf("RESULT: %u",option); +end; \ No newline at end of file