Scripted trigger · All Under Heaven files
japan_faction_cohesion_trigger
japan_faction_cohesion_trigger = yesgame/common/scripted_triggers/10_tgp_japan_triggers.txt, line 507 (25 lines). No parameters.
japan_faction_cohesion_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 507 of its file. It takes no parameters: japan_faction_cohesion_trigger = yes (or no). The game's script calls it in 6 places, among them imperial_policy_faction_can_create_trigger (scripted trigger), Claimant Faction (factions) and Dissolution Faction (factions). 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_japan_triggers.txt.
What it checks
• 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 (25 lines of game script)
japan_faction_cohesion_trigger = {
trigger_if = {
limit = {
government_has_flag = government_has_house_blocs
is_confederation_member = yes
}
custom_tooltip = {
text = house_head_create_faction_cohesion_tt
OR = {
house.house_confederation ?= { cohesion >= 50 }
joined_faction ?= {
OR = {
faction_is_at_war = yes
any_faction_member = {
OR = {
this = root.house.house_confederation.leading_house.house_head
is_ai = no
}
}
}
}
}
}
}
}As written in game/common/scripted_triggers/10_tgp_japan_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls japan_faction_cohesion_trigger.
Scripted triggers (1)
Factions (5)
- Claimant Faction
- Dissolution Faction
- Imperial Policy Faction
- Independence Faction
- Liberty Faction
Source: game/common/scripted_triggers/10_tgp_japan_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.