Scripted trigger · All Under Heaven files
trickery_fifth_tier_trigger
trickery_fifth_tier_trigger = yesgame/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
is_house_head = yeshas_pilgrimage_trait_level_trigger = { TIER = 05 }- Does not have the Modifier: Disbelieved Mandala
- If played by a person:
- You have succeeded in at least 50 Schemes (Currently …/50)
- You know of at least 15 Secrets
- At least 10 House members are married to foreign Duke-tier Rulers or above (Currently …/10)
- You hold at least 15 Strong Hooks
- You have ransomed at least 2000 (Currently …/2000)
- At least 6 House members are Duke-tier Independent Rulers or above
- No other Mandala Ruler may have max Radiance
• 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.