Template:Op game notes

Game notes
The game provides the player with the Notes screen, where there are several sections: Troops, Factions, Parties, Quests and Information. This is the player's "diary", where all information player knows is supposed to be stored. With the operations from this section, modder can control what objects the player will be able to see in their corresponding sections of the Notes screen, and what information will be displayed on each object.

Note that there's a number of engine-called scripts which take priority to text notes created by these operations. Any information in these notes will only be visible to the player if those scripts "refuse" to generate the note page dynamically. The following scripts can override these notes: script_game_get_troop_note script_game_get_center_note script_game_get_faction_note script_game_get_quest_note script_game_get_info_page_note

troop_set_note_available = 1095
 * (troop_set_note_available, , ),
 * Enables (value = 1) or disables (value = 0) troop's page in the Notes / Characters section.

add_troop_note_tableau_mesh = 1108
 * (add_troop_note_tableau_mesh, , ),
 * Adds graphical elements to the troop's information page (usually banner and portrait).

add_troop_note_from_dialog = 1114
 * (add_troop_note_from_dialog, , , ),
 * Adds current dialog text to troop notes. Each troop has 16 note slots. Last parameter is used to mark the note as time-dependent, if it's value is 1, then the note will be marked ("Report is current") and will be updated appropriately as the game progresses ("Report is X days old").
 * Official: (add_troop_note_from_dialog,,, ),:There are maximum of 8 slots. value = 1 -> shows when the note is added

add_troop_note_from_sreg = 1117
 * (add_troop_note_from_sreg, , , , ),
 * Adds any text stored in string register to troop notes. Each troop has 16 note slots. Last parameter is used to mark the note as time-dependent, if it's value is 1, then the note will be marked ("Report is current") and will be updated appropriately as the game progresses ("Report is X days old").
 * Official: (add_troop_note_from_sreg,,,, ),:There are maximum of 8 slots value = 1 -> shows when the note is added

faction_set_note_available = 1096
 * (faction_set_note_available, , ),:1 = available, 0 = not available
 * Enables (value = 1) or disables (value = 0) faction's page in the Notes / Characters section.

add_faction_note_tableau_mesh = 1109
 * (add_faction_note_tableau_mesh, <faction_id>, <tableau_material_id>),
 * Adds graphical elements to the faction's information page (usually graphical collage).

add_faction_note_from_dialog = 1115
 * (add_faction_note_from_dialog, <faction_id>, <note_slot_no>, <expires_with_time>),
 * Adds current dialog text to faction notes. Each faction has 16 note slots. Last parameter is used to mark the note as time-dependent, if it's value is 1, then the note will be marked ("Report is current") and will be updated appropriately as the game progresses ("Report is X days old").
 * Official: (add_faction_note_from_dialog,<faction_id>,<note_slot_no>, ),:There are maximum of 8 slots value = 1 -> shows when the note is added

add_faction_note_from_sreg = 1118
 * (add_faction_note_from_sreg, <faction_id>, <note_slot_no>, <string_id>, <expires_with_time>),
 * Adds any text stored in string register to faction notes. Each faction has 16 note slots. Last parameter is used to mark the note as time-dependent, if it's value is 1, then the note will be marked ("Report is current") and will be updated appropriately as the game progresses ("Report is X days old").
 * Official: (add_faction_note_from_sreg,<faction_id>,<note_slot_no>,<string_id>, ),:There are maximum of 8 slots value = 1 -> shows when the note is added

party_set_note_available = 1097
 * (party_set_note_available, <party_id>, ),:1 = available, 0 = not available
 * Enables (value = 1) or disables (value = 0) party's page in the Notes / Characters section.

add_party_note_tableau_mesh = 1110
 * (add_party_note_tableau_mesh, <party_id>, <tableau_material_id>),
 * Adds graphical elements to the party's information page (usually map icon).

