Scripted effect
get_quirk_character_effect
get_quirk_character_effect = yesgame/common/scripted_effects/00_personal_details_effects.txt, line 330 (17 lines). No parameters.
get_quirk_character_effect is a scripted effect in Crusader Kings III, written at line 330 of its file. It takes no parameters: get_quirk_character_effect = yes. The game's script calls it in 23 places, among them A Mother's Love (event mpo_hunt.0020), A Secret for a Secret (event ep3_landless_admin.1030) and A Sneaking Suspicion (event adultery.1002). Patch 1.20.1.2, from game/common/scripted_effects/00_personal_details_effects.txt.
The comment above it in the file
Used to make sure that a character used for a quirk has one Utilises assign_quirk_effect, and must always be placed in the same file, after that one.
What it does
• 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 (17 lines of game script)
get_quirk_character_effect = {
if = {
limit = {
root = { is_ai = no }
}
if = {
limit = {
has_variable = my_quirk
}
save_scope_as = quirk_character
}
else = {
assign_quirk_effect = yes
save_scope_as = quirk_character
}
}
}As written in game/common/scripted_effects/00_personal_details_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls get_quirk_character_effect.
Events (23)
- A Mother's Love
mpo_hunt.0020 - A Secret for a Secret
ep3_landless_admin.1030 - A Sneaking Suspicion
adultery.1002 - A Visit to The Count's Arms
tour_travel.3120 - An Appeal to Pride
stewardship_duty.4013 - Audacious Insult!
rivalry.1017
17 more
- Commander Promoted?
marshal_task.0304 - Do a Passage of Arms
laamp_base_contract_schemes.6031 - Empty Pockets
chariot_race_ongoing_jp.0600 - Foolish Fancies
rivalry.1012 - Look at Your Neighbor
court_astrologer_events.0002 - Outside the Walls
tour_travel.3140 - Rest for the Weary
martial_chivalry.1011 - Spiteful Sayings
rivalry.1011 - Stress Coping: Let It Out
stress_trait_coping_decisions.3001 - Sweet Words
ep2_locale_events.3020 - Tailor: A New Purchase
ep2_locale_events.2560 - The … …
seduce_ongoing.5006 - The Custom of Greeting
mpo_decisions_events.0021 - To Forgive, Divine
feast_events_flavor.0002 - Under Siege
martial_strategy_special.1301 - Unto the Breach
seduce_outcome.2040 - Whispers of the Heart
seduce_outcome.2303
Source: game/common/scripted_effects/00_personal_details_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.