Scripted trigger · All Under Heaven files
trickery_second_tier_trigger
trickery_second_tier_trigger = yesgame/common/scripted_triggers/tgp_mandala_triggers.txt, line 877 (50 lines). No parameters.
trickery_second_tier_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 877 of its file. It takes no parameters: trickery_second_tier_trigger = yes (or no). The game's script calls it in 4 places, among them mandala_capital_02 (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 = 02 }- If played by a person:
- You have succeeded in at least 10 Schemes (Currently …/10)
- You know of at least 6 Secrets
- At least 4 House members are married to foreign Duke-tier Rulers or above (Currently …/4)
- You hold at least 2 Strong Hooks
- You have ransomed at least 200 (Currently …/200)
• 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_second_tier_trigger = {
is_house_head = yes
has_pilgrimage_trait_level_trigger = { TIER = 02 }
trigger_if = {
limit = { is_ai = no }
custom_tooltip = {
text = rite_of_worthiness_trickery_schemes_t2
exists = var:num_successful_schemes
var:num_successful_schemes >= num_trickster_mandala_successful_schemes_t2
}
custom_tooltip = {
text = rite_of_worthiness_trickery_secrets_t2
any_known_secret = {
count >= num_trickster_mandala_secrets_known_t2
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_t2
save_temporary_scope_as = root_scope
house = {
any_house_member = {
count >= num_trickster_mandala_house_married_to_rulers_t2
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_t2
any_hooked_character = {
count >= num_trickster_mandala_strong_hooks_t2
scope:owner = { has_strong_hook = prev }
}
}
custom_tooltip = {
text = rite_of_worthiness_trickery_gold_ransomed_t2
exists = var:amount_of_gold_ransomed
var:amount_of_gold_ransomed >= trickster_mandala_gold_ransomed_t2
}
}
}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_second_tier_trigger.
Great projects (1)
- mandala_capital_02
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.