Scripted effect · All Under Heaven files
fired_minister_position_effect
fired_minister_position_effect = yesgame/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
If
scope:councillor_liege:
Then
- Depending on primary title:
- When primary title is Chancellery:
If
a check the game hides
Then
title:e_minister_chancellor.current_heir:got_minister_position_effect = { MINISTER_TITLE = e_minister_chancellor MINISTER_POSITION = councillor_chancellor }
Otherwise
destroy_and_fire_minister_effect = { MINISTER = e_minister_chancellor }
- When primary title is Censorate:
If
a check the game hides
Then
title:e_minister_censor.current_heir:got_minister_position_effect = { MINISTER_TITLE = e_minister_censor MINISTER_POSITION = councillor_spymaster }
Otherwise
destroy_and_fire_minister_effect = { MINISTER = e_minister_censor }
- When primary title is Commission:
If
a check the game hides
Then
title:e_minister_grand_marshal.current_heir:got_minister_position_effect = { MINISTER_TITLE = e_minister_grand_marshal MINISTER_POSITION = minister_grand_marshal }
Otherwise
destroy_and_fire_minister_effect = { MINISTER = e_minister_grand_marshal }
- When primary title is Ministry of Personnel:
If
a check the game hides
Then
title:e_minister_of_personnel.current_heir:got_minister_position_effect = { MINISTER_TITLE = e_minister_of_personnel MINISTER_POSITION = minister_personnel }
Otherwise
destroy_and_fire_minister_effect = { MINISTER = e_minister_of_personnel }
- When primary title is Ministry of Revenue:
If
a check the game hides
Then
title:e_minister_of_revenue.current_heir:got_minister_position_effect = { MINISTER_TITLE = e_minister_of_revenue MINISTER_POSITION = councillor_steward }
Otherwise
destroy_and_fire_minister_effect = { MINISTER = e_minister_of_revenue }
- When primary title is Ministry of Rites:
If
a check the game hides
Then
title:e_minister_of_rites.current_heir:got_minister_position_effect = { MINISTER_TITLE = e_minister_of_rites MINISTER_POSITION = councillor_court_chaplain }
Otherwise
destroy_and_fire_minister_effect = { MINISTER = e_minister_of_rites }
- When primary title is Ministry of War:
If
a check the game hides
Then
title:e_minister_of_war.current_heir:got_minister_position_effect = { MINISTER_TITLE = e_minister_of_war MINISTER_POSITION = councillor_marshal }
Otherwise
destroy_and_fire_minister_effect = { MINISTER = e_minister_of_war }
- When primary title is Ministry of Justice:
If
a check the game hides
Then
title:e_minister_of_justice.current_heir:got_minister_position_effect = { MINISTER_TITLE = e_minister_of_justice MINISTER_POSITION = minister_justice }
Otherwise
destroy_and_fire_minister_effect = { MINISTER = e_minister_of_justice }
- When primary title is Ministry of Works:
If
a check the game hides
Then
title:e_minister_of_works.current_heir:got_minister_position_effect = { MINISTER_TITLE = e_minister_of_works MINISTER_POSITION = minister_works }
Otherwise
destroy_and_fire_minister_effect = { MINISTER = e_minister_of_works }
- When primary title is Chancellery:
- Loses “Head of Ministry”
• 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.
Decisions (1)
Events (1)
- A Step Back
ep3_decisions_event.4090
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.