Script:player on quest: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{DISPLAYTITLE:Script:player_on_quest}}
{{ScriptVariablePage
The <code>#player_on_quest</code> [[Script:Variables|global script variable]] encodes the state of the main quest. The values have the following meaning:
|context=global
|type=int
|description=the state of the main quest
}}
The values have the following meaning:


# Player has talked to {{Entity|human_base_0082}}.<br>Precondition: <code>#player_on_quest == 0</code><br>Player was given {{Entity|note_0020}}.<br>Player was tasked to deliver the note to {{Entity|troll_base_0016}}, asking the trolls to clear the rocks blocking the entrance to the [[City of Arx]] from the [[Human Outpost]]
# Player has talked to {{Entity|human_base_0082}}.<br>Precondition: <code>#player_on_quest == 0</code><br>Player was given {{Entity|note_0020}}.<br>Player was tasked to deliver the note to {{Entity|troll_base_0016}}, asking the trolls to clear the rocks blocking the entrance to the [[City of Arx]] from the [[Human Outpost]]

Revision as of 19:11, 2 January 2024

The #player_on_quest global variable contains the state of the main quest. The values have the following meaning:

  1. Player has talked to Lord Lunshire (human_base_0082).
    Precondition: #player_on_quest == 0
    Player was given (note_0020).
    Player was tasked to deliver the note to Pog (troll_base_0016), asking the trolls to clear the rocks blocking the entrance to the City of Arx from the Human Outpost
  2. Player has talked to Lord Lunshire (human_base_0082) after completing the troll quest.
    Precondition: #player_on_quest != 0 && #troll_quest == 2
    Player was given permission to go anywhere in the Castle of Arx including the private chambers.
    Player was given (key_base_0021) which unlocks the player's room in the castle.
    Player was tasked to investigate the cult of Akbaa.
  3. Player has opened (door_orbiplanax_chest_0001).
    Lord Lunshire (human_base_0082) has called a meeting of The Council in the Council Room.
  4. Player has touched (meteor_akbaa_0001) for the first time without Krahoz and Zohark equipped.
    Precondition: #krahoz_zohark_on != 2
  5. Player has talked to Lord Lunshire (human_base_0082) after touching the meteor.
    Precondition: #player_on_quest == 4 && #troll_quest != 2
  6. Player has destroyed (meteor_akbaa_0001) by touching it with Krahoz and Zohark equipped.
    Precondition: #krahoz_zohark_on == 2
  7. Player has escaped the jail in the Castle of Arx via (light_door_0025).
  8. Player has attacked Akbaa (akbaa_phase1_0001) with the ultimate weapon.

The state can be cycled by using the sausage cheat item.