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_fourth_tier_trigger

serenity_fourth_tier_trigger = { MANDALA = … }

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

serenity_fourth_tier_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 565 of its file. A call passes 1 parameter: MANDALA. The game's script calls it in 4 places, among them mandala_capital_04 (great project), Upgrade Mandala Aspect (important action) and story_mandala (story cycle). Its body carries 4 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 (36 lines of game script)
serenity_fourth_tier_trigger = {
	is_house_head = yes
	has_pilgrimage_trait_level_trigger = { TIER = 04 }
	trigger_if = {
		limit = { is_ai = no }
		serenity_high_end_alliances_trigger = { MANDALA = $MANDALA$ }
	}
	custom_tooltip = {
		text = rite_of_worthiness_serenity_years_of_peace_t4
		has_variable = serenity_mandala_years_of_non_aggression_war
		var:serenity_mandala_years_of_non_aggression_war >= num_serenity_mandala_years_of_peace_t4
	}
	custom_tooltip = {
		text = rite_of_worthiness_serenity_friends_t4
		num_of_relation_friend >= num_serenity_mandala_friends_t4
	}
	trigger_if = {
		limit = { is_ai = no }
		custom_tooltip = {
			text = rite_of_worthiness_serenity_feasts_hosted_t4
			has_variable = num_exorbitant_feasts_hosted
			var:num_exorbitant_feasts_hosted >= num_serenity_mandala_feasts_hosted_t4
		}
	}
	custom_tooltip = {
		text = rite_of_worthiness_serenity_capital_development_t4
		capital_province = {
			OR = {
				has_building_or_higher = castle_03
				has_building_or_higher = temple_03
				has_building_or_higher = city_03
				has_building_or_higher = temple_citadel_03
			}
		}
	}
}

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

Great projects (1)

  • mandala_capital_04

Important actions (1)

  • Upgrade Mandala Aspect

Story cycles (1)

  • story_mandala

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?