Scripted trigger
game_rule_rig_norman_conquest_for_hereward_trigger
game_rule_rig_norman_conquest_for_hereward_trigger = yesgame/common/scripted_triggers/00_game_rule_triggers.txt, line 253 (21 lines). No parameters.
game_rule_rig_norman_conquest_for_hereward_trigger is a scripted trigger in Crusader Kings III, written at line 253 of its file. It takes no parameters: game_rule_rig_norman_conquest_for_hereward_trigger = yes (or no). The game's script calls it in 2 places, among them game_rule.1021 (event) and on_game_start_after_lobby (on action). Patch 1.20.1.2, from game/common/scripted_triggers/00_game_rule_triggers.txt.
What it checks
One of these
- Game rule set to “William of Normandy”
or
All of these
- Game rule set to “Mechanical”
character:90028 ?= { is_ai = no }None of these
- Any player:
NOT = { this = character:90028 }- Any character war:
One of these
using_cb = norman_conquest_cbor
using_cb = norwegian_invasion_cb
- Any player:
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (21 lines of game script)
game_rule_rig_norman_conquest_for_hereward_trigger = {
OR = {
has_game_rule = historicity_norman_conquest_determined_william
# We also rig it for William if we have a player Hereward and no other input.
AND = {
has_game_rule = historicity_norman_conquest_default_random
character:90028 ?= { is_ai = no }
NOT = {
any_player = {
NOT = { this = character:90028 }
any_character_war = {
OR = {
using_cb = norman_conquest_cb
using_cb = norwegian_invasion_cb
}
}
}
}
}
}
}As written in game/common/scripted_triggers/00_game_rule_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls game_rule_rig_norman_conquest_for_hereward_trigger.
Events (1)
On actions (the game's own hooks) (1)
- on_game_start_after_lobby
Source: game/common/scripted_triggers/00_game_rule_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.