Scripted effect · Khans of the Steppe files
mpo_paiza_innovation_reward_effect
mpo_paiza_innovation_reward_effect = yesgame/common/scripted_effects/09_dlc_mpo_scripted_effects.txt, line 1843 (74 lines). No parameters.
mpo_paiza_innovation_reward_effect is a scripted effect in Crusader Kings III, in the Khans of the Steppe files, written at line 1843 of its file. It takes no parameters: mpo_paiza_innovation_reward_effect = yes. The game's script calls it in 2 places, among them Foreigner Returns (event mpo_decisions_events.0101) and Summon Wealthy Visitors: Paiza (event mpo_decisions_events.0100). Patch 1.20.1.2, from game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt.
What it does
- Depending on has domicile parameter:
- When has domicile parameter is nomad yurt increased innovation paiza lvl 1 › You:
- Gains the modifier “Fascination Leap” for 4 years
- Stress Gain +20%
- Cultural head fascination +200%
- Gains the modifier “Fascination Leap” for 4 years
- When has domicile parameter is nomad yurt increased innovation paiza lvl 2 › You:
- Gains the modifier “Fascination Leap” for 6 years
- Stress Gain +20%
- Cultural head fascination +200%
If
- Your culture:
can_get_innovation_from = scope:merchant_origin.county.culture
Then
- Your culture:
get_random_innovation_from = scope:merchant_origin.county.culture
- Your culture:
- Gains the modifier “Fascination Leap” for 6 years
- When has domicile parameter is nomad yurt increased innovation paiza lvl 3 › You:
- Gains the modifier “Fascination Leap” for 8 years
- Stress Gain +20%
- Cultural head fascination +200%
If
- Your culture:
can_get_innovation_from = scope:merchant_origin.county.culture
Then
- Your culture:
get_random_innovation_from = scope:merchant_origin.county.culture
- Your culture:
If
- Your culture:
can_get_innovation_from = scope:merchant_origin.county.culture
Then
- Your culture:
get_random_innovation_from = scope:merchant_origin.county.culture
- Your culture:
- Gains the modifier “Fascination Leap” for 8 years
- When has domicile parameter is nomad yurt increased innovation paiza lvl 1 › You:
- You:
If
None of these
- Your domicile:
has_domicile_building_or_higher = innovation_yurt_02
- Your domicile:
Then
- Gains the modifier “Fascination Leap” for 2 years
- Stress Gain +20%
- Cultural head fascination +200%
• 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_paiza_innovation_reward_effect = {
switch = {
trigger = has_domicile_parameter
nomad_yurt_increased_innovation_paiza_lvl_1 = {
root = {
add_character_modifier = {
modifier = mpo_fascination_leap_modifier
years = 4
}
}
}
nomad_yurt_increased_innovation_paiza_lvl_2 = {
root = {
add_character_modifier = {
modifier = mpo_fascination_leap_modifier
years = 6
}
if = {
limit = {
culture = {
can_get_innovation_from = scope:merchant_origin.county.culture
}
}
culture = {
get_random_innovation_from = scope:merchant_origin.county.culture
}
}
}
}
nomad_yurt_increased_innovation_paiza_lvl_3 = {
root = {
add_character_modifier = {
modifier = mpo_fascination_leap_modifier
years = 8
}
if = {
limit = {
culture = {
can_get_innovation_from = scope:merchant_origin.county.culture
}
}
culture = {
get_random_innovation_from = scope:merchant_origin.county.culture
}
}
if = {
limit = {
culture = {
can_get_innovation_from = scope:merchant_origin.county.culture
}
}
culture = {
get_random_innovation_from = scope:merchant_origin.county.culture
}
}
}
}
}
root = {
if = {
limit = {
NOT = {
domicile ?= { has_domicile_building_or_higher = innovation_yurt_02 }
}
}
add_character_modifier = {
modifier = mpo_fascination_leap_modifier
years = 2
}
}
}
}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_paiza_innovation_reward_effect.
Events (2)
- Foreigner Returns
mpo_decisions_events.0101 - 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.