Scripted effect · Khans of the Steppe files
gok_world_conquest_generic_rewards_effect
gok_world_conquest_generic_rewards_effect = yesgame/common/scripted_effects/09_mpo_greatest_of_khans_effects.txt, line 7420 (416 lines). No parameters.
gok_world_conquest_generic_rewards_effect is a scripted effect in Crusader Kings III, in the Khans of the Steppe files, written at line 7420 of its file. It takes no parameters: gok_world_conquest_generic_rewards_effect = yes. The game's script calls it in 2 places, among them Reform the Great Khaganate (decision) and The Eternal … (event mpo_greatest_of_khans.0030). Its body carries 6 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
- You gain a new Hegemony-Tier Title, with all your lands in The Great Steppe as its De Jure
If
has_education_martial_trigger = yes- Does not have the Trait: Exalted Warlord
Then
- Loses the Trait Misguided Warrior
- Loses the Trait Tough Soldier
- Loses the Trait Skilled Tactician
- Loses the Trait Brilliant Strategist
- You gain Exalted Warlord
Else if
has_education_diplomacy_trigger = yes- Does not have the Trait: Virtuoso Arbitrator
Then
- Loses the Trait Naive Appeaser
- Loses the Trait Adequate Bargainer
- Loses the Trait Charismatic Negotiator
- Loses the Trait Gray Eminence
- You gain Virtuoso Arbitrator
Else if
has_education_stewardship_trigger = yes- Does not have the Trait: Golden Sovereign
Then
- Loses the Trait Indulgent Wastrel
- Loses the Trait Thrifty Clerk
- Loses the Trait Fortune Builder
- Loses the Trait Midas Touched
- You gain Golden Sovereign
Else if
has_education_intrigue_trigger = yes- Does not have the Trait: Conniving Puppetmaster
Then
- Loses the Trait Amateurish Plotter
- Loses the Trait Flamboyant Trickster
- Loses the Trait Intricate Webweaver
- Loses the Trait Elusive Shadow
- You gain Conniving Puppetmaster
Else if
has_education_learning_trigger = yes- Does not have the Trait: Erudite Oracle
Then
- Loses the Trait Conscientious Scribe
- Loses the Trait Insightful Thinker
- Loses the Trait Astute Intellectual
- Loses the Trait Mastermind Philosopher
- You gain Erudite Oracle
• 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)
gok_world_conquest_generic_rewards_effect = {
custom_tooltip = gok_gain_hegemony
hidden_effect = {
#CENGIZ KHAGANATE
if = {
limit = {
culture = {
has_cultural_pillar = language_turkic
}
OR = {
has_nickname = nick_cengiz_khan
primary_title = {
any_past_holder = {
has_nickname = nick_cengiz_khan
}
}
}
}
#Create a hegemony for the GoK!
create_dynamic_title = {
tier = hegemony
name = GREATEST_OF_KHANS_HEGEMONY_NAME_CENGIZ
adj = GREATEST_OF_KHANS_HEGEMONY_NAME_CENGIZ_ADJ
article = article_CONFEDERATION_CULTURE_NAME
}
}
#YEKHE KHAGANATE
else_if = {
limit = {
culture = {
has_cultural_pillar = language_mongolic
}
OR = {
has_nickname = nick_yekhe_khagan
primary_title = {
any_past_holder = {
has_nickname = nick_yekhe_khagan
}
}
}
}
#Create a hegemony for the GoK!
create_dynamic_title = {
tier = hegemony
name = GREATEST_OF_KHANS_HEGEMONY_NAME_YEKHE
adj = GREATEST_OF_KHANS_HEGEMONY_NAME_YEKHE_ADJ
article = article_CONFEDERATION_CULTURE_NAME
}
}
#DORT YONLUG KHAGANATE
else_if = {
limit = {
culture = {
has_cultural_pillar = language_turkic
}
OR = {
has_nickname = nick_dort_yonlug_khagan
primary_title = {
any_past_holder = {
has_nickname = nick_dort_yonlug_khagan
}
}
}
}
#Create a hegemony for the GoK!
create_dynamic_title = {
tier = hegemony
name = GREATEST_OF_KHANS_HEGEMONY_NAME_DORT_YONLUG
adj = GREATEST_OF_KHANS_HEGEMONY_NAME_DORT_YONLUG_ADJ
article = article_CONFEDERATION_CULTURE_NAME
}
}
#MAR SARGIS KHAGANATE
else_if = {
limit = {
faith = faith:nestorian
OR = {
has_nickname = nick_mar_sargis
primary_title = {
any_past_holder = {
has_nickname = nick_mar_sargis
}
}
}
}
#Create a hegemony for the GoK!
create_dynamic_title = {
tier = hegemony
name = GREATEST_OF_KHANS_HEGEMONY_NAME_MAR_SARGIS
adj = GREATEST_OF_KHANS_HEGEMONY_NAME_MAR_SARGIS_ADJ
article = article_CONFEDERATION_CULTURE_NAME
}
}
#XORMUSTA KHAGANATE
else_if = {
limit = {
OR = {
faith = faith:nestorian
faith.religion = faith:manichaean_faith.religion
}
OR = {
has_nickname = nick_xormuzta
primary_title = {
any_past_holder = {
has_nickname = nick_xormuzta
}
}
}
}
#Create a hegemony for the GoK!
create_dynamic_title = {
tier = hegemony
name = GREATEST_OF_KHANS_HEGEMONY_NAME_XORMUZTA
adj = GREATEST_OF_KHANS_HEGEMONY_NAME_XORMUZTA_ADJ
article = article_CONFEDERATION_CULTURE_NAME
}
}
#CIHANGIR KHAGANATE
else_if = {
limit = {As written in game/common/scripted_effects/09_mpo_greatest_of_khans_effects.txt.
The first 120 of its 416 lines; the rest is in game/common/scripted_effects/09_mpo_greatest_of_khans_effects.txt from line 7420.
Where it is used
Every place in common/, events/ and history/ that calls gok_world_conquest_generic_rewards_effect.
Decisions (1)
Events (1)
- The Eternal …
mpo_greatest_of_khans.0030
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.