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_me_opinions_effect

downgrade_failed_treatment_of_me_opinions_effect = yes

game/common/scripted_effects/20_health_effects.txt, line 3882 (46 lines). No parameters.

downgrade_failed_treatment_of_me_opinions_effect is a scripted effect in Crusader Kings III, written at line 3882 of its file. It takes no parameters: downgrade_failed_treatment_of_me_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 (46 lines of game script)
downgrade_failed_treatment_of_me_opinions_effect = {
	#Physician scope is set in the events that reference this effect
	hidden_effect = {
		if = {
			limit = {
				scope:physician = {
					is_alive = yes
				}
				court_physician_available_trigger = yes
			}
			if = {
				limit = {
					has_opinion_modifier = {
						target = scope:physician
						modifier = botched_my_treatment_crime_opinion
					}
				}
				remove_opinion = {
					target = scope:physician
					modifier = botched_my_treatment_crime_opinion
				}
				add_opinion = {
					#add nice opinion version
					target = scope:physician
					modifier = botched_my_treatment_crime_opinion
				}
			}
			if = {
				limit = {
					has_opinion_modifier = {
						target = scope:physician
						modifier = failed_to_treat_me_crime_opinion
					}
				}
				remove_opinion = {
					target = scope:physician
					modifier = failed_to_treat_me_crime_opinion
				}
				add_opinion = {
					target = scope:physician
					modifier = failed_to_treat_me_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_me_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?