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

Scripted effect · The Fate of Iberia files

purchase_truce_interaction_activate_catalyst_effect

purchase_truce_interaction_activate_catalyst_effect = yes

game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt, line 1135 (52 lines). No parameters.

purchase_truce_interaction_activate_catalyst_effect is a scripted effect in Crusader Kings III, in the The Fate of Iberia files, written at line 1135 of its file. It takes no parameters: purchase_truce_interaction_activate_catalyst_effect = yes. The game's script calls it in 1 place, among them Purchase Truce (interaction). Patch 1.20.1.2, from game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt.

What it does

• 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 (52 lines of game script)
purchase_truce_interaction_activate_catalyst_effect = {
	if = {
		limit = {
			any_character_struggle = {
				involvement = involved
				activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
					CATALYST = catalyst_bought_important_truce
					CHAR = scope:recipient
				}
			}
		}
		every_character_struggle = {
			involvement = involved
			limit = {
				activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
					CATALYST = catalyst_bought_important_truce
					CHAR = scope:recipient
				}
			}
			activate_struggle_catalyst = {
				catalyst = catalyst_bought_important_truce
				character = scope:puppet_or_actor
			}
		}
	}

	# Generic truce catalayst
	if = {
		limit = {
			any_character_struggle = {
				involvement = involved
				activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
					CATALYST = catalyst_sign_truce_outside_war
					CHAR = scope:recipient
				}
			}
		}
		every_character_struggle = {
			involvement = involved
			limit = {
				activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
					CATALYST = catalyst_sign_truce_outside_war
					CHAR = scope:recipient
				}
			}
			activate_struggle_catalyst = {
				catalyst = catalyst_sign_truce_outside_war
				character = scope:puppet_or_actor
			}
		}
	}
}

As written in game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt.

Where it is used

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

Character interactions (1)

Source: game/common/scripted_effects/03_dlc_fp2_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?