Scripted trigger · All Under Heaven files
trickery_fourth_tier_trigger
trickery_fourth_tier_trigger = yesgame/common/scripted_triggers/tgp_mandala_triggers.txt, line 979 (63 lines). No parameters.
trickery_fourth_tier_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 979 of its file. It takes no parameters: trickery_fourth_tier_trigger = yes (or no). 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 6 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 = 04 }- Does not have the Modifier: Disbelieved Mandala
- If played by a person:
- You have succeeded in at least 35 Schemes (Currently …/35)
- You know of at least 12 Secrets
- At least 8 House members are married to foreign Duke-tier Rulers or above (Currently …/8)
- You hold at least 10 Strong Hooks
- You have ransomed at least 1200 (Currently …/1200)
- At least 3 House members are Duke-tier Independent Rulers or above
• 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 (63 lines of game script)
trickery_fourth_tier_trigger = {
is_house_head = yes
has_pilgrimage_trait_level_trigger = { TIER = 04 }
NOT = { has_character_modifier = disbelieved_mandala_modifier }
trigger_if = {
limit = { is_ai = no }
custom_tooltip = {
text = rite_of_worthiness_trickery_schemes_t4
exists = var:num_successful_schemes
var:num_successful_schemes >= num_trickster_mandala_successful_schemes_t4
}
custom_tooltip = {
text = rite_of_worthiness_trickery_secrets_t4
any_known_secret = {
count >= num_trickster_mandala_secrets_known_t4
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_t4
save_temporary_scope_as = root_scope
house = {
any_house_member = {
count >= num_trickster_mandala_house_married_to_rulers_t4
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_t4
any_hooked_character = {
count >= num_trickster_mandala_strong_hooks_t4
scope:owner = { has_strong_hook = prev }
}
}
custom_tooltip = {
text = rite_of_worthiness_trickery_gold_ransomed_t4
exists = var:amount_of_gold_ransomed
var:amount_of_gold_ransomed >= trickster_mandala_gold_ransomed_t4
}
custom_tooltip = {
text = rite_of_worthiness_trickery_house_rulers_t4
house = {
any_house_member = {
count >= num_trickster_mandala_house_rulers_t4
primary_title.tier >= tier_duchy
is_landed = yes
is_independent_ruler = yes
top_overlord != 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_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_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.