Scripted effect
apply_maimed_trait_and_modifier_effect
apply_maimed_trait_and_modifier_effect = yesgame/common/scripted_effects/20_health_effects.txt, line 1398 (7 lines). No parameters.
apply_maimed_trait_and_modifier_effect is a scripted effect in Crusader Kings III, written at line 1398 of its file. It takes no parameters: apply_maimed_trait_and_modifier_effect = yes. The game's script calls it in 26 places, among them Remove Co-Ruler (interaction), A Cumbersome Gift (event hold_court.6140) and A Long Shot (event bp1_yearly.5723). Patch 1.20.1.2, from game/common/scripted_effects/20_health_effects.txt.
What it does
- Gains the Trait Maimed
- Gains the modifier “Recently Maimed” for 1 year
- Health -3
- Fertility -50%
• 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 (7 lines of game script)
apply_maimed_trait_and_modifier_effect = {
add_trait = maimed
add_character_modifier = {
modifier = recently_maimed_modifier
years = 1
}
}As written in game/common/scripted_effects/20_health_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls apply_maimed_trait_and_modifier_effect.
Character interactions (1)
Events (18)
- A Cumbersome Gift
hold_court.6140 - A Long Shot
bp1_yearly.5723 - An Exotic Show
ep2_wedding.1070 - Breaking the Circle
mpo_nerge.1010 - Bully For You?
travel_events.2016 - Chop, Chop
travel_events.2014
12 more
- Danger: Life or Death, Stranded
travel_events.2110 - Danger: Toll Collectors
travel_events.1003 - marshal_task.2002
- Mental Break: I am Unworthy!
stress_threshold.3411 - Never Forgive
bp1_yearly.9005 - Practice Makes...
destiny_child.1015 - Spread your Wings
court_yearly.4800 - The Duelist Returns
yearly.1051 - The Weight of Influence
intrigue_scheming.3052 - The Weight of Influence
intrigue_scheming.3053 - Thief!
ep3_laamp_flavor.0020 - To Serve Man
feast_default.6261
Scripted effects inside an event file (3)
- change_severe_frostbite_modifier_to_trait_effect
- determine_which_bit_was_chopped_off_recipient_effect
- pam_challenge_hof_war_judge_torture_harm_effect
Source: game/common/scripted_effects/20_health_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.