Scripted trigger · Legacy of Persia files
fp3_is_valid_loyal_puppet
fp3_is_valid_loyal_puppet = yesgame/common/scripted_triggers/06_fp3_scripted_triggers.txt, line 254 (11 lines). No parameters.
fp3_is_valid_loyal_puppet is a scripted trigger in Crusader Kings III, in the Legacy of Persia files, written at line 254 of its file. It takes no parameters: fp3_is_valid_loyal_puppet = yes (or no). The game's script calls it in 1 place, among them Install Loyalist (casus belli). Patch 1.20.1.2, from game/common/scripted_triggers/06_fp3_scripted_triggers.txt.
What it checks
- Has the Trait: Supporter of Caliphal Authority
- Their liege:
NOT = { has_relation_friend = prev }NOT = { has_hook = prev }
primary_title.tier >= tier_county
• 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 (11 lines of game script)
fp3_is_valid_loyal_puppet = { # Install a suitable lackey to do your bidding
has_trait = fp3_struggle_supporter
# Can't be friends w/liege or indebted to them
liege ?= {
NOR = {
has_relation_friend = prev
has_hook = prev
}
}
primary_title.tier >= tier_county # We don't want to promote baron to avoid having Republic or Theocracies realms
}As written in game/common/scripted_triggers/06_fp3_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls fp3_is_valid_loyal_puppet.
Casus belli (1)
Source: game/common/scripted_triggers/06_fp3_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.