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

Scripted trigger · All Under Heaven files

serenity_fifth_tier_trigger

serenity_fifth_tier_trigger = { MANDALA = … }

game/common/scripted_triggers/tgp_mandala_triggers.txt, line 602 (43 lines). Parameters: $MANDALA$.

serenity_fifth_tier_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 602 of its file. A call passes 1 parameter: MANDALA. The game's script calls it in 3 places, among them mandala_capital_05 (great project), Upgrade Mandala Aspect (important action) and aspect_of_serenity (house aspirations). Its body carries 5 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/tgp_mandala_triggers.txt.

What it checks

• 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 (43 lines of game script)
serenity_fifth_tier_trigger = {
	is_house_head = yes
	has_pilgrimage_trait_level_trigger = { TIER = 05 }
	trigger_if = {
		limit = { is_ai = no }
		serenity_high_end_alliances_trigger = { MANDALA = $MANDALA$ }
	}
	custom_tooltip = {
		text = rite_of_worthiness_serenity_years_of_peace_t5
		has_variable = serenity_mandala_years_of_non_aggression_war
		var:serenity_mandala_years_of_non_aggression_war >= num_serenity_mandala_years_of_peace_t5
	}
	custom_tooltip = {
		text = rite_of_worthiness_serenity_friends_t5
		num_of_relation_friend >= num_serenity_mandala_friends_t5
	}
	trigger_if = {
		limit = { is_ai = no }
		custom_tooltip = {
			text = rite_of_worthiness_serenity_feasts_hosted_t5
			has_variable = num_exorbitant_feasts_hosted
			var:num_exorbitant_feasts_hosted >= num_serenity_mandala_feasts_hosted_t5
		}
	}
	custom_tooltip = {
		text = rite_of_worthiness_serenity_capital_development_t5
		capital_province = {
			OR = {
				has_building_or_higher = castle_04
				has_building_or_higher = temple_04
				has_building_or_higher = city_04
				has_building_or_higher = temple_citadel_04
			}
		}
	}
	trigger_if = {
		limit = { is_ai = no }
		custom_tooltip = {
			text = rite_of_worthiness_serenity_soulmate
			num_of_relation_soulmate = 1
		}
	}
}

As written in game/common/scripted_triggers/tgp_mandala_triggers.txt.

Where it is used

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

Great projects (1)

  • mandala_capital_05

Important actions (1)

  • Upgrade Mandala Aspect

House aspirations (1)

  • aspect_of_serenity

Source: game/common/scripted_triggers/tgp_mandala_triggers.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?