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

Scripted effect

vassal_join_rebel_war_effect

vassal_join_rebel_war_effect = yes

game/common/scripted_effects/00_interaction_effects.txt, line 866 (35 lines). No parameters.

vassal_join_rebel_war_effect is a scripted effect in Crusader Kings III, written at line 866 of its file. It takes no parameters: vassal_join_rebel_war_effect = yes. The game's script calls it in 3 places, among them war_for_imprison_effect (scripted effect), war_for_retraction_effect (scripted effect) and war_for_revoke_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/00_interaction_effects.txt.

What it does

  • scope:liege_temp: … joins … rebellion

• 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 (35 lines of game script)
vassal_join_rebel_war_effect = {
	save_temporary_scope_as = joining_vassal
	scope:liege_temp = { custom_tooltip = tooltip_fellow_vassal_joins_war } #The war has not started when viewing the interaction
	hidden_effect = {
		scope:rebel_temp = {
			every_character_war = {
				limit = {
					using_cb = refused_liege_demand_war
					casus_belli = {
						primary_attacker = scope:rebel_temp
						primary_defender = scope:liege_temp
					}
				}
				add_to_list = war_to_join
			}
		}
		every_in_list = {
			list = war_to_join
			limit = {
				# Bloc members are already pulled in by bloc_member_join_war_effect above
				NOT = { is_participant = scope:joining_vassal }
			}
			hidden_effect = { set_called_to = scope:joining_vassal }
			add_attacker = scope:joining_vassal
		}
	}
	hidden_effect = {
		scope:liege_temp = {
			add_opinion = {
				target = scope:joining_vassal
				modifier = rebellious_vassal_opinion
			}
		}
	}
}

As written in game/common/scripted_effects/00_interaction_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls vassal_join_rebel_war_effect.

Source: game/common/scripted_effects/00_interaction_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?