Scripted trigger · All Under Heaven files
trickery_third_tier_trigger
trickery_third_tier_trigger = yesgame/common/scripted_triggers/tgp_mandala_triggers.txt, line 928 (50 lines). No parameters.
trickery_third_tier_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 928 of its file. It takes no parameters: trickery_third_tier_trigger = yes (or no). The game's script calls it in 4 places, among them mandala_capital_03 (great project), Upgrade Mandala Aspect (important action) and story_mandala (story cycle). 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
is_house_head = yeshas_pilgrimage_trait_level_trigger = { TIER = 03 }- If played by a person:
- You have succeeded in at least 20 Schemes (Currently …/20)
- You know of at least 9 Secrets
- At least 6 House members are married to foreign Duke-tier Rulers or above (Currently …/6)
- You hold at least 5 Strong Hooks
- You have ransomed at least 600 (Currently …/600)
• 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 (50 lines of game script)
trickery_third_tier_trigger = {
is_house_head = yes
has_pilgrimage_trait_level_trigger = { TIER = 03 }
trigger_if = {
limit = { is_ai = no }
custom_tooltip = {
text = rite_of_worthiness_trickery_schemes_t3
exists = var:num_successful_schemes
var:num_successful_schemes >= num_trickster_mandala_successful_schemes_t3
}
custom_tooltip = {
text = rite_of_worthiness_trickery_secrets_t3
any_known_secret = {
count >= num_trickster_mandala_secrets_known_t3
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_t3
save_temporary_scope_as = root_scope
house = {
any_house_member = {
count >= num_trickster_mandala_house_married_to_rulers_t3
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_t3
any_hooked_character = {
count >= num_trickster_mandala_strong_hooks_t3
scope:owner = { has_strong_hook = prev }
}
}
custom_tooltip = {
text = rite_of_worthiness_trickery_gold_ransomed_t3
exists = var:amount_of_gold_ransomed
var:amount_of_gold_ransomed >= trickster_mandala_gold_ransomed_t3
}
}
}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_third_tier_trigger.
Great projects (1)
- mandala_capital_03
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.