Scripted trigger · All Under Heaven files
tgp_dynastic_cycle_offensive_wars_ban_trigger
tgp_dynastic_cycle_offensive_wars_ban_trigger = yesgame/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt, line 57 (16 lines). No parameters.
tgp_dynastic_cycle_offensive_wars_ban_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 57 of its file. It takes no parameters: tgp_dynastic_cycle_offensive_wars_ban_trigger = yes (or no). The game's script calls it in 13 places, among them Chinese Consolidation War (casus belli), Seize Hegemonic County (casus belli) and Seize Hegemonic Duchy (casus belli). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt.
What it checks
If
- scope:attacker: Holds China
Then
- During the … Dynastic Cycle Era, the Son of Heaven is unable to declare offensive Wars, except Chinese Consolidation War Casus Belli and …China's Grand Campaign Great Project
• 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 (16 lines of game script)
tgp_dynastic_cycle_offensive_wars_ban_trigger = {
trigger_if = {
limit = {
scope:attacker ?= { has_title = title:h_china }
exists = situation:dynastic_cycle
}
custom_tooltip = {
text = dynastic_cycle_offensive_wars_ban_tt
scope:attacker = {
top_participant_group:dynastic_cycle ?= {
NOT = { has_participant_group_parameter = dynastic_cycle_offensive_wars_ban }
}
}
}
}
}As written in game/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls tgp_dynastic_cycle_offensive_wars_ban_trigger.
Casus belli groups (10)
- claim
- Conquered
- de_jure
- invasion
- Involvement
- religious
4 more
- religious_disorganised
- religious_script_only
- subjugation
- vassalization
Source: game/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.