Scripted trigger
guest_vassal_candidate_trigger
guest_vassal_candidate_trigger = yesgame/common/scripted_triggers/00_courtier_guest_management_triggers.txt, line 698 (19 lines). No parameters.
guest_vassal_candidate_trigger is a scripted trigger in Crusader Kings III, written at line 698 of its file. It takes no parameters: guest_vassal_candidate_trigger = yes (or no). The game's script calls it in 2 places, among them courtier_guest_management_1001_exceptional_vassal_trigger (local trigger) and guest_management (courtier guest management). Patch 1.20.1.2, from game/common/scripted_triggers/00_courtier_guest_management_triggers.txt.
What it checks
- Is under 60 years old
- Their faith is the same as that of host
- Their culture is the same as that of host
- Their faith:
has_dominant_ruling_gender = prev
guest_vassal_candidate_bad_traits_trigger = nois_eunuch_trigger = noNone of these
- Any heir title › scope:guest:
is_primary_heir_of = scope:vassal_candidate
- Any child:
is_playable_character = yes
- Has the Trait: Monk
- Has the Trait: Military Order Member
- Any heir title › scope:guest:
• 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 (19 lines of game script)
guest_vassal_candidate_trigger = {
age < 60
faith = scope:host.faith
culture = scope:host.culture
faith = {
has_dominant_ruling_gender = prev
}
guest_vassal_candidate_bad_traits_trigger = no
save_temporary_scope_as = vassal_candidate
is_eunuch_trigger = no
NOR = { #So they don't leave your realm through inheritance
any_heir_title = {
scope:guest = { is_primary_heir_of = scope:vassal_candidate }
}
any_child = { is_playable_character = yes }
has_trait = devoted
has_trait = order_member
}
}As written in game/common/scripted_triggers/00_courtier_guest_management_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls guest_vassal_candidate_trigger.
Scripted triggers inside an event file (1)
- courtier_guest_management_1001_exceptional_vassal_trigger
Courtier guest management (1)
- guest_management
Source: game/common/scripted_triggers/00_courtier_guest_management_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.