Scripted effect
increase_wounds_effect
increase_wounds_effect = { REASON = … }game/common/scripted_effects/20_health_effects.txt, line 1332 (22 lines). Parameters: $REASON$.
increase_wounds_effect is a scripted effect in Crusader Kings III, written at line 1332 of its file. A call passes 1 parameter: REASON. The game's script calls it in 309 places, among them Play with the Monkey (decision), … … at My Throat (event martial_chivalry.2012) and … …: Who Are Ya? (event ep2_tournament_events.4008). Patch 1.20.1.2, from game/common/scripted_effects/20_health_effects.txt.
The comment above it in the file
increase_wounds_effect
What it does
If
has_trait_rank = { trait = wounded rank < 3 }
Then
increase_wounds_no_death_effect = { REASON = $REASON$ }
Else if
has_trait_rank = { trait = wounded rank = 3 }
Then
death = { death_reason = death_$REASON$ }
• 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 (22 lines of game script)
increase_wounds_effect = {
if = {
limit = {
has_trait_rank = {
trait = wounded
rank < 3
}
}
increase_wounds_no_death_effect = { REASON = $REASON$ }
}
else_if = { #Using an if because this needs to never go wrong
limit = {
has_trait_rank = {
trait = wounded
rank = 3
}
}
death = {
death_reason = death_$REASON$
}
}
}As written in game/common/scripted_effects/20_health_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls increase_wounds_effect — the first 120 of 309.
Decisions (1)
Events (119)
- … … at My Throat
martial_chivalry.2012 - … …: Who Are Ya?
ep2_tournament_events.4008 - … A Rude Story
pilgrimage.2005 - … Blocks Escape
fp1_shieldmaiden.0012 - … Cocky Lordling
pilgrimage.2511 - … Fowlery
feast_main_live_fowl.0004
113 more
- … of
travel_danger_events.1020 - … Practice: A Hilltop View
martial_chivalry_special.1202 - … Struggle
travel_events.4032 - …, the … …
travel_events.4012 - …: Cornered
ep2_tournament_events.1017 - …: Fame and Fortune
ep2_tournament_events.6501 - …: Horse Enthusiast
warhorse.1301 - …: Murder Rival
tournament_events.6011 - …: Murder Rival
tournament_events.6013 - …: Murder Rival
tournament_events.6014 - …: Opportunity for Peace
councillor_spouse_diplomacy.2003 - …: Restoring Honor
tournament_events.1150 - …: Restoring Honor
tournament_events.1151 - …: Small Tales
tournament_events.1400 - …: Supplies!
ep3_laamp_decision_event.1010 - …: the …
ep3_laamp_decision_event.1043 - …: The Lost …
ep2_tournament_events.1004 - …: The Wretched Parade
tour_general.4000 - 'Haunted' Manor: Safe and Sound
travel_events.2022 - 'Preparing' for the Future
childhood.7300 - "Keep It Down!"
dungeon_ongoing.0003 - "What a Bad Day for Horse Riding"
martial_chivalry.0005 - A … Pride
tournament_events.1140 - A … Pride
tournament_events.1141 - A …-Errant: The Quest
travel_events.3081 - A Besieged Soul
pam_secular_faith_events.0026 - A Challenge
feast_default.3005 - A Chance to Start Over?
ep2_wedding.1320 - A Dietary Dilemma
fp2_yearly.8002 - A Feast for Falcons
travel_events_fp3.0031 - A Fiery Dance
ep2_wedding.1050 - A Glorious Mare
feast_tsagaan_sar_events.0101 - A Little Follower
ep3_laamp_flavour_ewan.0021 - A Long Shot
bp1_yearly.5723 - A Monster on the Horizon
travel_events.4003 - A Mother's Love
mpo_hunt.0020 - A Night to Forget
relation_upgrade.1001 - A Rare Sight
mpo_nerge.1030 - A Riding Incident
tour_grounds_events.3008 - A Roughing Up
tour_grounds_events.3050 - A Serf and … …
tour_travel.1001 - A Stolen Keepsake
travel_events_oltner_2.1190 - A Study in Martial
travel_events.2003 - A Sudden Shock
martial_chivalry.0002 - A Tedious Disagreement
diplomacy_majesty_special.1010 - A Weighty Problem
bp1_yearly.5301 - A Weighty Problem: Swiping on Timber
bp1_yearly.5303 - Aggravating Attractions
seduce_ongoing.5011 - An Arrow Astray
fp3_frontier_story_cycle.0006 - An Arrow for …
hunt.1014 - An Arrow for …
hunt.1015 - An Encounter
child_personality.2007 - An Exotic Show
ep2_wedding.1070 - An Unexpected Performer
cultural_festival.2110 - An Unfortunate Village
tour_travel.3040 - An Unusual Encounter
travel_events_fp3.0020 - Armory Break-in
child_personality.7100 - As Scavengers Gather
natural_disaster_flavor_events.0001 - Audacious Insult!
rivalry.1017 - Bartering with Sheep
mpo_nomad_events.1060 - Betrayal
prison.9503 - Beware the Highwaymen!
tour_travel.9010 - Blood and Spit
child_personality.7070 - Bloody Humiliation
martial_chivalry.2013 - bookmark.0001
- bp2_yearly.6185
- Brawl
martial_authority.2042 - Breaking Horses
feast_main_stable_breakin.0004 - Breaking the Circle
mpo_nerge.1010 - Bully For You?
travel_events.2016 - Bullyguard
childhood.7400 - Camp Dispute
martial_authority.2040 - Can't Outrun Time
elder_events.1600 - Catching a Break
travel_events.2040 - Caught in a Trap
hunt.7011 - Charting Lands
stewardship_duty_special.1203 - Chop, Chop
travel_events.2014 - Commander of the Faithful
fp3_yearly.2040 - Congestion in the Capital
tgp_japan_yearly_events.1200 - Court Jester: Food Fight
jester.600 - Court Jester: Slapstick
jester.800 - Danger: … Overboard!
travel_danger_events.4000 - Danger: A Bad Crossing
travel_events.3140 - Danger: Aftermath, Bad Intentions
travel_danger_events.1010 - Danger: Bandits on the Bridge
travel_events.3070 - Danger: Battle Ahead
travel_danger_events.6011 - Danger: Contested Ground
travel_danger_events.6013 - Danger: Fire in the …
travel_events.3120 - Danger: Flawed Fare
travel_danger_events.6030 - Danger: Killer Charm
travel_events.3130 - Danger: Life or Death, Assassins!
travel_events.2101 - Danger: Life or Death, Stranded
travel_events.2110 - Danger: Smoke Ahead
travel_danger_events.6010 - Danger: Stormy Weather
travel_events.4007 - Danger: Toll Collectors
travel_events.1003 - Danger: Treacherous Slopes
travel_danger_events.1002 - Danger: War's Passage
travel_danger_events.6012 - Danger: Wild Hooves
mpo_migration_travel_events.0060 - Daylight Censors
fp3_yearly.2000 - Deadly Encounter
tribal.1302 - Disloyal Subjects
tour_grounds_events.3040 - Drunken Brawl
bp1_yearly.5717 - Dying Embers
travel_events_fp3.0010 - Every … for …
yearly.1030 - Exquisite Suffering
intrigue_dread.4004 - Fire!
travel_events.2012 - Fish in the Sea
travel_events.4004 - Flight of Fancy
fp2_yearly.8003 - Foremost …
court.8160 - Forgive Me
bp1_yearly.9031 - Freedom!
prison.9003 - Fury of the Northmen
fp1_yearly.2601 - Have a Seat
travel_events.2008
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.