CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect

downgrade_failed_treatment_of_kin_opinions_effect

downgrade_failed_treatment_of_kin_opinions_effect = yes

game/common/scripted_effects/20_health_effects.txt, line 3929 (37 lines). No parameters.

downgrade_failed_treatment_of_kin_opinions_effect is a scripted effect in Crusader Kings III, written at line 3929 of its file. It takes no parameters: downgrade_failed_treatment_of_kin_opinions_effect = yes. The game's script calls it in 2 places, among them chastise_physician_effect (scripted effect) and forgive_physician_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/20_health_effects.txt.

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (37 lines of game script)
downgrade_failed_treatment_of_kin_opinions_effect = {
	hidden_effect = {
		if = {
			limit = {
				has_opinion_modifier = {
					target = scope:physician
					modifier = botched_treatment_of_kin_crime_opinion
				}
			}
			remove_opinion = {
				target = scope:physician
				modifier = botched_treatment_of_kin_crime_opinion
			}
			add_opinion = {
				#add nice opinion version
				target = scope:physician
				modifier = botched_treatment_of_kin_opinion
			}
		}
		if = {
			limit = {
				has_opinion_modifier = {
					target = scope:physician
					modifier = failed_to_treat_kin_crime_opinion
				}
			}
			remove_opinion = {
				target = scope:physician
				modifier = failed_to_treat_kin_crime_opinion
			}
			add_opinion = {
				target = scope:physician
				modifier = failed_to_treat_kin_opinion
			}
		}
	}
}

As written in game/common/scripted_effects/20_health_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls downgrade_failed_treatment_of_kin_opinions_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.

Spotted a mistake on this page?