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

trickery_fifth_tier_trigger

trickery_fifth_tier_trigger = yes

game/common/scripted_triggers/tgp_mandala_triggers.txt, line 1043 (75 lines). No parameters.

trickery_fifth_tier_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 1043 of its file. It takes no parameters: trickery_fifth_tier_trigger = yes (or no). The game's script calls it in 3 places, among them mandala_capital_05 (great project), Upgrade Mandala Aspect (important action) and aspect_of_trickery (house aspirations). Its body carries 7 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 (75 lines of game script)
trickery_fifth_tier_trigger = {
	is_house_head = yes
	has_pilgrimage_trait_level_trigger = { TIER = 05 }
	NOT = { has_character_modifier = disbelieved_mandala_modifier }
	trigger_if = {
		limit = { is_ai = no }
		custom_tooltip = {
			text = rite_of_worthiness_trickery_schemes_t5
			exists = var:num_successful_schemes
			var:num_successful_schemes >= num_trickster_mandala_successful_schemes_t5
		}
		custom_tooltip = {
			text = rite_of_worthiness_trickery_secrets_t5
			any_known_secret = {
				count >= num_trickster_mandala_secrets_known_t5
				trigger_if = {
					limit = { exists = secret_target }
					NOT = { secret_target = scope:owner }
				}
				NOT = { secret_owner = scope:owner }
			}
		}
		custom_tooltip = {
			text = rite_of_worthiness_trickery_house_married_to_rulers_t5
			save_temporary_scope_as = root_scope
			house = {
				any_house_member = {
					count >= num_trickster_mandala_house_married_to_rulers_t5
					any_spouse = {
						is_landed = yes
						top_overlord != scope:root_scope
						this != scope:root_scope
						primary_title.tier >= tier_duchy
					}
				}
			}
		}
		custom_tooltip = {
			text = rite_of_worthiness_trickery_strong_hooks_t5
			any_hooked_character = {
				count >= num_trickster_mandala_strong_hooks_t5
				scope:owner = { has_strong_hook = prev }
			}
		}
		custom_tooltip = {
			text = rite_of_worthiness_trickery_gold_ransomed_t5
			exists = var:amount_of_gold_ransomed
			var:amount_of_gold_ransomed >= trickster_mandala_gold_ransomed_t5
		}	
		custom_tooltip = {
			text = rite_of_worthiness_trickery_house_rulers_t5
			house = {
				any_house_member = {
					count >= num_trickster_mandala_house_rulers_t5
					primary_title.tier >= tier_duchy
					is_landed = yes
					is_independent_ruler = yes
					top_overlord != scope:owner
				}
			}
		}
		custom_tooltip = {
			text = rite_of_worthiness_trickery_only_one
			NOT = {
				any_ruler = {		
					is_landed = yes
					government_has_flag = government_is_mandala
					has_mandala_capital_trigger = yes
					mandala_radiance_value >= define:NMandala|MAX_RADIANCE
					this != scope:owner
				}
			}		
		}
	}
}

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

Where it is used

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

Great projects (1)

  • mandala_capital_05

Important actions (1)

  • Upgrade Mandala Aspect

House aspirations (1)

  • aspect_of_trickery

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?