Scripted trigger · All Under Heaven files
grand_campaign_valid_contributor_trigger
grand_campaign_valid_contributor_trigger = { ID = … }game/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt, line 220 (26 lines). Parameters: $ID$.
grand_campaign_valid_contributor_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 220 of its file. A call passes 1 parameter: ID. The game's script calls it in 1 place, among them grand_campaign_project (great project). 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
is_vassal_or_below_of = scope:owner- … is bordering the China Realm or Tributaries
- The Mandatory Contribution is funded
• 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 (26 lines of game script)
grand_campaign_valid_contributor_trigger = {
is_vassal_or_below_of = scope:owner
this != scope:owner
this != scope:founder
custom_description = {
text = grand_campaign_target_border_tt
object = scope:great_project.var:attack_$ID$.holder
scope:great_project.var:attack_$ID$ ?= {
any_de_jure_county = {
holder.top_overlord != scope:owner
}
any_title_to_title_neighboring_county = {
holder.top_overlord = scope:owner
}
}
}
custom_tooltip = {
text = grand_campaign_main_target_tt
scope:great_project = {
any_contribution = {
contribution_id = attack_1
contribution_is_funded = yes
}
}
}
}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 grand_campaign_valid_contributor_trigger.
Great projects (1)
- grand_campaign_project
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.