Scripted effect · Legacy of Persia files
promote_persian_scripture_scripted_effect
promote_persian_scripture_scripted_effect = yesgame/common/scripted_effects/03_dlc_fp3_scripted_effects.txt, line 149 (110 lines). No parameters.
promote_persian_scripture_scripted_effect is a scripted effect in Crusader Kings III, in the Legacy of Persia files, written at line 149 of its file. It takes no parameters: promote_persian_scripture_scripted_effect = yes. The game's script calls it in 3 places, among them Promote Persian Scriptures (decision), … Objections (event fp3_decision.0013) and Persian Pride (event fp3_decision.0014). Its body carries 3 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/03_dlc_fp3_scripted_effects.txt.
What it does
- Gains the modifier “Great Translator”
- Learn Language Phase Length 10 days faster per Scheme Phase
- Max Learn Language Schemes +1
- Learning per Level of Devotion +1
- If played by a person: Convert Faith in County will progress faster in Counties with Iranian Heritage while this modifier is present
If
- Any realm province:
- Their culture: The Culture has the Iranian Cultural Pillar
One of these
- Is in the Tarim Basin region
or
Is in the Ancient Persia region
Then
- Every Iranian Heritage county › 33% chance of:
- The county gains the modifier “Persian Resurgence” for 50 years
- Monthly county control growth +0.3/month
- Temple Holding Construction Time -25%
- Temple Holding Construction Cost -25%
- The county gains the modifier “Persian Resurgence” for 50 years
- Any realm province:
If
- Any vassal or below:
Then
• 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 (110 lines of game script)
promote_persian_scripture_scripted_effect = {
if = {
limit = {
exists = faith.religious_head
this != faith.religious_head
}
custom_tooltip = fp3_promoted_scriptures_caliph_angry.tt
}
add_character_modifier = {
modifier = fp3_promoted_persian_scripture_modifier
}
if = {
limit = { is_ai = no } #this is so that we don't get AI converting Persia too quickly
custom_tooltip = fp3_promoted_scriptures_conversion_bonus.tt
}
if = {
limit = {
rite = { rite_has_doctrine = doctrine_pluralism_fundamentalist }
NOT = {
has_trait = cynical
has_trait = excommunicated
}
}
custom_tooltip = {
text = promote_persian_scripture_fundamentalist_stress
add_stress = promote_persian_scripture_fundamentalist_stress_value
}
}
if = {
limit = {
any_realm_province = {
culture = { has_cultural_pillar = heritage_iranian }
OR = {
geographical_region = world_steppe_tarim
geographical_region = world_persian_empire
}
}
}
every_realm_province = {
limit = {
culture = { has_cultural_pillar = heritage_iranian }
OR = {
geographical_region = world_steppe_tarim
geographical_region = world_persian_empire
}
}
county = {
add_to_list = every_realm_county
}
}
every_in_list = {
list = every_realm_county
custom = every_iranian_county
random = {
chance = 33
add_county_modifier = {
modifier = fp3_persian_resurgence_county_modifier
years = 50
}
}
}
}
if = {
limit = {
any_vassal_or_below = {
is_ai = yes
OR = {
culture = { has_cultural_pillar = heritage_arabic }
AND = {
knows_language_of_culture = culture:levantine
OR = {
has_trait = zealous
has_trait = stubborn
has_trait = humble
}
}
}
}
}
every_vassal_or_below = {
custom = every_contrarian_vassal
limit = {
is_ai = yes
OR = {
culture = { has_cultural_pillar = heritage_arabic }
AND = {
knows_language_of_culture = culture:levantine
OR = {
has_trait = zealous
has_trait = stubborn
has_trait = humble
}
}
}
}
add_opinion = {
target = scope:persian_fanboy
modifier = fp3_disrespected_word_of_god_opinion
opinion = -30
}
}
}
}As written in game/common/scripted_effects/03_dlc_fp3_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls promote_persian_scripture_scripted_effect.
Decisions (1)
Events (2)
- … Objections
fp3_decision.0013 - Persian Pride
fp3_decision.0014
Source: game/common/scripted_effects/03_dlc_fp3_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.