Scripted trigger
grant_title_rivalry_trigger
grant_title_rivalry_trigger = yesgame/common/scripted_triggers/00_interaction_triggers.txt, line 336 (44 lines). No parameters.
grant_title_rivalry_trigger is a scripted trigger in Crusader Kings III, written at line 336 of its file. It takes no parameters: grant_title_rivalry_trigger = yes (or no). The game's script calls it in 3 places, among them Grant Appointment (interaction), Grant Titles (interaction) and Transfer County (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/00_interaction_triggers.txt.
What it checks
- Is played by the AI
is_playable_character = yestop_liege = scope:actor- Their faith is the same as that of actor
- Opinion from top_liege more than -50
- Opinion of top_liege more than -50
has_dread_level_towards = { target = scope:actor level < 1 }is_eunuch_trigger = no- Does not have the Trait: Content
- Does not have the Trait: Humble
- Does not have the Trait: Blind
- Does not have the Trait: Monk
NOT = { is_close_family_of = scope:recipient }NOT = { has_any_good_relationship_with_character_trigger = { CHARACTER = scope:actor } }NOT = { has_any_bad_relationship_with_character_trigger = { CHARACTER = scope:actor } }
• 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 (44 lines of game script)
grant_title_rivalry_trigger = {
is_ai = yes
is_playable_character = yes
top_liege = scope:actor
faith = scope:actor.faith
reverse_opinion = {
target = top_liege
value > -50
}
opinion = {
target = top_liege
value > -50
}
trigger_if = {
limit = {
is_female = yes
faith_dominant_gender_female_or_equal = no
}
scope:recipient = { is_female = yes }
}
trigger_if = {
limit = {
is_male = yes
faith_dominant_gender_male_or_equal = no
}
scope:recipient = { is_male = yes }
}
has_dread_level_towards = {
target = scope:actor
level < 1
}
is_eunuch_trigger = no
NOR = {
this = scope:actor
this = scope:recipient
has_trait = content
has_trait = humble
has_trait = blind
has_trait = devoted
is_close_family_of = scope:recipient
has_any_good_relationship_with_character_trigger = { CHARACTER = scope:actor }
has_any_bad_relationship_with_character_trigger = { CHARACTER = scope:actor }
}
}As written in game/common/scripted_triggers/00_interaction_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls grant_title_rivalry_trigger.
Character interactions (3)
Source: game/common/scripted_triggers/00_interaction_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.