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

Scripted effect · Khans of the Steppe files

gok_government_change_story_end_effect

gok_government_change_story_end_effect = yes

game/common/scripted_effects/09_mpo_greatest_of_khans_effects.txt, line 8670 (22 lines). No parameters.

gok_government_change_story_end_effect is a scripted effect in Crusader Kings III, in the Khans of the Steppe files, written at line 8670 of its file. It takes no parameters: gok_government_change_story_end_effect = yes. The game's script calls it in 9 places, among them Adopt Mandala Government (decision), Assimilate to Mandala Rule (decision) and Become a Meritocratic Khanate (decision). Its body carries 3 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/09_mpo_greatest_of_khans_effects.txt.

What it does

  • If

    • Any owned story:
      • story_type = story_greatest_of_khans

    Then

    • You will lose access to the Offer Submission or Ruin Interaction
    • You will lose access to the Greatest of Khans' Onslaught Casus Belli
    • You will lose access to the Reform the Great Khaganate Decision

• 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 (22 lines of game script)
gok_government_change_story_end_effect = {
	if = {
		limit = {
			any_owned_story = {
				story_type = story_greatest_of_khans
			}
		}
		custom_tooltip = gok_ending_warning_offer_sub_or_ruin
		custom_tooltip = gok_ending_warning_onslaught
		custom_tooltip = gok_ending_warning_end_decision
		hidden_effect = {
			every_owned_story = {
				limit = { story_type = story_greatest_of_khans }
				end_story = yes
			}
			trigger_event = {
				id = mpo_greatest_of_khans.0041
				days = 3
			}
		}
	}
}

As written in game/common/scripted_effects/09_mpo_greatest_of_khans_effects.txt.

Where it is used

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

Source: game/common/scripted_effects/09_mpo_greatest_of_khans_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?