Scripted trigger
has_same_fame_as_compare_character_trigger
has_same_fame_as_compare_character_trigger = yesgame/common/scripted_triggers/00_general_trait_triggers.txt, line 335 (56 lines). No parameters.
has_same_fame_as_compare_character_trigger is a scripted trigger in Crusader Kings III, written at line 335 of its file. It takes no parameters: has_same_fame_as_compare_character_trigger = yes (or no). The game's script calls it in 4 places, among them Befriend: A Mistake (event befriend_outcome.4003), Befriend: A Mistake (event befriend_outcome.8003) and Befriend: An Evening's Company (event befriend_outcome.2003). Patch 1.20.1.2, from game/common/scripted_triggers/00_general_trait_triggers.txt.
What it checks
One of these
or
All of these
One of these
- Has the Trait: Bastard
or
Has the Trait: Legitimized Bastard
scope:compare_character:- Has the Trait: Bastard
- Has the Trait: Legitimized Bastard
or
or
or
or
or
All of these
- Has the Trait: Veteran Adventurer
- scope:compare_character: Has the Trait: Veteran Adventurer
or
or
All of these
- Has the Trait: Incestuous
- scope:compare_character: Has the Trait: Incestuous
• 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 (56 lines of game script)
has_same_fame_as_compare_character_trigger = {
OR = {
AND = {
has_trait = berserker
scope:compare_character = { has_trait = berserker }
}
AND = {
OR = {
has_trait = bastard
has_trait = legitimized_bastard
}
scope:compare_character = {
has_trait = bastard
has_trait = legitimized_bastard
}
}
AND = {
has_trait = kinslayer
scope:compare_character = { has_trait = kinslayer }
}
AND = {
has_trait = sodomite
scope:compare_character = { has_trait = sodomite }
OR = {
AND = {
is_female = yes
scope:compare_character = { is_female = yes }
}
AND = {
is_female = no
scope:compare_character = { is_female = no }
}
}
}
AND = {
has_trait = deviant
scope:compare_character = { has_trait = deviant }
}
AND = {
has_trait = viking
scope:compare_character = { has_trait = viking }
}
AND = {
has_trait = adventurer
scope:compare_character = { has_trait = adventurer }
}
AND = {
has_trait = lunatic
scope:compare_character = { has_trait = lunatic }
}
AND = {
has_trait = incestuous
scope:compare_character = { has_trait = incestuous }
}
}
}As written in game/common/scripted_triggers/00_general_trait_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls has_same_fame_as_compare_character_trigger.
Events (4)
- Befriend: A Mistake
befriend_outcome.4003 - Befriend: A Mistake
befriend_outcome.8003 - Befriend: An Evening's Company
befriend_outcome.2003 - Befriend: An Evening's Company
befriend_outcome.6003
Source: game/common/scripted_triggers/00_general_trait_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.