Scripted effect
hunt_physician_treatment_effect
hunt_physician_treatment_effect = yesgame/common/scripted_effects/00_hunt_effects.txt, line 3093 (74 lines). No parameters.
hunt_physician_treatment_effect is a scripted effect in Crusader Kings III, written at line 3093 of its file. It takes no parameters: hunt_physician_treatment_effect = yes. The game's script calls it in 3 places, among them Caught in a Trap (event hunt.7011), Troublesome Terrain (event hunt.4014) and Troublesome Terrain (event hunt.4911). Patch 1.20.1.2, from game/common/scripted_effects/00_hunt_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (74 lines of game script)
hunt_physician_treatment_effect = {
scope:physician = {
duel = {
skill = learning
value = medium_skill_rating
20 = {
compare_modifier = {
value = scope:duel_value
multiplier = 3.5
min = -25
}
min = 5
desc = hunt.4014.c.success
scope:host = {
send_interface_toast = {
title = hunt.4014.c.success
left_icon = scope:patient
right_icon = scope:physician
scope:patient = {
change_trait_rank = {
trait = wounded
rank = -1
max = 1
}
if = {
limit = {
this != scope:host
}
add_opinion = {
target = scope:host
modifier = grateful_opinion
opinion = 10
}
}
add_opinion = {
target = scope:physician
modifier = grateful_opinion
opinion = 10
}
}
}
}
}
15 = {
compare_modifier = {
value = scope:duel_value
multiplier = -3.5
min = -25
}
modifier = {
factor = 0.5
has_trait = lifestyle_physician
}
min = 5
desc = hunt.4014.c.failure
scope:host = {
send_interface_toast = {
title = hunt.4014.c.failure
left_icon = scope:patient
right_icon = scope:physician
scope:patient = {
add_character_modifier = { modifier = infected_wound_modifier }
add_opinion = {
target = scope:physician
modifier = failed_to_treat_me_opinion
opinion = -15
}
}
}
}
}
}
}
}As written in game/common/scripted_effects/00_hunt_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls hunt_physician_treatment_effect.
Events (3)
- Caught in a Trap
hunt.7011 - Troublesome Terrain
hunt.4014 - Troublesome Terrain
hunt.4911
Source: game/common/scripted_effects/00_hunt_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.