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

Scripted effect · Roads to Power files

ep3_child_castration_effect

ep3_child_castration_effect = yes

game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 7108 (76 lines). No parameters.

ep3_child_castration_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 7108 of its file. It takes no parameters: ep3_child_castration_effect = yes. The game's script calls it in 7 places, among them Castrate Kin (interaction), Castrate Prisoner (interaction) and Negotiate Release (interaction). Its body carries 3 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

What it does

• 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 (76 lines of game script)
ep3_child_castration_effect = {
	add_trait = beardless_eunuch
	torture_memory_effect = {
		VICTIM = scope:recipient
		TORTURER = scope:actor
		TYPE = castrated_beardless
	}
	#Eunuch bonus effects
	custom_tooltip = castration_increased_aptitude
	if = {
		limit = {
			scope:actor = {
				government_has_mechanic = administrative
			}
		}
		custom_tooltip = castration_governor_efficiency
	}
	#might get hurt
	custom_tooltip = castration_wounded_chance
	hidden_effect = {
		random_list = {
			5 = {
				add_character_modifier = {
					modifier = brutal_castration_modifier
					years = 5
				}
			}
			5 = {
				modifier = {
					add = 5
					employs_court_position = court_physician_court_position
				}
				modifier = {
					add = 5
					employs_court_position = court_physician_court_position
					court_position:court_physician_court_position = {
						aptitude = {
							court_position = court_physician_court_position
							value >= 1
						}
					}
				}
				modifier = {
					add = 10
					employs_court_position = court_physician_court_position
					court_position:court_physician_court_position = {
						aptitude = {
							court_position = court_physician_court_position
							value >= 2
						}
					}
				}
				modifier = {
					add = 10
					employs_court_position = court_physician_court_position
					court_position:court_physician_court_position = {
						aptitude = {
							court_position = court_physician_court_position
							value >= 3
						}
					}
				}
				modifier = {
					add = 10
					employs_court_position = court_physician_court_position
					court_position:court_physician_court_position = {
						aptitude = {
							court_position = court_physician_court_position
							value >= 4
						}
					}
				}
			}
		}
	}
}

As written in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls ep3_child_castration_effect.

Events (2)

Scripted effects (1)

Source: game/common/scripted_effects/07_dlc_ep3_scripted_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?