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_war_of_defiance_heir_transfer_effect

gok_war_of_defiance_heir_transfer_effect = yes

game/common/scripted_effects/09_mpo_greatest_of_khans_effects.txt, line 1171 (17 lines). No parameters.

gok_war_of_defiance_heir_transfer_effect is a scripted effect in Crusader Kings III, in the Khans of the Steppe files, written at line 1171 of its file. It takes no parameters: gok_war_of_defiance_heir_transfer_effect = yes. The game's script calls it in 1 place, among them on_death (on action). Patch 1.20.1.2, from game/common/scripted_effects/09_mpo_greatest_of_khans_effects.txt.

What it does

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

The script as written (17 lines of game script)
gok_war_of_defiance_heir_transfer_effect = {
	if = {
		limit = {
			has_variable = fought_for_gok_alone
		}
		save_scope_value_as = {
		 	name = fought_for_gok_alone_value
		 	value = var:fought_for_gok_alone
		}
		primary_heir = {
			set_variable = {
				name = fought_for_gok_alone
				value = scope:fought_for_gok_alone_value
			}
		}
	}
}

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_war_of_defiance_heir_transfer_effect.

On actions (the game's own hooks) (1)

  • on_death

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?