Scripted effect · All Under Heaven files
tgp_bloc_members_join_faction_effect
tgp_bloc_members_join_faction_effect = yesgame/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt, line 3798 (11 lines). No parameters.
tgp_bloc_members_join_faction_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 3798 of its file. It takes no parameters: tgp_bloc_members_join_faction_effect = yes. The game's script calls it in 6 places, among them Ceremonial Claimant Faction (factions), Claimant Faction (factions) and Imperial Policy Faction (factions). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt.
What it does
If
scope:faction.faction_leader.house.house_confederation.leading_house ?= scope:faction.faction_leader.house
Then
- scope:faction.faction_leader.house.house_confederation › Every confederation member:
- Where:
can_join_faction = scope:faction
join_faction = scope:faction
- Where:
• 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 (11 lines of game script)
tgp_bloc_members_join_faction_effect = {
if = { # Japanese blocs
limit = { scope:faction.faction_leader.house.house_confederation.leading_house ?= scope:faction.faction_leader.house }
scope:faction.faction_leader.house.house_confederation ?= {
every_confederation_member = {
limit = { can_join_faction = scope:faction }
join_faction = scope:faction
}
}
}
}As written in game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls tgp_bloc_members_join_faction_effect.
Factions (6)
- Ceremonial Claimant Faction
- Claimant Faction
- Imperial Policy Faction
- Independence Faction
- Install Ruling Regent Faction
- Liberty Faction
Source: game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.