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

restore_ceremonial_liege_faction_reward_effect

restore_ceremonial_liege_faction_reward_effect = yes

game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt, line 588 (25 lines). No parameters.

restore_ceremonial_liege_faction_reward_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 588 of its file. It takes no parameters: restore_ceremonial_liege_faction_reward_effect = yes. The game's script calls it in 5 places, among them Restore Direct Imperial Rule (decision), Restore Ceremonial Monarch (casus belli) and The … Victorious (event tgp_japan_decision.9302). 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

• 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)
restore_ceremonial_liege_faction_reward_effect = {
	top_liege = {
		save_temporary_scope_as = regent_temp
		primary_title = {
			save_temporary_scope_as = realm_temp
			var:administrative_ui_special_title.holder = { save_temporary_scope_as = ceremonial_liege_temp }
		}
	}
	scope:ceremonial_liege_temp = {
		custom_tooltip = tenno_duchy_creation_tt
		if = {
			limit = { has_legitimacy = yes }
			add_legitimacy = major_legitimacy_gain
		}
		else = {
			show_as_tooltip = { add_legitimacy = major_legitimacy_gain }
		}
		if = {
			limit = {
				NOT = { has_realm_law = single_heir_succession_law }
			}
			add_realm_law_skip_effects = single_heir_succession_law
		}
	}
}

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

Events (2)

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?