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

Scripted effect · All Under Heaven files

fired_minister_position_effect

fired_minister_position_effect = yes

game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 1965 (149 lines). No parameters.

fired_minister_position_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 1965 of its file. It takes no parameters: fired_minister_position_effect = yes. The game's script calls it in 11 places, among them Withdraw from Governorship (decision), A Step Back (event ep3_decisions_event.4090) and Chancellor (council positions). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_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 (120 lines of game script)
fired_minister_position_effect = {
	if = {
		limit = {
			scope:councillor_liege = {
				tgp_has_access_to_ministry_trigger = yes
			}
			NOT = { exists = scope:new_councillor }
		}
		switch = {
			trigger = primary_title
			title:e_minister_chancellor = {
				if = {
					limit = {
						exists = title:e_minister_chancellor.current_heir
					}
					title:e_minister_chancellor.current_heir = {
						got_minister_position_effect = { MINISTER_TITLE = e_minister_chancellor MINISTER_POSITION = councillor_chancellor }
					}
				}
				else = {
					destroy_and_fire_minister_effect = {
						MINISTER = e_minister_chancellor
					}
				}
			}
			title:e_minister_censor = {
				if = {
					limit = {
						exists = title:e_minister_censor.current_heir
					}
					title:e_minister_censor.current_heir = {
						got_minister_position_effect = { MINISTER_TITLE = e_minister_censor MINISTER_POSITION = councillor_spymaster }
					}
				}
				else = {
					destroy_and_fire_minister_effect = {
						MINISTER = e_minister_censor
					}
				}
			}
			title:e_minister_grand_marshal = {
				if = {
					limit = {
						exists = title:e_minister_grand_marshal.current_heir
					}
					title:e_minister_grand_marshal.current_heir = {
						got_minister_position_effect = { MINISTER_TITLE = e_minister_grand_marshal MINISTER_POSITION = minister_grand_marshal }
					}
				}
				else = {
					destroy_and_fire_minister_effect = {
						MINISTER = e_minister_grand_marshal
					}
				}
			}
			title:e_minister_of_personnel = {
				if = {
					limit = {
						exists = title:e_minister_of_personnel.current_heir
					}
					title:e_minister_of_personnel.current_heir = {
						got_minister_position_effect = { MINISTER_TITLE = e_minister_of_personnel MINISTER_POSITION = minister_personnel }
					}
				}
				else = {
					destroy_and_fire_minister_effect = {
						MINISTER = e_minister_of_personnel
					}
				}
			}
			title:e_minister_of_revenue = {
				if = {
					limit = {
						exists = title:e_minister_of_revenue.current_heir
					}
					title:e_minister_of_revenue.current_heir = {
						got_minister_position_effect = { MINISTER_TITLE = e_minister_of_revenue MINISTER_POSITION = councillor_steward }
					}
				}
				else = {
					destroy_and_fire_minister_effect = {
						MINISTER = e_minister_of_revenue
					}
				}
			}
			title:e_minister_of_rites = {
				if = {
					limit = {
						exists = title:e_minister_of_rites.current_heir
					}
					title:e_minister_of_rites.current_heir = {
						got_minister_position_effect = { MINISTER_TITLE = e_minister_of_rites MINISTER_POSITION = councillor_court_chaplain }
					}
				}
				else = {
					destroy_and_fire_minister_effect = {
						MINISTER = e_minister_of_rites
					}
				}
			}
			title:e_minister_of_war = {
				if = {
					limit = {
						exists = title:e_minister_of_war.current_heir
					}
					title:e_minister_of_war.current_heir = {
						got_minister_position_effect = { MINISTER_TITLE = e_minister_of_war MINISTER_POSITION = councillor_marshal }
					}
				}
				else = {
					destroy_and_fire_minister_effect = {
						MINISTER = e_minister_of_war
					}
				}
			}
			title:e_minister_of_justice = {
				if = {
					limit = {
						exists = title:e_minister_of_justice.current_heir
					}

As written in game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.

The first 120 of its 149 lines; the rest is in game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt from line 1965.

Where it is used

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

Events (1)

Council positions (9)

  • Chancellor
  • Court Chaplain
  • Grand Marshal
  • Marshal
  • Minister of Justice
  • Minister of Personnel
3 more
  • Minister of Works
  • Spymaster
  • Steward

Source: game/common/scripted_effects/10_dlc_tgp_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?