Scripted trigger
ai_should_get_conqueror_bonuses
ai_should_get_conqueror_bonuses = yesgame/common/scripted_triggers/00_ai_value_triggers.txt, line 340 (4 lines). No parameters.
ai_should_get_conqueror_bonuses is a scripted trigger in Crusader Kings III, written at line 340 of its file. It takes no parameters: ai_should_get_conqueror_bonuses = yes (or no). The game's script calls it in 12 places, among them Revoke Title (interaction), Bring Under Tribute (casus belli) and Vassalization (casus belli). Patch 1.20.1.2, from game/common/scripted_triggers/00_ai_value_triggers.txt.
What it checks
- Has “conqueror” (a variable the game's script sets)
- Game rule not set to “None”
• 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 (4 lines of game script)
ai_should_get_conqueror_bonuses = {
has_variable = conqueror
NOT = { has_game_rule = no_conquerors_bonuses }
}As written in game/common/scripted_triggers/00_ai_value_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls ai_should_get_conqueror_bonuses.
Character interactions (1)
Casus belli (2)
Story cycles (2)
- Conqueror
- story_take_mandate_of_heaven
Scripted effects (1)
Script values (1)
- common_cb_cost_multiplier_core
Scripted modifiers (AI weights) (1)
- common_faction_modifiers
Factions (4)
- Escalated Peasant Faction
- Nomadic Faction
- Peasant Faction
- Populist Faction
Source: game/common/scripted_triggers/00_ai_value_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.