Script:player on quest: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{DISPLAYTITLE:Script:player_on_quest}} The <code>#player_on_quest</code> global script variable encodes 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 t...") |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{ScriptVariablePage | ||
|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 has talked to {{Entity|human_base_0082}}.<br>Precondition: <code>{{Variable|player_on_quest}} == {{int|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}} after completing the troll quest.<br>Precondition: <code> | # Player has talked to {{Entity|human_base_0082}} after completing the troll quest.<br>Precondition: <code>{{Variable|player_on_quest}} != {{int|0}} && {{Variable|troll_quest}} == {{int|2}}</code><br> Player was given permission to go anywhere in the [[Castle of Arx]] including the private chambers.<br>Player was given {{Entity|key_base_0021}} which unlocks the player's room in the castle.<br>Player was tasked to investigate the cult of Akbaa. | ||
# Player has opened {{Entity|door_orbiplanax_chest_0001}}.<br>{{Entity|human_base_0082}} has called a meeting of [[The Council]] in the [[Council Room]]. | # Player has opened {{Entity|door_orbiplanax_chest_0001}}.<br>{{Entity|human_base_0082}} has called a meeting of [[The Council]] in the [[Council Room]]. | ||
# Player has touched {{Entity|meteor_akbaa_0001}} for the first time without Krahoz and Zohark equipped.<br>Precondition: <code> | # Player has touched {{Entity|meteor_akbaa_0001}} for the first time without Krahoz and Zohark equipped.<br>Precondition: <code>{{Variable|krahoz_zohark_on}} != {{int|2}}</code> | ||
# Player has talked to {{Entity|human_base_0082}} after touching the meteor.<br>Precondition: <code> | # Player has talked to {{Entity|human_base_0082}} after touching the meteor.<br>Precondition: <code>{{Variable|player_on_quest}} == {{int|4}} && {{Variable|troll_quest}} != {{int|2}}</code> | ||
# Player has | # Player has destroyed {{Entity|meteor_akbaa_0001}} by touching it with Krahoz and Zohark equipped.<br>Precondition: <code>{{Variable|krahoz_zohark_on}} == {{int|2}}</code> | ||
# Player has escaped the jail in the [[Castle of Arx]] via {{Entity|light_door_0025}}. | # Player has escaped the jail in the [[Castle of Arx]] via {{Entity|light_door_0025}}. | ||
# Player has attacked {{Entity|akbaa_phase1_0001}} with the ultimate weapon. | # Player has attacked {{Entity|akbaa_phase1_0001}} with the ultimate weapon. | ||
The state can be cycled by using the sausage [[Cheats#Cheat Items|cheat item]]. | The state can be cycled by using the sausage [[Cheats#Cheat Items|cheat item]]. |
Latest revision as of 19:32, 2 January 2024
The #player_on_quest
global variable contains the state of the main quest.
The values have the following meaning:
- 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 - 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. - Player has opened (
door_orbiplanax_chest_0001
).
Lord Lunshire (human_base_0082
) has called a meeting of The Council in the Council Room. - Player has touched (
meteor_akbaa_0001
) for the first time without Krahoz and Zohark equipped.
Precondition:#krahoz_zohark_on !=
2
- Player has talked to Lord Lunshire (
human_base_0082
) after touching the meteor.
Precondition:#player_on_quest ==
4
&& #troll_quest !=2
- Player has destroyed (
meteor_akbaa_0001
) by touching it with Krahoz and Zohark equipped.
Precondition:#krahoz_zohark_on ==
2
- Player has escaped the jail in the Castle of Arx via (
light_door_0025
). - Player has attacked Akbaa (
akbaa_phase1_0001
) with the ultimate weapon.
The state can be cycled by using the sausage cheat item.