Index: automatisation.lua =================================================================== --- automatisation.lua (revision 4120) +++ automatisation.lua (working copy) @@ -76,15 +76,55 @@ end; function OnGameHourAutomatisation() - local VanadielHour = VanadielHour(); +local VanadielHour = VanadielHour(); - GetNPCByID(16806282):openDoor(); -- Attohwa Chasm miasma +GetNPCByID(16806282):openDoor(); -- Attohwa Chasm miasma - if(VanadielHour % 3 == 0) then -- Opens flame spouts every 3 hours Vana'diel time - GetNPCByID(17617203):openDoor(90); -- Ifrit's Cauldron flame spout (H-6) Map 1 - GetNPCByID(17617204):openDoor(90); -- Ifrit's Cauldron flame spout (H-6) Map 5 - GetNPCByID(17617205):openDoor(90); -- Ifrit's Cauldron flame spout (I-10) Map 8 - GetNPCByID(17617206):openDoor(90); -- Ifrit's Cauldron flame spout (E-7) Map 8 + if(VanadielHour == 0)then + GetNPCByID(17854973):openDoor(864); end + if(VanadielHour % 3 == 0) then + -- Opens flame spouts every 3 hours Vana'diel time + GetNPCByID(17617203):openDoor(90); + -- Ifrit's Cauldron flame spout (H-6) Map 1 + GetNPCByID(17617204):openDoor(90); + -- Ifrit's Cauldron flame spout (H-6) Map 5 + GetNPCByID(17617205):openDoor(90); + -- Ifrit's Cauldron flame spout (I-10) Map 8 + GetNPCByID(17617206):openDoor(90); + -- Ifrit's Cauldron flame spout (E-7) Map 8 + end + if(VanadielHour == 3)then + GetNPCByID(17854962):openDoor(864); + GetNPCByID(17854974):openDoor(864); + end + if(VanadielHour == 6)then + GetNPCByID(17854956):openDoor(864); + GetNPCByID(17854975):openDoor(864); + GetNPCByID(17854965):openDoor(864); + GetNPCByID(17854979):openDoor(864); + end + if(VanadielHour == 9)then + GetNPCByID(17854960):openDoor(864); + GetNPCByID(17854976):openDoor(864); + end + if(VanadielHour == 12)then + GetNPCByID(17854954):openDoor(864); + GetNPCByID(17854977):openDoor(864); + end + if(VanadielHour == 15)then + GetNPCByID(17854978):openDoor(864); + end + if(VanadielHour == 18)then + GetNPCByID(17854956):openDoor(864); + GetNPCByID(17854975):openDoor(864); + GetNPCByID(17854965):openDoor(864); + GetNPCByID(17854979):openDoor(864); + end + if(VanadielHour == 21)then + GetNPCByID(17854960):openDoor(864); + GetNPCByID(17854976):openDoor(864); + GetNPCByID(17854980):openDoor(864); + end end; \ No newline at end of file