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

employ_character_as_any_free_position_effect

employ_character_as_any_free_position_effect = { CHARACTER = … }

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

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

The comment above it in the file

Hire scope in any available position. You must have checked that one exists first!, for example by using can_be_employed_in_any_court_position_trigger!

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)
employ_character_as_any_free_position_effect = {
	save_scope_as = hiring_character
	hidden_effect = {
		random_list = {
			10 = {
				trigger = {
					can_appoint_char_to_court_position = {
						CHAR = $CHARACTER$
						COURT_POS = court_physician_court_position
					}
				}
				court_position_grant_effect = {
					EMPLOYER = scope:hiring_character
					POS = court_physician
					CANDIDATE = $CHARACTER$
				}	
			}
			10 = {
				trigger = {
					can_appoint_char_to_court_position = {
						CHAR = $CHARACTER$
						COURT_POS = master_of_horse_court_position
					}
				}
				court_position_grant_effect = {
					EMPLOYER = scope:hiring_character
					POS = master_of_horse
					CANDIDATE = $CHARACTER$
				}			
			}
			10 = {
				trigger = {
					can_appoint_char_to_court_position = {
						CHAR = $CHARACTER$
						COURT_POS = master_of_hunt_court_position
					}
				}
				court_position_grant_effect = {
					EMPLOYER = scope:hiring_character
					POS = master_of_hunt
					CANDIDATE = $CHARACTER$
				}			
			}
			10 = {
				trigger = {
					can_appoint_char_to_court_position = {
						CHAR = $CHARACTER$
						COURT_POS = keeper_of_swans_court_position
					}
				}
				court_position_grant_effect = {
					EMPLOYER = scope:hiring_character
					POS = keeper_of_swans
					CANDIDATE = $CHARACTER$
				}				
			}
			10 = {
				trigger = {
					can_appoint_char_to_court_position = {
						CHAR = $CHARACTER$
						COURT_POS = travel_leader_court_position
					}
				}
				court_position_grant_effect = {
					EMPLOYER = scope:hiring_character
					POS = travel_leader
					CANDIDATE = $CHARACTER$
				}
			}
			10 = {
				trigger = {
					can_appoint_char_to_court_position = {
						CHAR = $CHARACTER$
						COURT_POS = court_jester_court_position
					}
				}
				court_position_grant_effect = {
					EMPLOYER = scope:hiring_character
					POS = court_jester
					CANDIDATE = $CHARACTER$
				}			
			}
			10 = {
				trigger = {
					can_appoint_char_to_court_position = {
						CHAR = $CHARACTER$
						COURT_POS = high_almoner_court_position
					}
				}
				court_position_grant_effect = {
					EMPLOYER = scope:hiring_character
					POS = high_almoner
					CANDIDATE = $CHARACTER$
				}			
			}
			10 = {
				trigger = {
					can_appoint_char_to_court_position = {
						CHAR = $CHARACTER$
						COURT_POS = seneschal_court_position
					}
				}
				court_position_grant_effect = {
					EMPLOYER = scope:hiring_character
					POS = seneschal
					CANDIDATE = $CHARACTER$
				}			
			}
			10 = {
				trigger = {
					can_appoint_char_to_court_position = {
						CHAR = $CHARACTER$
						COURT_POS = court_tutor_court_position
					}
				}
				court_position_grant_effect = {
					EMPLOYER = scope:hiring_character
					POS = court_tutor
					CANDIDATE = $CHARACTER$
				}			

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

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

Where it is used

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