Scripted effect · Khans of the Steppe files
mpo_yurts_paiza_bonuses_tooltip_effect
mpo_yurts_paiza_bonuses_tooltip_effect = yesgame/common/scripted_effects/09_dlc_mpo_scripted_effects.txt, line 1995 (74 lines). No parameters.
mpo_yurts_paiza_bonuses_tooltip_effect is a scripted effect in Crusader Kings III, in the Khans of the Steppe files, written at line 1995 of its file. It takes no parameters: mpo_yurts_paiza_bonuses_tooltip_effect = yes. The game's script calls it in 2 places, among them Summon Wealthy Visitors: Local Offers (event mpo_decisions_events.2141) and Summon Wealthy Visitors: Paiza (event mpo_decisions_events.0100). Its body carries 16 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt.
What it does
If
- Their domicile:
One of these
has_domicile_building_or_higher = fertility_trade_yurt_01or
has_domicile_building_or_higher = herd_trade_yurt_01or
has_domicile_building_or_higher = knight_trade_yurt_01or
has_domicile_building_or_higher = merchant_yurt_01or
has_domicile_building_or_higher = char_trade_yurt_01
Then
- Additional trade effects from your Yurt Buildings:
- Their domicile:
- Their domicile:
If
has_domicile_building_or_higher = fertility_trade_yurt_01
Then
- Depending on has domicile parameter:
- When has domicile parameter is nomad yurt paiza fertility gain lvl 1: Wealth of the Steppe: +10% County Fertility Growth in your Domain for 2 years after wealthy visitor arrival from Summon Wealthy Visitors Decision
- When has domicile parameter is nomad yurt paiza fertility gain lvl 2: Wealth of the Steppe: +20% County Fertility Growth in your Domain for 4 years after wealthy visitor arrival from Summon Wealthy Visitors Decision
- When has domicile parameter is nomad yurt paiza fertility gain lvl 3: Wealth of the Steppe: +30% County Fertility Growth in your Domain for 6 years after wealthy visitor arrival from Summon Wealthy Visitors Decision
If
has_domicile_building_or_higher = herd_trade_yurt_01
Then
- Depending on has domicile parameter:
- When has domicile parameter is nomad yurt paiza herd gain lvl 1: Herd Barter: Gain 5% more profits as Herd in Summon Wealthy Visitors Decision
- When has domicile parameter is nomad yurt paiza herd gain lvl 2: Herd Barter: Gain 10% more profits as Herd in Summon Wealthy Visitors Decision
- When has domicile parameter is nomad yurt paiza herd gain lvl 3: Herd Barter: Gain 20% more profits as Herd in Summon Wealthy Visitors Decision
If
has_domicile_building_or_higher = knight_trade_yurt_01
Then
- Depending on has domicile parameter:
- When has domicile parameter is nomad yurt paiza maa gain lvl 1: Foreign Warriors: Upon wealthy visitor arrival from Summon Wealthy Visitors Decision you will receive a Regiment of foreign Men-at-Arms
- When has domicile parameter is nomad yurt paiza maa gain lvl 2: Foreign Warriors: Upon wealthy visitor arrival from Summon Wealthy Visitors Decision you will receive a large Regiment of foreign Men-at-Arms
- When has domicile parameter is nomad yurt paiza maa gain lvl 3: Foreign Warriors: Upon wealthy visitor arrival from Summon Wealthy Visitors Decision you will receive two large Regiments of foreign Men-at-Arms
If
has_domicile_building_or_higher = merchant_yurt_01
Then
- Depending on has domicile parameter:
- When has domicile parameter is nomad yurt paiza more gold lvl 1: Foreign Visitors Quarters: +5% Gold gain in Summon Wealthy Visitors Decision
- When has domicile parameter is nomad yurt paiza more gold lvl 2: Foreign Visitors Quarters: +10% Gold gain in Summon Wealthy Visitors Decision
- When has domicile parameter is nomad yurt paiza more gold lvl 3: Foreign Visitors Quarters: +20% Gold gain in Summon Wealthy Visitors Decision
If
has_domicile_building_or_higher = char_trade_yurt_01
Then
- Depending on has domicile parameter:
- When has domicile parameter is nomad yurt paiza char gain lvl 1: Allure of the Steppe: A foreign Character will join your Court upon voyage completion from Summon Wealthy Visitors Decision
- When has domicile parameter is nomad yurt paiza char gain lvl 2: Allure of the Steppe: A skilled foreign Character will join your Court upon voyage completion from Summon Wealthy Visitors Decision
- When has domicile parameter is nomad yurt paiza char gain lvl 3: Allure of the Steppe: A highly skilled foreign Character will join your Court upon voyage completion from Summon Wealthy Visitors 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 (74 lines of game script)
mpo_yurts_paiza_bonuses_tooltip_effect = {
if = {
limit = {
domicile ?= {
OR = {
has_domicile_building_or_higher = fertility_trade_yurt_01
has_domicile_building_or_higher = herd_trade_yurt_01
has_domicile_building_or_higher = knight_trade_yurt_01
has_domicile_building_or_higher = merchant_yurt_01
has_domicile_building_or_higher = char_trade_yurt_01
}
}
}
custom_tooltip = yurt_paiza_bonuses_generic
}
domicile ?= {
if = {
limit = {
has_domicile_building_or_higher = fertility_trade_yurt_01
}
switch = {
trigger = has_domicile_parameter
nomad_yurt_paiza_fertility_gain_lvl_1 = { custom_tooltip = nomad_yurt_paiza_fertility_gain_lvl_1_tooltip }
nomad_yurt_paiza_fertility_gain_lvl_2 = { custom_tooltip = nomad_yurt_paiza_fertility_gain_lvl_2_tooltip }
nomad_yurt_paiza_fertility_gain_lvl_3 = { custom_tooltip = nomad_yurt_paiza_fertility_gain_lvl_3_tooltip }
}
}
if = {
limit = {
has_domicile_building_or_higher = herd_trade_yurt_01
}
switch = {
trigger = has_domicile_parameter
nomad_yurt_paiza_herd_gain_lvl_1 = { custom_tooltip = nomad_yurt_paiza_herd_gain_lvl_1_tooltip }
nomad_yurt_paiza_herd_gain_lvl_2 = { custom_tooltip = nomad_yurt_paiza_herd_gain_lvl_2_tooltip }
nomad_yurt_paiza_herd_gain_lvl_3 = { custom_tooltip = nomad_yurt_paiza_herd_gain_lvl_3_tooltip }
}
}
if = {
limit = {
has_domicile_building_or_higher = knight_trade_yurt_01
}
switch = {
trigger = has_domicile_parameter
nomad_yurt_paiza_maa_gain_lvl_1 = { custom_tooltip = nomad_yurt_paiza_maa_gain_lvl_1_tooltip }
nomad_yurt_paiza_maa_gain_lvl_2 = { custom_tooltip = nomad_yurt_paiza_maa_gain_lvl_2_tooltip }
nomad_yurt_paiza_maa_gain_lvl_3 = { custom_tooltip = nomad_yurt_paiza_maa_gain_lvl_3_tooltip }
}
}
if = {
limit = {
has_domicile_building_or_higher = merchant_yurt_01
}
switch = {
trigger = has_domicile_parameter
nomad_yurt_paiza_more_gold_lvl_1 = { custom_tooltip = nomad_yurt_paiza_more_gold_lvl_1_tooltip }
nomad_yurt_paiza_more_gold_lvl_2 = { custom_tooltip = nomad_yurt_paiza_more_gold_lvl_2_tooltip }
nomad_yurt_paiza_more_gold_lvl_3 = { custom_tooltip = nomad_yurt_paiza_more_gold_lvl_3_tooltip }
}
}
if = {
limit = {
has_domicile_building_or_higher = char_trade_yurt_01
}
switch = {
trigger = has_domicile_parameter
nomad_yurt_paiza_char_gain_lvl_1 = { custom_tooltip = nomad_yurt_paiza_char_gain_lvl_1_tooltip }
nomad_yurt_paiza_char_gain_lvl_2 = { custom_tooltip = nomad_yurt_paiza_char_gain_lvl_2_tooltip }
nomad_yurt_paiza_char_gain_lvl_3 = { custom_tooltip = nomad_yurt_paiza_char_gain_lvl_3_tooltip }
}
}
}
}As written in game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls mpo_yurts_paiza_bonuses_tooltip_effect.
Events (2)
- Summon Wealthy Visitors: Local Offers
mpo_decisions_events.2141 - Summon Wealthy Visitors: Paiza
mpo_decisions_events.0100
Source: game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.