Scripted effect · Khans of the Steppe files
mpo_gok_offer_submission_effect
mpo_gok_offer_submission_effect = yesgame/common/scripted_effects/09_mpo_greatest_of_khans_effects.txt, line 1189 (335 lines). No parameters.
mpo_gok_offer_submission_effect is a scripted effect in Crusader Kings III, in the Khans of the Steppe files, written at line 1189 of its file. It takes no parameters: mpo_gok_offer_submission_effect = yes. The game's script calls it in 3 places, among them Offer Submission or Ruin (interaction), mpo_greatest_of_khans.0020 (event) and mpo_greatest_of_khans.0021 (event). Its body carries 10 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
scope:recipient:If
Then
If
scope:send_tribute = yes
Then
pay_short_term_gold = { target = scope:actor gold = monumental_gold_value }
Else if
NOT = { scope:low_obligations = yes }
Then
pay_short_term_gold = { target = scope:actor gold = major_gold_value }
Else if
Then
pay_herd = { target = scope:actor value = domicile.massive_herd_value }
Else if
scope:send_tribute = yes
Then
pay_short_term_gold = { target = scope:actor gold = massive_gold_value }
If
One of these
scope:send_army = yesor
scope:send_siege_weapons = yes
Then
- If government is Nomadic › Their domicile: Herd changes
- Else, if government is a Tribal-type Government: Gain -150 Prestige
- Otherwise:
remove_short_term_gold = medium_gold_value
If
scope:send_army = yes
Then
scope:actor:gok_spawn_subjugated_quality_army_effect = { CHARACTER = scope:recipient }
If
scope:send_siege_weapons = yes
Then
scope:actor:gok_spawn_subjugated_siege_army_effect = { CHARACTER = scope:recipient }
If
Then
scope:recipient:change_liege = { liege = scope:actor change = scope:change }
scope:recipient:If
- scope:actor › Their rite: Has the Pluralist Doctrine
Then
- Vassal Contract starts with Religiously Protected
scope:recipient:- If government is Feudal:
If
scope:send_tribute = yes
Then
- Vassal Contract starts with High Taxes
- Vassal Contract starts with High Levy Contribution
Else if
scope:low_obligations = yes
Then
- Vassal Contract starts with Low Taxes
- Vassal Contract starts with Low Levy Contribution
Otherwise
- Vassal Contract starts with Normal Taxes
- Vassal Contract starts with Normal Levy Contribution
- Else, if government is Nomadic:
Otherwise
- Vassal Contract starts with Normal Herd
- If government is Feudal:
• 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)
mpo_gok_offer_submission_effect = {
#Give tribute/troops before potentially losing title
scope:recipient = {
#Payments from demand payments
#Costs more for those who aren't paying increased taxes
if = {
limit = {
NOR = {
government_has_flag = government_is_feudal
government_has_flag = government_is_nomadic
government_has_flag = government_is_herder
}
}
if = {
limit = {
scope:send_tribute = yes
}
pay_short_term_gold = {
target = scope:actor
gold = monumental_gold_value
}
}
else_if = {
limit = {
NOT = { scope:low_obligations = yes }
}
pay_short_term_gold = {
target = scope:actor
gold = major_gold_value
}
}
}
else_if = {
limit = {
government_has_flag = government_is_nomadic
scope:actor = {
government_has_flag = government_is_nomadic
}
scope:send_tribute = yes
}
pay_herd = {
target = scope:actor
value = domicile.massive_herd_value
}
}
else_if = {
limit = {
scope:send_tribute = yes
}
pay_short_term_gold = {
target = scope:actor
gold = massive_gold_value
}
}
#special soldiers
#Pay some gold or herd to signify giving them up
if = {
limit = {
OR = {
scope:send_army = yes
scope:send_siege_weapons = yes
}
}
if = {
limit = {
government_has_flag = government_is_nomadic
}
domicile = {
change_herd = medium_herd_loss
}
}
else_if = {
limit = {
government_has_flag = government_is_tribal
}
add_prestige = medium_prestige_loss
}
else = {
remove_short_term_gold = medium_gold_value
}
}
if = {
limit = {
scope:send_army = yes
}
scope:actor = {
gok_spawn_subjugated_quality_army_effect = { CHARACTER = scope:recipient }
}
}
if = {
limit = {
scope:send_siege_weapons = yes
}
scope:actor = {
gok_spawn_subjugated_siege_army_effect = { CHARACTER = scope:recipient }
}
}
}
#If emperor... loses titles
if = {
limit = {
scope:recipient = {
highest_held_title_tier >= tier_empire
}
}
scope:recipient = {
hidden_effect = {
every_vassal = {
limit = {
highest_held_title_tier = tier_kingdom
}
create_title_and_vassal_change = {
type = swear_fealty
save_scope_as = change
}
change_liege = {
liege = scope:actor
change = scope:change
}As written in game/common/scripted_effects/09_mpo_greatest_of_khans_effects.txt.
The first 120 of its 335 lines; the rest is in game/common/scripted_effects/09_mpo_greatest_of_khans_effects.txt from line 1189.
Where it is used
Every place in common/, events/ and history/ that calls mpo_gok_offer_submission_effect.
Character interactions (1)
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.