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

Scripted effect · The Royal Court files

mark_court_position_for_employment_effect

mark_court_position_for_employment_effect = { CHARACTER = … }

game/common/scripted_effects/00_ep1_hold_court_effects.txt, line 569 (438 lines). Parameters: $CHARACTER$.

mark_court_position_for_employment_effect is a scripted effect in Crusader Kings III, in the The Royal Court files, written at line 569 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 1 place, among them Lonely Days (event court_yearly.5001). Patch 1.20.1.2, from game/common/scripted_effects/00_ep1_hold_court_effects.txt.

The comment above it in the file

Mark a random court position to hire a person in. Use this in the immediate and then employ_character_as_marked_court_position_effect in the option to give proper tooltips about what position you're filling.

What it does

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

The script as written (120 lines of game script)
mark_court_position_for_employment_effect = {
	hidden_effect = {
		random_list = {
			10 = {
				trigger = {
					can_appoint_char_to_court_position = {
						CHAR = $CHARACTER$
						COURT_POS = court_physician_court_position
					}
				}
				save_scope_value_as = {
					name = court_position_to_fill
					value = flag:court_physician_court_position
				}				
			}
			10 = {
				trigger = {
					can_appoint_char_to_court_position = {
						CHAR = $CHARACTER$
						COURT_POS = master_of_horse_court_position
					}
				}
				save_scope_value_as = {
					name = court_position_to_fill
					value = flag:master_of_horse_court_position
				}				
			}
			10 = {
				trigger = {
					can_appoint_char_to_court_position = {
						CHAR = $CHARACTER$
						COURT_POS = master_of_hunt_court_position
					}
				}
				save_scope_value_as = {
					name = court_position_to_fill
					value = flag:master_of_hunt_court_position
				}				
			}
			10 = {
				trigger = {
					can_appoint_char_to_court_position = {
						CHAR = $CHARACTER$
						COURT_POS = keeper_of_swans_court_position
					}
				}
				save_scope_value_as = {
					name = court_position_to_fill
					value = flag:keeper_of_swans_court_position
				}				
			}
			10 = {
				trigger = {
					can_appoint_char_to_court_position = {
						CHAR = $CHARACTER$
						COURT_POS = travel_leader_court_position
					}
				}
				save_scope_value_as = {
					name = court_position_to_fill
					value = flag:travel_leader_court_position
				}
			}
			10 = {
				trigger = {
					can_appoint_char_to_court_position = {
						CHAR = $CHARACTER$
						COURT_POS = court_jester_court_position
					}
				}
				save_scope_value_as = {
					name = court_position_to_fill
					value = flag:court_jester_court_position
				}				
			}
			10 = {
				trigger = {
					can_appoint_char_to_court_position = {
						CHAR = $CHARACTER$
						COURT_POS = high_almoner_court_position
					}
				}
				save_scope_value_as = {
					name = court_position_to_fill
					value = flag:high_almoner_court_position
				}				
			}
			10 = {
				trigger = {
					can_appoint_char_to_court_position = {
						CHAR = $CHARACTER$
						COURT_POS = seneschal_court_position
					}
				}
				save_scope_value_as = {
					name = court_position_to_fill
					value = flag:seneschal_court_position
				}				
			}
			10 = {
				trigger = {
					can_appoint_char_to_court_position = {
						CHAR = $CHARACTER$
						COURT_POS = court_tutor_court_position
					}
				}
				save_scope_value_as = {
					name = court_position_to_fill
					value = flag:court_tutor_court_position
				}				
			}
			10 = {
				trigger = {
					can_appoint_char_to_court_position = {
						CHAR = $CHARACTER$
						COURT_POS = court_guru_court_position
					}
				}
				save_scope_value_as = {
					name = court_position_to_fill

As written in game/common/scripted_effects/00_ep1_hold_court_effects.txt.

The first 120 of its 438 lines; the rest is in game/common/scripted_effects/00_ep1_hold_court_effects.txt from line 569.

Where it is used

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

Events (1)

Source: game/common/scripted_effects/00_ep1_hold_court_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?