Scripted trigger · All Under Heaven files
japan_faction_cohesion_hard_trigger
japan_faction_cohesion_hard_trigger = yesgame/common/scripted_triggers/10_tgp_japan_triggers.txt, line 533 (25 lines). No parameters.
japan_faction_cohesion_hard_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 533 of its file. It takes no parameters: japan_faction_cohesion_hard_trigger = yes (or no). The game's script calls it in 4 places, among them ceremonial_claimant_faction_can_create_trigger (scripted trigger), tgp_install_regent_faction_can_create_trigger (scripted trigger) and Ceremonial Claimant 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_hard_trigger = {
trigger_if = {
limit = {
government_has_flag = government_has_house_blocs
is_confederation_member = yes
}
custom_tooltip = {
text = house_head_create_faction_cohesion_hard_tt
OR = {
house.house_confederation ?= { cohesion >= 75 }
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_hard_trigger.
Scripted triggers (2)
Factions (2)
- Ceremonial Claimant Faction
- Install Ruling Regent 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.