add_party_note_from_dialog = 1116
 * (add_party_note_from_dialog, <party_id>, <note_slot_no>, <expires_with_time>),
 * Adds current dialog text to party notes. Each party has 16 note slots. Last parameter is used to mark the note as time-dependent, if it's value is 1, then the note will be marked ("Report is current") and will be updated appropriately as the game progresses ("Report is X days old").
 * Official: (add_party_note_from_dialog,<party_id>,<note_slot_no>, ),:There are maximum of 8 slots value = 1 -> shows when the note is added

add_party_note_from_sreg = 1119
 * (add_party_note_from_sreg, <party_id>, <note_slot_no>, <string_id>, <expires_with_time>),
 * Adds any text stored in string register to party notes. Each party has 16 note slots. Last parameter is used to mark the note as time-dependent, if it's value is 1, then the note will be marked ("Report is current") and will be updated appropriately as the game progresses ("Report is X days old").
 * Official: (add_party_note_from_sreg,<party_id>,<note_slot_no>,<string_id>, ),:There are maximum of 8 slots value = 1 -> shows when the note is added

quest_set_note_available = 1098
 * (quest_set_note_available, <quest_id>, ),:1 = available, 0 = not available
 * Enables (value = 1) or disables (value = 0) quest's page in the Notes / Characters section.

add_quest_note_tableau_mesh = 1111
 * (add_quest_note_tableau_mesh, <quest_id>, <tableau_material_id>),
 * Adds graphical elements to the quest's information page (not used in Native).

add_quest_note_from_dialog = 1112
 * (add_quest_note_from_dialog, <quest_id>, <note_slot_no>, <expires_with_time>),
 * Adds current dialog text to quest notes. Each quest has 16 note slots. Last parameter is used to mark the note as time-dependent, if it's value is 1, then the note will be marked ("Report is current") and will be updated appropriately as the game progresses ("Report is X days old").
 * Official: (add_quest_note_from_dialog,<quest_id>,<note_slot_no>, ),:There are maximum of 8 slots value = 1 -> shows when the note is added

add_quest_note_from_sreg = 1113
 * (add_quest_note_from_sreg, <quest_id>, <note_slot_no>, <string_id>, <expires_with_time>),
 * Adds any text stored in string register to quest notes. Each quest has 16 note slots. Last parameter is used to mark the note as time-dependent, if it's value is 1, then the note will be marked ("Report is current") and will be updated appropriately as the game progresses ("Report is X days old").
 * Official: (add_quest_note_from_sreg,<quest_id>,<note_slot_no>,<string_id>, ),:There are maximum of 8 slots value = 1 -> shows when the note is added

add_info_page_note_tableau_mesh = 1090
 * (add_info_page_note_tableau_mesh, <info_page_id>, <tableau_material_id>),
 * Adds graphical elements to the info page (not used in Native).

add_info_page_note_from_dialog = 1091
 * (add_info_page_note_from_dialog, <info_page_id>, <note_slot_no>, <expires_with_time>),
 * Adds current dialog text to info page notes. Each info page has 16 note slots. Last parameter is used to mark the note as time-dependent, if it's value is 1, then the note will be marked ("Report is current") and will be updated appropriately as the game progresses ("Report is X days old").
 * Official: (add_info_page_note_from_dialog,<info_page_id>,<note_slot_no>, ),:There are maximum of 8 slots value = 1 -> shows when the note is added

add_info_page_note_from_sreg = 1092
 * (add_info_page_note_from_sreg, <info_page_id>, <note_slot_no>, <string_id>, <expires_with_time>),
 * Adds any text stored in string register to info page notes. Each info page has 16 note slots. Last parameter is used to mark the note as time-dependent, if it's value is 1, then the note will be marked ("Report is current") and will be updated appropriately as the game progresses ("Report is X days old").
 * Official: (add_info_page_note_from_sreg,<info_page_id>,<note_slot_no>,<string_id>, ),:There are maximum of 8 slots value = 1 -> shows when the note is added