CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect · All Under Heaven files

tgp_bloc_members_join_war_effect

tgp_bloc_members_join_war_effect = { WAR = … }

game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt, line 3810 (17 lines). Parameters: $WAR$.

tgp_bloc_members_join_war_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 3810 of its file. A call passes 1 parameter: WAR. The game's script calls it in 1 place, among them tgp_japan_assert_regional_dominion_government_decision_effect (scripted effect). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt.

What it does

  • If you lead a Bloc, its members will join your War

• 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 (17 lines of game script)
tgp_bloc_members_join_war_effect = {
	custom_tooltip = {
		text = tgp_bloc_members_join_war_effect_tt
		if = {
			limit = { house.house_confederation.leading_house.house_head = this }
			house.house_confederation ?= {
				every_confederation_member = {
					limit = {
						NOT = { is_participant_in_war = $WAR$ }
					}
					save_temporary_scope_as = war_participant_temp
					scope:war = { add_attacker = scope:war_participant_temp }
				}
			}
		}
	}
}

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_war_effect.

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.

Spotted a mistake on this page?