more error cleaning

This commit is contained in:
Thakia 2026-10-09 16:36:59 -03:00
parent d9c60a5b08
commit 707660e545
65 changed files with 24545 additions and 2406 deletions

View file

@ -3874,7 +3874,7 @@
scope:host = { scope:host = {
OR = { OR = {
# religion = religion:tengrism_religion # religion = religion:tengrism_religion
religion = religion:mediterranean_religion # religion = religion:mediterranean_religion
# religion = religion:siberian_religion # religion = religion:siberian_religion
# religion = religion:kamuyism_religion # religion = religion:kamuyism_religion
AND = { AND = {

View file

@ -412,7 +412,7 @@ castle_01 = {
} }
can_construct = { can_construct = {
culture = { culture ?= {
has_innovation = innovation_motte has_innovation = innovation_motte
} }
japan_castle_construction_trigger = yes japan_castle_construction_trigger = yes
@ -571,7 +571,7 @@ castle_01 = {
} }
modifier = { modifier = {
factor = 5 factor = 5
scope:holder.culture = { has_cultural_parameter = ai_more_likely_to_castle } scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_castle }
} }
} }
} }
@ -954,11 +954,15 @@ castle_02 = {
building_requirement_tribal = no building_requirement_tribal = no
} }
can_construct = { can_construct = {
culture = { trigger_if = {
has_innovation = innovation_battlements limit = { exists = culture }
} culture ?= { has_innovation = innovation_battlements }
japan_castle_construction_trigger = yes japan_castle_construction_trigger = yes
} }
trigger_else = {
always = no
}
}
cost_gold = main_building_tier_2_cost cost_gold = main_building_tier_2_cost
next_building = castle_03 next_building = castle_03
@ -1052,11 +1056,11 @@ castle_02 = {
ai_general_building_modifier = yes ai_general_building_modifier = yes
modifier = { modifier = {
add = 1 add = 1
scope:holder.culture = { has_cultural_parameter = ai_more_likely_to_castle } scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_castle }
} }
modifier = { modifier = {
add = 10 add = 10
scope:holder.culture = { has_cultural_era_or_later = culture_era_high_medieval } scope:holder.culture ?= { has_cultural_era_or_later = culture_era_high_medieval }
} }
modifier = { modifier = {
factor = 3 factor = 3
@ -1463,7 +1467,7 @@ castle_03 = {
building_requirement_tribal = no building_requirement_tribal = no
} }
can_construct = { can_construct = {
culture = { culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
japan_castle_construction_trigger = yes japan_castle_construction_trigger = yes
@ -1563,11 +1567,11 @@ castle_03 = {
ai_general_building_modifier = yes ai_general_building_modifier = yes
modifier = { modifier = {
add = 1 add = 1
scope:holder.culture = { has_cultural_parameter = ai_more_likely_to_castle } scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_castle }
} }
modifier = { modifier = {
add = 10 add = 10
scope:holder.culture = { has_cultural_era_or_later = culture_era_late_medieval } scope:holder.culture ?= { has_cultural_era_or_later = culture_era_late_medieval }
} }
modifier = { modifier = {
factor = 3 factor = 3
@ -1964,7 +1968,7 @@ castle_04 = {
building_requirement_tribal = no building_requirement_tribal = no
} }
can_construct = { can_construct = {
culture = { culture ?= {
has_innovation = innovation_machicolations has_innovation = innovation_machicolations
} }
japan_castle_construction_trigger = yes japan_castle_construction_trigger = yes
@ -2063,7 +2067,7 @@ castle_04 = {
ai_general_building_modifier = yes ai_general_building_modifier = yes
modifier = { modifier = {
add = 1 add = 1
scope:holder.culture = { has_cultural_parameter = ai_more_likely_to_castle } scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_castle }
} }
modifier = { modifier = {
factor = 3 factor = 3

View file

@ -457,7 +457,7 @@ city_01 = {
} }
can_construct = { can_construct = {
culture = { culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
} }
} }
@ -601,7 +601,7 @@ city_01 = {
} }
modifier = { modifier = {
factor = 5 factor = 5
scope:holder.culture = { has_cultural_parameter = ai_more_likely_to_city } scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_city }
} }
} }
} }
@ -1051,22 +1051,22 @@ city_02 = {
building_requirement_tribal = no building_requirement_tribal = no
} }
can_construct = { can_construct = {
trigger_if = {
limit = { exists = culture }
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= { has_cultural_parameter = next_level_cities }
has_cultural_parameter = next_level_cities
} }
} }
culture ?= { has_innovation = innovation_manorialism }
} }
culture = { trigger_else = {
has_innovation = innovation_manorialism culture ?= { has_cultural_parameter = next_level_cities }
} }
} }
trigger_else = { trigger_else = {
culture = { always = no
has_cultural_parameter = next_level_cities
}
} }
} }
cost_gold = main_building_tier_2_cost cost_gold = main_building_tier_2_cost
@ -1159,7 +1159,7 @@ city_02 = {
base = 6 base = 6
modifier = { modifier = {
add = 1 add = 1
scope:holder.culture = { has_cultural_parameter = ai_more_likely_to_city } scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_city }
} }
modifier = { modifier = {
factor = 2 factor = 2
@ -1612,20 +1612,20 @@ city_03 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_cities has_cultural_parameter = next_level_cities
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_cultural_parameter = next_level_cities has_cultural_parameter = next_level_cities
} }
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
@ -1721,7 +1721,7 @@ city_03 = {
base = 5 base = 5
modifier = { modifier = {
add = 1 add = 1
scope:holder.culture = { has_cultural_parameter = ai_more_likely_to_city } scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_city }
} }
modifier = { modifier = {
factor = 2 factor = 2
@ -2166,20 +2166,20 @@ city_04 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_cities has_cultural_parameter = next_level_cities
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_cultural_parameter = next_level_cities has_cultural_parameter = next_level_cities
} }
culture = { culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
} }
@ -2273,7 +2273,7 @@ city_04 = {
base = 4 base = 4
modifier = { modifier = {
add = 1 add = 1
scope:holder.culture = { has_cultural_parameter = ai_more_likely_to_city } scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_city }
} }
modifier = { modifier = {
factor = 2 factor = 2
@ -2348,7 +2348,7 @@ guild_halls_02 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
building_requirement_tribal = no building_requirement_tribal = no
culture = { culture ?= {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { has_cultural_parameter = next_level_guild_halls } NOT = { has_cultural_parameter = next_level_guild_halls }
@ -2400,21 +2400,21 @@ guild_halls_03 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_guild_halls has_cultural_parameter = next_level_guild_halls
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
has_building_or_higher = city_02 has_building_or_higher = city_02
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
culture = { culture ?= {
has_cultural_parameter = next_level_guild_halls has_cultural_parameter = next_level_guild_halls
} }
has_building_or_higher = city_01 has_building_or_higher = city_01
@ -2468,22 +2468,22 @@ guild_halls_04 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_guild_halls has_cultural_parameter = next_level_guild_halls
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
has_building_or_higher = city_02 has_building_or_higher = city_02
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
culture = { culture ?= {
has_cultural_parameter = next_level_guild_halls has_cultural_parameter = next_level_guild_halls
} }
has_building_or_higher = city_01 has_building_or_higher = city_01
@ -2537,21 +2537,21 @@ guild_halls_05 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_guild_halls has_cultural_parameter = next_level_guild_halls
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_guilds has_innovation = innovation_guilds
} }
has_building_or_higher = city_03 has_building_or_higher = city_03
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
culture = { culture ?= {
has_cultural_parameter = next_level_guild_halls has_cultural_parameter = next_level_guild_halls
} }
has_building_or_higher = city_02 has_building_or_higher = city_02
@ -2605,21 +2605,21 @@ guild_halls_06 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_guild_halls has_cultural_parameter = next_level_guild_halls
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_guilds has_innovation = innovation_guilds
} }
has_building_or_higher = city_03 has_building_or_higher = city_03
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
culture = { culture ?= {
has_cultural_parameter = next_level_guild_halls has_cultural_parameter = next_level_guild_halls
} }
has_building_or_higher = city_02 has_building_or_higher = city_02
@ -2673,21 +2673,21 @@ guild_halls_07 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_guild_halls has_cultural_parameter = next_level_guild_halls
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
has_building_or_higher = city_04 has_building_or_higher = city_04
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_innovation = innovation_guilds has_innovation = innovation_guilds
} }
culture = { culture ?= {
has_cultural_parameter = next_level_guild_halls has_cultural_parameter = next_level_guild_halls
} }
has_building_or_higher = city_03 has_building_or_higher = city_03
@ -2741,21 +2741,21 @@ guild_halls_08 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_guild_halls has_cultural_parameter = next_level_guild_halls
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
has_building_or_higher = city_04 has_building_or_higher = city_04
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_innovation = innovation_guilds has_innovation = innovation_guilds
} }
culture = { culture ?= {
has_cultural_parameter = next_level_guild_halls has_cultural_parameter = next_level_guild_halls
} }
has_building_or_higher = city_03 has_building_or_higher = city_03

View file

@ -382,7 +382,7 @@ monotown_01 = {
} }
can_construct = { can_construct = {
culture = { culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
} }
government_has_flag = government_is_urepublic government_has_flag = government_is_urepublic
@ -505,7 +505,7 @@ monotown_01 = {
} }
modifier = { modifier = {
factor = 5 factor = 5
scope:holder.culture = { has_cultural_parameter = ai_more_likely_to_city } scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_city }
} }
} }
} }
@ -884,17 +884,17 @@ monotown_02 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_cities has_cultural_parameter = next_level_cities
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_cultural_parameter = next_level_cities has_cultural_parameter = next_level_cities
} }
} }
@ -968,7 +968,7 @@ monotown_02 = {
base = 6 base = 6
modifier = { modifier = {
add = 1 add = 1
scope:holder.culture = { has_cultural_parameter = ai_more_likely_to_city } scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_city }
} }
modifier = { modifier = {
factor = 2 factor = 2
@ -1359,20 +1359,20 @@ monotown_03 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_cities has_cultural_parameter = next_level_cities
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_cultural_parameter = next_level_cities has_cultural_parameter = next_level_cities
} }
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
@ -1453,7 +1453,7 @@ monotown_03 = {
base = 5 base = 5
modifier = { modifier = {
add = 1 add = 1
scope:holder.culture = { has_cultural_parameter = ai_more_likely_to_city } scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_city }
} }
modifier = { modifier = {
factor = 2 factor = 2
@ -1837,20 +1837,20 @@ monotown_04 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_cities has_cultural_parameter = next_level_cities
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_cultural_parameter = next_level_cities has_cultural_parameter = next_level_cities
} }
culture = { culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
} }
@ -1924,7 +1924,7 @@ monotown_04 = {
base = 4 base = 4
modifier = { modifier = {
add = 1 add = 1
scope:holder.culture = { has_cultural_parameter = ai_more_likely_to_city } scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_city }
} }
modifier = { modifier = {
factor = 2 factor = 2

View file

@ -57,7 +57,7 @@ holy_site_cathedral_01 = {
} }
} }
scope:holder = { scope:holder = {
culture = { culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
} }
@ -137,7 +137,7 @@ holy_site_mosque_01 = {
} }
} }
scope:holder = { scope:holder = {
culture = { culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
} }
@ -223,7 +223,7 @@ holy_site_fire_temple_01 = {
} }
} }
scope:holder = { scope:holder = {
culture = { culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
} }
@ -308,7 +308,7 @@ holy_site_pagan_grand_temple_01 = {
} }
} }
scope:holder = { scope:holder = {
culture = { culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
} }
@ -396,7 +396,7 @@ holy_site_indian_grand_temple_01 = {
} }
} }
scope:holder = { scope:holder = {
culture = { culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
} }
@ -497,7 +497,7 @@ holy_site_buddhist_grand_temple_01 = {
} }
} }
scope:holder = { scope:holder = {
culture = { culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
} }
@ -580,7 +580,7 @@ holy_site_japanese_temple_01 = {
} }
} }
scope:holder = { scope:holder = {
culture = { culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
} }
@ -663,7 +663,7 @@ holy_site_chinese_temple_01 = {
} }
} }
scope:holder = { scope:holder = {
culture = { culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
} }
@ -746,7 +746,7 @@ holy_site_se_asia_pagan_temple_01 = {
} }
} }
scope:holder = { scope:holder = {
culture = { culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
} }
@ -829,7 +829,7 @@ holy_site_other_grand_temple_01 = {
} }
} }
scope:holder = { scope:holder = {
culture = { culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
} }
@ -1405,7 +1405,7 @@ holy_site_cologne_cathedral_01 = {
} }
} }
scope:holder = { scope:holder = {
culture = { culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
} }
@ -1504,7 +1504,7 @@ holy_site_canterbury_cathedral_01 = {
} }
} }
scope:holder = { scope:holder = {
culture = { culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
} }
@ -1600,7 +1600,7 @@ holy_site_canterbury_cathedral_02 = {
} }
} }
scope:holder = { scope:holder = {
culture = { culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
} }
@ -1696,7 +1696,7 @@ holy_site_canterbury_cathedral_03 = {
} }
} }
scope:holder = { scope:holder = {
culture = { culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
} }
@ -1917,7 +1917,7 @@ visby_ringmur_01 = {
} }
can_construct = { can_construct = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_battlements has_innovation = innovation_battlements
} }
} }
@ -2464,7 +2464,7 @@ alhambra_02 = {
} }
can_construct = { can_construct = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
@ -2557,7 +2557,7 @@ citadel_of_aleppo_02 = {
} }
can_construct = { can_construct = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
@ -2668,7 +2668,7 @@ the_tower_of_london_01 = {
} }
can_construct = { can_construct = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_battlements has_innovation = innovation_battlements
} }
} }
@ -2699,7 +2699,7 @@ the_tower_of_london_01 = {
modifier = { modifier = {
factor = 5 factor = 5
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_castle has_cultural_parameter = ai_more_likely_to_castle
} }
} }
@ -2730,7 +2730,7 @@ london_bridge_01 = {
} }
can_construct = { can_construct = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_development_03 has_innovation = innovation_development_03
} }
} }
@ -2793,7 +2793,7 @@ notre_dame_01 = {
can_construct = { can_construct = {
christianity_or_syncretic_with_christianity_trigger = { CHARACTER = scope:holder } christianity_or_syncretic_with_christianity_trigger = { CHARACTER = scope:holder }
scope:holder = { scope:holder = {
culture = { culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
} }
@ -2871,7 +2871,7 @@ brihadeeswarar_temple_01 = {
can_construct = { can_construct = {
scope:holder = { scope:holder = {
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
@ -4183,7 +4183,7 @@ hotin_fort_02 = {
} }
can_construct = { can_construct = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
@ -4232,7 +4232,7 @@ golden_gate_of_kiev_01 = {
} }
can_construct = { can_construct = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_battlements has_innovation = innovation_battlements
} }
} }
@ -4288,7 +4288,7 @@ heddal_stave_church_01 = {
} }
can_construct = { can_construct = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
} }
} }
@ -4353,7 +4353,7 @@ temple_of_uppsala_01 = {
} }
} }
scope:holder = { scope:holder = {
culture = { culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
} }
} }
@ -4439,7 +4439,7 @@ temple_of_uppsala_02 = {
} }
} }
scope:holder = { scope:holder = {
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
@ -4519,7 +4519,7 @@ lund_cathedral_01 = {
} }
} }
scope:holder = { scope:holder = {
culture = { culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
} }
@ -4719,7 +4719,7 @@ aljaferia_palace_01 = {
type_icon = "aljaferia.dds" type_icon = "aljaferia.dds"
can_construct = { can_construct = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
@ -4864,7 +4864,7 @@ alcazar_of_segovia_01 = {
type_icon = "alcazar_segovia.dds" type_icon = "alcazar_segovia.dds"
can_construct = { can_construct = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
@ -5080,7 +5080,7 @@ soltaniyeh_01 = {
can_construct = { can_construct = {
scope:holder = { scope:holder = {
culture = { culture ?= {
has_innovation = innovation_development_03 has_innovation = innovation_development_03
} }
} }
@ -5242,7 +5242,7 @@ falak_ol_aflak_citadel_01 = {
type_icon = "icon_structure_falak_ol_aflak_citadel.dds" type_icon = "icon_structure_falak_ol_aflak_citadel.dds"
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
@ -5353,7 +5353,7 @@ great_wall_of_gorgan_01 = {
type_icon = "icon_structure_great_wall_of_gorgan.dds" type_icon = "icon_structure_great_wall_of_gorgan.dds"
can_construct = { can_construct = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
@ -5442,7 +5442,7 @@ rainbow_mountains_01 = {
type_icon = "icon_structure_ala_daghlar_mountains.dds" type_icon = "icon_structure_ala_daghlar_mountains.dds"
can_construct = { can_construct = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
@ -5489,7 +5489,7 @@ mount_damavand_01 = {
type_icon = "icon_structure_mount_damavand.dds" type_icon = "icon_structure_mount_damavand.dds"
can_construct = { can_construct = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
@ -5545,7 +5545,7 @@ tomb_of_cyrus_01 = {
type_icon = "icon_structure_tomb_of_cyrus.dds" type_icon = "icon_structure_tomb_of_cyrus.dds"
can_construct = { can_construct = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
@ -5596,7 +5596,7 @@ ark_of_bukhara_01 = {
type_icon = "icon_structure_ark_of_bukhara.dds" type_icon = "icon_structure_ark_of_bukhara.dds"
can_construct = { can_construct = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
@ -5646,7 +5646,7 @@ shah_i_zinda_01 = {
type_icon = "icon_structure_shah_i_zindah.dds" type_icon = "icon_structure_shah_i_zindah.dds"
can_construct = { can_construct = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_development_01 has_innovation = innovation_development_01
} }
} }
@ -5691,7 +5691,7 @@ shah_i_zinda_02 = {
type_icon = "icon_structure_ruins_of_ctesiphon.dds" type_icon = "icon_structure_ruins_of_ctesiphon.dds"
can_construct = { can_construct = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
@ -6132,7 +6132,7 @@ kassiopi_castle = {
can_construct = { can_construct = {
scope:holder = { scope:holder = {
culture = { culture ?= {
has_innovation = innovation_battlements has_innovation = innovation_battlements
} }
} }
@ -6486,7 +6486,7 @@ despot_palace = {
} }
can_construct = { can_construct = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_primogeniture has_innovation = innovation_primogeniture
has_cultural_pillar = heritage_byzantine has_cultural_pillar = heritage_byzantine
} }
@ -6594,7 +6594,7 @@ meteora_02 = {
cost_gold = 1000 cost_gold = 1000
can_construct = { can_construct = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }
@ -6767,7 +6767,7 @@ mount_athos_03 = {
cost_gold = 1000 cost_gold = 1000
can_construct = { can_construct = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }
@ -9504,7 +9504,7 @@ mount_fuji_01 = {
text = holy_site_building_trigger text = holy_site_building_trigger
barony = { is_holy_site_of = scope:holder.faith } barony = { is_holy_site_of = scope:holder.faith }
} }
scope:holder.faith = { has_doctrine = special_doctrine_immaterial_harmony } scope:holder.faith ?= { has_doctrine = special_doctrine_immaterial_harmony }
} }
} }
} }
@ -9560,7 +9560,7 @@ itsukushima_jinja_01 = {
text = holy_site_building_trigger text = holy_site_building_trigger
barony = { is_holy_site_of = scope:holder.faith } barony = { is_holy_site_of = scope:holder.faith }
} }
scope:holder.faith = { has_doctrine = special_doctrine_immaterial_harmony } scope:holder.faith ?= { has_doctrine = special_doctrine_immaterial_harmony }
} }
} }
} }
@ -9625,7 +9625,7 @@ itsukushima_jinja_02 = {
text = holy_site_building_trigger text = holy_site_building_trigger
barony = { is_holy_site_of = scope:holder.faith } barony = { is_holy_site_of = scope:holder.faith }
} }
scope:holder.faith = { has_doctrine = special_doctrine_immaterial_harmony } scope:holder.faith ?= { has_doctrine = special_doctrine_immaterial_harmony }
} }
} }
} }
@ -11182,7 +11182,7 @@ trosky_castle_01 = {
} }
can_construct = { can_construct = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_battlements has_innovation = innovation_battlements
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -74,22 +74,20 @@ ramparts_02 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
trigger_if = { trigger_if = {
limit = { limit = { exists = culture }
NOT = { trigger_if = {
culture = { limit = { NOT = { culture ?= { has_cultural_parameter = next_level_fortification } } }
has_cultural_parameter = next_level_fortification trigger_if = {
} limit = { exists = scope:holder.culture }
} scope:holder.culture ?= { has_innovation = innovation_motte }
}
scope:holder.culture = {
has_innovation = innovation_motte
} }
trigger_else = { always = no }
} }
trigger_else = { trigger_else = {
culture = { culture ?= { has_cultural_parameter = next_level_fortification }
has_cultural_parameter = next_level_fortification
} }
} }
trigger_else = { always = no }
building_requirement_tribal = no building_requirement_tribal = no
} }
@ -118,7 +116,7 @@ ramparts_02 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -143,22 +141,22 @@ ramparts_03 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_battlements has_innovation = innovation_battlements
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 01 } building_requirement_castle_city_church = { LEVEL = 01 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_motte has_innovation = innovation_motte
} }
} }
@ -194,7 +192,7 @@ ramparts_03 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -215,22 +213,22 @@ ramparts_04 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_battlements has_innovation = innovation_battlements
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 01 } building_requirement_castle_city_church = { LEVEL = 01 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_motte has_innovation = innovation_motte
} }
} }
@ -269,7 +267,7 @@ ramparts_04 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -290,22 +288,22 @@ ramparts_05 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_battlements has_innovation = innovation_battlements
} }
} }
@ -344,7 +342,7 @@ ramparts_05 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -365,22 +363,22 @@ ramparts_06 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_battlements has_innovation = innovation_battlements
} }
} }
@ -419,7 +417,7 @@ ramparts_06 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -440,22 +438,22 @@ ramparts_07 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 04 } building_requirement_castle_city_church = { LEVEL = 04 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_machicolations has_innovation = innovation_machicolations
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
@ -494,7 +492,7 @@ ramparts_07 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -515,22 +513,22 @@ ramparts_08 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 04 } building_requirement_castle_city_church = { LEVEL = 04 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_machicolations has_innovation = innovation_machicolations
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
@ -567,7 +565,7 @@ ramparts_08 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -618,7 +616,7 @@ curtain_walls_01 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -651,22 +649,20 @@ curtain_walls_02 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
trigger_if = { trigger_if = {
limit = { limit = { exists = culture }
NOT = { trigger_if = {
culture = { limit = { NOT = { culture ?= { has_cultural_parameter = next_level_fortification } } }
has_cultural_parameter = next_level_fortification trigger_if = {
} limit = { exists = scope:holder.culture }
} scope:holder.culture ?= { has_innovation = innovation_motte }
}
scope:holder.culture = {
has_innovation = innovation_motte
} }
trigger_else = { always = no }
} }
trigger_else = { trigger_else = {
culture = { culture ?= { has_cultural_parameter = next_level_fortification }
has_cultural_parameter = next_level_fortification
} }
} }
trigger_else = { always = no }
building_requirement_tribal = no building_requirement_tribal = no
} }
@ -697,7 +693,7 @@ curtain_walls_02 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -723,22 +719,22 @@ curtain_walls_03 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_battlements has_innovation = innovation_battlements
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 01 } building_requirement_castle_city_church = { LEVEL = 01 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_motte has_innovation = innovation_motte
} }
} }
@ -775,7 +771,7 @@ curtain_walls_03 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -797,22 +793,22 @@ curtain_walls_04 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_battlements has_innovation = innovation_battlements
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 01 } building_requirement_castle_city_church = { LEVEL = 01 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_motte has_innovation = innovation_motte
} }
} }
@ -849,7 +845,7 @@ curtain_walls_04 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -871,22 +867,22 @@ curtain_walls_05 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_battlements has_innovation = innovation_battlements
} }
} }
@ -924,7 +920,7 @@ curtain_walls_05 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -946,22 +942,22 @@ curtain_walls_06 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_battlements has_innovation = innovation_battlements
} }
} }
@ -1000,7 +996,7 @@ curtain_walls_06 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -1022,22 +1018,22 @@ curtain_walls_07 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 04 } building_requirement_castle_city_church = { LEVEL = 04 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_machicolations has_innovation = innovation_machicolations
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
@ -1076,7 +1072,7 @@ curtain_walls_07 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -1098,22 +1094,22 @@ curtain_walls_08 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 04 } building_requirement_castle_city_church = { LEVEL = 04 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_machicolations has_innovation = innovation_machicolations
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
@ -1150,7 +1146,7 @@ curtain_walls_08 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -1204,7 +1200,7 @@ watchtowers_01 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -1238,22 +1234,20 @@ watchtowers_02 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
trigger_if = { trigger_if = {
limit = { limit = { exists = culture }
NOT = { trigger_if = {
culture = { limit = { NOT = { culture ?= { has_cultural_parameter = next_level_fortification } } }
has_cultural_parameter = next_level_fortification trigger_if = {
} limit = { exists = scope:holder.culture }
} scope:holder.culture ?= { has_innovation = innovation_motte }
}
scope:holder.culture = {
has_innovation = innovation_motte
} }
trigger_else = { always = no }
} }
trigger_else = { trigger_else = {
culture = { culture ?= { has_cultural_parameter = next_level_fortification }
has_cultural_parameter = next_level_fortification
} }
} }
trigger_else = { always = no }
building_requirement_tribal = no building_requirement_tribal = no
} }
@ -1286,7 +1280,7 @@ watchtowers_02 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -1312,22 +1306,22 @@ watchtowers_03 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_battlements has_innovation = innovation_battlements
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 01 } building_requirement_castle_city_church = { LEVEL = 01 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_motte has_innovation = innovation_motte
} }
} }
@ -1366,7 +1360,7 @@ watchtowers_03 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -1388,22 +1382,22 @@ watchtowers_04 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_battlements has_innovation = innovation_battlements
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 01 } building_requirement_castle_city_church = { LEVEL = 01 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_motte has_innovation = innovation_motte
} }
} }
@ -1443,7 +1437,7 @@ watchtowers_04 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -1465,22 +1459,22 @@ watchtowers_05 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_battlements has_innovation = innovation_battlements
} }
} }
@ -1521,7 +1515,7 @@ watchtowers_05 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -1543,22 +1537,22 @@ watchtowers_06 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_battlements has_innovation = innovation_battlements
} }
} }
@ -1600,7 +1594,7 @@ watchtowers_06 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -1622,22 +1616,22 @@ watchtowers_07 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 04 } building_requirement_castle_city_church = { LEVEL = 04 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_machicolations has_innovation = innovation_machicolations
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
@ -1679,7 +1673,7 @@ watchtowers_07 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -1701,22 +1695,22 @@ watchtowers_08 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 04 } building_requirement_castle_city_church = { LEVEL = 04 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_machicolations has_innovation = innovation_machicolations
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
@ -1756,7 +1750,7 @@ watchtowers_08 = {
modifier = { modifier = {
add = 1 add = 1
scope:holder = { scope:holder = {
culture = { culture ?= {
has_cultural_parameter = ai_more_likely_to_fortify has_cultural_parameter = ai_more_likely_to_fortify
} }
} }
@ -1833,22 +1827,20 @@ hill_forts_02 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
trigger_if = { trigger_if = {
limit = { limit = { exists = culture }
NOT = { trigger_if = {
culture = { limit = { NOT = { culture ?= { has_cultural_parameter = next_level_fortification } } }
has_cultural_parameter = next_level_fortification trigger_if = {
} limit = { exists = scope:holder.culture }
} scope:holder.culture ?= { has_innovation = innovation_motte }
}
scope:holder.culture = {
has_innovation = innovation_motte
} }
trigger_else = { always = no }
} }
trigger_else = { trigger_else = {
culture = { culture ?= { has_cultural_parameter = next_level_fortification }
has_cultural_parameter = next_level_fortification
} }
} }
trigger_else = { always = no }
building_requirement_tribal = no building_requirement_tribal = no
} }
@ -1898,22 +1890,22 @@ hill_forts_03 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_battlements has_innovation = innovation_battlements
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 01 } building_requirement_castle_city_church = { LEVEL = 01 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_motte has_innovation = innovation_motte
} }
} }
@ -1965,22 +1957,22 @@ hill_forts_04 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_battlements has_innovation = innovation_battlements
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 01 } building_requirement_castle_city_church = { LEVEL = 01 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_motte has_innovation = innovation_motte
} }
} }
@ -2033,22 +2025,22 @@ hill_forts_05 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_battlements has_innovation = innovation_battlements
} }
} }
@ -2101,22 +2093,22 @@ hill_forts_06 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_battlements has_innovation = innovation_battlements
} }
} }
@ -2169,22 +2161,22 @@ hill_forts_07 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 04 } building_requirement_castle_city_church = { LEVEL = 04 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_machicolations has_innovation = innovation_machicolations
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }
@ -2237,22 +2229,22 @@ hill_forts_08 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
} }
} }
building_requirement_castle_city_church = { LEVEL = 04 } building_requirement_castle_city_church = { LEVEL = 04 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_machicolations has_innovation = innovation_machicolations
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
culture = { culture ?= {
has_cultural_parameter = next_level_fortification has_cultural_parameter = next_level_fortification
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_hoardings has_innovation = innovation_hoardings
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -734,17 +734,17 @@ temple_01 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
scope:holder.culture = { scope:holder.culture ?= {
has_cultural_parameter = tribals_can_into_temples has_cultural_parameter = tribals_can_into_temples
} }
} }
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
} }
} }
trigger_else = { trigger_else = {
scope:holder.culture = { scope:holder.culture ?= {
has_cultural_parameter = tribals_can_into_temples has_cultural_parameter = tribals_can_into_temples
} }
} }
@ -754,7 +754,7 @@ temple_01 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
scope:holder.culture = { scope:holder.culture ?= {
has_cultural_parameter = tribals_can_into_temples has_cultural_parameter = tribals_can_into_temples
} }
} }
@ -763,7 +763,7 @@ temple_01 = {
building_requirement_tribal_holding_in_county = yes building_requirement_tribal_holding_in_county = yes
} }
trigger_else = { trigger_else = {
scope:holder.culture = { scope:holder.culture ?= {
has_cultural_parameter = tribals_can_into_temples has_cultural_parameter = tribals_can_into_temples
} }
} }
@ -848,7 +848,7 @@ temple_01 = {
} }
if = { if = {
limit = { limit = {
county.holder.culture = { county.holder.culture ?= {
has_cultural_parameter = renown_from_temple_construction has_cultural_parameter = renown_from_temple_construction
} }
exists = county.holder.dynasty exists = county.holder.dynasty
@ -857,7 +857,7 @@ temple_01 = {
} }
if = { if = {
limit = { limit = {
county.holder.culture = { county.holder.culture ?= {
has_cultural_parameter = extra_piety_from_temple_construction has_cultural_parameter = extra_piety_from_temple_construction
} }
} }
@ -868,11 +868,11 @@ temple_01 = {
} }
if = { if = {
limit = { limit = {
county.holder.culture = { county.holder.culture ?= {
has_cultural_parameter = more_fervor_on_church_construction has_cultural_parameter = more_fervor_on_church_construction
} }
} }
county.holder.faith = { county.holder.faith ?= {
change_fervor = { change_fervor = {
value = notable_fervor_gain value = notable_fervor_gain
desc = fervor_gain_built_temple_holding desc = fervor_gain_built_temple_holding
@ -880,7 +880,7 @@ temple_01 = {
} }
} }
else = { else = {
county.holder.faith = { county.holder.faith ?= {
change_fervor = { change_fervor = {
value = trivial_fervor_gain value = trivial_fervor_gain
desc = fervor_gain_built_temple_holding desc = fervor_gain_built_temple_holding
@ -889,7 +889,7 @@ temple_01 = {
} }
if = { if = {
limit = { limit = {
county.holder.culture = { county.holder.culture ?= {
has_cultural_parameter = prestige_from_temple_construction has_cultural_parameter = prestige_from_temple_construction
} }
} }
@ -897,7 +897,7 @@ temple_01 = {
} }
if = { if = {
limit = { limit = {
county.holder.faith = { county.holder.faith ?= {
has_doctrine_parameter = neow_piety_from_temple_construction has_doctrine_parameter = neow_piety_from_temple_construction
} }
} }
@ -1776,25 +1776,23 @@ temple_02 = {
} }
} }
can_construct = { can_construct = {
trigger_if = {
limit = { exists = scope:holder.culture }
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = { scope:holder.culture ?= { has_cultural_parameter = temple_next_level } }
scope:holder.culture = {
has_cultural_parameter = temple_next_level
}
}
}
scope:holder.culture = {
has_innovation = innovation_manorialism
} }
scope:holder.culture ?= { has_innovation = innovation_manorialism }
} }
trigger_else = { trigger_else = {
scope:holder.culture = { scope:holder.culture ?= {
has_cultural_parameter = temple_next_level has_cultural_parameter = temple_next_level
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
} }
} }
} }
trigger_else = { always = no }
}
can_construct_showing_failures_only = { NOT = { scope:holder = { has_character_modifier = tgp_rebuilder_modifier } } } can_construct_showing_failures_only = { NOT = { scope:holder = { has_character_modifier = tgp_rebuilder_modifier } } }
cost_gold = main_building_tier_2_cost cost_gold = main_building_tier_2_cost
next_building = temple_03 next_building = temple_03
@ -1843,7 +1841,7 @@ temple_02 = {
on_complete = { on_complete = {
if = { if = {
limit = { limit = {
county.holder.culture = { county.holder.culture ?= {
has_cultural_parameter = renown_from_temple_construction has_cultural_parameter = renown_from_temple_construction
} }
exists = county.holder.dynasty exists = county.holder.dynasty
@ -1852,11 +1850,11 @@ temple_02 = {
} }
if = { if = {
limit = { limit = {
county.holder.culture = { county.holder.culture ?= {
has_cultural_parameter = more_fervor_on_church_construction has_cultural_parameter = more_fervor_on_church_construction
} }
} }
county.holder.faith = { county.holder.faith ?= {
change_fervor = { change_fervor = {
value = small_fervor_gain value = small_fervor_gain
desc = fervor_gain_upgraded_temple_holding_culture_parameter desc = fervor_gain_upgraded_temple_holding_culture_parameter
@ -2636,17 +2634,17 @@ temple_03 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
scope:holder.culture = { scope:holder.culture ?= {
has_cultural_parameter = temple_next_level has_cultural_parameter = temple_next_level
} }
} }
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
} }
trigger_else = { trigger_else = {
scope:holder.culture = { scope:holder.culture ?= {
has_cultural_parameter = temple_next_level has_cultural_parameter = temple_next_level
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
@ -2699,7 +2697,7 @@ temple_03 = {
on_complete = { on_complete = {
if = { if = {
limit = { limit = {
county.holder.culture = { county.holder.culture ?= {
has_cultural_parameter = renown_from_temple_construction has_cultural_parameter = renown_from_temple_construction
} }
exists = county.holder.dynasty exists = county.holder.dynasty
@ -2708,11 +2706,11 @@ temple_03 = {
} }
if = { if = {
limit = { limit = {
county.holder.culture = { county.holder.culture ?= {
has_cultural_parameter = more_fervor_on_church_construction has_cultural_parameter = more_fervor_on_church_construction
} }
} }
county.holder.faith = { county.holder.faith ?= {
change_fervor = { change_fervor = {
value = small_fervor_gain value = small_fervor_gain
desc = fervor_gain_upgraded_temple_holding_culture_parameter desc = fervor_gain_upgraded_temple_holding_culture_parameter
@ -3489,17 +3487,17 @@ temple_04 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
scope:holder.culture = { scope:holder.culture ?= {
has_cultural_parameter = temple_next_level has_cultural_parameter = temple_next_level
} }
} }
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }
trigger_else = { trigger_else = {
scope:holder.culture = { scope:holder.culture ?= {
has_cultural_parameter = temple_next_level has_cultural_parameter = temple_next_level
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
@ -3551,7 +3549,7 @@ temple_04 = {
on_complete = { on_complete = {
if = { if = {
limit = { limit = {
county.holder.culture = { county.holder.culture ?= {
has_cultural_parameter = renown_from_temple_construction has_cultural_parameter = renown_from_temple_construction
} }
exists = county.holder.dynasty exists = county.holder.dynasty
@ -3560,11 +3558,11 @@ temple_04 = {
} }
if = { if = {
limit = { limit = {
county.holder.culture = { county.holder.culture ?= {
has_cultural_parameter = more_fervor_on_church_construction has_cultural_parameter = more_fervor_on_church_construction
} }
} }
county.holder.faith = { county.holder.faith ?= {
change_fervor = { change_fervor = {
value = small_fervor_gain value = small_fervor_gain
desc = fervor_gain_upgraded_temple_holding_culture_parameter desc = fervor_gain_upgraded_temple_holding_culture_parameter
@ -3742,7 +3740,7 @@ scriptorium_02 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
building_requirement_tribal = no building_requirement_tribal = no
culture = { culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
} }
} }
@ -3797,7 +3795,7 @@ scriptorium_03 = {
has_building_or_higher = temple_02 has_building_or_higher = temple_02
has_building_or_higher = temple_citadel_02 has_building_or_higher = temple_citadel_02
} }
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
has_dlc_feature = legends has_dlc_feature = legends
@ -3857,7 +3855,7 @@ scriptorium_04 = {
has_building_or_higher = temple_02 has_building_or_higher = temple_02
has_building_or_higher = temple_citadel_02 has_building_or_higher = temple_citadel_02
} }
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
has_dlc_feature = legends has_dlc_feature = legends
@ -3917,7 +3915,7 @@ scriptorium_05 = {
has_building_or_higher = temple_03 has_building_or_higher = temple_03
has_building_or_higher = temple_citadel_03 has_building_or_higher = temple_citadel_03
} }
culture = { culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
has_dlc_feature = legends has_dlc_feature = legends
@ -3977,7 +3975,7 @@ scriptorium_06 = {
has_building_or_higher = temple_03 has_building_or_higher = temple_03
has_building_or_higher = temple_citadel_03 has_building_or_higher = temple_citadel_03
} }
culture = { culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
has_dlc_feature = legends has_dlc_feature = legends
@ -4036,7 +4034,7 @@ scriptorium_07 = {
has_building_or_higher = temple_04 has_building_or_higher = temple_04
has_building_or_higher = temple_citadel_04 has_building_or_higher = temple_citadel_04
} }
culture = { culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
has_dlc_feature = legends has_dlc_feature = legends
@ -4096,7 +4094,7 @@ scriptorium_08 = {
has_building_or_higher = temple_04 has_building_or_higher = temple_04
has_building_or_higher = temple_citadel_04 has_building_or_higher = temple_citadel_04
} }
culture = { culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
has_dlc_feature = legends has_dlc_feature = legends
@ -4155,10 +4153,14 @@ monastic_schools_01 = {
can_construct_potential = { can_construct_potential = {
trigger_if = { trigger_if = {
limit = { limit = {
scope:holder.rite = { exists = scope:holder.rite
trigger_if = {
limit = { exists = scope:holder.rite }
scope:holder.rite ?= {
NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type }
} }
} }
}
OR = { OR = {
has_holding_type = church_holding has_holding_type = church_holding
has_holding_type = temple_citadel_holding has_holding_type = temple_citadel_holding
@ -4233,7 +4235,7 @@ monastic_schools_02 = {
can_construct_potential = { can_construct_potential = {
trigger_if = { trigger_if = {
limit = { limit = {
scope:holder.rite = { scope:holder.rite ?= {
NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type }
} }
} }
@ -4246,7 +4248,7 @@ monastic_schools_02 = {
} }
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
scope:holder.culture = { scope:holder.culture ?= {
trigger_if = { trigger_if = {
limit = { NOT = { has_cultural_parameter = next_level_monasteries } } limit = { NOT = { has_cultural_parameter = next_level_monasteries } }
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
@ -4309,7 +4311,7 @@ monastic_schools_03 = {
can_construct = { can_construct = {
trigger_if = { trigger_if = {
limit = { limit = {
scope:holder.rite = { scope:holder.rite ?= {
NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type }
} }
} }
@ -4321,18 +4323,18 @@ monastic_schools_03 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_monasteries has_cultural_parameter = next_level_monasteries
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
building_requirement_castle_city_church_temple_citadel_tribe = { LEVEL = 02 } building_requirement_castle_city_church_temple_citadel_tribe = { LEVEL = 02 }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
has_cultural_parameter = next_level_monasteries has_cultural_parameter = next_level_monasteries
} }
@ -4395,7 +4397,7 @@ monastic_schools_04 = {
can_construct = { can_construct = {
trigger_if = { trigger_if = {
limit = { limit = {
scope:holder.rite = { scope:holder.rite ?= {
NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type }
} }
} }
@ -4407,18 +4409,18 @@ monastic_schools_04 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_monasteries has_cultural_parameter = next_level_monasteries
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
building_requirement_castle_city_church_temple_citadel_tribe = { LEVEL = 02 } building_requirement_castle_city_church_temple_citadel_tribe = { LEVEL = 02 }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
has_cultural_parameter = next_level_monasteries has_cultural_parameter = next_level_monasteries
} }
@ -4481,7 +4483,7 @@ monastic_schools_05 = {
can_construct = { can_construct = {
trigger_if = { trigger_if = {
limit = { limit = {
scope:holder.rite = { scope:holder.rite ?= {
NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type }
} }
} }
@ -4493,18 +4495,18 @@ monastic_schools_05 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_monasteries has_cultural_parameter = next_level_monasteries
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
building_requirement_castle_city_church_temple_citadel_tribe = { LEVEL = 03 } building_requirement_castle_city_church_temple_citadel_tribe = { LEVEL = 03 }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
has_cultural_parameter = next_level_monasteries has_cultural_parameter = next_level_monasteries
} }
@ -4567,7 +4569,7 @@ monastic_schools_06 = {
can_construct = { can_construct = {
trigger_if = { trigger_if = {
limit = { limit = {
scope:holder.rite = { scope:holder.rite ?= {
NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type }
} }
} }
@ -4579,18 +4581,18 @@ monastic_schools_06 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_monasteries has_cultural_parameter = next_level_monasteries
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
building_requirement_castle_city_church_temple_citadel_tribe = { LEVEL = 03 } building_requirement_castle_city_church_temple_citadel_tribe = { LEVEL = 03 }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
has_cultural_parameter = next_level_monasteries has_cultural_parameter = next_level_monasteries
} }
@ -4653,7 +4655,7 @@ monastic_schools_07 = {
can_construct = { can_construct = {
trigger_if = { trigger_if = {
limit = { limit = {
scope:holder.rite = { scope:holder.rite ?= {
NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type }
} }
} }
@ -4665,18 +4667,18 @@ monastic_schools_07 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_monasteries has_cultural_parameter = next_level_monasteries
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
building_requirement_castle_city_church_temple_citadel_tribe = { LEVEL = 04 } building_requirement_castle_city_church_temple_citadel_tribe = { LEVEL = 04 }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
has_cultural_parameter = next_level_monasteries has_cultural_parameter = next_level_monasteries
} }
@ -4739,7 +4741,7 @@ monastic_schools_08 = {
can_construct = { can_construct = {
trigger_if = { trigger_if = {
limit = { limit = {
scope:holder.rite = { scope:holder.rite ?= {
NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type }
} }
} }
@ -4751,18 +4753,18 @@ monastic_schools_08 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_monasteries has_cultural_parameter = next_level_monasteries
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
building_requirement_castle_city_church_temple_citadel_tribe = { LEVEL = 04 } building_requirement_castle_city_church_temple_citadel_tribe = { LEVEL = 04 }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
has_cultural_parameter = next_level_monasteries has_cultural_parameter = next_level_monasteries
} }
@ -4828,9 +4830,11 @@ megalith_01 = {
has_building_or_higher = temple_01 has_building_or_higher = temple_01
has_building_or_higher = temple_citadel_01 has_building_or_higher = temple_citadel_01
} }
scope:holder.rite = { trigger_if = {
rite_has_parameter = can_build_megaliths limit = { exists = scope:holder.rite }
scope:holder.rite ?= { rite_has_parameter = can_build_megaliths }
} }
trigger_else = { always = no }
} }
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
@ -4840,7 +4844,11 @@ megalith_01 = {
is_enabled = { is_enabled = {
custom_tooltip = { custom_tooltip = {
text = province_is_of_a_megalith_faith_tt text = province_is_of_a_megalith_faith_tt
county.rite = { rite_has_parameter = can_build_megaliths } trigger_if = {
limit = { exists = county.rite }
county.rite ?= { rite_has_parameter = can_build_megaliths }
}
trigger_else = { always = no }
} }
} }
@ -4901,7 +4909,7 @@ megalith_02 = {
has_building_or_higher = temple_01 has_building_or_higher = temple_01
has_building_or_higher = temple_citadel_01 has_building_or_higher = temple_citadel_01
} }
scope:holder.rite = { scope:holder.rite ?= {
rite_has_parameter = can_build_megaliths rite_has_parameter = can_build_megaliths
} }
} }
@ -4913,7 +4921,7 @@ megalith_02 = {
is_enabled = { is_enabled = {
custom_tooltip = { custom_tooltip = {
text = province_is_of_a_megalith_faith_tt text = province_is_of_a_megalith_faith_tt
county.rite = { rite_has_parameter = can_build_megaliths } county.rite ?= { rite_has_parameter = can_build_megaliths }
} }
} }
@ -4953,13 +4961,13 @@ megalith_03 = {
has_building_or_higher = temple_01 has_building_or_higher = temple_01
has_building_or_higher = temple_citadel_01 has_building_or_higher = temple_citadel_01
} }
scope:holder.rite = { scope:holder.rite ?= {
rite_has_parameter = can_build_megaliths rite_has_parameter = can_build_megaliths
} }
} }
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
} }
building_requirement_tribal = no building_requirement_tribal = no
@ -4968,7 +4976,7 @@ megalith_03 = {
is_enabled = { is_enabled = {
custom_tooltip = { custom_tooltip = {
text = province_is_of_a_megalith_faith_tt text = province_is_of_a_megalith_faith_tt
county.rite = { rite_has_parameter = can_build_megaliths } county.rite ?= { rite_has_parameter = can_build_megaliths }
} }
} }
@ -5008,13 +5016,13 @@ megalith_04 = {
has_building_or_higher = temple_02 has_building_or_higher = temple_02
has_building_or_higher = temple_citadel_02 has_building_or_higher = temple_citadel_02
} }
scope:holder.rite = { scope:holder.rite ?= {
rite_has_parameter = can_build_megaliths rite_has_parameter = can_build_megaliths
} }
} }
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
} }
building_requirement_tribal = no building_requirement_tribal = no
@ -5023,7 +5031,7 @@ megalith_04 = {
is_enabled = { is_enabled = {
custom_tooltip = { custom_tooltip = {
text = province_is_of_a_megalith_faith_tt text = province_is_of_a_megalith_faith_tt
county.rite = { rite_has_parameter = can_build_megaliths } county.rite ?= { rite_has_parameter = can_build_megaliths }
} }
} }
@ -5064,13 +5072,13 @@ megalith_05 = {
has_building_or_higher = temple_02 has_building_or_higher = temple_02
has_building_or_higher = temple_citadel_02 has_building_or_higher = temple_citadel_02
} }
scope:holder.rite = { scope:holder.rite ?= {
rite_has_parameter = can_build_megaliths rite_has_parameter = can_build_megaliths
} }
} }
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
} }
building_requirement_tribal = no building_requirement_tribal = no
@ -5079,7 +5087,7 @@ megalith_05 = {
is_enabled = { is_enabled = {
custom_tooltip = { custom_tooltip = {
text = province_is_of_a_megalith_faith_tt text = province_is_of_a_megalith_faith_tt
county.rite = { rite_has_parameter = can_build_megaliths } county.rite ?= { rite_has_parameter = can_build_megaliths }
} }
} }
@ -5121,13 +5129,13 @@ megalith_06 = {
has_building_or_higher = temple_02 has_building_or_higher = temple_02
has_building_or_higher = temple_citadel_02 has_building_or_higher = temple_citadel_02
} }
scope:holder.rite = { scope:holder.rite ?= {
rite_has_parameter = can_build_megaliths rite_has_parameter = can_build_megaliths
} }
} }
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
} }
building_requirement_tribal = no building_requirement_tribal = no
@ -5136,7 +5144,7 @@ megalith_06 = {
is_enabled = { is_enabled = {
custom_tooltip = { custom_tooltip = {
text = province_is_of_a_megalith_faith_tt text = province_is_of_a_megalith_faith_tt
county.rite = { rite_has_parameter = can_build_megaliths } county.rite ?= { rite_has_parameter = can_build_megaliths }
} }
} }
@ -5178,13 +5186,13 @@ megalith_07 = {
has_building_or_higher = temple_02 has_building_or_higher = temple_02
has_building_or_higher = temple_citadel_02 has_building_or_higher = temple_citadel_02
} }
scope:holder.rite = { scope:holder.rite ?= {
rite_has_parameter = can_build_megaliths rite_has_parameter = can_build_megaliths
} }
} }
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
} }
building_requirement_tribal = no building_requirement_tribal = no
@ -5193,7 +5201,7 @@ megalith_07 = {
is_enabled = { is_enabled = {
custom_tooltip = { custom_tooltip = {
text = province_is_of_a_megalith_faith_tt text = province_is_of_a_megalith_faith_tt
county.rite = { rite_has_parameter = can_build_megaliths } county.rite ?= { rite_has_parameter = can_build_megaliths }
} }
} }
@ -5235,13 +5243,13 @@ megalith_08 = {
has_building_or_higher = temple_02 has_building_or_higher = temple_02
has_building_or_higher = temple_citadel_02 has_building_or_higher = temple_citadel_02
} }
scope:holder.rite = { scope:holder.rite ?= {
rite_has_parameter = can_build_megaliths rite_has_parameter = can_build_megaliths
} }
} }
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
} }
building_requirement_tribal = no building_requirement_tribal = no
@ -5250,7 +5258,7 @@ megalith_08 = {
is_enabled = { is_enabled = {
custom_tooltip = { custom_tooltip = {
text = province_is_of_a_megalith_faith_tt text = province_is_of_a_megalith_faith_tt
county.rite = { rite_has_parameter = can_build_megaliths } county.rite ?= { rite_has_parameter = can_build_megaliths }
} }
} }
@ -5341,7 +5349,7 @@ breweries_02 = {
} }
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
} }
building_requirement_tribal = no building_requirement_tribal = no
@ -5391,7 +5399,7 @@ breweries_03 = {
} }
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
} }
building_requirement_tribal = no building_requirement_tribal = no
@ -5432,7 +5440,7 @@ breweries_04 = {
} }
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
building_requirement_tribal = no building_requirement_tribal = no
@ -5473,7 +5481,7 @@ breweries_05 = {
} }
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
building_requirement_tribal = no building_requirement_tribal = no
@ -5514,7 +5522,7 @@ breweries_06 = {
} }
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
building_requirement_tribal = no building_requirement_tribal = no
@ -5555,7 +5563,7 @@ breweries_07 = {
} }
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
building_requirement_tribal = no building_requirement_tribal = no
@ -5596,7 +5604,7 @@ breweries_08 = {
} }
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
building_requirement_tribal = no building_requirement_tribal = no

View file

@ -255,7 +255,7 @@ tribe_02 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
OR = { OR = {
scope:holder = { scope:holder = {
culture = { has_innovation = innovation_plenary_assemblies } culture ?= { has_innovation = innovation_plenary_assemblies }
} }
mpo_permafrost_building_trigger = yes mpo_permafrost_building_trigger = yes
} }
@ -370,7 +370,7 @@ longhouses_02 = {
OR = { OR = {
mpo_permafrost_building_trigger = yes mpo_permafrost_building_trigger = yes
scope:holder = { scope:holder = {
culture = { has_innovation = innovation_barracks } culture ?= { has_innovation = innovation_barracks }
} }
} }
} }
@ -463,7 +463,7 @@ war_camps_02 = {
OR = { OR = {
mpo_permafrost_building_trigger = yes mpo_permafrost_building_trigger = yes
scope:holder = { scope:holder = {
culture = { has_innovation = innovation_barracks } culture ?= { has_innovation = innovation_barracks }
} }
} }
} }
@ -560,7 +560,7 @@ palisades_02 = {
OR = { OR = {
mpo_permafrost_building_trigger = yes mpo_permafrost_building_trigger = yes
scope:holder = { scope:holder = {
culture = { has_innovation = innovation_barracks } culture ?= { has_innovation = innovation_barracks }
} }
} }
} }
@ -640,7 +640,7 @@ market_villages_02 = {
OR = { OR = {
mpo_permafrost_building_trigger = yes mpo_permafrost_building_trigger = yes
scope:holder = { scope:holder = {
culture = { has_innovation = innovation_barracks } culture ?= { has_innovation = innovation_barracks }
} }
} }
} }

View file

@ -21,7 +21,7 @@ water_filter_mills_01 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
@ -90,7 +90,7 @@ water_filter_mills_02 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
culture = { culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
} }
@ -134,7 +134,7 @@ water_filter_mills_03 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
culture = { culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }

View file

@ -67,7 +67,7 @@ tell_mines_02 = {
can_construct_potential = { can_construct_potential = {
building_tell_mines_requirement_terrain = yes building_tell_mines_requirement_terrain = yes
building_requirement_castle_city_church = { LEVEL = 01 } building_requirement_castle_city_church = { LEVEL = 01 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
} }
@ -124,7 +124,7 @@ tell_mines_03 = {
can_construct = { can_construct = {
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
@ -180,7 +180,7 @@ tell_mines_04 = {
can_construct = { can_construct = {
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
@ -236,7 +236,7 @@ tell_mines_05 = {
can_construct = { can_construct = {
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_guilds has_innovation = innovation_guilds
} }
} }
@ -292,7 +292,7 @@ tell_mines_06 = {
can_construct = { can_construct = {
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_guilds has_innovation = innovation_guilds
} }
} }
@ -348,7 +348,7 @@ tell_mines_07 = {
can_construct = { can_construct = {
building_requirement_castle_city_church = { LEVEL = 04 } building_requirement_castle_city_church = { LEVEL = 04 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }
@ -404,7 +404,7 @@ tell_mines_08 = {
can_construct = { can_construct = {
building_requirement_castle_city_church = { LEVEL = 04 } building_requirement_castle_city_church = { LEVEL = 04 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }
@ -512,7 +512,7 @@ leclerc_dyeworks_02 = {
can_construct = { can_construct = {
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
@ -564,7 +564,7 @@ leclerc_dyeworks_03 = {
can_construct = { can_construct = {
building_requirement_castle_city_church = { LEVEL = 04 } building_requirement_castle_city_church = { LEVEL = 04 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }
@ -656,7 +656,7 @@ vineyards_02 = {
can_construct_potential = { can_construct_potential = {
building_vineyards_requirement = yes building_vineyards_requirement = yes
building_requirement_castle_city_church = { LEVEL = 01 } building_requirement_castle_city_church = { LEVEL = 01 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
} }
@ -712,7 +712,7 @@ vineyards_03 = {
can_construct = { can_construct = {
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
@ -766,7 +766,7 @@ vineyards_04 = {
can_construct = { can_construct = {
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
@ -820,7 +820,7 @@ vineyards_05 = {
can_construct = { can_construct = {
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_guilds has_innovation = innovation_guilds
} }
} }
@ -874,7 +874,7 @@ vineyards_06 = {
can_construct = { can_construct = {
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_guilds has_innovation = innovation_guilds
} }
} }
@ -929,7 +929,7 @@ vineyards_07 = {
can_construct = { can_construct = {
building_requirement_castle_city_church = { LEVEL = 04 } building_requirement_castle_city_church = { LEVEL = 04 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }
@ -984,7 +984,7 @@ vineyards_08 = {
can_construct = { can_construct = {
building_requirement_castle_city_church = { LEVEL = 04 } building_requirement_castle_city_church = { LEVEL = 04 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }
@ -1112,11 +1112,13 @@ potato_fields_01 = {
} }
modifier = { modifier = {
factor = 2 factor = 2
scope:holder.culture = { has_innovation = innovation_champa_rice } exists = scope:holder.culture
scope:holder.culture ?= { has_innovation = innovation_champa_rice }
} }
modifier = { modifier = {
factor = 0 factor = 0
scope:holder.culture = { has_innovation = innovation_champa_rice } # this also allows farm estates to be built in rice fields exists = scope:holder.culture
scope:holder.culture ?= { has_innovation = innovation_champa_rice } # this also allows farm estates to be built in rice fields
NOT = { NOT = {
has_building_or_higher = farm_estates_01 has_building_or_higher = farm_estates_01
} }
@ -1241,7 +1243,7 @@ potato_fields_03 = {
can_construct = { can_construct = {
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
@ -1344,7 +1346,7 @@ potato_fields_04 = {
can_construct = { can_construct = {
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
@ -1449,7 +1451,7 @@ potato_fields_05 = {
can_construct = { can_construct = {
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_guilds has_innovation = innovation_guilds
} }
} }
@ -1555,7 +1557,7 @@ potato_fields_06 = {
can_construct = { can_construct = {
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_guilds has_innovation = innovation_guilds
} }
} }
@ -1666,7 +1668,7 @@ potato_fields_07 = {
can_construct = { can_construct = {
building_requirement_castle_city_church = { LEVEL = 04 } building_requirement_castle_city_church = { LEVEL = 04 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }
@ -1774,7 +1776,7 @@ potato_fields_08 = {
can_construct = { can_construct = {
building_requirement_castle_city_church = { LEVEL = 04 } building_requirement_castle_city_church = { LEVEL = 04 }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }
@ -1879,7 +1881,7 @@ doggerland_ivory_deposits_01 = {
trigger_if = { # Sometimes tribals can into botes trigger_if = { # Sometimes tribals can into botes
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = trade_ports_enabled_for_tribals has_cultural_parameter = trade_ports_enabled_for_tribals
} }
} }
@ -1940,13 +1942,13 @@ doggerland_ivory_deposits_01 = {
modifier = { modifier = {
add = 5 add = 5
culture = { culture ?= {
has_cultural_parameter = trade_ports_enabled_for_tribals has_cultural_parameter = trade_ports_enabled_for_tribals
} }
} }
modifier = { modifier = {
add = 5 add = 5
culture = { culture ?= {
has_cultural_parameter = trade_ports_stationed_maa_bonus has_cultural_parameter = trade_ports_stationed_maa_bonus
} }
} }
@ -1985,7 +1987,7 @@ doggerland_ivory_deposits_02 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = trade_ports_enabled_for_tribals has_cultural_parameter = trade_ports_enabled_for_tribals
} }
} }
@ -2003,17 +2005,17 @@ doggerland_ivory_deposits_02 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_trade_ports has_cultural_parameter = next_level_trade_ports
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_cultural_parameter = next_level_trade_ports has_cultural_parameter = next_level_trade_ports
} }
@ -2074,21 +2076,21 @@ doggerland_ivory_deposits_03 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_trade_ports has_cultural_parameter = next_level_trade_ports
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
culture = { culture ?= {
has_cultural_parameter = next_level_trade_ports has_cultural_parameter = next_level_trade_ports
} }
building_requirement_castle_city_church = { LEVEL = 01 } building_requirement_castle_city_church = { LEVEL = 01 }
@ -2149,21 +2151,21 @@ doggerland_ivory_deposits_04 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_trade_ports has_cultural_parameter = next_level_trade_ports
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
culture = { culture ?= {
has_cultural_parameter = next_level_trade_ports has_cultural_parameter = next_level_trade_ports
} }
building_requirement_castle_city_church = { LEVEL = 01 } building_requirement_castle_city_church = { LEVEL = 01 }
@ -2224,21 +2226,21 @@ doggerland_ivory_deposits_05 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_trade_ports has_cultural_parameter = next_level_trade_ports
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_guilds has_innovation = innovation_guilds
} }
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
culture = { culture ?= {
has_cultural_parameter = next_level_trade_ports has_cultural_parameter = next_level_trade_ports
} }
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
@ -2299,21 +2301,21 @@ doggerland_ivory_deposits_06 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_trade_ports has_cultural_parameter = next_level_trade_ports
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_guilds has_innovation = innovation_guilds
} }
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
culture = { culture ?= {
has_cultural_parameter = next_level_trade_ports has_cultural_parameter = next_level_trade_ports
} }
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
@ -2374,21 +2376,21 @@ doggerland_ivory_deposits_07 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_trade_ports has_cultural_parameter = next_level_trade_ports
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
building_requirement_castle_city_church = { LEVEL = 04 } building_requirement_castle_city_church = { LEVEL = 04 }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_innovation = innovation_guilds has_innovation = innovation_guilds
} }
culture = { culture ?= {
has_cultural_parameter = next_level_trade_ports has_cultural_parameter = next_level_trade_ports
} }
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
@ -2449,21 +2451,21 @@ doggerland_ivory_deposits_08 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = next_level_trade_ports has_cultural_parameter = next_level_trade_ports
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
building_requirement_castle_city_church = { LEVEL = 04 } building_requirement_castle_city_church = { LEVEL = 04 }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_innovation = innovation_guilds has_innovation = innovation_guilds
} }
culture = { culture ?= {
has_cultural_parameter = next_level_trade_ports has_cultural_parameter = next_level_trade_ports
} }
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
@ -2562,7 +2564,7 @@ greenhouses_02 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
building_requirement_tribal = no building_requirement_tribal = no
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
} }
@ -2604,7 +2606,7 @@ greenhouses_03 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
building_requirement_tribal = no building_requirement_tribal = no
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
@ -2642,7 +2644,7 @@ greenhouses_04 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
building_requirement_tribal = no building_requirement_tribal = no
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
@ -2681,7 +2683,7 @@ greenhouses_05 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
building_requirement_tribal = no building_requirement_tribal = no
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_guilds has_innovation = innovation_guilds
} }
} }
@ -2720,7 +2722,7 @@ greenhouses_06 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
building_requirement_tribal = no building_requirement_tribal = no
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_guilds has_innovation = innovation_guilds
} }
} }
@ -2759,7 +2761,7 @@ greenhouses_07 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
building_requirement_tribal = no building_requirement_tribal = no
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }
@ -2799,7 +2801,7 @@ greenhouses_08 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
building_requirement_tribal = no building_requirement_tribal = no
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }
@ -2878,7 +2880,7 @@ soapmaking_guilds_02 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
building_requirement_tribal = no building_requirement_tribal = no
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_crop_rotation has_innovation = innovation_crop_rotation
} }
} }
@ -2919,7 +2921,7 @@ soapmaking_guilds_03 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
building_requirement_tribal = no building_requirement_tribal = no
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
@ -2956,7 +2958,7 @@ soapmaking_guilds_04 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
building_requirement_tribal = no building_requirement_tribal = no
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
@ -2994,7 +2996,7 @@ soapmaking_guilds_05 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
building_requirement_tribal = no building_requirement_tribal = no
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_guilds has_innovation = innovation_guilds
} }
} }
@ -3032,7 +3034,7 @@ soapmaking_guilds_06 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
building_requirement_tribal = no building_requirement_tribal = no
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_guilds has_innovation = innovation_guilds
} }
} }
@ -3071,7 +3073,7 @@ soapmaking_guilds_07 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
building_requirement_tribal = no building_requirement_tribal = no
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }
@ -3110,7 +3112,7 @@ soapmaking_guilds_08 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
building_requirement_tribal = no building_requirement_tribal = no
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -632,7 +632,7 @@ temple_citadel_01 = {
scope:holder = { scope:holder = {
OR = { OR = {
government_has_flag = government_is_mandala government_has_flag = government_is_mandala
faith = { has_doctrine_parameter = NEOW_can_build_citadels } faith ?= { has_doctrine_parameter = NEOW_can_build_citadels }
} }
} }
} }
@ -641,7 +641,7 @@ temple_citadel_01 = {
scope:holder = { scope:holder = {
OR = { OR = {
government_has_flag = government_is_mandala government_has_flag = government_is_mandala
faith = { has_doctrine_parameter = NEOW_can_build_citadels } faith ?= { has_doctrine_parameter = NEOW_can_build_citadels }
} }
} }
} }
@ -736,7 +736,7 @@ temple_citadel_01 = {
county.holder = { county.holder = {
if = { if = {
limit = { limit = {
culture = { culture ?= {
has_cultural_parameter = renown_from_temple_construction has_cultural_parameter = renown_from_temple_construction
} }
exists = dynasty exists = dynasty
@ -746,7 +746,7 @@ temple_citadel_01 = {
if = { if = {
limit = { limit = {
culture = { culture ?= {
has_cultural_parameter = extra_piety_from_temple_construction has_cultural_parameter = extra_piety_from_temple_construction
} }
} }
@ -761,9 +761,9 @@ temple_citadel_01 = {
if = { if = {
limit = { limit = {
culture = { has_cultural_parameter = more_fervor_on_church_construction } culture ?= { has_cultural_parameter = more_fervor_on_church_construction }
} }
faith = { faith ?= {
change_fervor = { change_fervor = {
value = notable_fervor_gain value = notable_fervor_gain
desc = fervor_gain_built_temple_holding desc = fervor_gain_built_temple_holding
@ -771,7 +771,7 @@ temple_citadel_01 = {
} }
} }
else = { else = {
faith = { faith ?= {
change_fervor = { change_fervor = {
value = trivial_fervor_gain value = trivial_fervor_gain
desc = fervor_gain_built_temple_holding desc = fervor_gain_built_temple_holding
@ -781,7 +781,7 @@ temple_citadel_01 = {
if = { if = {
limit = { limit = {
culture = { has_cultural_parameter = prestige_from_temple_construction } culture ?= { has_cultural_parameter = prestige_from_temple_construction }
} }
add_prestige = massive_prestige_gain add_prestige = massive_prestige_gain
} }
@ -870,7 +870,7 @@ temple_citadel_01 = {
county = { county = {
if = { if = {
limit = { limit = {
holder.culture = { has_cultural_parameter = warmonger_city_founders } holder.culture ?= { has_cultural_parameter = warmonger_city_founders }
} }
change_county_control = 100 change_county_control = 100
} }
@ -934,7 +934,7 @@ temple_citadel_01 = {
scope:holder = { scope:holder = {
NOR = { NOR = {
government_has_flag = government_is_mandala government_has_flag = government_is_mandala
faith = { has_doctrine_parameter = NEOW_can_build_citadels } faith ?= { has_doctrine_parameter = NEOW_can_build_citadels }
} }
} }
} }
@ -1557,17 +1557,17 @@ temple_citadel_02 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
scope:holder.culture = { scope:holder.culture ?= {
has_cultural_parameter = temple_next_level has_cultural_parameter = temple_next_level
} }
} }
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
trigger_else = { trigger_else = {
scope:holder.culture = { scope:holder.culture ?= {
has_cultural_parameter = temple_next_level has_cultural_parameter = temple_next_level
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
} }
@ -1654,7 +1654,7 @@ temple_citadel_02 = {
county.holder = { county.holder = {
if = { if = {
limit = { limit = {
culture = { culture ?= {
has_cultural_parameter = renown_from_temple_construction has_cultural_parameter = renown_from_temple_construction
} }
exists = dynasty exists = dynasty
@ -1663,11 +1663,11 @@ temple_citadel_02 = {
} }
if = { if = {
limit = { limit = {
culture = { culture ?= {
has_cultural_parameter = more_fervor_on_church_construction has_cultural_parameter = more_fervor_on_church_construction
} }
} }
faith = { faith ?= {
change_fervor = { change_fervor = {
value = small_fervor_gain value = small_fervor_gain
desc = fervor_gain_upgraded_temple_holding_culture_parameter desc = fervor_gain_upgraded_temple_holding_culture_parameter
@ -1745,11 +1745,11 @@ temple_citadel_02 = {
ai_general_building_modifier = yes ai_general_building_modifier = yes
modifier = { modifier = {
add = 1 add = 1
scope:holder.culture = { has_cultural_parameter = ai_more_likely_to_castle } scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_castle }
} }
modifier = { modifier = {
add = 10 add = 10
scope:holder.culture = { has_cultural_era_or_later = culture_era_high_medieval } scope:holder.culture ?= { has_cultural_era_or_later = culture_era_high_medieval }
} }
modifier = { modifier = {
factor = 3 factor = 3
@ -2390,17 +2390,17 @@ temple_citadel_03 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
scope:holder.culture = { scope:holder.culture ?= {
has_cultural_parameter = temple_next_level has_cultural_parameter = temple_next_level
} }
} }
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
} }
trigger_else = { trigger_else = {
scope:holder.culture = { scope:holder.culture ?= {
has_cultural_parameter = temple_next_level has_cultural_parameter = temple_next_level
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
@ -2487,7 +2487,7 @@ temple_citadel_03 = {
county.holder = { county.holder = {
if = { if = {
limit = { limit = {
culture = { culture ?= {
has_cultural_parameter = renown_from_temple_construction has_cultural_parameter = renown_from_temple_construction
} }
exists = dynasty exists = dynasty
@ -2496,11 +2496,11 @@ temple_citadel_03 = {
} }
if = { if = {
limit = { limit = {
culture = { culture ?= {
has_cultural_parameter = more_fervor_on_church_construction has_cultural_parameter = more_fervor_on_church_construction
} }
} }
faith = { faith ?= {
change_fervor = { change_fervor = {
value = small_fervor_gain value = small_fervor_gain
desc = fervor_gain_upgraded_temple_holding_culture_parameter desc = fervor_gain_upgraded_temple_holding_culture_parameter
@ -2563,11 +2563,11 @@ temple_citadel_03 = {
ai_general_building_modifier = yes ai_general_building_modifier = yes
modifier = { modifier = {
add = 1 add = 1
scope:holder.culture = { has_cultural_parameter = ai_more_likely_to_castle } scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_castle }
} }
modifier = { modifier = {
add = 10 add = 10
scope:holder.culture = { has_cultural_era_or_later = culture_era_late_medieval } scope:holder.culture ?= { has_cultural_era_or_later = culture_era_late_medieval }
} }
modifier = { modifier = {
factor = 3 factor = 3
@ -3202,17 +3202,17 @@ temple_citadel_04 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
scope:holder.culture = { scope:holder.culture ?= {
has_cultural_parameter = temple_next_level has_cultural_parameter = temple_next_level
} }
} }
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }
trigger_else = { trigger_else = {
scope:holder.culture = { scope:holder.culture ?= {
has_cultural_parameter = temple_next_level has_cultural_parameter = temple_next_level
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
@ -3298,7 +3298,7 @@ temple_citadel_04 = {
county.holder = { county.holder = {
if = { if = {
limit = { limit = {
culture = { culture ?= {
has_cultural_parameter = renown_from_temple_construction has_cultural_parameter = renown_from_temple_construction
} }
exists = dynasty exists = dynasty
@ -3307,11 +3307,11 @@ temple_citadel_04 = {
} }
if = { if = {
limit = { limit = {
culture = { culture ?= {
has_cultural_parameter = more_fervor_on_church_construction has_cultural_parameter = more_fervor_on_church_construction
} }
} }
faith = { faith ?= {
change_fervor = { change_fervor = {
value = small_fervor_gain value = small_fervor_gain
desc = fervor_gain_upgraded_temple_holding_culture_parameter desc = fervor_gain_upgraded_temple_holding_culture_parameter
@ -3375,7 +3375,7 @@ temple_citadel_04 = {
ai_general_building_modifier = yes ai_general_building_modifier = yes
modifier = { modifier = {
add = 1 add = 1
scope:holder.culture = { has_cultural_parameter = ai_more_likely_to_castle } scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_castle }
} }
modifier = { modifier = {
factor = 3 factor = 3
@ -3466,7 +3466,7 @@ citadel_shrine_02 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
building_requirement_tribal = no building_requirement_tribal = no
culture = { culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
} }
} }
@ -3512,7 +3512,7 @@ citadel_shrine_03 = {
can_construct = { can_construct = {
has_building_or_higher = temple_citadel_02 has_building_or_higher = temple_citadel_02
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
@ -3562,7 +3562,7 @@ citadel_shrine_04 = {
can_construct = { can_construct = {
has_building_or_higher = temple_citadel_02 has_building_or_higher = temple_citadel_02
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
@ -3612,7 +3612,7 @@ citadel_shrine_05 = {
can_construct = { can_construct = {
has_building_or_higher = temple_citadel_03 has_building_or_higher = temple_citadel_03
culture = { culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
} }
@ -3662,7 +3662,7 @@ citadel_shrine_06 = {
can_construct = { can_construct = {
has_building_or_higher = temple_citadel_03 has_building_or_higher = temple_citadel_03
culture = { culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
} }
@ -3712,7 +3712,7 @@ citadel_shrine_07 = {
can_construct = { can_construct = {
has_building_or_higher = temple_citadel_04 has_building_or_higher = temple_citadel_04
culture = { culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }
@ -3762,7 +3762,7 @@ citadel_shrine_08 = {
can_construct = { can_construct = {
has_building_or_higher = temple_citadel_03 has_building_or_higher = temple_citadel_03
culture = { culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }
@ -3885,17 +3885,17 @@ sacred_pool_02 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = may_build_sacred_pools_ahead_of_time has_cultural_parameter = may_build_sacred_pools_ahead_of_time
} }
} }
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
} }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_cultural_parameter = may_build_sacred_pools_ahead_of_time has_cultural_parameter = may_build_sacred_pools_ahead_of_time
} }
} }
@ -3951,20 +3951,20 @@ sacred_pool_03 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = may_build_sacred_pools_ahead_of_time has_cultural_parameter = may_build_sacred_pools_ahead_of_time
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_cultural_parameter = may_build_sacred_pools_ahead_of_time has_cultural_parameter = may_build_sacred_pools_ahead_of_time
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
} }
} }
@ -4024,20 +4024,20 @@ sacred_pool_04 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = may_build_sacred_pools_ahead_of_time has_cultural_parameter = may_build_sacred_pools_ahead_of_time
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_cultural_parameter = may_build_sacred_pools_ahead_of_time has_cultural_parameter = may_build_sacred_pools_ahead_of_time
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
} }
} }
@ -4097,20 +4097,20 @@ sacred_pool_05 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = may_build_sacred_pools_ahead_of_time has_cultural_parameter = may_build_sacred_pools_ahead_of_time
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_cultural_parameter = may_build_sacred_pools_ahead_of_time has_cultural_parameter = may_build_sacred_pools_ahead_of_time
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
@ -4170,20 +4170,20 @@ sacred_pool_06 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = may_build_sacred_pools_ahead_of_time has_cultural_parameter = may_build_sacred_pools_ahead_of_time
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_cultural_parameter = may_build_sacred_pools_ahead_of_time has_cultural_parameter = may_build_sacred_pools_ahead_of_time
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
@ -4243,20 +4243,20 @@ sacred_pool_07 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = may_build_sacred_pools_ahead_of_time has_cultural_parameter = may_build_sacred_pools_ahead_of_time
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_cultural_parameter = may_build_sacred_pools_ahead_of_time has_cultural_parameter = may_build_sacred_pools_ahead_of_time
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
} }
@ -4316,20 +4316,20 @@ sacred_pool_08 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOT = { NOT = {
culture = { culture ?= {
has_cultural_parameter = may_build_sacred_pools_ahead_of_time has_cultural_parameter = may_build_sacred_pools_ahead_of_time
} }
} }
} }
culture = { culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }
trigger_else = { trigger_else = {
culture = { culture ?= {
has_cultural_parameter = may_build_sacred_pools_ahead_of_time has_cultural_parameter = may_build_sacred_pools_ahead_of_time
} }
scope:holder.culture = { scope:holder.culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
} }
@ -4457,7 +4457,7 @@ vihara_halls_02 = {
can_construct_showing_failures_only = { can_construct_showing_failures_only = {
building_requirement_tribal = no building_requirement_tribal = no
culture = { culture ?= {
has_innovation = innovation_city_planning has_innovation = innovation_city_planning
} }
} }
@ -4509,7 +4509,7 @@ vihara_halls_03 = {
can_construct = { can_construct = {
has_building_or_higher = temple_citadel_02 has_building_or_higher = temple_citadel_02
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
@ -4565,7 +4565,7 @@ vihara_halls_04 = {
can_construct = { can_construct = {
has_building_or_higher = temple_citadel_02 has_building_or_higher = temple_citadel_02
culture = { culture ?= {
has_innovation = innovation_manorialism has_innovation = innovation_manorialism
} }
} }
@ -4621,7 +4621,7 @@ vihara_halls_05 = {
can_construct = { can_construct = {
has_building_or_higher = temple_citadel_03 has_building_or_higher = temple_citadel_03
culture = { culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
} }
@ -4677,7 +4677,7 @@ vihara_halls_06 = {
can_construct = { can_construct = {
has_building_or_higher = temple_citadel_03 has_building_or_higher = temple_citadel_03
culture = { culture ?= {
has_innovation = innovation_windmills has_innovation = innovation_windmills
} }
} }
@ -4733,7 +4733,7 @@ vihara_halls_07 = {
can_construct = { can_construct = {
has_building_or_higher = temple_citadel_04 has_building_or_higher = temple_citadel_04
culture = { culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }
@ -4789,7 +4789,7 @@ vihara_halls_08 = {
can_construct = { can_construct = {
has_building_or_higher = temple_citadel_03 has_building_or_higher = temple_citadel_03
culture = { culture ?= {
has_innovation = innovation_cranes has_innovation = innovation_cranes
} }
} }

View file

@ -0,0 +1,199 @@
religious = {
allowed_for_character = {
OR = { # Cannot Holy War if your Liege(s) are of a different Faith than you.
top_liege = this
any_liege_or_above = {
faith = prev.faith
count = all
}
}
faith ?= {
NOR = {
has_doctrine_parameter = unreformed # Unreformed Pagans cannot Holy War
AND = {
has_doctrine_parameter = holy_wars_forbidden # Pacifists cannot Holy War
NOT = { prev = { has_character_flag = bonus_major_holy_war } } #...unless they got the legend bonus
}
}
}
herders_and_tributary_constraints = yes
pam_personal_pacifism_offensive_war_ban_trigger = yes
tgp_dynastic_cycle_offensive_wars_ban_trigger = yes
tgp_war_ban_all_ministers_trigger = yes
}
}
#Holy wars that should be restricted if your liege disagrees, or your faith does, but which don't require organised religion. E.g., human sacrifice raids.
religious_disorganised = {
allowed_for_character = {
OR = { # Cannot Holy War if your Liege(s) are of a different Faith than you.
top_liege = this
any_liege_or_above = {
faith = prev.faith
count = all
}
}
faith ?= {
NOT = { has_doctrine_parameter = holy_wars_forbidden } # Pacifists cannot Holy War
}
herders_and_tributary_constraints = yes
pam_personal_pacifism_offensive_war_ban_trigger = yes
tgp_dynastic_cycle_offensive_wars_ban_trigger = yes
tgp_war_ban_all_ministers_trigger = yes
}
}
religious_script_only = {
should_check_for_interface_availability = no
can_only_start_via_script = yes # Only fired by event
allowed_for_character = {
herders_and_tributary_constraints = yes
tgp_dynastic_cycle_offensive_wars_ban_trigger = yes
tgp_war_ban_all_ministers_trigger = yes
}
}
de_jure = {
allowed_for_character = {
herders_and_tributary_constraints = yes
pam_personal_pacifism_offensive_war_ban_trigger = yes
tgp_dynastic_cycle_offensive_wars_ban_trigger = yes
tgp_war_ban_all_ministers_trigger = yes
NOT = { government_has_flag = government_is_theocracy }
}
}
debug = {
debug = yes
should_check_for_interface_availability = no
allowed_for_character = {
herders_and_tributary_constraints = yes
NOT = { government_has_flag = government_is_theocracy }
}
}
claim = {
allowed_for_character = {
herders_and_tributary_constraints = yes
pam_personal_pacifism_offensive_war_ban_trigger = yes
tgp_dynastic_cycle_offensive_wars_ban_trigger = yes
tgp_war_ban_all_ministers_trigger = yes
NOT = { government_has_flag = government_is_theocracy }
}
}
civil_war = {
should_check_for_interface_availability = no
can_only_start_via_script = yes # Only fired by event
allowed_for_character = {
herders_and_tributary_constraints = yes
}
}
invasion = {
allowed_for_character = {
herders_and_tributary_constraints = yes
pam_personal_pacifism_offensive_war_ban_trigger = yes
tgp_dynastic_cycle_offensive_wars_ban_trigger = yes
tgp_war_ban_all_ministers_trigger = yes
NOT = { government_has_flag = government_is_theocracy }
}
}
vassalization = {
allowed_for_character = {
herders_and_tributary_constraints = yes
pam_personal_pacifism_offensive_war_ban_trigger = yes
tgp_dynastic_cycle_offensive_wars_ban_trigger = yes
tgp_war_ban_all_ministers_trigger = yes
NOT = { government_has_flag = government_is_theocracy }
}
}
conquest = {
allowed_for_character = {
herders_and_tributary_constraints = yes
pam_personal_pacifism_offensive_war_ban_trigger = yes
tgp_dynastic_cycle_offensive_wars_ban_trigger = yes
tgp_war_ban_all_ministers_trigger = yes
NOT = { government_has_flag = government_is_theocracy }
}
}
struggle = {
allowed_for_character = {
can_use_struggle_cbs_trigger = yes
herders_and_tributary_constraints = yes
pam_personal_pacifism_offensive_war_ban_trigger = yes
tgp_dynastic_cycle_offensive_wars_ban_trigger = yes
tgp_war_ban_all_ministers_trigger = yes
NOT = { government_has_flag = government_is_theocracy }
}
}
subjugation = {
allowed_for_character = {
herders_and_tributary_constraints = yes
pam_personal_pacifism_offensive_war_ban_trigger = yes
tgp_dynastic_cycle_offensive_wars_ban_trigger = yes
tgp_war_ban_all_ministers_trigger = yes
OR = {
NOT = { government_has_flag = government_is_theocracy }
AND = {
government_has_flag = government_is_theocracy
has_variable = koh_subjugation_cb_allowed
}
}
}
}
independence = {
allowed_for_character = {
pam_personal_pacifism_offensive_war_ban_trigger = yes
}
}
event = {
should_check_for_interface_availability = no
can_only_start_via_script = yes # Only fired by event
allowed_for_character = {
herders_and_tributary_constraints = yes
}
}
artifact = {
allowed_for_character = {
herders_and_tributary_constraints = yes
pam_personal_pacifism_offensive_war_ban_trigger = yes
}
}
migration = {
should_check_for_interface_availability = no
can_only_start_via_script = yes # Only fired by event
}
humiliation = {
allowed_for_character = {
herders_and_tributary_constraints = yes
pam_personal_pacifism_offensive_war_ban_trigger = yes
NOT = { government_has_flag = government_is_theocracy }
}
}
mandala = {
allowed_for_character = {
herders_and_tributary_constraints = yes
pam_personal_pacifism_offensive_war_ban_trigger = yes
NOT = { government_has_flag = government_is_theocracy }
}
}
celestial = {
allowed_for_character = {
herders_and_tributary_constraints = yes
pam_personal_pacifism_offensive_war_ban_trigger = yes
tgp_war_ban_civilian_ministers_trigger = yes
NOT = { government_has_flag = government_is_theocracy }
}
}

File diff suppressed because it is too large Load diff

View file

@ -5,7 +5,7 @@
allowed_for_character = { allowed_for_character = {
scope:attacker = { scope:attacker = {
culture = { culture ?= {
has_innovation = innovation_divine_right has_innovation = innovation_divine_right
} }
NOR = { NOR = {
@ -321,7 +321,7 @@ individual_county_de_jure_cb = {
allowed_for_character = { allowed_for_character = {
scope:attacker = { scope:attacker = {
culture = { culture ?= {
has_innovation = innovation_casus_belli has_innovation = innovation_casus_belli
} }
NOT = { government_has_flag = government_is_nomadic } NOT = { government_has_flag = government_is_nomadic }
@ -660,7 +660,7 @@ individual_duchy_de_jure_cb = {
allowed_for_character = { allowed_for_character = {
scope:attacker = { scope:attacker = {
culture = { culture ?= {
has_innovation = innovation_casus_belli has_innovation = innovation_casus_belli
} }
NOT = { government_has_flag = government_is_nomadic } NOT = { government_has_flag = government_is_nomadic }

File diff suppressed because it is too large Load diff

View file

@ -18,7 +18,7 @@
# Already defined in 00_casus_belli_groups.txt # Already defined in 00_casus_belli_groups.txt
allowed_for_character = { allowed_for_character = {
scope:attacker.faith = { scope:attacker.faith ?= {
NOT = { has_doctrine_parameter = unreformed } NOT = { has_doctrine_parameter = unreformed }
NOT = { has_doctrine_parameter = holy_wars_forbidden } NOT = { has_doctrine_parameter = holy_wars_forbidden }
} }
@ -54,7 +54,7 @@
trigger_if = { trigger_if = {
limit = { limit = {
OR = { OR = {
culture = { culture ?= {
has_cultural_parameter = cb_lower_piety_level_requirement has_cultural_parameter = cb_lower_piety_level_requirement
} }
# Iberian Struggle Hostility Reward # Iberian Struggle Hostility Reward
@ -76,7 +76,7 @@
trigger_if = { trigger_if = {
limit = { limit = {
OR = { OR = {
culture = { culture ?= {
has_cultural_parameter = cb_lower_piety_level_requirement has_cultural_parameter = cb_lower_piety_level_requirement
} }
# Iberian Struggle Hostility Reward # Iberian Struggle Hostility Reward
@ -305,7 +305,7 @@
first_valid = { first_valid = {
triggered_desc = { triggered_desc = {
trigger = { trigger = {
scope:attacker.rite = { scope:attacker.rite ?= {
rite_has_doctrine = doctrine_pluralism_pluralistic rite_has_doctrine = doctrine_pluralism_pluralistic
} }
} }
@ -382,7 +382,7 @@
add = religious_cb_piety_gain_county add = religious_cb_piety_gain_county
if = { if = {
limit = { limit = {
scope:attacker.faith = { scope:attacker.faith ?= {
has_doctrine_parameter = bonus_holy_war_piety_active has_doctrine_parameter = bonus_holy_war_piety_active
} }
} }
@ -400,13 +400,13 @@
save_scope_as = war_goal_title save_scope_as = war_goal_title
} }
scope:attacker.faith = { scope:attacker.faith ?= {
change_fervor = { change_fervor = {
value = trivial_fervor_gain value = trivial_fervor_gain
desc = fervor_loss_religious_war desc = fervor_loss_religious_war
} }
} }
scope:defender.faith = { scope:defender.faith ?= {
change_fervor = { change_fervor = {
value = modest_fervor_gain value = modest_fervor_gain
desc = fervor_gain_religious_war desc = fervor_gain_religious_war
@ -510,7 +510,7 @@
add = religious_cb_piety_gain_county add = religious_cb_piety_gain_county
if = { if = {
limit = { limit = {
scope:defender.faith = { scope:defender.faith ?= {
has_doctrine_parameter = bonus_holy_war_piety_active has_doctrine_parameter = bonus_holy_war_piety_active
} }
} }
@ -598,7 +598,7 @@ religious_war = {
# Additional requirements to the defines in 00_casus_belli_groups.txt # Additional requirements to the defines in 00_casus_belli_groups.txt
allowed_for_character = { allowed_for_character = {
scope:attacker.faith = { scope:attacker.faith ?= {
NOR = { NOR = {
has_doctrine_parameter = unreformed has_doctrine_parameter = unreformed
has_doctrine_parameter = holy_wars_forbidden has_doctrine_parameter = holy_wars_forbidden
@ -635,7 +635,7 @@ religious_war = {
trigger_if = { trigger_if = {
limit = { limit = {
OR = { OR = {
culture = { culture ?= {
has_cultural_parameter = cb_lower_piety_level_requirement has_cultural_parameter = cb_lower_piety_level_requirement
} }
# Iberian Struggle Hostility Reward # Iberian Struggle Hostility Reward
@ -657,7 +657,7 @@ religious_war = {
trigger_if = { trigger_if = {
limit = { limit = {
OR = { OR = {
culture = { culture ?= {
has_cultural_parameter = cb_lower_piety_level_requirement has_cultural_parameter = cb_lower_piety_level_requirement
} }
# Iberian Struggle Hostility Reward # Iberian Struggle Hostility Reward
@ -903,7 +903,7 @@ religious_war = {
first_valid = { first_valid = {
triggered_desc = { triggered_desc = {
trigger = { trigger = {
scope:attacker.rite = { scope:attacker.rite ?= {
rite_has_doctrine = doctrine_pluralism_pluralistic rite_has_doctrine = doctrine_pluralism_pluralistic
} }
} }
@ -980,7 +980,7 @@ religious_war = {
add = religious_cb_piety_gain_duchy add = religious_cb_piety_gain_duchy
if = { if = {
limit = { limit = {
scope:attacker.faith = { scope:attacker.faith ?= {
has_doctrine_parameter = bonus_holy_war_piety_active has_doctrine_parameter = bonus_holy_war_piety_active
} }
} }
@ -998,13 +998,13 @@ religious_war = {
save_scope_as = war_goal_title save_scope_as = war_goal_title
} }
scope:attacker.faith = { scope:attacker.faith ?= {
change_fervor = { change_fervor = {
value = small_fervor_gain value = small_fervor_gain
desc = fervor_loss_religious_war desc = fervor_loss_religious_war
} }
} }
scope:defender.faith = { scope:defender.faith ?= {
change_fervor = { change_fervor = {
value = slight_fervor_gain value = slight_fervor_gain
desc = fervor_gain_religious_war desc = fervor_gain_religious_war
@ -1100,7 +1100,7 @@ religious_war = {
add = religious_cb_piety_gain_duchy add = religious_cb_piety_gain_duchy
if = { if = {
limit = { limit = {
scope:defender.faith = { scope:defender.faith ?= {
has_doctrine_parameter = bonus_holy_war_piety_active has_doctrine_parameter = bonus_holy_war_piety_active
} }
} }
@ -1238,7 +1238,7 @@ major_religious_war = {
# Additional requirements to the defines in 00_casus_belli_groups.txt # Additional requirements to the defines in 00_casus_belli_groups.txt
allowed_for_character = { allowed_for_character = {
scope:attacker.faith = { scope:attacker.faith ?= {
NOT = { has_doctrine_parameter = unreformed } NOT = { has_doctrine_parameter = unreformed }
} }
NOR = { NOR = {
@ -1265,7 +1265,7 @@ major_religious_war = {
trigger_if = { trigger_if = {
limit = { limit = {
OR = { OR = {
culture = { culture ?= {
has_cultural_parameter = cb_lower_piety_level_requirement has_cultural_parameter = cb_lower_piety_level_requirement
} }
# Iberian Struggle Hostility Reward # Iberian Struggle Hostility Reward
@ -1289,7 +1289,7 @@ major_religious_war = {
trigger_if = { trigger_if = {
limit = { limit = {
OR = { OR = {
culture = { culture ?= {
has_cultural_parameter = cb_lower_piety_level_requirement has_cultural_parameter = cb_lower_piety_level_requirement
} }
# Iberian Struggle Hostility Reward # Iberian Struggle Hostility Reward
@ -1312,7 +1312,7 @@ major_religious_war = {
} }
trigger_if = { trigger_if = {
limit = { limit = {
culture = { culture ?= {
NOT = { NOT = {
has_cultural_parameter = no_limit_to_kingdom_level_holy_wars has_cultural_parameter = no_limit_to_kingdom_level_holy_wars
} }
@ -1524,7 +1524,7 @@ major_religious_war = {
first_valid = { first_valid = {
triggered_desc = { triggered_desc = {
trigger = { trigger = {
scope:attacker.rite = { scope:attacker.rite ?= {
rite_has_doctrine = doctrine_pluralism_pluralistic rite_has_doctrine = doctrine_pluralism_pluralistic
} }
} }
@ -1626,7 +1626,7 @@ major_religious_war = {
add = religious_cb_piety_gain_kingdom add = religious_cb_piety_gain_kingdom
if = { if = {
limit = { limit = {
scope:attacker.faith = { scope:attacker.faith ?= {
has_doctrine_parameter = bonus_holy_war_piety_active has_doctrine_parameter = bonus_holy_war_piety_active
} }
} }
@ -1644,13 +1644,13 @@ major_religious_war = {
save_scope_as = war_goal_title save_scope_as = war_goal_title
} }
scope:attacker.faith = { scope:attacker.faith ?= {
change_fervor = { change_fervor = {
value = modest_fervor_gain value = modest_fervor_gain
desc = fervor_loss_religious_war desc = fervor_loss_religious_war
} }
} }
scope:defender.faith = { scope:defender.faith ?= {
change_fervor = { change_fervor = {
value = notable_fervor_gain value = notable_fervor_gain
desc = fervor_gain_religious_war desc = fervor_gain_religious_war
@ -1747,7 +1747,7 @@ major_religious_war = {
add = religious_cb_piety_gain_kingdom add = religious_cb_piety_gain_kingdom
if = { if = {
limit = { limit = {
scope:defender.faith = { scope:defender.faith ?= {
has_doctrine_parameter = bonus_holy_war_piety_active has_doctrine_parameter = bonus_holy_war_piety_active
} }
} }
@ -1888,7 +1888,7 @@ excommunication_war = {
has_trait = excommunicated has_trait = excommunicated
top_liege = this top_liege = this
faith = scope:attacker.faith faith = scope:attacker.faith
rite = { rite_has_parameter = excommunication_active } rite ?= { rite_has_parameter = excommunication_active }
} }
scope:attacker = { scope:attacker = {
@ -2199,7 +2199,7 @@ flowery_war_cb = {
allow_hostages = no allow_hostages = no
allowed_for_character = { allowed_for_character = {
faith = { has_doctrine_parameter = flower_war_cb_active } faith ?= { has_doctrine_parameter = flower_war_cb_active }
NOT = { #Must not have any leftover sacrificial prisoners/easy ability to get any. NOT = { #Must not have any leftover sacrificial prisoners/easy ability to get any.
any_prisoner = { has_character_modifier = designated_human_sacrifice_modifier } any_prisoner = { has_character_modifier = designated_human_sacrifice_modifier }
} }
@ -2235,10 +2235,10 @@ flowery_war_cb = {
should_invalidate = { should_invalidate = {
OR = { OR = {
AND = { #A formal flowery war only invalidates if neither side is an interested participant. AND = { #A formal flowery war only invalidates if neither side is an interested participant.
scope:attacker.faith = { scope:attacker.faith ?= {
NOT = { has_doctrine_parameter = human_sacrifice_active } NOT = { has_doctrine_parameter = human_sacrifice_active }
} }
scope:defender.faith = { scope:defender.faith ?= {
NOT = { has_doctrine_parameter = human_sacrifice_active } NOT = { has_doctrine_parameter = human_sacrifice_active }
} }
} }
@ -2286,7 +2286,7 @@ flowery_war_cb = {
scope:attacker = { scope:attacker = {
if = { #If the attacker enjoys human sacrifice, then this was sacred. if = { #If the attacker enjoys human sacrifice, then this was sacred.
limit = { limit = {
faith = { has_doctrine_parameter = human_sacrifice_active } faith ?= { has_doctrine_parameter = human_sacrifice_active }
} }
add_piety = { add_piety = {
value = scope:defender.tier_scaled_piety_value value = scope:defender.tier_scaled_piety_value
@ -2318,7 +2318,7 @@ flowery_war_cb = {
scope:attacker = { #If the attacker has the appropriate tenet, grab some suitable courtiers from the defender. scope:attacker = { #If the attacker has the appropriate tenet, grab some suitable courtiers from the defender.
if = { if = {
limit = { limit = {
faith = { has_doctrine_parameter = human_sacrifice_active } faith ?= { has_doctrine_parameter = human_sacrifice_active }
} }
custom_tooltip = flowery_war_cb_prisoners.tt_attacker custom_tooltip = flowery_war_cb_prisoners.tt_attacker
hidden_effect = { hidden_effect = {
@ -2665,7 +2665,7 @@ flowery_war_cb = {
scope:attacker = { #Piety loss for the attacker if appropriate, otherwise prestige loss. scope:attacker = { #Piety loss for the attacker if appropriate, otherwise prestige loss.
if = { if = {
limit = { limit = {
faith = { has_doctrine_parameter = human_sacrifice_active } faith ?= { has_doctrine_parameter = human_sacrifice_active }
} }
add_piety = religious_cb_piety_white_peace add_piety = religious_cb_piety_white_peace
} }
@ -2719,7 +2719,7 @@ flowery_war_cb = {
scope:attacker = { scope:attacker = {
if = { #If the attacker shares the faith of the defender, and both still enjoy human sacrifice, then this war was at least sacred for them. if = { #If the attacker shares the faith of the defender, and both still enjoy human sacrifice, then this war was at least sacred for them.
limit = { limit = {
faith = { faith ?= {
this = scope:defender.faith this = scope:defender.faith
has_doctrine_parameter = human_sacrifice_active has_doctrine_parameter = human_sacrifice_active
} }
@ -2739,7 +2739,7 @@ flowery_war_cb = {
scope:defender = { scope:defender = {
if = { #If the defender has the same faith as the attacker, and that faith still enjoys human sacrifice, then this was sacred. if = { #If the defender has the same faith as the attacker, and that faith still enjoys human sacrifice, then this was sacred.
limit = { limit = {
faith = { faith ?= {
this = scope:attacker.faith this = scope:attacker.faith
has_doctrine_parameter = human_sacrifice_active has_doctrine_parameter = human_sacrifice_active
} }
@ -2757,7 +2757,7 @@ flowery_war_cb = {
scope:defender = { #If the defender has the appropriate tenet, and doesn't already have sacrificial victims, grab some suitable courtiers from the attacker. scope:defender = { #If the defender has the appropriate tenet, and doesn't already have sacrificial victims, grab some suitable courtiers from the attacker.
if = { if = {
limit = { limit = {
faith = { has_doctrine_parameter = human_sacrifice_active } faith ?= { has_doctrine_parameter = human_sacrifice_active }
NOT = { #Must not have any leftover sacrificial prisoners, lest the defender get borked sacrifice-accounting events. NOT = { #Must not have any leftover sacrificial prisoners, lest the defender get borked sacrifice-accounting events.
any_prisoner = { has_character_modifier = designated_human_sacrifice_modifier } any_prisoner = { has_character_modifier = designated_human_sacrifice_modifier }
} }
@ -3200,7 +3200,7 @@ undirected_great_holy_war = {
any_in_de_jure_hierarchy = { #Any ruler in the dejure of the targeted Kingdom follows a Rite that the HoF's Rite is hostile enough to Holy War against. any_in_de_jure_hierarchy = { #Any ruler in the dejure of the targeted Kingdom follows a Rite that the HoF's Rite is hostile enough to Holy War against.
continue = { tier > tier_county } continue = { tier > tier_county }
tier = tier_county tier = tier_county
scope:attacker.rite = { scope:attacker.rite ?= {
is_hostile_enough_for_holy_war_trigger = { RITE = prev.holder.top_liege.rite } is_hostile_enough_for_holy_war_trigger = { RITE = prev.holder.top_liege.rite }
} }
} }
@ -3232,7 +3232,7 @@ undirected_great_holy_war = {
scope:defender = { scope:defender = {
save_scope_as = ghw_defender save_scope_as = ghw_defender
} }
scope:attacker.faith = { scope:attacker.faith ?= {
save_scope_as = the_faith save_scope_as = the_faith
} }
scope:attacker.faith.great_holy_war = { scope:attacker.faith.great_holy_war = {
@ -3334,7 +3334,7 @@ undirected_great_holy_war = {
scope:defender = { scope:defender = {
save_scope_as = ghw_defender save_scope_as = ghw_defender
} }
scope:attacker.faith = { scope:attacker.faith ?= {
save_scope_as = the_faith save_scope_as = the_faith
} }
scope:attacker.faith.great_holy_war = { scope:attacker.faith.great_holy_war = {
@ -3405,7 +3405,7 @@ undirected_great_holy_war = {
scope:defender = { scope:defender = {
save_scope_as = ghw_defender save_scope_as = ghw_defender
} }
scope:attacker.faith = { scope:attacker.faith ?= {
save_scope_as = the_faith save_scope_as = the_faith
} }
scope:attacker.faith.great_holy_war = { scope:attacker.faith.great_holy_war = {
@ -3472,11 +3472,11 @@ undirected_great_holy_war = {
save_scope_as = title_recipient save_scope_as = title_recipient
gender_female_chance = { gender_female_chance = {
if = { if = {
limit = { scope:the_faith = { main_rite = { rite_has_doctrine = doctrine_gender_male_dominated } } } limit = { scope:the_faith ?= { main_rite ?= { rite_has_doctrine = doctrine_gender_male_dominated } } }
add = 0 add = 0
} }
else_if = { else_if = {
limit = { scope:the_faith = { main_rite = { rite_has_doctrine = doctrine_gender_female_dominated } } } limit = { scope:the_faith ?= { main_rite ?= { rite_has_doctrine = doctrine_gender_female_dominated } } }
add = 100 add = 100
} }
else = { else = {
@ -3828,7 +3828,7 @@ undirected_great_holy_war = {
#Set 30 years cooldown. #Set 30 years cooldown.
hidden_effect = { hidden_effect = {
scope:attacker.faith = { scope:attacker.faith ?= {
set_variable = { set_variable = {
name = variable_ghw_cooldown name = variable_ghw_cooldown
value = yes value = yes
@ -3858,13 +3858,13 @@ undirected_great_holy_war = {
save_scope_as = war_goal_title save_scope_as = war_goal_title
} }
scope:attacker.faith = { scope:attacker.faith ?= {
change_fervor = { change_fervor = {
value = substantial_fervor_gain value = substantial_fervor_gain
desc = fervor_loss_great_holy_war desc = fervor_loss_great_holy_war
} }
} }
scope:defender.faith = { scope:defender.faith ?= {
change_fervor = { change_fervor = {
value = significant_fervor_gain value = significant_fervor_gain
desc = fervor_gain_great_holy_war desc = fervor_gain_great_holy_war
@ -3924,7 +3924,7 @@ undirected_great_holy_war = {
scope:defender = { scope:defender = {
save_scope_as = ghw_defender save_scope_as = ghw_defender
} }
scope:attacker.faith = { scope:attacker.faith ?= {
save_scope_as = the_faith save_scope_as = the_faith
} }
scope:attacker.faith.great_holy_war = { scope:attacker.faith.great_holy_war = {
@ -3932,14 +3932,14 @@ undirected_great_holy_war = {
} }
scope:attacker = { scope:attacker = {
faith = { faith ?= {
change_fervor = { change_fervor = {
value = significant_fervor_gain value = significant_fervor_gain
desc = fervor_loss_lost_great_holy_war desc = fervor_loss_lost_great_holy_war
} }
} }
} }
scope:defender.faith = { scope:defender.faith ?= {
change_fervor = { change_fervor = {
value = significant_fervor_gain value = significant_fervor_gain
desc = fervor_gain_great_holy_war desc = fervor_gain_great_holy_war
@ -4002,7 +4002,7 @@ undirected_great_holy_war = {
} }
} }
} }
scope:attacker.faith = { scope:attacker.faith ?= {
set_variable = { set_variable = {
name = variable_ghw_cooldown name = variable_ghw_cooldown
value = yes value = yes
@ -4068,7 +4068,7 @@ directed_great_holy_war = {
transfer_behavior = transfer transfer_behavior = transfer
allowed_for_character = { allowed_for_character = {
faith = { faith ?= {
exists = religious_head exists = religious_head
suitable_faith_for_directed_ghw_trigger = yes #Right Doctrines suitable_faith_for_directed_ghw_trigger = yes #Right Doctrines
OR = { OR = {
@ -4086,19 +4086,19 @@ directed_great_holy_war = {
allowed_for_character_display_regardless = { allowed_for_character_display_regardless = {
custom_description = { custom_description = {
text = great_holy_war_cooldown text = great_holy_war_cooldown
NOT = { scope:attacker.faith = { exists = var:variable_ghw_cooldown }} NOT = { scope:attacker.faith ?= { exists = var:variable_ghw_cooldown }}
} }
tgp_japan_offensive_wars_ban_trigger = yes tgp_japan_offensive_wars_ban_trigger = yes
} }
allowed_against_character = { allowed_against_character = {
scope:attacker.rite = { scope:attacker.rite ?= {
is_hostile_enough_for_holy_war_trigger = { RITE = scope:defender.rite } is_hostile_enough_for_holy_war_trigger = { RITE = scope:defender.rite }
} }
} }
valid_to_start = { valid_to_start = {
scope:attacker.faith = { scope:attacker.faith ?= {
NOR = { NOR = {
# No active GHW already. # No active GHW already.
exists = great_holy_war exists = great_holy_war
@ -4123,7 +4123,7 @@ directed_great_holy_war = {
continue = { tier > tier_county } continue = { tier > tier_county }
count >= 5 # The AI doesn't Jihad for an area of less than 5 Counties, for reference, Jerusalem is 8 Counties count >= 5 # The AI doesn't Jihad for an area of less than 5 Counties, for reference, Jerusalem is 8 Counties
tier = tier_county tier = tier_county
scope:attacker.rite = { scope:attacker.rite ?= {
is_hostile_enough_for_holy_war_trigger = { RITE = prev.holder.top_liege.rite } is_hostile_enough_for_holy_war_trigger = { RITE = prev.holder.top_liege.rite }
} }
} }
@ -4132,7 +4132,7 @@ directed_great_holy_war = {
any_in_de_jure_hierarchy = { #Any ruler in the dejure of the targeted Kingdom follows a Rite that the Caliph's Rite is hostile enough to Holy War against. any_in_de_jure_hierarchy = { #Any ruler in the dejure of the targeted Kingdom follows a Rite that the Caliph's Rite is hostile enough to Holy War against.
continue = { tier > tier_county } continue = { tier > tier_county }
tier = tier_county tier = tier_county
scope:attacker.rite = { scope:attacker.rite ?= {
is_hostile_enough_for_holy_war_trigger = { RITE = prev.holder.top_liege.rite } is_hostile_enough_for_holy_war_trigger = { RITE = prev.holder.top_liege.rite }
} }
} }
@ -4149,7 +4149,7 @@ directed_great_holy_war = {
save_scope_as = target save_scope_as = target
} }
hidden_effect = { hidden_effect = {
scope:attacker.faith = { scope:attacker.faith ?= {
start_great_holy_war = { start_great_holy_war = {
target_character = scope:defender target_character = scope:defender
target_title = scope:target target_title = scope:target
@ -4179,10 +4179,10 @@ directed_great_holy_war = {
scope:defender = { scope:defender = {
save_scope_as = ghw_defender save_scope_as = ghw_defender
} }
scope:defender.faith = { scope:defender.faith ?= {
save_scope_as = target_faith save_scope_as = target_faith
} }
scope:attacker.faith = { scope:attacker.faith ?= {
save_scope_as = the_faith save_scope_as = the_faith
} }
scope:attacker.faith.great_holy_war = { scope:attacker.faith.great_holy_war = {
@ -4214,12 +4214,12 @@ directed_great_holy_war = {
} }
trigger_event = great_holy_war.0093 #AI counterpledging. trigger_event = great_holy_war.0093 #AI counterpledging.
} }
scope:attacker.faith = { scope:attacker.faith ?= {
every_faith_holy_order = { every_faith_holy_order = {
trigger_event = great_holy_war.0090 # Military Orders always join trigger_event = great_holy_war.0090 # Military Orders always join
} }
} }
scope:defender.faith = { scope:defender.faith ?= {
every_faith_holy_order = { every_faith_holy_order = {
trigger_event = great_holy_war.0091 # Military Orders always join trigger_event = great_holy_war.0091 # Military Orders always join
} }
@ -4285,7 +4285,7 @@ directed_great_holy_war = {
scope:defender = { scope:defender = {
save_scope_as = ghw_defender save_scope_as = ghw_defender
} }
scope:attacker.faith = { scope:attacker.faith ?= {
save_scope_as = the_faith save_scope_as = the_faith
} }
scope:attacker.faith.great_holy_war = { scope:attacker.faith.great_holy_war = {
@ -4393,7 +4393,7 @@ directed_great_holy_war = {
#Set 30 years cooldown. #Set 30 years cooldown.
hidden_effect = { hidden_effect = {
scope:attacker = { scope:attacker = {
faith = { faith ?= {
set_variable = { set_variable = {
name = variable_ghw_cooldown name = variable_ghw_cooldown
value = yes value = yes
@ -4417,13 +4417,13 @@ directed_great_holy_war = {
save_scope_as = war_goal_title save_scope_as = war_goal_title
} }
scope:attacker.faith = { scope:attacker.faith ?= {
change_fervor = { change_fervor = {
value = substantial_fervor_gain value = substantial_fervor_gain
desc = fervor_loss_great_holy_war desc = fervor_loss_great_holy_war
} }
} }
scope:defender.faith = { scope:defender.faith ?= {
change_fervor = { change_fervor = {
value = significant_fervor_gain value = significant_fervor_gain
desc = fervor_gain_great_holy_war desc = fervor_gain_great_holy_war
@ -4515,7 +4515,7 @@ directed_great_holy_war = {
scope:defender = { scope:defender = {
save_scope_as = ghw_defender save_scope_as = ghw_defender
} }
scope:attacker.faith = { scope:attacker.faith ?= {
save_scope_as = the_faith save_scope_as = the_faith
} }
scope:attacker.faith.great_holy_war = { scope:attacker.faith.great_holy_war = {
@ -4551,14 +4551,14 @@ directed_great_holy_war = {
add_truce_attacker_defeat_effect = yes add_truce_attacker_defeat_effect = yes
scope:attacker = { scope:attacker = {
faith = { faith ?= {
change_fervor = { change_fervor = {
value = significant_fervor_gain value = significant_fervor_gain
desc = fervor_loss_lost_great_holy_war desc = fervor_loss_lost_great_holy_war
} }
} }
} }
scope:defender.faith = { scope:defender.faith ?= {
change_fervor = { change_fervor = {
value = significant_fervor_gain value = significant_fervor_gain
desc = fervor_gain_great_holy_war desc = fervor_gain_great_holy_war
@ -4568,7 +4568,7 @@ directed_great_holy_war = {
#Set 30 years cooldown. #Set 30 years cooldown.
hidden_effect = { hidden_effect = {
scope:attacker = { scope:attacker = {
faith = { faith ?= {
set_variable = { set_variable = {
name = variable_ghw_cooldown name = variable_ghw_cooldown
value = yes value = yes

View file

@ -0,0 +1,595 @@
tribal_subjugation_cb = {
icon = vassalization
group = subjugation
ai_only_against_neighbors = yes
attacker_score_from_occupation_scale = 150
attacker_score_from_battles_scale = 150
defender_score_from_battles_scale = 150
allowed_for_character = {
OR = {
government_has_flag = government_is_tribal
has_variable = koh_subjugation_cb_allowed # Kingdom of Heaven allows this
AND = {
OR = {
faith.religious_head = this
pam_is_antipope_trigger = yes
}
faith ?= { has_doctrine = doctrine_temporal_head }
}
faith ?= {
has_doctrine = eastern_hostility_doctrine
}
house ?= {
has_variable = subjugations_expanded
}
}
NOR = {
government_has_flag = government_is_landless_adventurer
AND = { # FP3: Renewed Caliphate houses with subjugations_expanded bypass the admin restriction
government_has_mechanic = administrative
NOT = {
house ?= {
has_variable = subjugations_expanded
}
}
}
}
}
# Root is the title
# scope:attacker is the attacker
# scope:defender is the defender
allowed_against_character_display_regardless = {
tgp_japan_offensive_wars_ban_trigger = yes
scope:attacker = {
trigger_if = {
limit = {
scope:attacker = { has_variable = koh_subjugation_cb_allowed }
}
scope:attacker.faith = scope:defender.faith
}
trigger_if = {
limit = {
faith.religion = religion:islam_religion
house ?= {
house_head = scope:attacker
has_variable = subjugations_expanded
}
scope:defender.faith.religion = religion:islam_religion
}
}
trigger_else = {
trigger_if = {
limit = {
government_has_flag = government_is_tribal
scope:defender = {
government_has_flag = government_is_tribal
}
}
trigger_if = {
limit = {
culture ?= {
has_cultural_parameter = cb_lower_prestige_level_requirement
}
}
prestige_level >= 1
}
trigger_else = {
prestige_level >= 2
}
}
trigger_else_if = {
limit = {
faith ?= { has_doctrine = doctrine_temporal_head }
OR = {
AND = {
faith.religious_head = scope:attacker
scope:defender.faith.religious_head ?= scope:attacker.faith.religious_head
}
AND = {
pam_is_antipope_trigger = yes
rite = scope:defender.rite
}
}
}
trigger_if = {
limit = {
OR = {
culture ?= {
has_cultural_parameter = cb_lower_piety_level_requirement
}
# Iberian Struggle Hostility Reward
AND = {
house ?= {
OR = {
has_house_modifier = fp2_struggle_hostility_house_faith_modifier
has_house_modifier = fp2_struggle_hostility_house_combined_modifier
}
}
}
}
}
piety_level >= 2
}
trigger_else = {
piety_level >= 3
}
}
trigger_else = {
trigger_if = {
limit = {
government_has_flag = government_is_clan
house ?= {
has_house_unity_stage = antagonistic
}
culture ?= {
has_cultural_parameter = cb_lower_prestige_level_requirement
}
}
prestige_level >= 2
}
trigger_else_if = {
limit = {
OR = {
AND = {
government_has_flag = government_is_clan
house ?= {
has_house_unity_stage = antagonistic
}
}
culture ?= {
has_cultural_parameter = cb_lower_prestige_level_requirement
}
}
}
prestige_level >= 3
}
trigger_else = {
prestige_level >= 4
}
}
custom_description = {
text = has_used_lifetime_subjugation
subject = scope:attacker
NOT = {
scope:attacker = {
has_character_flag = used_lifetime_subjugation
}
}
}
}
}
}
allowed_against_character = {
scope:attacker = {
OR = {
AND = { # Kingdom of Heaven Subjugation
has_variable = koh_subjugation_cb_allowed
faith = scope:defender.faith
}
AND = { # Tribal Subjugation
government_has_flag = government_is_tribal
scope:defender = {
government_has_flag = government_is_tribal
}
}
AND = { # Temporal Subjugation
faith ?= { has_doctrine = doctrine_temporal_head }
OR = {
AND = {
faith.religious_head = scope:attacker
scope:defender.faith.religious_head ?= scope:attacker.faith.religious_head
}
AND = {
pam_is_antipope_trigger = yes
rite = scope:defender.rite
}
}
}
AND = { # Indian Subjugation
faith ?= {
has_doctrine = eastern_hostility_doctrine
}
scope:defender.faith ?= {
has_doctrine = eastern_hostility_doctrine
}
}
AND = {
faith.religion = religion:islam_religion
house ?= {
house_head = scope:attacker
has_variable = subjugations_expanded
}
scope:defender.faith.religion = religion:islam_religion
}
}
}
scope:defender = {
top_liege = this
trigger_if = {
limit = { scope:attacker = { is_ai = no } } # Already pre-filtered by the AI due to ai_only_against_neighbors = yes. any_neighboring_top_liege_realm_owner is expensive
scope:attacker = {
any_neighboring_top_liege_realm_owner = {
this = scope:defender
}
}
}
NOR = { # Can't subjugate Military Orders or Heads of Faith
any_held_title = {
is_holy_order = yes
}
faith.religious_head ?= root
}
}
}
cost = {
prestige = tribal_subjugation_cb_prestige_cost
piety = {
value = 0
# Explicit cost when attacking HoF in addition to the impious additions
if = {
limit = {
scope:attacker.faith.religious_head = scope:attacker
scope:defender.faith = scope:attacker.faith
}
add = {
value = 1000
desc = CB_BASE_COST
}
}
add = common_cb_impious_piety_cost
multiply = common_cb_piety_cost_multiplier
# FP3: caliphal discounts.
## We have to do this here as we otherwise can't select what the war is.
if = {
limit = {
scope:attacker = {
has_title = title:d_sunni
# We scope directly to the struggle because e_arabia might not actually be _in_ the struggle.
struggle:persian_struggle ?= { has_struggle_phase_parameter = fp3_caliph_gets_cheaper_subjugation_cb }
}
}
multiply = {
value = fp3_caliph_gets_cheaper_subjugation_cb_actual_value
desc = CB_STRUGGLE_PHASE_DISCOUNT
}
}
}
}
should_invalidate = {
scope:defender = {
top_liege != this
}
}
on_declaration = {
on_declared_war = yes
scope:attacker = {
add_character_flag = used_lifetime_subjugation
}
}
on_invalidated_desc = msg_subjugation_war_invalidated_message
on_invalidated = {
scope:attacker = {
if = {
limit = {
is_alive = yes
}
remove_character_flag = used_lifetime_subjugation # If the war is invalidated, you should be permitted to try again
# Refund their investment.
add_prestige_no_experience = tribal_subjugation_cb_prestige_cost
}
}
}
on_victory_desc = {
first_valid = {
triggered_desc = {
trigger = { scope:defender.primary_title.tier < scope:attacker.primary_title.tier }
desc = {
first_valid = {
triggered_desc = {
trigger = { scope:attacker = { is_local_player = yes } }
desc = vassalization_cb_victory_desc_attacker
}
triggered_desc = {
trigger = { scope:defender = { is_local_player = yes } }
desc = vassalization_cb_victory_desc_defender
}
desc = vassalization_cb_victory_desc
}
}
}
desc = {
first_valid = {
triggered_desc = {
trigger = { scope:attacker = { is_local_player = yes } }
desc = tribal_subjugation_cb_victory_desc_equal_tier_attacker
}
triggered_desc = {
trigger = { scope:defender = { is_local_player = yes } }
desc = tribal_subjugation_cb_victory_desc_equal_tier_defender
}
desc = tribal_subjugation_cb_victory_desc_equal_tier
}
}
}
triggered_desc = {
trigger = { scope:attacker = { is_local_player = yes } }
desc = subjugation_war_warning_desc
}
}
on_victory = {
scope:attacker = { show_pow_release_message_effect = yes }
# Legitimacy
add_legitimacy_attacker_victory_effect = yes
#EP2 accolade glory gain for winning against higher ranked enemy
scope:attacker = { accolade_attacker_war_end_glory_gain_high_effect = yes }
create_title_and_vassal_change = {
type = swear_fealty
save_scope_as = change
add_claim_on_loss = no
}
if = {
limit = {
scope:defender.primary_title.tier < scope:attacker.primary_title.tier
}
scope:defender = {
change_liege = {
liege = scope:attacker
change = scope:change
}
}
}
else = {
scope:defender = {
every_held_title = {
if = {
limit = {
tier = scope:defender.primary_title.tier
}
change_title_holder = {
holder = scope:attacker
change = scope:change
}
}
else_if = {
limit = {
OR = {
NOT = { exists = scope:secondary_title }
tier > scope:secondary_title.tier
}
}
save_temporary_scope_as = secondary_title
}
}
}
scope:defender = {
if = {
limit = {
exists = scope:secondary_title
}
every_vassal = {
limit = {
primary_title.tier >= scope:secondary_title.tier
NOT = {
primary_title.tier = tier_barony
}
}
change_liege = {
liege = scope:attacker
change = scope:change
}
}
}
}
scope:defender = {
change_liege = {
liege = scope:attacker
change = scope:change
}
}
}
resolve_title_and_vassal_change = scope:change
# Prestige level progress for the attacker
scope:attacker = {
add_prestige_experience = {
value = major_prestige_value
}
}
# Prestige loss for the defender
scope:defender = {
add_prestige = {
value = major_prestige_value
multiply = -1.0
}
}
# Allies on both sides get full prestige value for helping in the war, based on their war participation.
modify_allies_of_participants_fame_values = {
WINNER = scope:attacker
FAME_BASE = major_prestige_value
IS_RELIGIOUS_WAR = no
WINNER_ALLY_FAME_SCALE = 1
LOSER_ALLY_FAME_SCALE = 1
}
# Truce
add_truce_attacker_victory_effect = yes
# FP1: note the victory for future memorialisation via stele (if applicable).
scope:attacker = { fp1_remember_recent_conquest_victory_effect = yes }
# EP3: note gold gained from military assistance/join war contracts and their war contribution threshold
laamp_as_mercenary_payout_tooltip_effect = yes
#Mandalas gain or lose piety/devotion depending on Decree
mandala_war_victory_effects = yes
}
on_white_peace_desc = {
first_valid = {
triggered_desc = {
trigger = { scope:defender = { is_local_player = yes } }
desc = tribal_subjugation_cb_white_peace_desc_defender
}
desc = tribal_subjugation_cb_white_peace_desc
}
}
on_white_peace = {
scope:attacker = { show_pow_release_message_effect = yes }
#EP2 accolade glory gain for doing ok against higher ranked enemy
scope:attacker = { accolade_attacker_war_end_glory_gain_low_effect = yes }
scope:defender = { accolade_defender_war_end_glory_gain_med_effect = yes }
# Prestige loss for the attacker
scope:attacker = {
add_prestige = {
value = medium_prestige_value
multiply = -1.0
}
stress_and_fulfillment_impact = {
ambitious = medium_stress_impact_gain
arrogant = medium_stress_impact_gain
}
}
# Allies on both sides get full prestige value for helping in the war, based on their war participation.
modify_allies_of_participants_fame_values = {
WINNER = scope:attacker # Not important as the scales are identical
FAME_BASE = medium_prestige_value
IS_RELIGIOUS_WAR = no
WINNER_ALLY_FAME_SCALE = 1
LOSER_ALLY_FAME_SCALE = 1
}
scope:defender = {
stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain
}
}
add_truce_white_peace_effect = yes
# EP3: note gold gained from military assistance/join war contracts and their war contribution threshold
laamp_as_mercenary_payout_tooltip_effect = yes
}
on_defeat_desc = {
first_valid = {
triggered_desc = {
trigger = { scope:defender = { is_local_player = yes } }
desc = tribal_subjugation_cb_white_peace_desc_defender
}
triggered_desc = {
trigger = {
scope:attacker = {
is_local_player = yes
has_targeting_faction = yes
}
}
desc = tribal_subjugation_cb_defeat_desc_attacker
}
desc = tribal_subjugation_cb_white_peace_desc
}
}
on_defeat = {
scope:attacker = { show_pow_release_message_effect = yes }
# Legitimacy
add_legitimacy_attacker_defeat_effect = yes
scope:defender = {
mandala_peacemaker_perk_serenity_effect = yes
#EP2 accolade glory gain for winning against higher ranked enemy
accolade_defender_war_end_glory_gain_high_effect = yes
# Prestige for Defender
add_prestige_war_defender_effect = {
PRESTIGE_VALUE = medium_prestige_value
}
}
# Prestige loss for the attacker
scope:attacker = {
pay_short_term_gold_reparations_effect = {
GOLD_VALUE = 3
}
add_prestige = {
value = major_prestige_value
multiply = -1.0
}
}
# Allies on both sides get full prestige value for helping in the war, based on their war participation.
modify_allies_of_participants_fame_values = {
WINNER = scope:defender
FAME_BASE = major_prestige_value
IS_RELIGIOUS_WAR = no
WINNER_ALLY_FAME_SCALE = 1
LOSER_ALLY_FAME_SCALE = 1
}
scope:attacker = {
save_temporary_scope_as = loser
}
# Truce
add_truce_attacker_defeat_effect = yes
on_lost_aggression_war_discontent_loss = yes
# EP3: note gold gained from military assistance/join war contracts and their war contribution threshold
laamp_as_mercenary_payout_tooltip_effect = yes
#Mandalas gain or lose piety/devotion depending on Decree
mandala_war_defeat_effects = yes
}
on_primary_attacker_death = inherit
on_primary_defender_death = inherit
attacker_allies_inherit = yes
defender_allies_inherit = yes
war_name = "SUBJUGATION_WAR_NAME"
war_name_base = "SUBJUGATION_WAR_NAME_BASE"
cb_name = "SUBJUGATION_CB_NAME"
interface_priority = 59
ticking_war_score_targets_entire_realm = yes
max_defender_score_from_occupation = 150
max_attacker_score_from_occupation = 150
attacker_ticking_warscore = 0
attacker_wargoal_percentage = 0.8
max_ai_diplo_distance_to_title = 500
ai_score_mult = {
value = 1
multiply = pam_peace_of_god_coreligionist_war_ai_score_value
multiply = zealous_war_on_head_of_faith_ai_score_value
add = frankokratia_leader_protection_value #Set back to 0. Declaring war on the frankokratia leader can really ruin the whole thing
}
}

View file

@ -0,0 +1,3 @@
###############################
## Blanked to Prevent Errors ##
###############################

View file

@ -56,16 +56,15 @@
# Pagan catch-all # Pagan catch-all
special_selection = { special_selection = {
trigger = { trigger = {
scope:faith.religion = { trigger_if = {
save_temporary_scope_as = religion limit = { exists = scope:faith.religion }
} scope:faith.religion = { save_temporary_scope_as = religion }
scope:religion = { is_in_family = rf_pagan } scope:religion = { is_in_family = rf_pagan }
NOR = { NOR = {
scope:religion = religion:slavic_religion scope:religion = religion:slavic_religion
scope:religion = religion:baltic_religion scope:religion = religion:baltic_religion
scope:religion = religion:finnic_religion scope:religion = religion:finnic_religion
scope:religion = religion:mediterranean_religion # scope:religion = religion:mediterranean_religion
scope:religion = religion:folk_germanic_religion scope:religion = religion:folk_germanic_religion
scope:religion = religion:zoroastrianism_religion scope:religion = religion:zoroastrianism_religion
# scope:religion = religion:tengrism_religion # scope:religion = religion:tengrism_religion
@ -78,15 +77,17 @@
# scope:religion = religion:west_african_orisha_religion # scope:religion = religion:west_african_orisha_religion
} }
} }
trigger_else = { always = no }
}
5000 = basic_charge_01 5000 = basic_charge_01
#50000 = basic_charge_02 #50000 = basic_charge_02
} }
# European Paganism - Single, Circle, Senester # European Paganism - Single, Circle, Senester
special_selection = { special_selection = {
trigger = { trigger = {
scope:faith.religion = { trigger_if = {
save_temporary_scope_as = religion limit = { exists = scope:faith.religion }
} scope:faith.religion = { save_temporary_scope_as = religion }
OR = { OR = {
scope:religion = religion:slavic_religion scope:religion = religion:slavic_religion
scope:religion = religion:baltic_religion scope:religion = religion:baltic_religion
@ -94,6 +95,8 @@
# scope:religion = religion:mediterranean_religion # scope:religion = religion:mediterranean_religion
} }
} }
trigger_else = { always = no }
}
# Weights are temps # Weights are temps
16000 = basic_pagan_template 16000 = basic_pagan_template
16000 = basic_pagan_template_inverted 16000 = basic_pagan_template_inverted
@ -111,8 +114,12 @@
# Germanic Paganism # Germanic Paganism
special_selection = { special_selection = {
trigger = { trigger = {
trigger_if = {
limit = { exists = scope:faith.religion }
scope:faith.religion = religion:folk_germanic_religion scope:faith.religion = religion:folk_germanic_religion
} }
trigger_else = { always = no }
}
5000 = basic_pagan_template 5000 = basic_pagan_template
5000 = basic_pagan_template_inverted 5000 = basic_pagan_template_inverted
2500 = basic_pagan_template_senester 2500 = basic_pagan_template_senester
@ -170,24 +177,24 @@
# Tamgha users - Circle/Roundel # Tamgha users - Circle/Roundel
special_selection = { special_selection = {
trigger = { trigger = {
scope:faith.religion = { trigger_if = {
save_temporary_scope_as = religion limit = { exists = scope:faith.religion }
} scope:faith.religion = { save_temporary_scope_as = religion }
AND = { AND = {
OR = { OR = {
# scope:faith = faith:nestorian # scope:faith = faith:nestorian
# scope:religion = religion:tengrism_religion # scope:religion = religion:tengrism_religion
scope:religion = religion:zoroastrianism_religion scope:religion = religion:zoroastrianism_religion
scope:religion = religion:mediterranean_religion # scope:religion = religion:mediterranean_religion
AND = { AND = {
scope:religion = religion:judaism_religion scope:religion = religion:judaism_religion
scope:culture = { has_coa_gfx = turkic_group_coa_gfx } scope:culture ?= { has_coa_gfx = turkic_group_coa_gfx }
} }
} }
NOT = { NOT = { government_has_flag = government_is_in_steppe }
government_has_flag = government_is_in_steppe
} }
} }
trigger_else = { always = no }
} }
5000 = basic_tamgha_template 5000 = basic_tamgha_template
5000 = basic_tamgha_template_inverted 5000 = basic_tamgha_template_inverted
@ -200,46 +207,50 @@
special_selection = { special_selection = {
trigger = { trigger = {
scope:faith.religion = { trigger_if = {
save_temporary_scope_as = religion limit = { exists = scope:faith.religion }
} scope:faith.religion = { save_temporary_scope_as = religion }
AND = { AND = {
OR = { OR = {
# scope:faith = faith:nestorian # scope:faith = faith:nestorian
# scope:religion = religion:tengrism_religion # scope:religion = religion:tengrism_religion
scope:religion = religion:zoroastrianism_religion scope:religion = religion:zoroastrianism_religion
scope:religion = religion:mediterranean_religion # scope:religion = religion:mediterranean_religion
AND = { AND = {
scope:religion = religion:judaism_religion scope:religion = religion:judaism_religion
scope:culture = { has_coa_gfx = turkic_group_coa_gfx } scope:culture ?= { has_coa_gfx = turkic_group_coa_gfx }
} }
} }
government_has_flag = government_is_nomadic government_has_flag = government_is_nomadic
} }
} }
trigger_else = { always = no }
}
5000 = triangle_tamgha_template 5000 = triangle_tamgha_template
5000 = triangle_tamgha_template_inverted 5000 = triangle_tamgha_template_inverted
} }
special_selection = { special_selection = {
trigger = { trigger = {
scope:faith.religion = { trigger_if = {
save_temporary_scope_as = religion limit = { exists = scope:faith.religion }
} scope:faith.religion = { save_temporary_scope_as = religion }
AND = { AND = {
OR = { OR = {
# scope:faith = faith:nestorian # scope:faith = faith:nestorian
# scope:religion = religion:tengrism_religion # scope:religion = religion:tengrism_religion
scope:religion = religion:zoroastrianism_religion scope:religion = religion:zoroastrianism_religion
scope:religion = religion:mediterranean_religion # scope:religion = religion:mediterranean_religion
AND = { AND = {
scope:religion = religion:judaism_religion scope:religion = religion:judaism_religion
scope:culture = { has_coa_gfx = turkic_group_coa_gfx } scope:culture ?= { has_coa_gfx = turkic_group_coa_gfx }
} }
} }
government_has_flag = government_is_herder government_has_flag = government_is_herder
} }
} }
trigger_else = { always = no }
}
5000 = basic_tamgha_herder_template 5000 = basic_tamgha_herder_template
5000 = basic_tamgha_herder_template_inverted 5000 = basic_tamgha_herder_template_inverted
@ -260,7 +271,7 @@
special_selection = { special_selection = {
trigger = { trigger = {
OR = { scope:faith.religion = religion:eastern_orthodox_religion scope:faith.religion = religion:catholic_religion scope:faith.religion = religion:protestant_religion } OR = { scope:faith.religion = religion:eastern_orthodox_religion scope:faith.religion = religion:catholic_religion scope:faith.religion = religion:protestant_religion }
scope:culture = { has_coa_gfx = western_coa_gfx } scope:culture ?= { has_coa_gfx = western_coa_gfx }
} }
# A (main = charge) # A (main = charge)
# Rougly 50% of all cases, 50% of it being from bestiary, 50% of said bestiary being lions. # Rougly 50% of all cases, 50% of it being from bestiary, 50% of said bestiary being lions.
@ -335,7 +346,7 @@
special_selection = { special_selection = {
trigger = { trigger = {
OR = { scope:faith.religion = religion:eastern_orthodox_religion scope:faith.religion = religion:catholic_religion scope:faith.religion = religion:protestant_religion } OR = { scope:faith.religion = religion:eastern_orthodox_religion scope:faith.religion = religion:catholic_religion scope:faith.religion = religion:protestant_religion }
scope:culture = { has_coa_gfx = iberian_group_coa_gfx } scope:culture ?= { has_coa_gfx = iberian_group_coa_gfx }
} }
1000 = hr_five_charges_template 1000 = hr_five_charges_template
1000 = hr_five_charges_template_inverted 1000 = hr_five_charges_template_inverted
@ -343,7 +354,7 @@
special_selection = { special_selection = {
trigger = { trigger = {
OR = { scope:faith.religion = religion:eastern_orthodox_religion scope:faith.religion = religion:catholic_religion scope:faith.religion = religion:protestant_religion } OR = { scope:faith.religion = religion:eastern_orthodox_religion scope:faith.religion = religion:catholic_religion scope:faith.religion = religion:protestant_religion }
scope:culture = { has_coa_gfx = german_group_coa_gfx } scope:culture ?= { has_coa_gfx = german_group_coa_gfx }
} }
500 = hr_single_charge_on_mount_template 500 = hr_single_charge_on_mount_template
500 = hr_single_charge_on_mount_template_inverted 500 = hr_single_charge_on_mount_template_inverted
@ -396,7 +407,7 @@
special_selection = { special_selection = {
trigger = { trigger = {
OR = { scope:faith.religion = religion:eastern_orthodox_religion scope:faith.religion = religion:catholic_religion scope:faith.religion = religion:protestant_religion } OR = { scope:faith.religion = religion:eastern_orthodox_religion scope:faith.religion = religion:catholic_religion scope:faith.religion = religion:protestant_religion }
scope:culture = { has_coa_gfx = polish_coa_gfx } scope:culture ?= { has_coa_gfx = polish_coa_gfx }
} }
2500 = hr_single_charge_template 2500 = hr_single_charge_template
2500 = hr_single_charge_template_inverted 2500 = hr_single_charge_template_inverted
@ -404,7 +415,7 @@
special_selection = { special_selection = {
trigger = { trigger = {
OR = { scope:faith.religion = religion:eastern_orthodox_religion scope:faith.religion = religion:catholic_religion scope:faith.religion = religion:protestant_religion } OR = { scope:faith.religion = religion:eastern_orthodox_religion scope:faith.religion = religion:catholic_religion scope:faith.religion = religion:protestant_religion }
scope:culture = { scope:culture ?= {
OR = { OR = {
has_coa_gfx = west_slavic_group_coa_gfx has_coa_gfx = west_slavic_group_coa_gfx
has_coa_gfx = south_slavic_group_coa_gfx has_coa_gfx = south_slavic_group_coa_gfx
@ -437,7 +448,7 @@
special_selection = { special_selection = {
trigger = { trigger = {
scope:faith.religion = religion:islam_religion scope:faith.religion = religion:islam_religion
scope:culture = { scope:culture ?= {
OR = { OR = {
has_coa_gfx = arabic_group_coa_gfx has_coa_gfx = arabic_group_coa_gfx
has_coa_gfx = berber_group_coa_gfx has_coa_gfx = berber_group_coa_gfx
@ -471,7 +482,7 @@
special_selection = { special_selection = {
trigger = { trigger = {
scope:culture = { has_coa_gfx = byzantine_group_coa_gfx } scope:culture ?= { has_coa_gfx = byzantine_group_coa_gfx }
} }
500 = byzantine_circled_single_symbol 500 = byzantine_circled_single_symbol
500 = byzantine_circled_single_symbol_inverted 500 = byzantine_circled_single_symbol_inverted
@ -493,7 +504,7 @@
special_selection = { special_selection = {
trigger = { trigger = {
scope:culture = { has_coa_gfx = japanese_coa_gfx } scope:culture ?= { has_coa_gfx = japanese_coa_gfx }
} }
### Radial Three ### Radial Three
@ -630,7 +641,7 @@
special_selection = { special_selection = {
trigger = { trigger = {
scope:culture = { has_coa_gfx = chinese_group_coa_gfx } scope:culture ?= { has_coa_gfx = chinese_group_coa_gfx }
} }
1 = chinese_seal_pictorial 1 = chinese_seal_pictorial
@ -677,7 +688,7 @@
special_selection = { special_selection = {
trigger = { trigger = {
scope:culture = { has_coa_gfx = burman_group_coa_gfx } scope:culture ?= { has_coa_gfx = burman_group_coa_gfx }
} }
1000 = khmer_central 1000 = khmer_central
1000 = khmer_central_inverted 1000 = khmer_central_inverted

View file

@ -0,0 +1,329 @@
color_lists = {
all_color_list = { # PM : basically the average of medieval frequencies in roll of arms (strong bias towards 13th c), with values cut in half
30 = "red"
12 = "blue"
1 = "green"
14 = "black"
0 = "purple"
24 = "yellow"
26 = "white"
}
normal_colors = {
30 = "red"
12 = "blue"
1 = "green"
14 = "black"
0 = "purple"
special_selection = {
trigger = {
coa_breton_trigger = yes
}
25 = "red"
13 = "blue"
5 = "black"
5 = "green"
}
special_selection = {
trigger = {
coa_byzantine_trigger = yes
}
20 = "red"
8 = "blue"
7 = "black"
9 = "green"
}
special_selection = {
trigger = {
scope:culture ?= { has_coa_gfx = latin_group_coa_gfx }
}
20 = "red"
8 = "blue"
7 = "black"
9 = "green"
}
special_selection = {
trigger = {
scope:culture ?= {
OR = {
has_coa_gfx = anglo_saxon_coa_gfx
has_coa_gfx = welsh_coa_gfx
}
}
}
20 = "red"
8 = "blue"
16 = "black"
9 = "green"
}
special_selection = {
trigger = {
coa_french_trigger = yes
}
30 = "red"
9 = "blue"
6 = "black"
2 = "green"
}
special_selection = {
trigger = {
scope:culture ?= { has_coa_gfx = occitan_coa_gfx }
}
12 = "red"
28 = "blue"
1 = "black"
3 = "green"
}
special_selection = {
trigger = { # PM : This can be split into South & North as there are stats for both
scope:culture ?= {
has_coa_gfx = german_group_coa_gfx
NOT = { has_coa_gfx = frisian_coa_gfx }
}
}
27 = "red"
10 = "blue"
18 = "black"
1 = "green"
}
special_selection = {
trigger = {
scope:culture ?= {
OR = {
has_coa_gfx = norse_coa_gfx
has_coa_gfx = norwegian_coa_gfx
has_coa_gfx = swedish_coa_gfx
has_coa_gfx = danish_coa_gfx
}
}
}
13 = "red"
22 = "blue"
11 = "black"
1 = "green"
}
special_selection = {
trigger = {
scope:culture ?= {
OR = {
has_coa_gfx = english_coa_gfx
has_coa_gfx = scottish_coa_gfx
}
}
}
26 = "red"
18 = "blue"
9 = "black"
1 = "green"
}
special_selection = {
trigger = {
scope:culture ?= { has_coa_gfx = frisian_coa_gfx }
}
31 = "red"
4 = "blue"
14 = "black"
2 = "green"
}
special_selection = {
trigger = {
scope:culture ?= { has_coa_gfx = norman_coa_gfx }
}
34 = "red"
11 = "blue"
3 = "black"
5 = "green"
}
special_selection = {
trigger = {
scope:culture ?= { has_coa_gfx = iberian_group_coa_gfx }
}
38 = "red"
3 = "blue"
20 = "black"
}
special_selection = {
trigger = {
scope:culture ?= {
OR = {
has_coa_gfx = magyar_group_coa_gfx
has_coa_gfx = west_slavic_group_coa_gfx
}
}
}
34 = "red"
8 = "blue"
13 = "black"
}
special_selection = {
trigger = {
coa_african_culture_trigger = yes
}
30 = "green"
30 = "black"
}
special_selection = {
trigger = {
coa_mena_trigger = yes
}
18 = "blue"
6 = "black"
29 = "green"
}
special_selection = {
trigger = {
coa_irish_trigger = yes
}
10 = "green"
}
special_selection = {
trigger = {
coa_leonese_trigger = yes
}
10 = "purple"
}
special_selection = {
trigger = {
coa_polish_trigger = yes
}
20 = "red"
}
special_selection = {
trigger = {
coa_indian_trigger = yes
}
1000 = "red"
1000 = "orange"
1000 = "blue"
1000 = "black"
1000 = "purple"
1000 = "green"
}
}
metal_colors = {
24 = "yellow"
26 = "white"
special_selection = {
trigger = {
coa_indian_trigger = yes
}
10 = "white"
}
special_selection = {
trigger = {
coa_polish_trigger = yes
}
5 = "white"
}
special_selection = {
trigger = {
coa_breton_trigger = yes
}
26 = "yellow"
24 = "white"
}
special_selection = {
trigger = {
scope:culture ?= { has_coa_gfx = welsh_coa_gfx }
}
16 = "yellow"
34 = "white"
}
special_selection = {
trigger = {
coa_french_trigger = yes
}
26 = "yellow"
24 = "white"
}
special_selection = {
trigger = {
scope:culture ?= { has_coa_gfx = occitan_coa_gfx }
}
31 = "yellow"
19 = "white"
}
special_selection = {
trigger = {
scope:culture ?= {
has_coa_gfx = german_group_coa_gfx
NOT = { has_coa_gfx = frisian_coa_gfx }
}
}
14 = "yellow"
29 = "white"
}
special_selection = {
trigger = {
scope:culture ?= {
OR = {
has_coa_gfx = danish_coa_gfx
has_coa_gfx = norwegian_coa_gfx
has_coa_gfx = swedish_coa_gfx
}
}
}
8 = "yellow"
40 = "white"
}
special_selection = {
trigger = {
scope:culture ?= {
OR = {
has_coa_gfx = english_coa_gfx
has_coa_gfx = scottish_coa_gfx
}
}
}
15 = "yellow"
26 = "white"
}
special_selection = {
trigger = {
scope:culture ?= { has_coa_gfx = frisian_coa_gfx }
}
20 = "yellow"
26 = "white"
}
special_selection = {
trigger = {
scope:culture ?= { has_coa_gfx = norman_coa_gfx }
}
20 = "yellow"
16 = "white"
}
special_selection = {
trigger = {
scope:culture ?= { has_coa_gfx = iberian_group_coa_gfx }
}
37 = "yellow"
8 = "white"
}
special_selection = {
trigger = {
scope:culture ?= {
OR = {
has_coa_gfx = magyar_group_coa_gfx
has_coa_gfx = west_slavic_group_coa_gfx
}
}
}
15 = "yellow"
28 = "white"
}
special_selection = {
trigger = {
coa_mena_trigger = yes
}
9 = "yellow"
40 = "white"
}
special_selection = {
trigger = {
coa_african_culture_trigger = yes
}
15 = "yellow"
}
}
}

View file

@ -1,4 +1,4 @@
colored_emblem_texture_lists = { colored_emblem_texture_lists = {
charge = { charge = {
10 = "ce_anchor.dds" 10 = "ce_anchor.dds"
@ -196,8 +196,12 @@ colored_emblem_texture_lists = {
# Christian # Christian
special_selection = { special_selection = {
trigger = { trigger = {
trigger_if = {
limit = { exists = scope:faith.religion }
OR = { scope:faith.religion = religion:eastern_orthodox_religion scope:faith.religion = religion:catholic_religion scope:faith.religion = religion:protestant_religion } OR = { scope:faith.religion = religion:eastern_orthodox_religion scope:faith.religion = religion:catholic_religion scope:faith.religion = religion:protestant_religion }
} }
trigger_else = { always = no }
}
10 = "ce_chi_rho.dds" 10 = "ce_chi_rho.dds"
1 = "ce_crown_papal.dds" 1 = "ce_crown_papal.dds"
1 = "ce_lion_saint_mark.dds" 1 = "ce_lion_saint_mark.dds"
@ -239,8 +243,12 @@ colored_emblem_texture_lists = {
# Tribal/Pagan # Tribal/Pagan
special_selection = { special_selection = {
trigger = { trigger = {
trigger_if = {
limit = { exists = scope:faith.religion }
scope:faith.religion = { is_in_family = rf_pagan } scope:faith.religion = { is_in_family = rf_pagan }
} }
trigger_else = { always = no }
}
100 = "ce_star_07.dds" 100 = "ce_star_07.dds"
100 = "ce_cross_auskelis.dds" 100 = "ce_cross_auskelis.dds"
#5000 = "ce_mongol_flame.dds" #5000 = "ce_mongol_flame.dds"
@ -349,7 +357,7 @@ colored_emblem_texture_lists = {
# Iberian cross # Iberian cross
special_selection = { special_selection = {
trigger = { trigger = {
scope:culture = { has_coa_gfx = iberian_group_coa_gfx } scope:culture ?= { has_coa_gfx = iberian_group_coa_gfx }
coa_cross_trigger = yes coa_cross_trigger = yes
} }
50 = "ce_cross_alcantara.dds" 50 = "ce_cross_alcantara.dds"
@ -376,7 +384,7 @@ colored_emblem_texture_lists = {
special_selection = { special_selection = {
trigger = { trigger = {
government_has_flag = government_is_feudal government_has_flag = government_is_feudal
culture = { culture ?= {
has_cultural_era_or_later = culture_era_late_medieval has_cultural_era_or_later = culture_era_late_medieval
} }
} }
@ -386,8 +394,12 @@ colored_emblem_texture_lists = {
# Islamic # Islamic
special_selection = { special_selection = {
trigger = { trigger = {
trigger_if = {
limit = { exists = scope:faith.religion }
scope:faith.religion = religion:islam_religion scope:faith.religion = religion:islam_religion
} }
trigger_else = { always = no }
}
50 = "ce_arabic_allah.dds" 50 = "ce_arabic_allah.dds"
50 = "ce_arabic_basmala_kufic.dds" 50 = "ce_arabic_basmala_kufic.dds"
50 = "ce_arabic_allah_kufic.dds" 50 = "ce_arabic_allah_kufic.dds"
@ -396,7 +408,11 @@ colored_emblem_texture_lists = {
# Norse # Norse
special_selection = { special_selection = {
trigger = { trigger = {
trigger_if = {
limit = { exists = scope:faith.religion }
scope:faith.religion = religion:folk_germanic_religion scope:faith.religion = religion:folk_germanic_religion
}
trigger_else = { always = no }
coa_norse_trigger = yes coa_norse_trigger = yes
} }
100 = "ce_attire.dds" 100 = "ce_attire.dds"
@ -435,7 +451,7 @@ colored_emblem_texture_lists = {
# Norse # Norse
special_selection = { special_selection = {
trigger = { trigger = {
scope:culture = { scope:culture ?= {
OR = { OR = {
has_coa_gfx = norse_coa_gfx has_coa_gfx = norse_coa_gfx
has_coa_gfx = norwegian_coa_gfx has_coa_gfx = norwegian_coa_gfx
@ -450,7 +466,7 @@ colored_emblem_texture_lists = {
# Persian # Persian
special_selection = { special_selection = {
trigger = { trigger = {
scope:culture = { has_coa_gfx = iranian_group_coa_gfx } scope:culture ?= { has_coa_gfx = iranian_group_coa_gfx }
} }
100 = "ce_lion_passant_sword.dds" 100 = "ce_lion_passant_sword.dds"
100 = "ce_simurgh.dds" 100 = "ce_simurgh.dds"
@ -896,132 +912,132 @@ colored_emblem_texture_lists = {
religion_icons = { religion_icons = {
1 = ce_star_08.dds # fallback 1 = ce_star_08.dds # fallback
special_selection = { trigger = { scope:faith = { has_icon = "akanism" } } 10000000 = "ce_religion_akanism.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "akanism" } } 10000000 = "ce_religion_akanism.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "akanism_reformed" } } 10000000 = "ce_religion_akanism.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "akanism_reformed" } } 10000000 = "ce_religion_akanism.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "ari_buddhism" } } 10000000 = "ce_religion_buddhism_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "ari_buddhism" } } 10000000 = "ce_religion_buddhism_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "armenian" } } 10000000 = "ce_religion_christianity_nestorian.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "armenian" } } 10000000 = "ce_religion_christianity_nestorian.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "ashari" } } 10000000 = "ce_religion_islam_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "ashari" } } 10000000 = "ce_religion_islam_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "azariqa" } } 10000000 = "ce_religion_islam_iibadi.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "azariqa" } } 10000000 = "ce_religion_islam_iibadi.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "baltic" } } 10000000 = "ce_religion_pagan_romuva.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "baltic" } } 10000000 = "ce_religion_pagan_romuva.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "baltic_custom" } } 10000000 = "ce_religion_pagan_romuva.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "baltic_custom" } } 10000000 = "ce_religion_pagan_romuva.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "baltic_reformed" } } 10000000 = "ce_religion_pagan_romuva.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "baltic_reformed" } } 10000000 = "ce_religion_pagan_romuva.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "bon" } } 10000000 = "ce_religion_bon.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "bon" } } 10000000 = "ce_religion_bon.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "buddhism" } } 10000000 = "ce_religion_buddhism_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "buddhism" } } 10000000 = "ce_religion_buddhism_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "buddhism_custom" } } 10000000 = "ce_religion_buddhism_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "buddhism_custom" } } 10000000 = "ce_religion_buddhism_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "catholic" } } 10000000 = "ce_religion_christianity_catholic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "catholic" } } 10000000 = "ce_religion_christianity_catholic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "catholic_custom" } } 10000000 = "ce_religion_christianity_catholic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "catholic_custom" } } 10000000 = "ce_religion_christianity_catholic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "christianity_armenian" } } 10000000 = "ce_religion_armenian.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "christianity_armenian" } } 10000000 = "ce_religion_armenian.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "christianity_bogomilist" } } 10000000 = "ce_religion_bogomilist.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "christianity_bogomilist" } } 10000000 = "ce_religion_bogomilist.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "christianity_cathar" } } 10000000 = "ce_religion_cathar.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "christianity_cathar" } } 10000000 = "ce_religion_cathar.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "christianity_iconoclasm" } } 10000000 = "ce_religion_iconoclasm.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "christianity_iconoclasm" } } 10000000 = "ce_religion_iconoclasm.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "christianity_lollard" } } 10000000 = "ce_religion_lollard.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "christianity_lollard" } } 10000000 = "ce_religion_lollard.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "christianity_messalian" } } 10000000 = "ce_religion_messalian.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "christianity_messalian" } } 10000000 = "ce_religion_messalian.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "christianity_paulicanism" } } 10000000 = "ce_religion_paulicanism.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "christianity_paulicanism" } } 10000000 = "ce_religion_paulicanism.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "christianity_waldensian" } } 10000000 = "ce_religion_waldensian.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "christianity_waldensian" } } 10000000 = "ce_religion_waldensian.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "coptic" } } 10000000 = "ce_religion_christianity_coptic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "coptic" } } 10000000 = "ce_religion_christianity_coptic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "coptic_custom" } } 10000000 = "ce_religion_christianity_coptic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "coptic_custom" } } 10000000 = "ce_religion_christianity_coptic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "custom_faith_1" } } 10000000 = "ce_religion_custom_faith_1.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "custom_faith_1" } } 10000000 = "ce_religion_custom_faith_1.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "custom_faith_2" } } 10000000 = "ce_religion_custom_faith_2.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "custom_faith_2" } } 10000000 = "ce_religion_custom_faith_2.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "custom_faith_3" } } 10000000 = "ce_religion_custom_faith_3.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "custom_faith_3" } } 10000000 = "ce_religion_custom_faith_3.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "custom_faith_4" } } 10000000 = "ce_religion_islam_ismailism.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "custom_faith_4" } } 10000000 = "ce_religion_islam_ismailism.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "custom_faith_5" } } 10000000 = "ce_religion_custom_faith_5.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "custom_faith_5" } } 10000000 = "ce_religion_custom_faith_5.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "custom_faith_6" } } 10000000 = "ce_religion_custom_faith_6.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "custom_faith_6" } } 10000000 = "ce_religion_custom_faith_6.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "custom_faith_7" } } 10000000 = "ce_religion_custom_faith_7.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "custom_faith_7" } } 10000000 = "ce_religion_custom_faith_7.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "custom_faith_8" } } 10000000 = "ce_religion_custom_faith_8.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "custom_faith_8" } } 10000000 = "ce_religion_custom_faith_8.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "custom_faith_9" } } 10000000 = "ce_religion_custom_faith_9.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "custom_faith_9" } } 10000000 = "ce_religion_custom_faith_9.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "custom_faith_10" } } 10000000 = "ce_religion_custom_faith_10.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "custom_faith_10" } } 10000000 = "ce_religion_custom_faith_10.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "default" } } 10000000 = "ce_religion_pagan_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "default" } } 10000000 = "ce_religion_pagan_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "default_custom" } } 10000000 = "ce_religion_pagan_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "default_custom" } } 10000000 = "ce_religion_pagan_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "donyipoloism" } } 10000000 = "ce_religion_pagan_zunist.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "donyipoloism" } } 10000000 = "ce_religion_pagan_zunist.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "dualism" } } 10000000 = "ce_religion_dualism.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "dualism" } } 10000000 = "ce_religion_dualism.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "ari_buddhism" } } 10000000 = "ce_religion_buddhism_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "ari_buddhism" } } 10000000 = "ce_religion_buddhism_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "finno_ugric" } } 10000000 = "ce_religion_pagan_suomenusko.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "finno_ugric" } } 10000000 = "ce_religion_pagan_suomenusko.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "finno_ugric_custom" } } 10000000 = "ce_religion_pagan_suomenusko.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "finno_ugric_custom" } } 10000000 = "ce_religion_pagan_suomenusko.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "finno_ugric_reformed" } } 10000000 = "ce_religion_pagan_suomenusko.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "finno_ugric_reformed" } } 10000000 = "ce_religion_pagan_suomenusko.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "germanic" } } 10000000 = "ce_religion_pagan_germanic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "germanic" } } 10000000 = "ce_religion_pagan_germanic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "germanic_custom" } } 10000000 = "ce_religion_pagan_germanic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "germanic_custom" } } 10000000 = "ce_religion_pagan_germanic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "germanic_reformed" } } 10000000 = "ce_religion_pagan_germanic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "germanic_reformed" } } 10000000 = "ce_religion_pagan_germanic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "ghulat" } } 10000000 = "ce_religion_islam_asharism.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "ghulat" } } 10000000 = "ce_religion_islam_asharism.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "hellenic" } } 10000000 = "ce_religion_pagan_hellenic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "hellenic" } } 10000000 = "ce_religion_pagan_hellenic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "hellenic_custom" } } 10000000 = "ce_religion_pagan_hellenic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "hellenic_custom" } } 10000000 = "ce_religion_pagan_hellenic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "hellenic_reformed" } } 10000000 = "ce_religion_pagan_hellenic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "hellenic_reformed" } } 10000000 = "ce_religion_pagan_hellenic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "hinduism" } } 10000000 = "ce_religion_hinduism_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "hinduism" } } 10000000 = "ce_religion_hinduism_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "hinduism_custom" } } 10000000 = "ce_religion_hinduism_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "hinduism_custom" } } 10000000 = "ce_religion_hinduism_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "iamaism_buddhism" } } 10000000 = "ce_religion_buddhism_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "iamaism_buddhism" } } 10000000 = "ce_religion_buddhism_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "ibadi" } } 10000000 = "ce_religion_islam_iibadi.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "ibadi" } } 10000000 = "ce_religion_islam_iibadi.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "ibadi_custom" } } 10000000 = "ce_religion_islam_asharism.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "ibadi_custom" } } 10000000 = "ce_religion_islam_asharism.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "icon_religion_catholicism" } } 10000000 = "ce_religion_christianity_catholic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "icon_religion_catholicism" } } 10000000 = "ce_religion_christianity_catholic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "imami" } } 10000000 = "ce_religion_islam_asharism.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "imami" } } 10000000 = "ce_religion_islam_asharism.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "islam_druze" } } 10000000 = "ce_religion_druze.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "islam_druze" } } 10000000 = "ce_religion_druze.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "jainism" } } 10000000 = "ce_religion_jain_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "jainism" } } 10000000 = "ce_religion_jain_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "jainism_custom" } } 10000000 = "ce_religion_jain_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "jainism_custom" } } 10000000 = "ce_religion_jain_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "judaism" } } 10000000 = "ce_religion_judaism_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "judaism" } } 10000000 = "ce_religion_judaism_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "judaism_custom" } } 10000000 = "ce_religion_judaism_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "judaism_custom" } } 10000000 = "ce_religion_judaism_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "kushism" } } 10000000 = "ce_religion_kushism.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "kushism" } } 10000000 = "ce_religion_kushism.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "kushism_reformed" } } 10000000 = "ce_religion_kushism.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "kushism_reformed" } } 10000000 = "ce_religion_kushism.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "lamaism_buddhism" } } 10000000 = "ce_religion_buddhism_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "lamaism_buddhism" } } 10000000 = "ce_religion_buddhism_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "manichean" } } 10000000 = "ce_religion_manichean.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "manichean" } } 10000000 = "ce_religion_manichean.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "masmudi" } } 10000000 = "ce_religion_islam_iibadi.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "masmudi" } } 10000000 = "ce_religion_islam_iibadi.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "maturidi" } } 10000000 = "ce_religion_islam_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "maturidi" } } 10000000 = "ce_religion_islam_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "melieism" } } 10000000 = "ce_religion_melieism.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "melieism" } } 10000000 = "ce_religion_melieism.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "miaphysite" } } 10000000 = "ce_religion_christianity_coptic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "miaphysite" } } 10000000 = "ce_religion_christianity_coptic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "muhakkima" } } 10000000 = "ce_religion_islam_iibadi.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "muhakkima" } } 10000000 = "ce_religion_islam_iibadi.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "muhakkima_1" } } 10000000 = "ce_religion_islam_iibadi.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "muhakkima_1" } } 10000000 = "ce_religion_islam_iibadi.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "muhakkima_2" } } 10000000 = "ce_religion_islam_iibadi.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "muhakkima_2" } } 10000000 = "ce_religion_islam_iibadi.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "muhakkima_3" } } 10000000 = "ce_religion_islam_iibadi.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "muhakkima_3" } } 10000000 = "ce_religion_islam_iibadi.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "muhakkima_4" } } 10000000 = "ce_religion_islam_iibadi.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "muhakkima_4" } } 10000000 = "ce_religion_islam_iibadi.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "muhakkima_5" } } 10000000 = "ce_religion_islam_iibadi.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "muhakkima_5" } } 10000000 = "ce_religion_islam_iibadi.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "muhakkima_6" } } 10000000 = "ce_religion_islam_iibadi.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "muhakkima_6" } } 10000000 = "ce_religion_islam_iibadi.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "mutazila" } } 10000000 = "ce_religion_islam_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "mutazila" } } 10000000 = "ce_religion_islam_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "muwalladi" } } 10000000 = "ce_religion_islam_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "muwalladi" } } 10000000 = "ce_religion_islam_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "nadjat" } } 10000000 = "ce_religion_islam_iibadi.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "nadjat" } } 10000000 = "ce_religion_islam_iibadi.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "nestorian" } } 10000000 = "ce_religion_christianity_nestorian.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "nestorian" } } 10000000 = "ce_religion_christianity_nestorian.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "nestorian_custom" } } 10000000 = "ce_religion_christianity_nestorian.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "nestorian_custom" } } 10000000 = "ce_religion_christianity_nestorian.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "orthodox" } } 10000000 = "ce_religion_christianity_orthodox.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "orthodox" } } 10000000 = "ce_religion_christianity_orthodox.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "orthodox_custom" } } 10000000 = "ce_religion_christianity_orthodox.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "orthodox_custom" } } 10000000 = "ce_religion_christianity_orthodox.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "pagan" } } 10000000 = "ce_religion_pagan_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "pagan" } } 10000000 = "ce_religion_pagan_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "pagan_default" } } 10000000 = "ce_religion_pagan_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "pagan_default" } } 10000000 = "ce_religion_pagan_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "pagan_magyar" } } 10000000 = "ce_religion_magyar.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "pagan_magyar" } } 10000000 = "ce_religion_magyar.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "pagan_reformed" } } 10000000 = "ce_religion_pagan_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "pagan_reformed" } } 10000000 = "ce_religion_pagan_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "quranism" } } 10000000 = "ce_religion_islam_iibadi.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "quranism" } } 10000000 = "ce_religion_islam_iibadi.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "rrmeaism" } } 10000000 = "ce_religion_rrmeaism.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "rrmeaism" } } 10000000 = "ce_religion_rrmeaism.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "sedism" } } 10000000 = "ce_religion_sedism.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "sedism" } } 10000000 = "ce_religion_sedism.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "shia" } } 10000000 = "ce_religion_islam_asharism.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "shia" } } 10000000 = "ce_religion_islam_asharism.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "shia_custom" } } 10000000 = "ce_religion_islam_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "shia_custom" } } 10000000 = "ce_religion_islam_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "slavic" } } 10000000 = "ce_religion_pagan_slavic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "slavic" } } 10000000 = "ce_religion_pagan_slavic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "slavic_custom" } } 10000000 = "ce_religion_pagan_slavic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "slavic_custom" } } 10000000 = "ce_religion_pagan_slavic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "slavic_reformed" } } 10000000 = "ce_religion_pagan_slavic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "slavic_reformed" } } 10000000 = "ce_religion_pagan_slavic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "spirit_bon" } } 10000000 = "ce_religion_bon.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "spirit_bon" } } 10000000 = "ce_religion_bon.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "sufri" } } 10000000 = "ce_religion_islam_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "sufri" } } 10000000 = "ce_religion_islam_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "sunni" } } 10000000 = "ce_religion_islam_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "sunni" } } 10000000 = "ce_religion_islam_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "sunni_custom" } } 10000000 = "ce_religion_islam_generic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "sunni_custom" } } 10000000 = "ce_religion_islam_generic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "taoism" } } 10000000 = "ce_religion_taoism.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "taoism" } } 10000000 = "ce_religion_taoism.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "tengri" } } 10000000 = "ce_religion_pagan_tengri.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "tengri" } } 10000000 = "ce_religion_pagan_tengri.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "tengri_custom" } } 10000000 = "ce_religion_pagan_tengri.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "tengri_custom" } } 10000000 = "ce_religion_pagan_tengri.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "tengri_reformed" } } 10000000 = "ce_religion_pagan_tengri.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "tengri_reformed" } } 10000000 = "ce_religion_pagan_tengri.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "unselected" } } 10000000 = "ce_religion_christianity_catholic.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "unselected" } } 10000000 = "ce_religion_christianity_catholic.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "mande" } } 10000000 = "ce_religion_vodun.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "mande" } } 10000000 = "ce_religion_vodun.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "waaqism" } } 10000000 = "ce_religion_waaqism.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "waaqism" } } 10000000 = "ce_religion_waaqism.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "waaqism_reformed" } } 10000000 = "ce_religion_waaqism.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "waaqism_reformed" } } 10000000 = "ce_religion_waaqism.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "west_african" } } 10000000 = "ce_religion_pagan_westafrican.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "west_african" } } 10000000 = "ce_religion_pagan_westafrican.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "west_african_bori" } } 10000000 = "ce_religion_west_african_bori.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "west_african_bori" } } 10000000 = "ce_religion_west_african_bori.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "west_african_bori_reformed" } } 10000000 = "ce_religion_west_african_bori.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "west_african_bori_reformed" } } 10000000 = "ce_religion_west_african_bori.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "west_african_custom" } } 10000000 = "ce_religion_pagan_westafrican.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "west_african_custom" } } 10000000 = "ce_religion_pagan_westafrican.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "west_african_dogon" } } 10000000 = "ce_religion_west_african_bori.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "west_african_dogon" } } 10000000 = "ce_religion_west_african_bori.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "west_african_reformed" } } 10000000 = "ce_religion_pagan_westafrican.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "west_african_reformed" } } 10000000 = "ce_religion_pagan_westafrican.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "west_african_roog_sene" } } 10000000 = "ce_religion_african_roog_sene.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "west_african_roog_sene" } } 10000000 = "ce_religion_african_roog_sene.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "west_african_roog_sene_reformed" } } 10000000 = "ce_religion_african_roog_sene.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "west_african_roog_sene_reformed" } } 10000000 = "ce_religion_african_roog_sene.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "yazidism" } } 10000000 = "ce_religion_yazidism.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "yazidism" } } 10000000 = "ce_religion_yazidism.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "yoruba" } } 10000000 = "ce_religion_yoruba.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "yoruba" } } 10000000 = "ce_religion_yoruba.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "zoroastrian" } } 10000000 = "ce_religion_zoroastrianism_generic_faravahar.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "zoroastrian" } } 10000000 = "ce_religion_zoroastrianism_generic_faravahar.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "zoroastrian_custom" } } 10000000 = "ce_religion_zoroastrianism_generic_faravahar.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "zoroastrian_custom" } } 10000000 = "ce_religion_zoroastrianism_generic_faravahar.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "zunist" } } 10000000 = "ce_religion_pagan_zunist.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "zunist" } } 10000000 = "ce_religion_pagan_zunist.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "zunist_custom" } } 10000000 = "ce_religion_pagan_zunist.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "zunist_custom" } } 10000000 = "ce_religion_pagan_zunist.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "zunist_reformed" } } 10000000 = "ce_religion_pagan_zunist.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "zunist_reformed" } } 10000000 = "ce_religion_pagan_zunist.dds" }
special_selection = { trigger = { scope:faith = { main_rite = { rite_has_doctrine = muhammad_succession_sunni_doctrine } } } 50000 = "ce_religion_islam_generic.dds" } special_selection = { trigger = { scope:faith ?= { main_rite ?= { rite_has_doctrine = muhammad_succession_sunni_doctrine } } } 50000 = "ce_religion_islam_generic.dds" }
special_selection = { trigger = { scope:faith = { main_rite = { rite_has_doctrine = muhammad_succession_shia_doctrine } } } 50000 = "ce_religion_islam_asharism.dds" } special_selection = { trigger = { scope:faith ?= { main_rite ?= { rite_has_doctrine = muhammad_succession_shia_doctrine } } } 50000 = "ce_religion_islam_asharism.dds" }
special_selection = { trigger = { scope:faith = { main_rite = { rite_has_doctrine = muhammad_succession_muhakkima_doctrine } } } 50000 = "ce_religion_islam_iibadi.dds" } special_selection = { trigger = { scope:faith ?= { main_rite ?= { rite_has_doctrine = muhammad_succession_muhakkima_doctrine } } } 50000 = "ce_religion_islam_iibadi.dds" }
} }
# Symbol pools for the religious_title generator (dynamic holy orders & head of faith titles), one per religion family # Symbol pools for the religious_title generator (dynamic holy orders & head of faith titles), one per religion family
@ -1048,20 +1064,20 @@ colored_emblem_texture_lists = {
100 = "ce_cross_potent.dds" 100 = "ce_cross_potent.dds"
100 = "ce_crosslet_fitchy.dds" 100 = "ce_crosslet_fitchy.dds"
special_selection = { trigger = { scope:faith = { has_icon = "christian_faith" } } 100 = "ce_religion_christianity_generic.dds" 100 = "ce_chi_rho.dds" 100 = "ce_cross_greek.dds" 100 = "ce_keys_crossed.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "christian_faith" } } 100 = "ce_religion_christianity_generic.dds" 100 = "ce_chi_rho.dds" 100 = "ce_cross_greek.dds" 100 = "ce_keys_crossed.dds" }
special_selection = { trigger = { scope:faith = { OR = { has_icon = "catholic" has_icon = "catholic_custom" has_icon = "icon_religion_catholicism" } } } 100 = "ce_religion_christianity_catholic.dds" 100 = "ce_keys_crossed.dds" } special_selection = { trigger = { scope:faith ?= { OR = { has_icon = "catholic" has_icon = "catholic_custom" has_icon = "icon_religion_catholicism" } } } 100 = "ce_religion_christianity_catholic.dds" 100 = "ce_keys_crossed.dds" }
special_selection = { trigger = { scope:faith = { OR = { has_icon = "orthodox" has_icon = "orthodox_custom" } } } 100 = "ce_religion_christianity_orthodox.dds" 100 = "ce_cross_patriarchal.dds" 100 = "ce_chi_rho.dds" 100 = "ce_cross_greek.dds" } special_selection = { trigger = { scope:faith ?= { OR = { has_icon = "orthodox" has_icon = "orthodox_custom" } } } 100 = "ce_religion_christianity_orthodox.dds" 100 = "ce_cross_patriarchal.dds" 100 = "ce_chi_rho.dds" 100 = "ce_cross_greek.dds" }
special_selection = { trigger = { scope:faith = { OR = { has_icon = "miaphysite" has_icon = "coptic" has_icon = "coptic_custom" } } } 100 = "ce_religion_christianity_coptic.dds" 100 = "ce_cross_coptic.dds" } special_selection = { trigger = { scope:faith ?= { OR = { has_icon = "miaphysite" has_icon = "coptic" has_icon = "coptic_custom" } } } 100 = "ce_religion_christianity_coptic.dds" 100 = "ce_cross_coptic.dds" }
special_selection = { trigger = { scope:faith = { OR = { has_icon = "nestorian" has_icon = "nestorian_custom" } } } 100 = "ce_religion_christianity_nestorian.dds" 100 = "ce_nestorian_cross.dds" 100 = "ce_nestorian_cross_birds.dds" 100 = "ce_nestorian_cross_lotus.dds" } special_selection = { trigger = { scope:faith ?= { OR = { has_icon = "nestorian" has_icon = "nestorian_custom" } } } 100 = "ce_religion_christianity_nestorian.dds" 100 = "ce_nestorian_cross.dds" 100 = "ce_nestorian_cross_birds.dds" 100 = "ce_nestorian_cross_lotus.dds" }
special_selection = { trigger = { scope:faith = { OR = { has_icon = "armenian" has_icon = "christianity_armenian" } } } 100 = "ce_religion_armenian.dds" 100 = "ce_cross_armenian.dds" } special_selection = { trigger = { scope:faith ?= { OR = { has_icon = "armenian" has_icon = "christianity_armenian" } } } 100 = "ce_religion_armenian.dds" 100 = "ce_cross_armenian.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "christianity_cathar" } } 100 = "ce_religion_cathar.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "christianity_cathar" } } 100 = "ce_religion_cathar.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "christianity_waldensian" } } 100 = "ce_religion_waldensian.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "christianity_waldensian" } } 100 = "ce_religion_waldensian.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "christianity_lollard" } } 100 = "ce_religion_lollard.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "christianity_lollard" } } 100 = "ce_religion_lollard.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "christianity_iconoclasm" } } 100 = "ce_religion_iconoclasm.dds" 100 = "ce_cross_greek.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "christianity_iconoclasm" } } 100 = "ce_religion_iconoclasm.dds" 100 = "ce_cross_greek.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "christianity_bogomilist" } } 100 = "ce_religion_bogomilist.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "christianity_bogomilist" } } 100 = "ce_religion_bogomilist.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "christianity_paulicanism" } } 100 = "ce_religion_paulicanism.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "christianity_paulicanism" } } 100 = "ce_religion_paulicanism.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "christianity_messalian" } } 100 = "ce_religion_messalian.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "christianity_messalian" } } 100 = "ce_religion_messalian.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "christianity_chalice_01" } } 100 = "ce_chalice_01.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "christianity_chalice_01" } } 100 = "ce_chalice_01.dds" }
} }
# Figurative charges have baked white detail, so they are only used by colored-field templates # Figurative charges have baked white detail, so they are only used by colored-field templates
@ -1084,10 +1100,10 @@ colored_emblem_texture_lists = {
100 = "ce_mena_sun.dds" 100 = "ce_mena_sun.dds"
100 = "ce_star_08.dds" 100 = "ce_star_08.dds"
special_selection = { trigger = { scope:faith = { main_rite = { rite_has_doctrine = muhammad_succession_sunni_doctrine } } } 100 = "ce_religion_islam_generic.dds" } special_selection = { trigger = { scope:faith ?= { main_rite ?= { rite_has_doctrine = muhammad_succession_sunni_doctrine } } } 100 = "ce_religion_islam_generic.dds" }
special_selection = { trigger = { scope:faith = { main_rite = { rite_has_doctrine = muhammad_succession_shia_doctrine } } } 100 = "ce_religion_islam_asharism.dds" } special_selection = { trigger = { scope:faith ?= { main_rite ?= { rite_has_doctrine = muhammad_succession_shia_doctrine } } } 100 = "ce_religion_islam_asharism.dds" }
special_selection = { trigger = { scope:faith = { main_rite = { rite_has_doctrine = muhammad_succession_muhakkima_doctrine } } } 100 = "ce_religion_islam_iibadi.dds" 100 = "ce_star_ibadi.dds" } special_selection = { trigger = { scope:faith ?= { main_rite ?= { rite_has_doctrine = muhammad_succession_muhakkima_doctrine } } } 100 = "ce_religion_islam_iibadi.dds" 100 = "ce_star_ibadi.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "islam_druze" } } 100 = "ce_religion_druze.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "islam_druze" } } 100 = "ce_religion_druze.dds" }
} }
dharmic_religious_icons = { dharmic_religious_icons = {
@ -1217,7 +1233,7 @@ colored_emblem_texture_lists = {
special_selection = { trigger = { scope:faith.religion = religion:zoroastrianism_religion } 100 = "ce_religion_zoroastrianism_generic_faravahar.dds" 100 = "ce_zoroastrian_fire_altar.dds" } special_selection = { trigger = { scope:faith.religion = religion:zoroastrianism_religion } 100 = "ce_religion_zoroastrianism_generic_faravahar.dds" 100 = "ce_zoroastrian_fire_altar.dds" }
special_selection = { trigger = { scope:faith.religion = religion:yazidi_religion } 100 = "ce_religion_yazidism.dds" 100 = "ce_peacock_01.dds" } special_selection = { trigger = { scope:faith.religion = religion:yazidi_religion } 100 = "ce_religion_yazidism.dds" 100 = "ce_peacock_01.dds" }
special_selection = { trigger = { scope:faith.religion = religion:dualism_religion } 100 = "ce_religion_dualism.dds" } special_selection = { trigger = { scope:faith.religion = religion:dualism_religion } 100 = "ce_religion_dualism.dds" }
special_selection = { trigger = { scope:faith = { has_icon = "manichean" } } 100 = "ce_religion_manichean.dds" } special_selection = { trigger = { scope:faith ?= { has_icon = "manichean" } } 100 = "ce_religion_manichean.dds" }
} }
african_religious_icons = { african_religious_icons = {
@ -1385,7 +1401,7 @@ colored_emblem_texture_lists = {
special_selection = { special_selection = {
trigger = { trigger = {
scope:culture = { has_coa_gfx = sami_coa_gfx } scope:culture ?= { has_coa_gfx = sami_coa_gfx }
} }
1000 = "ce_suomenusko_sun.dds" 1000 = "ce_suomenusko_sun.dds"
1000 = "ce_suomenusko_sun_02.dds" 1000 = "ce_suomenusko_sun_02.dds"
@ -1508,7 +1524,7 @@ colored_emblem_texture_lists = {
} }
special_selection = { special_selection = {
trigger = { trigger = {
scope:culture = { has_coa_gfx = magyar_group_coa_gfx } scope:culture ?= { has_coa_gfx = magyar_group_coa_gfx }
} }
1500 = "ce_stripes_horizontal_15.dds" 1500 = "ce_stripes_horizontal_15.dds"
1000 = "ce_pily_barry.dds" 1000 = "ce_pily_barry.dds"
@ -1767,7 +1783,7 @@ colored_emblem_texture_lists = {
special_selection = { # Mongols special_selection = { # Mongols
trigger = { trigger = {
scope:culture = { has_coa_gfx = mongol_coa_gfx } scope:culture ?= { has_coa_gfx = mongol_coa_gfx }
} }
1000 = "ce_tamgha_mongol_mengu_timur.dds" 1000 = "ce_tamgha_mongol_mengu_timur.dds"
1000 = "ce_tamgha_mongol_kaidu.dds" 1000 = "ce_tamgha_mongol_kaidu.dds"
@ -1868,7 +1884,7 @@ colored_emblem_texture_lists = {
special_selection = { # Jewish Khazars special_selection = { # Jewish Khazars
trigger = { trigger = {
scope:faith.religion = religion:judaism_religion scope:faith.religion = religion:judaism_religion
scope:culture = { has_coa_gfx = turkic_group_coa_gfx } scope:culture ?= { has_coa_gfx = turkic_group_coa_gfx }
} }
10000 = "ce_tamgha_khazar.dds" 10000 = "ce_tamgha_khazar.dds"
10000 = "ce_tamgha_sarkel_01.dds" 10000 = "ce_tamgha_sarkel_01.dds"
@ -2079,7 +2095,7 @@ colored_emblem_texture_lists = {
special_selection = { special_selection = {
trigger = { trigger = {
scope:culture = { has_coa_gfx = polish_coa_gfx } scope:culture ?= { has_coa_gfx = polish_coa_gfx }
} }
30 = "ce_griffin_rampant.dds" 30 = "ce_griffin_rampant.dds"
30 = "ce_stag.dds" 30 = "ce_stag.dds"
@ -2828,7 +2844,7 @@ colored_emblem_texture_lists = {
10 = "ce_cross_couped.dds" 10 = "ce_cross_couped.dds"
special_selection = { special_selection = {
trigger = { trigger = {
scope:culture = { has_coa_gfx = byzantine_group_coa_gfx } scope:culture ?= { has_coa_gfx = byzantine_group_coa_gfx }
} }
50 = "ce_star_06.dds" 50 = "ce_star_06.dds"
25 = "ce_star_05.dds" 25 = "ce_star_05.dds"
@ -2907,7 +2923,7 @@ colored_emblem_texture_lists = {
special_selection = { special_selection = {
trigger = { trigger = {
scope:culture = { has_coa_gfx = indo_aryan_group_coa_gfx } scope:culture ?= { has_coa_gfx = indo_aryan_group_coa_gfx }
} }
50 = "ce_elephant.dds" 50 = "ce_elephant.dds"
} }
@ -3056,7 +3072,7 @@ colored_emblem_texture_lists = {
100 = "ce_points_12.dds" 100 = "ce_points_12.dds"
special_selection = { special_selection = {
trigger = { trigger = {
scope:culture = { scope:culture ?= {
OR = { OR = {
has_coa_gfx = arabic_group_coa_gfx has_coa_gfx = arabic_group_coa_gfx
has_coa_gfx = berber_group_coa_gfx has_coa_gfx = berber_group_coa_gfx

View file

@ -1,4 +1,4 @@
pattern_texture_lists = { pattern_texture_lists = {
most_emblems_list = { most_emblems_list = {
25 = "pattern_checkers_01.dds" 25 = "pattern_checkers_01.dds"
15 = "pattern_checkers_diagonal_01.dds" 15 = "pattern_checkers_diagonal_01.dds"
@ -61,7 +61,7 @@ pattern_texture_lists = {
20 = "pattern_horizontal_split_01.dds" 20 = "pattern_horizontal_split_01.dds"
special_selection = { special_selection = {
trigger = { trigger = {
scope:culture = { has_coa_gfx = norse_coa_gfx } scope:culture ?= { has_coa_gfx = norse_coa_gfx }
} }
40 = "pattern_diagonal_split_01.dds" 40 = "pattern_diagonal_split_01.dds"
} }

View file

@ -394,7 +394,7 @@
} }
} }
} }
faith = { faith ?= {
trigger = { trigger = {
NOT = { has_trait = cynical } NOT = { has_trait = cynical }
} }
@ -1021,9 +1021,7 @@ adjective_immaterial = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -1041,9 +1039,7 @@ adjective_immaterial = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -1061,9 +1057,7 @@ adjective_immaterial = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -1081,9 +1075,7 @@ adjective_immaterial = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -1101,9 +1093,7 @@ adjective_immaterial = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -1121,9 +1111,7 @@ adjective_immaterial = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -1141,9 +1129,7 @@ adjective_immaterial = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -1161,9 +1147,7 @@ adjective_immaterial = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -1311,9 +1295,7 @@ adjective_immaterial = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 1.25 multiply = 1.25
} }
@ -1338,9 +1320,7 @@ adjective_immaterial = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -1406,9 +1386,7 @@ adjective_immaterial = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -1426,9 +1404,7 @@ adjective_immaterial = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -1436,9 +1412,7 @@ adjective_immaterial = {
} }
calm = { calm = {
trigger = { trigger = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
weight = { weight = {
value = 1250 value = 1250
@ -1593,9 +1567,7 @@ the_adjective_immaterial = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -1613,9 +1585,7 @@ the_adjective_immaterial = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -1633,9 +1603,7 @@ the_adjective_immaterial = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -1653,9 +1621,7 @@ the_adjective_immaterial = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -1673,9 +1639,7 @@ the_adjective_immaterial = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -1693,9 +1657,7 @@ the_adjective_immaterial = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -1713,9 +1675,7 @@ the_adjective_immaterial = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -1733,9 +1693,7 @@ the_adjective_immaterial = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -1883,9 +1841,7 @@ the_adjective_immaterial = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 1.25 multiply = 1.25
} }
@ -1982,9 +1938,7 @@ the_adjective_immaterial = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -1992,9 +1946,7 @@ the_adjective_immaterial = {
} }
the_calm = { the_calm = {
trigger = { trigger = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
weight = { weight = {
value = 1250 value = 1250
@ -2174,9 +2126,7 @@ adjective_immaterial_a_or_an = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -2194,9 +2144,7 @@ adjective_immaterial_a_or_an = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -2214,9 +2162,7 @@ adjective_immaterial_a_or_an = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -2234,9 +2180,7 @@ adjective_immaterial_a_or_an = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -2254,9 +2198,7 @@ adjective_immaterial_a_or_an = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -2274,9 +2216,7 @@ adjective_immaterial_a_or_an = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -2424,9 +2364,7 @@ adjective_immaterial_a_or_an = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 1.25 multiply = 1.25
} }
@ -2523,9 +2461,7 @@ adjective_immaterial_a_or_an = {
} }
if = { if = {
limit = { limit = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
multiply = 0.1 multiply = 0.1
} }
@ -2533,9 +2469,7 @@ adjective_immaterial_a_or_an = {
} }
a_calm = { a_calm = {
trigger = { trigger = {
faith = { neow_faith_is_eastern_trigger = yes
religion = { is_in_family = rf_eastern }
}
} }
weight = { weight = {
value = 1250 value = 1250
@ -2837,9 +2771,15 @@ weapon = {
value = 3000 value = 3000
if = { if = {
limit = { limit = {
AND = {
exists = culture
trigger_if = {
limit = { exists = culture }
OR = { OR = {
culture = { has_cultural_pillar = heritage_mongolic } culture ?= { has_cultural_pillar = heritage_mongolic }
culture = { has_cultural_pillar = heritage_turkic } culture ?= { has_cultural_pillar = heritage_turkic }
}
}
} }
} }
multiply = 5 multiply = 5
@ -2909,11 +2849,15 @@ the_weapon = {
value = 3000 value = 3000
if = { if = {
limit = { limit = {
trigger_if = {
limit = { exists = culture }
OR = { OR = {
culture = { has_cultural_pillar = heritage_mongolic } culture ?= { has_cultural_pillar = heritage_mongolic }
culture = { has_cultural_pillar = heritage_turkic } culture ?= { has_cultural_pillar = heritage_turkic }
} }
} }
trigger_else = { always = no }
}
multiply = 5 multiply = 5
} }
} }
@ -2961,17 +2905,21 @@ creature = {
} }
unicorn = { unicorn = {
trigger = { trigger = {
trigger_if = {
limit = { exists = culture }
NOR = { NOR = {
culture = { has_cultural_pillar = heritage_west_african } culture ?= { has_cultural_pillar = heritage_west_african }
culture = { has_cultural_pillar = heritage_central_african } culture ?= { has_cultural_pillar = heritage_central_african }
culture = { has_cultural_pillar = heritage_sahelian } culture ?= { has_cultural_pillar = heritage_sahelian }
culture = { has_cultural_pillar = heritage_senegambian } culture ?= { has_cultural_pillar = heritage_senegambian }
culture = { has_cultural_pillar = heritage_akan } culture ?= { has_cultural_pillar = heritage_akan }
culture = { has_cultural_pillar = heritage_yoruba } culture ?= { has_cultural_pillar = heritage_yoruba }
culture = { has_cultural_pillar = heritage_dravidian } culture ?= { has_cultural_pillar = heritage_dravidian }
culture = { has_cultural_pillar = heritage_indo_aryan } culture ?= { has_cultural_pillar = heritage_indo_aryan }
} }
} }
trigger_else = { always = no }
}
} }
dragon = { dragon = {
} }
@ -2988,28 +2936,38 @@ creature = {
} }
tiger = { tiger = {
trigger = { trigger = {
trigger_if = {
limit = { exists = culture }
OR = { OR = {
culture = { has_cultural_pillar = heritage_dravidian } culture ?= { has_cultural_pillar = heritage_dravidian }
culture = { has_cultural_pillar = heritage_indo_aryan } culture ?= { has_cultural_pillar = heritage_indo_aryan }
} }
} }
trigger_else = { always = no }
}
} }
elephant = { elephant = {
trigger = { trigger = {
trigger_if = {
limit = { exists = culture }
OR = { OR = {
culture = { has_cultural_pillar = heritage_dravidian } culture ?= { has_cultural_pillar = heritage_dravidian }
culture = { has_cultural_pillar = heritage_indo_aryan } culture ?= { has_cultural_pillar = heritage_indo_aryan }
culture = { has_cultural_pillar = heritage_sahelian } culture ?= { has_cultural_pillar = heritage_sahelian }
} }
} }
trigger_else = { always = no }
}
} }
hound = { hound = {
trigger = { trigger = {
faith = { trigger_if = {
NOT = { limit = { exists = faith }
religion_tag = islam_religion faith ?= {
NOT = { religion_tag = islam_religion }
} }
} }
trigger_else = { always = no }
} }
} }
horse = { horse = {
@ -3017,50 +2975,66 @@ creature = {
value = 1000 value = 1000
if = { if = {
limit = { limit = {
trigger_if = {
limit = { exists = culture }
OR = { OR = {
culture = { has_cultural_pillar = heritage_mongolic } culture ?= { has_cultural_pillar = heritage_mongolic }
culture = { has_cultural_pillar = heritage_turkic } culture ?= { has_cultural_pillar = heritage_turkic }
} }
} }
trigger_else = { always = no }
}
multiply = 5 multiply = 5
} }
} }
} }
leopard = { leopard = {
trigger = { trigger = {
trigger_if = {
limit = { exists = culture }
OR = { OR = {
culture = { has_cultural_pillar = heritage_west_african } culture ?= { has_cultural_pillar = heritage_west_african }
culture = { has_cultural_pillar = heritage_sahelian } culture ?= { has_cultural_pillar = heritage_sahelian }
culture = { has_cultural_pillar = heritage_senegambian } culture ?= { has_cultural_pillar = heritage_senegambian }
culture = { has_cultural_pillar = heritage_central_african } culture ?= { has_cultural_pillar = heritage_central_african }
} }
} }
trigger_else = { always = no }
}
} }
gazelle = { gazelle = {
trigger = { trigger = {
trigger_if = {
limit = { exists = culture }
OR = { OR = {
culture = { has_cultural_pillar = heritage_west_african } culture ?= { has_cultural_pillar = heritage_west_african }
culture = { has_cultural_pillar = heritage_sahelian } culture ?= { has_cultural_pillar = heritage_sahelian }
culture = { has_cultural_pillar = heritage_senegambian } culture ?= { has_cultural_pillar = heritage_senegambian }
culture = { has_cultural_pillar = heritage_central_african } culture ?= { has_cultural_pillar = heritage_central_african }
} }
} }
trigger_else = { always = no }
}
} }
hippopotamus = { hippopotamus = {
trigger = { trigger = {
trigger_if = {
limit = { exists = culture }
OR = { OR = {
culture = { has_cultural_pillar = heritage_west_african } culture ?= { has_cultural_pillar = heritage_west_african }
culture = { has_cultural_pillar = heritage_sahelian } culture ?= { has_cultural_pillar = heritage_sahelian }
culture = { has_cultural_pillar = heritage_senegambian } culture ?= { has_cultural_pillar = heritage_senegambian }
culture = { has_cultural_pillar = heritage_central_african } culture ?= { has_cultural_pillar = heritage_central_african }
} }
} }
trigger_else = { always = no }
}
} }
reindeer = { reindeer = {
trigger = { trigger = {
OR = { OR = {
culture = { has_cultural_pillar = heritage_balto_finnic } culture ?= { has_cultural_pillar = heritage_balto_finnic }
culture = { has_cultural_pillar = heritage_ugro_permian } culture ?= { has_cultural_pillar = heritage_ugro_permian }
} }
} }
weight = { weight = {
@ -3101,31 +3075,41 @@ the_creature = {
} }
the_tiger = { the_tiger = {
trigger = { trigger = {
trigger_if = {
limit = { exists = culture }
OR = { OR = {
culture = { has_cultural_pillar = heritage_dravidian } culture ?= { has_cultural_pillar = heritage_dravidian }
culture = { has_cultural_pillar = heritage_indo_aryan } culture ?= { has_cultural_pillar = heritage_indo_aryan }
} }
} }
trigger_else = { always = no }
}
} }
the_elephant = { the_elephant = {
trigger = { trigger = {
trigger_if = {
limit = { exists = culture }
OR = { OR = {
culture = { has_cultural_pillar = heritage_dravidian } culture ?= { has_cultural_pillar = heritage_dravidian }
culture = { has_cultural_pillar = heritage_indo_aryan } culture ?= { has_cultural_pillar = heritage_indo_aryan }
culture = { has_cultural_pillar = heritage_west_african } culture ?= { has_cultural_pillar = heritage_west_african }
culture = { has_cultural_pillar = heritage_west_african } culture ?= { has_cultural_pillar = heritage_west_african }
culture = { has_cultural_pillar = heritage_sahelian } culture ?= { has_cultural_pillar = heritage_sahelian }
culture = { has_cultural_pillar = heritage_central_african } culture ?= { has_cultural_pillar = heritage_central_african }
} }
} }
trigger_else = { always = no }
}
} }
the_hound = { the_hound = {
trigger = { trigger = {
faith = { trigger_if = {
NOT = { limit = { exists = faith }
religion_tag = islam_religion faith ?= {
NOT = { religion_tag = islam_religion }
} }
} }
trigger_else = { always = no }
} }
} }
the_horse = { the_horse = {
@ -3133,50 +3117,78 @@ the_creature = {
value = 1000 value = 1000
if = { if = {
limit = { limit = {
trigger_if = {
limit = { exists = culture }
OR = { OR = {
culture = { has_cultural_pillar = heritage_mongolic } culture ?= { has_cultural_pillar = heritage_mongolic }
culture = { has_cultural_pillar = heritage_turkic } culture ?= { has_cultural_pillar = heritage_turkic }
} }
} }
trigger_else = { always = no }
}
multiply = 5 multiply = 5
} }
} }
} }
the_leopard = { the_leopard = {
trigger = { trigger = {
trigger_if = {
limit = { exists = culture }
OR = { OR = {
culture = { has_cultural_pillar = heritage_west_african } culture ?= { has_cultural_pillar = heritage_west_african }
culture = { has_cultural_pillar = heritage_sahelian } culture ?= { has_cultural_pillar = heritage_sahelian }
culture = { has_cultural_pillar = heritage_senegambian } culture ?= { has_cultural_pillar = heritage_senegambian }
culture = { has_cultural_pillar = heritage_central_african } culture ?= { has_cultural_pillar = heritage_central_african }
}
}
trigger_else = {
always = no
} }
} }
} }
the_gazelle = { the_gazelle = {
trigger = { trigger = {
trigger_if = {
limit = { exists = culture }
OR = { OR = {
culture = { has_cultural_pillar = heritage_west_african } culture ?= { has_cultural_pillar = heritage_west_african }
culture = { has_cultural_pillar = heritage_sahelian } culture ?= { has_cultural_pillar = heritage_sahelian }
culture = { has_cultural_pillar = heritage_senegambian } culture ?= { has_cultural_pillar = heritage_senegambian }
culture = { has_cultural_pillar = heritage_central_african } culture ?= { has_cultural_pillar = heritage_central_african }
}
}
trigger_else = {
always = no
} }
} }
} }
the_hippopotamus = { the_hippopotamus = {
trigger = { trigger = {
trigger_if = {
limit = { exists = culture }
OR = { OR = {
culture = { has_cultural_pillar = heritage_west_african } culture ?= { has_cultural_pillar = heritage_west_african }
culture = { has_cultural_pillar = heritage_sahelian } culture ?= { has_cultural_pillar = heritage_sahelian }
culture = { has_cultural_pillar = heritage_senegambian } culture ?= { has_cultural_pillar = heritage_senegambian }
culture = { has_cultural_pillar = heritage_central_african } culture ?= { has_cultural_pillar = heritage_central_african }
}
}
trigger_else = {
always = no
} }
} }
} }
the_reindeer = { the_reindeer = {
trigger = { trigger = {
trigger_if = {
limit = { exists = culture }
OR = { OR = {
culture = { has_cultural_pillar = heritage_balto_finnic } culture ?= { has_cultural_pillar = heritage_balto_finnic }
culture = { has_cultural_pillar = heritage_ugro_permian } culture ?= { has_cultural_pillar = heritage_ugro_permian }
}
}
trigger_else = {
always = no
} }
} }
weight = { weight = {

View file

@ -72,8 +72,10 @@ for_our_foes_x_for_our_friends_y = { # For our Foes, the Sword - for our Friends
value = 400 value = 400
} }
trigger = { trigger = {
faith = { exists = faith
religion = { is_in_family = rf_pagan } trigger_if = {
limit = { exists = faith }
faith ?= { religion = { is_in_family = rf_pagan } }
} }
} }
} }
@ -85,8 +87,10 @@ break_your_x_upon_our_y = { # Break your Axe upon our Honor
value = 400 value = 400
} }
trigger = { trigger = {
faith = { exists = faith
religion = { is_in_family = rf_pagan } trigger_if = {
limit = { exists = faith }
faith ?= { religion = { is_in_family = rf_pagan } }
} }
} }
} }
@ -98,8 +102,10 @@ by_the_x_and_the_y = { # By the Axe and Spear
value = 300 value = 300
} }
trigger = { trigger = {
faith = { exists = faith
religion = { is_in_family = rf_pagan } trigger_if = {
limit = { exists = faith }
faith ?= { religion = { is_in_family = rf_pagan } }
} }
} }
} }
@ -112,8 +118,10 @@ with_the_x_i_y_z = { # With the Sword I Honor the Truthful
value = 300 value = 300
} }
trigger = { trigger = {
faith = { exists = faith
religion = { is_in_family = rf_pagan } trigger_if = {
limit = { exists = faith }
faith ?= { religion = { is_in_family = rf_pagan } }
} }
} }
} }
@ -125,8 +133,10 @@ with_x_I_seek_y = { # With the Axe I Seek Strength
value = 1000 value = 1000
} }
trigger = { trigger = {
faith = { exists = faith
religion = { is_in_family = rf_pagan } trigger_if = {
limit = { exists = faith }
faith ?= { religion = { is_in_family = rf_pagan } }
} }
} }
} }
@ -138,7 +148,10 @@ the_spirit_of_x_grants_us_y = { # The Spirit of the Fox Grants Us Cunning
value = 800 value = 800
} }
trigger = { trigger = {
faith = { exists = faith
trigger_if = {
limit = { exists = faith }
faith ?= {
OR = { OR = {
has_doctrine = tenet_druidry has_doctrine = tenet_druidry
has_doctrine = tenet_takamin has_doctrine = tenet_takamin
@ -146,6 +159,7 @@ the_spirit_of_x_grants_us_y = { # The Spirit of the Fox Grants Us Cunning
} }
} }
} }
}
through_x_mind_y = { # Through a Courageous Mind, Enlightenment through_x_mind_y = { # Through a Courageous Mind, Enlightenment
insert = adjective_immaterial_a_or_an insert = adjective_immaterial_a_or_an
@ -154,8 +168,10 @@ through_x_mind_y = { # Through a Courageous Mind, Enlightenment
value = 1500 value = 1500
} }
trigger = { trigger = {
faith = { exists = faith
religion = { is_in_family = rf_eastern } trigger_if = {
limit = { exists = faith }
faith ?= { religion = { is_in_family = rf_eastern } }
} }
} }
} }
@ -167,8 +183,10 @@ the_x_mind_knows_y = { # The Calm Mind Knows Peace
value = 1500 value = 1500
} }
trigger = { trigger = {
faith = { exists = faith
religion = { is_in_family = rf_eastern } trigger_if = {
limit = { exists = faith }
faith ?= { religion = { is_in_family = rf_eastern } }
} }
} }
} }
@ -188,8 +206,10 @@ by_god_and_x = { # By God and Sword. Reads best with a single god, so restrictin
} }
} }
trigger = { trigger = {
faith = { exists = faith
has_doctrine = doctrine_monotheist trigger_if = {
limit = { exists = faith }
faith ?= { has_doctrine = doctrine_monotheist }
} }
} }
} }
@ -399,8 +419,12 @@ x_as_y = { # Cunning as the Fox, Strong as the Bear
insert = the_creature insert = the_creature
trigger = { trigger = {
NOT = { NOT = {
faith = { trigger_if = {
religion_tag = islam_religion limit = { exists = faith }
faith ?= { religion_tag = islam_religion }
}
trigger_else = {
always = no
} }
} }
} }
@ -467,8 +491,12 @@ son_of_x = {
value = 150 value = 150
if = { if = {
limit = { limit = {
faith = { AND = {
religion = { is_in_family = rf_pagan } exists = faith
trigger_if = {
limit = { exists = faith }
faith ?= { religion = { is_in_family = rf_pagan } }
}
} }
} }
multiply = 2 multiply = 2
@ -593,8 +621,10 @@ we_swear_by_x = {
value = 2000 value = 2000
} }
trigger = { trigger = {
faith = { exists = faith
religion = religion:folk_germanic_religion trigger_if = {
limit = { exists = faith }
faith ?= { religion = religion:folk_germanic_religion }
} }
} }
} }
@ -605,8 +635,10 @@ we_carve_runes_of_x = {
value = 2000 value = 2000
} }
trigger = { trigger = {
faith = { exists = faith
religion = religion:folk_germanic_religion trigger_if = {
limit = { exists = faith }
faith ?= { religion = religion:folk_germanic_religion }
} }
} }
} }
@ -618,8 +650,10 @@ with_x_and_y = {
value = 2000 value = 2000
} }
trigger = { trigger = {
faith = { exists = faith
religion = religion:folk_germanic_religion trigger_if = {
limit = { exists = faith }
faith ?= { religion = religion:folk_germanic_religion }
} }
} }
} }
@ -630,8 +664,10 @@ we_tell_tales_of_x = {
value = 2000 value = 2000
} }
trigger = { trigger = {
faith = { exists = faith
religion = religion:folk_germanic_religion trigger_if = {
limit = { exists = faith }
faith ?= { religion = religion:folk_germanic_religion }
} }
} }
} }
@ -643,8 +679,10 @@ x_is_our_y = {
value = 2000 value = 2000
} }
trigger = { trigger = {
faith = { exists = faith
religion = religion:folk_germanic_religion trigger_if = {
limit = { exists = faith }
faith ?= { religion = religion:folk_germanic_religion }
} }
} }
} }
@ -655,8 +693,10 @@ x_guides_us = {
value = 2000 value = 2000
} }
trigger = { trigger = {
faith = { exists = faith
religion = religion:folk_germanic_religion trigger_if = {
limit = { exists = faith }
faith ?= { religion = religion:folk_germanic_religion }
} }
} }
} }
@ -667,8 +707,10 @@ house_was_forged_by_x = {
value = 2000 value = 2000
} }
trigger = { trigger = {
faith = { exists = faith
religion = religion:folk_germanic_religion trigger_if = {
limit = { exists = faith }
faith ?= { religion = religion:folk_germanic_religion }
} }
} }
} }
@ -679,8 +721,10 @@ founder_shares_x = {
value = 2000 value = 2000
} }
trigger = { trigger = {
faith = { exists = faith
religion = religion:folk_germanic_religion trigger_if = {
limit = { exists = faith }
faith ?= { religion = religion:folk_germanic_religion }
} }
} }
} }
@ -812,8 +856,10 @@ tree_endure = {
} }
trigger = { trigger = {
broadly_jungle_dwelling_trigger = yes broadly_jungle_dwelling_trigger = yes
faith = { exists = faith
religion = religion:buddhism_religion trigger_if = {
limit = { exists = faith }
faith ?= { religion = religion:buddhism_religion }
} }
} }
} }

View file

@ -5,8 +5,10 @@ we_swear_by_x_theomach = {
value = 2000 value = 2000
} }
trigger = { trigger = {
faith = { exists = faith
religion = religion:theomach_religion trigger_if = {
limit = { exists = faith }
faith ?= { religion = religion:theomach_religion }
} }
} }
} }
@ -18,8 +20,10 @@ with_x_and_y_theomach = {
value = 2000 value = 2000
} }
trigger = { trigger = {
faith = { exists = faith
religion = religion:theomach_religion trigger_if = {
limit = { exists = faith }
faith ?= { religion = religion:theomach_religion }
} }
} }
} }
@ -30,8 +34,10 @@ we_tell_tales_of_x_theomach = {
value = 2000 value = 2000
} }
trigger = { trigger = {
faith = { exists = faith
religion = religion:theomach_religion trigger_if = {
limit = { exists = faith }
faith ?= { religion = religion:theomach_religion }
} }
} }
} }
@ -43,8 +49,10 @@ x_is_our_y_theomach = {
value = 2000 value = 2000
} }
trigger = { trigger = {
faith = { exists = faith
religion = religion:theomach_religion trigger_if = {
limit = { exists = faith }
faith ?= { religion = religion:theomach_religion }
} }
} }
} }
@ -55,8 +63,10 @@ x_guides_us_theomach = {
value = 2000 value = 2000
} }
trigger = { trigger = {
faith = { exists = faith
religion = religion:theomach_religion trigger_if = {
limit = { exists = faith }
faith ?= { religion = religion:theomach_religion }
} }
} }
} }
@ -67,8 +77,10 @@ house_was_forged_by_x_theomach = {
value = 2000 value = 2000
} }
trigger = { trigger = {
faith = { exists = faith
religion = religion:theomach_religion trigger_if = {
limit = { exists = faith }
faith ?= { religion = religion:theomach_religion }
} }
} }
} }
@ -79,8 +91,10 @@ founder_shares_x_theomach = {
value = 2000 value = 2000
} }
trigger = { trigger = {
faith = { exists = faith
religion = religion:theomach_religion trigger_if = {
limit = { exists = faith }
faith ?= { religion = religion:theomach_religion }
} }
} }
} }

View file

@ -2310,79 +2310,79 @@ emperor_theocracy_female_judaism_religion = {
religions = { judaism_religion } religions = { judaism_religion }
} }
# Magyarism ## Magyarism
count_theocracy_male_magyarism_religion = { #count_theocracy_male_magyarism_religion = {
type = character # type = character
gender = male # gender = male
special = holder # special = holder
tier = county # tier = county
priority = 18 # priority = 18
flavourization_rules = { # flavourization_rules = {
top_liege = no # top_liege = no
} # }
governments = { theocracy_government } # governments = { theocracy_government }
religions = { mediterranean_religion } # religions = { mediterranean_religion }
} #}
count_theocracy_female_magyarism_religion = { #count_theocracy_female_magyarism_religion = {
type = character # type = character
gender = female # gender = female
special = holder # special = holder
tier = county # tier = county
priority = 18 # priority = 18
flavourization_rules = { # flavourization_rules = {
top_liege = no # top_liege = no
} # }
governments = { theocracy_government } # governments = { theocracy_government }
religions = { mediterranean_religion } # religions = { mediterranean_religion }
} #}
duke_theocracy_male_magyarism_religion = { #duke_theocracy_male_magyarism_religion = {
type = character # type = character
gender = male # gender = male
special = holder # special = holder
tier = duchy # tier = duchy
priority = 27 # priority = 27
flavourization_rules = { # flavourization_rules = {
top_liege = no # top_liege = no
} # }
governments = { theocracy_government } # governments = { theocracy_government }
religions = { mediterranean_religion } # religions = { mediterranean_religion }
} #}
duke_theocracy_female_magyarism_religion = { #duke_theocracy_female_magyarism_religion = {
type = character # type = character
gender = female # gender = female
special = holder # special = holder
tier = duchy # tier = duchy
priority = 27 # priority = 27
flavourization_rules = { # flavourization_rules = {
top_liege = no # top_liege = no
} # }
governments = { theocracy_government } # governments = { theocracy_government }
religions = { mediterranean_religion } # religions = { mediterranean_religion }
} #}
king_theocracy_male_magyarism_religion = { #king_theocracy_male_magyarism_religion = {
type = character # type = character
gender = male # gender = male
special = holder # special = holder
tier = kingdom # tier = kingdom
priority = 47 # priority = 47
flavourization_rules = { # flavourization_rules = {
top_liege = no # top_liege = no
} # }
governments = { theocracy_government } # governments = { theocracy_government }
religions = { mediterranean_religion } # religions = { mediterranean_religion }
} #}
king_theocracy_female_magyarism_religion = { #king_theocracy_female_magyarism_religion = {
type = character # type = character
gender = female # gender = female
special = holder # special = holder
tier = kingdom # tier = kingdom
priority = 47 # priority = 47
flavourization_rules = { # flavourization_rules = {
top_liege = no # top_liege = no
} # }
governments = { theocracy_government } # governments = { theocracy_government }
religions = { mediterranean_religion } # religions = { mediterranean_religion }
} #}
# Paganism # Paganism
baron_theocracy_male_paganism_religion = { baron_theocracy_male_paganism_religion = {
@ -2395,7 +2395,7 @@ baron_theocracy_male_paganism_religion = {
top_liege = no top_liege = no
} }
governments = { theocracy_government } governments = { theocracy_government }
religions = { mediterranean_religion baltic_religion slavic_religion finnic_religion } #tengrism_religion religions = { baltic_religion slavic_religion finnic_religion } #tengrism_religion
} }
baron_theocracy_female_paganism_religion = { baron_theocracy_female_paganism_religion = {
type = character type = character
@ -2407,7 +2407,7 @@ baron_theocracy_female_paganism_religion = {
top_liege = no top_liege = no
} }
governments = { theocracy_government } governments = { theocracy_government }
religions = { mediterranean_religion baltic_religion slavic_religion finnic_religion } # tengrism_religion # paganism_religion religions = { baltic_religion slavic_religion finnic_religion } # tengrism_religion # paganism_religion
} }
barony_theocracy_paganism_religion = { barony_theocracy_paganism_religion = {
type = title type = title
@ -2417,7 +2417,7 @@ barony_theocracy_paganism_religion = {
} }
priority = 7 priority = 7
holding = church_holding holding = church_holding
religions = { mediterranean_religion baltic_religion slavic_religion finnic_religion } #west_african_religion west_african_bori_religion west_african_roog_religion tengrism_religion paganism_religion religions = { baltic_religion slavic_religion finnic_religion } #west_african_religion west_african_bori_religion west_african_roog_religion tengrism_religion paganism_religion
} }
#count_theocracy_male_paganism_religion = { #count_theocracy_male_paganism_religion = {
# type = character # type = character
@ -2451,7 +2451,7 @@ county_theocracy_paganism_religion = {
} }
priority = 18 priority = 18
governments = { theocracy_government } governments = { theocracy_government }
religions = { mediterranean_religion baltic_religion slavic_religion finnic_religion } #tengrism_religion west_african_religion west_african_bori_religion west_african_roog_religion paganism_religion religions = { baltic_religion slavic_religion finnic_religion } #tengrism_religion west_african_religion west_african_bori_religion west_african_roog_religion paganism_religion
} }
duke_theocracy_male_paganism_religion = { duke_theocracy_male_paganism_religion = {
type = character type = character
@ -2485,7 +2485,7 @@ duchy_theocracy_paganism_religion = {
} }
priority = 27 priority = 27
governments = { theocracy_government } governments = { theocracy_government }
religions = { mediterranean_religion baltic_religion slavic_religion finnic_religion folk_germanic_religion buddhism_religion hinduism_religion jainism_religion judaism_religion } #tengrism_religion west_african_religion west_african_bori_religion west_african_roog_religion zunism_religion zoroastrianism_religion bon_religion taoism_religion religions = { baltic_religion slavic_religion finnic_religion folk_germanic_religion buddhism_religion hinduism_religion jainism_religion judaism_religion } #tengrism_religion west_african_religion west_african_bori_religion west_african_roog_religion zunism_religion zoroastrianism_religion bon_religion taoism_religion
} }
king_theocracy_male_paganism_religion = { king_theocracy_male_paganism_religion = {
type = character type = character
@ -2519,7 +2519,7 @@ kingdom_theocracy_paganism_religion = {
} }
priority = 47 priority = 47
governments = { theocracy_government } governments = { theocracy_government }
religions = { mediterranean_religion baltic_religion slavic_religion finnic_religion folk_germanic_religion theomach_religion zunism_religion zoroastrianism_religion bon_religion taoism_religion buddhism_religion hinduism_religion jainism_religion judaism_religion } #tengrism_religion west_african_religion west_african_bori_religion west_african_roog_religion religions = { baltic_religion slavic_religion finnic_religion folk_germanic_religion theomach_religion zunism_religion zoroastrianism_religion bon_religion taoism_religion buddhism_religion hinduism_religion jainism_religion judaism_religion } #tengrism_religion west_african_religion west_african_bori_religion west_african_roog_religion
} }
emperor_theocracy_male_paganism_religion = { emperor_theocracy_male_paganism_religion = {
type = character type = character
@ -2531,7 +2531,7 @@ emperor_theocracy_male_paganism_religion = {
top_liege = no top_liege = no
} }
governments = { theocracy_government } governments = { theocracy_government }
religions = { mediterranean_religion baltic_religion slavic_religion finnic_religion taoism_religion zoroastrianism_religion } #tengrism_religion west_african_religion west_african_bori_religion west_african_roog_religion religions = { baltic_religion slavic_religion finnic_religion taoism_religion zoroastrianism_religion } #tengrism_religion west_african_religion west_african_bori_religion west_african_roog_religion
} }
emperor_theocracy_female_paganism_religion = { emperor_theocracy_female_paganism_religion = {
type = character type = character
@ -2543,7 +2543,7 @@ emperor_theocracy_female_paganism_religion = {
top_liege = no top_liege = no
} }
governments = { theocracy_government } governments = { theocracy_government }
religions = { paganism_religion mediterranean_religion baltic_religion slavic_religion finnic_religion taoism_religion zoroastrianism_religion } #tengrism_religion west_african_religion west_african_bori_religion west_african_roog_religion religions = { paganism_religion baltic_religion slavic_religion finnic_religion taoism_religion zoroastrianism_religion } #tengrism_religion west_african_religion west_african_bori_religion west_african_roog_religion
} }
empire_theocracy_paganism_religion = { empire_theocracy_paganism_religion = {
type = title type = title
@ -2553,7 +2553,7 @@ empire_theocracy_paganism_religion = {
} }
priority = 102 priority = 102
governments = { theocracy_government } governments = { theocracy_government }
religions = { mediterranean_religion baltic_religion slavic_religion finnic_religion folk_germanic_religion theomach_religion taoism_religion zoroastrianism_religion judaism_religion } #tengrism_religion west_african_religion west_african_bori_religion west_african_roog_religion zunism_religion religions = { baltic_religion slavic_religion finnic_religion folk_germanic_religion theomach_religion taoism_religion zoroastrianism_religion judaism_religion } #tengrism_religion west_african_religion west_african_bori_religion west_african_roog_religion zunism_religion
} }
# Baltic # Baltic

View file

@ -48,7 +48,7 @@ feudal_government = {
if = { if = {
limit = { limit = {
pam_nomad_grant_settled_government_trigger = yes pam_nomad_grant_settled_government_trigger = yes
faith = { faith ?= {
NOR = { NOR = {
religion = religion:islam_religion religion = religion:islam_religion
has_doctrine_parameter = unreformed has_doctrine_parameter = unreformed
@ -90,15 +90,25 @@ urbanrepublic_government = {
can_get_government = { can_get_government = {
NOR = { NOR = {
culture = { AND = {
exists = culture
trigger_if = {
limit = { exists = culture }
culture ?= {
OR = { OR = {
has_cultural_tradition = tradition_farmer_republics has_cultural_tradition = tradition_farmer_republics
has_cultural_tradition = tradition_collective_lands has_cultural_tradition = tradition_collective_lands
has_cultural_tradition = tradition_landstinget has_cultural_tradition = tradition_landstinget
} }
} }
faith = { }
has_doctrine = tenet_communal_possessions }
AND = {
exists = faith
trigger_if = {
limit = { exists = faith }
faith ?= { has_doctrine = tenet_communal_possessions }
}
} }
liege = { liege = {
has_government = peasantrepublic_government has_government = peasantrepublic_government
@ -187,15 +197,25 @@ peasantrepublic_government = {
can_get_government = { can_get_government = {
OR = { OR = {
culture = { AND = {
exists = culture
trigger_if = {
limit = { exists = culture }
culture ?= {
OR = { OR = {
has_cultural_tradition = tradition_farmer_republics has_cultural_tradition = tradition_farmer_republics
has_cultural_tradition = tradition_collective_lands has_cultural_tradition = tradition_collective_lands
has_cultural_tradition = tradition_landstinget has_cultural_tradition = tradition_landstinget
} }
} }
faith = { }
has_doctrine = tenet_communal_possessions }
AND = {
exists = faith
trigger_if = {
limit = { exists = faith }
faith ?= { has_doctrine = tenet_communal_possessions }
}
} }
liege = { liege = {
has_government = peasantrepublic_government has_government = peasantrepublic_government
@ -269,14 +289,24 @@ republic_government = {
can_get_government = { can_get_government = {
NOR = { NOR = {
culture = { AND = {
exists = culture
trigger_if = {
limit = { exists = culture }
culture ?= {
OR = { OR = {
has_cultural_tradition = tradition_farmer_republics has_cultural_tradition = tradition_farmer_republics
has_cultural_tradition = tradition_collective_lands has_cultural_tradition = tradition_collective_lands
} }
} }
faith = { }
has_doctrine = tenet_egalite }
AND = {
exists = faith
trigger_if = {
limit = { exists = faith }
faith ?= { has_doctrine = tenet_egalite }
}
} }
any_liege_or_above = { any_liege_or_above = {
has_government = peasantrepublic_government has_government = peasantrepublic_government
@ -400,7 +430,7 @@ clan_government = {
if = { if = {
limit = { limit = {
pam_nomad_grant_settled_government_trigger = yes pam_nomad_grant_settled_government_trigger = yes
faith = { religion = religion:islam_religion } faith ?= { religion = religion:islam_religion }
} }
add = 10 add = 10
} }
@ -470,7 +500,7 @@ tribal_government = {
if = { if = {
limit = { limit = {
pam_nomad_grant_settled_government_trigger = yes pam_nomad_grant_settled_government_trigger = yes
faith = { has_doctrine_parameter = unreformed } faith ?= { has_doctrine_parameter = unreformed }
} }
add = 10 add = 10
} }
@ -886,7 +916,7 @@ landless_minority_government = {
title_tier = duchy title_tier = duchy
is_landless_type_title = yes is_landless_type_title = yes
} }
culture = { culture ?= {
OR = { OR = {
has_cultural_tradition = tradition_diasporic has_cultural_tradition = tradition_diasporic
has_cultural_tradition = tradition_itinerant_pastoralists has_cultural_tradition = tradition_itinerant_pastoralists

View file

@ -21,7 +21,11 @@ theocracy_government = {
royal_court = landed royal_court = landed
can_get_government = { can_get_government = {
exists = faith
trigger_if = {
limit = { exists = faith }
theocratic_lay_clergy_trigger = yes theocratic_lay_clergy_trigger = yes
}
#The LAAMP Construct Holding decision #The LAAMP Construct Holding decision
trigger_if = { trigger_if = {
limit = { limit = {
@ -58,7 +62,7 @@ theocracy_government = {
scope:title = { tier = tier_county } scope:title = { tier = tier_county }
NOT = { has_variable = grant_vassal_government_cooldown } NOT = { has_variable = grant_vassal_government_cooldown }
ai_zeal >= medium_positive_ai_value ai_zeal >= medium_positive_ai_value
rite = { rite ?= {
NOT = { rite_has_doctrine = doctrine_theocracy_lay_clergy } NOT = { rite_has_doctrine = doctrine_theocracy_lay_clergy }
rite_has_doctrine = doctrine_theocracy_temporal rite_has_doctrine = doctrine_theocracy_temporal
} }
@ -100,7 +104,11 @@ ecclesiastical_government = {
} }
can_get_government = { can_get_government = {
exists = faith
trigger_if = {
limit = { exists = faith }
theocratic_lay_clergy_trigger = yes theocratic_lay_clergy_trigger = yes
}
#The LAAMP Construct Holding decision #The LAAMP Construct Holding decision
trigger_if = { trigger_if = {
limit = { limit = {
@ -151,7 +159,7 @@ ecclesiastical_government = {
scope:title = { tier = tier_county } scope:title = { tier = tier_county }
NOT = { has_variable = grant_vassal_government_cooldown } NOT = { has_variable = grant_vassal_government_cooldown }
ai_zeal >= medium_positive_ai_value ai_zeal >= medium_positive_ai_value
rite = { rite_has_doctrine = doctrine_theocracy_temporal } rite ?= { rite_has_doctrine = doctrine_theocracy_temporal }
realm_theocratic_county_share_ai_below_cap_trigger = yes realm_theocratic_county_share_ai_below_cap_trigger = yes
} }
add = 10 add = 10

View file

@ -0,0 +1,317 @@
# Definition of lease used for organized churches. Required for the game to run.
theocracy_lease = {
hierarchy = {
type = vassal
ruler_valid = {
rite ?= { rite_has_doctrine = doctrine_theocracy_temporal }
NOT = { government_has_flag = government_is_theocracy }
}
liege_or_vassal_valid = {
faith = scope:target.faith
}
lessee = cp:councillor_court_chaplain
barony_valid = {
title_province = { has_holding_type = church_holding }
}
}
government = theocracy_government
valid_holdings = { church_holding }
ruler_share_min_opinion_from_lessee = 1
hook_strength_max_opinion = strong
tax_split = {
lease_liege = 0.25
ruler_max = 0.25
ruler = {
if = {
limit = {
scope:lessee = {
court_chaplain_endorse_override_trigger = yes
}
}
add = {
desc = THEOCRATIC_LEASE_RATIO_STRONG_HOOK
value = 0.25
}
}
else_if = {
limit = { is_ai = yes }
add = {
desc = THEOCRATIC_LEASE_RATIO_FROM_OPINION
value = {
scope:lessee = { value = "opinion(scope:ruler)" }
}
divide = 400
}
}
save_temporary_value_as = current_total
if = {
limit = { scope:current_total > 0.25 }
max = {
desc = THEOCRATIC_LEASE_RATIO_MAX_25
value = 0.25
}
}
}
}
levy_split = {
lease_liege = 0.15
ruler_max = 0.50
ruler = {
if = {
limit = {
scope:lessee = { court_chaplain_endorse_override_trigger = yes }
}
add = {
desc = THEOCRATIC_LEASE_RATIO_STRONG_HOOK
value = 0.5
}
}
else = {
add = {
desc = THEOCRATIC_LEASE_RATIO_FROM_OPINION
value = {
scope:lessee = { value = "opinion(scope:ruler)" }
}
divide = 200
}
}
max = 0.5
}
}
}
# Definition of lease used for Ecclesiastical churches (Christian)
ecclesiastical_lease = {
hierarchy = {
type = clerical_region
ruler_valid = {
rite = { rite_has_doctrine = doctrine_theocracy_temporal }
NOT = { government_has_flag = government_is_ecclesiastical }
}
liege_or_vassal_valid = {
faith = scope:target.faith
}
lessee = cp:councillor_court_chaplain # should be a councillor
barony_valid = {
title_province = {
has_holding_type = church_holding
}
# Allow Ecclesiastical rulers to hold temples directly
NOT = {
county = {
holder = {
government_has_flag = government_is_ecclesiastical
}
}
}
}
}
government = ecclesiastical_government
valid_holdings = { church_holding }
ruler_share_min_opinion_from_lessee = 1
hook_strength_max_opinion = strong
tax_split = {
lease_liege = {
value = 0
if = {
limit = {
scope:lease_liege = {
top_participant_group:the_christian_church ?= {
has_participant_group_parameter = the_christian_church_minimal_centralization
}
}
}
add = {
desc = THEOCRATIC_LEASE_RATIO_MINIMAL_CENTRALIZATION
value = 0.05
}
}
else_if = {
limit = {
scope:lease_liege = {
OR = {
top_participant_group:the_christian_church ?= {
has_participant_group_parameter = the_christian_church_mild_centralization
}
# Default for Ecclesiasticals outside of the situation
NOT = { exists = top_participant_group:the_christian_church }
}
}
}
add = {
desc = THEOCRATIC_LEASE_RATIO_MILD_CENTRALIZATION
value = 0.1
}
}
else_if = {
limit = {
scope:lease_liege = {
top_participant_group:the_christian_church ?= {
has_participant_group_parameter = the_christian_church_strong_centralization
}
}
}
add = {
desc = THEOCRATIC_LEASE_RATIO_STRONG_CENTRALIZATION
value = 0.20
}
}
# Lessee Bishops don't pay hierarchical to the pope (they need a Clerical Region to exist)
if = {
limit = {
is_landed = no # Local bishop lessee
top_superior = scope:lease_liege # Head of Faith is superior
NOT = { exists = liege.capital_county.clerical_region_title } # We don't have a clerical region
}
max = {
desc = THEOCRATIC_LEASE_RATIO_MISSING_CLERICAL_REGION
value = 0.001
}
}
}
top_lease_liege_direct = {
value = 0
if = {
limit = {
scope:lease_liege = {
top_participant_group:the_christian_church ?= {
has_participant_group_parameter = the_christian_church_strong_centralization
}
}
}
add = {
desc = THEOCRATIC_LEASE_RATIO_STRONG_CENTRALIZATION
value = 0.01
}
}
}
ruler_max = 0.25 # Ceiling on the ruler's share, also quoted by the 'up to' tooltips.
ruler = {
value = 0
if = {
limit = {
scope:lessee = {
court_chaplain_endorse_override_trigger = yes
}
scope:ruler = {
OR = {
top_participant_group:the_christian_church ?= {
has_participant_group_parameter = the_christian_church_personal_secular_obligations
}
# Default for Christians outside of the situation
NOT = { exists = top_participant_group:the_christian_church }
}
}
}
add = {
desc = THEOCRATIC_LEASE_RATIO_STRONG_HOOK
value = 0.25
}
}
else_if = {
limit = {
scope:lessee = {
is_ai = yes
court_chaplain_endorse_override_trigger = no
}
scope:ruler = {
OR = {
top_participant_group:the_christian_church ?= {
has_participant_group_parameter = the_christian_church_personal_secular_obligations
}
# Default for Christians outside of the situation
NOT = { exists = top_participant_group:the_christian_church }
}
}
}
add = {
desc = THEOCRATIC_LEASE_RATIO_FROM_OPINION
value = {
scope:lessee = { value = "opinion(scope:ruler)" }
}
divide = 400 # Divide opinion -100/+100 with 400 gives range -0.25/+0.25
}
}
else_if = {
limit = {
scope:ruler = {
top_participant_group:the_christian_church ?= {
has_participant_group_parameter = the_christian_church_fixed_secular_obligations
}
}
}
add = {
desc = THEOCRATIC_LEASE_RATIO_FIXED_OBLIGATIONS
value = 0.15
}
}
if = {
limit = {
scope:ruler = {
top_participant_group:the_christian_church ?= {
has_participant_group_parameter = the_christian_church_local_secular_power
}
}
}
add = {
desc = THEOCRATIC_LEASE_RATIO_LOCAL_SECULAR_POWER
value = 0.10
}
}
save_temporary_value_as = current_total
if = {
limit = {
scope:current_total > 0.25
}
max = {
desc = THEOCRATIC_LEASE_RATIO_MAX_25
value = 0.25
}
}
}
}
levy_split = {
lease_liege = 0.15
ruler_max = 0.50 # Ceiling on the ruler's share, also quoted by the 'up to' tooltips.
ruler = {
if = {
limit = {
scope:ruler = {
OR = {
has_strong_hook = scope:lessee
top_participant_group:the_christian_church ?= {
has_participant_group_parameter = the_christian_church_fixed_secular_obligations
}
}
}
}
add = {
desc = THEOCRATIC_LEASE_RATIO_STRONG_HOOK
value = 0.50
}
}
else = {
add = {
desc = THEOCRATIC_LEASE_RATIO_FROM_OPINION
value = {
scope:lessee = { value = "opinion(scope:ruler)" }
}
divide = 200 # Divide opinion range -100/+100 with 200 gives range -0.5/+0.5
}
}
max = 0.50
}
}
}

View file

@ -0,0 +1,345 @@
befriend_perk = {
lifestyle = diplomacy_lifestyle
tree = family
position = { 0 0 }
icon = node_diplomacy
auto_selection_weight = {
value = 11
if = {
limit = {
has_education_diplomacy_trigger = yes
}
add = 1989
}
if = {
limit = {
has_focus = diplomacy_family_focus
}
multiply = 5
}
if = {
limit = {
can_start_new_lifestyle_tree_trigger = no
NOT = { has_perk = familial_familiar_perk }
}
multiply = 0
}
}
culture_character_modifier = {
parameter = automatic_befriend_access
befriend_scheme_phase_duration_add = medium_scheme_phase_duration_bonus_value
}
effect = {
# Cultures with Ritualised Friendship get a different effect, so we filter them out.
if = {
limit = {
NOR = {
culture ?= { has_cultural_parameter = automatic_befriend_access }
government_has_flag = government_is_nomadic
}
}
custom_description_no_bullet = {
text = befriend_perk_effect
}
}
#Removes prestige cost for nomads
else_if = {
limit = {
government_has_flag = government_is_nomadic
NOR = {
has_perk = befriend_perk
culture ?= { has_cultural_parameter = automatic_befriend_access }
any_character_struggle = {
involvement = involved
has_struggle_phase_parameter = struggle_unlocks_befriend_schemes_for_everyone
}
}
}
custom_description_no_bullet = {
text = befriend_perk_prestige_cost_effect
}
}
# Everyone gets board games!
custom_description_no_bullet = { text = unlocks_board_games_interaction_effect }
}
}
confidants_perk = {
lifestyle = diplomacy_lifestyle
tree = family
position = { 0 1.25 }
icon = node_diplomacy
parent = befriend_perk
effect = {
custom_description_no_bullet = {
text = confidants_perk_effect
}
hidden_effect = {
update_confidants_effect = yes
}
}
}
flatterer_perk = {
lifestyle = diplomacy_lifestyle
tree = family
position = { 0 2.5 }
icon = node_diplomacy
parent = confidants_perk
character_modifier = {
befriend_scheme_phase_duration_add = medium_scheme_phase_duration_bonus_value
}
government_character_modifier = {
flag = government_is_landless_adventurer
befriend_scheme_phase_duration_add = monumental_scheme_phase_duration_bonus_value
}
}
friendly_counsel_perk = {
lifestyle = diplomacy_lifestyle
tree = family
position = { 0 3.75 }
icon = node_diplomacy
parent = flatterer_perk
effect = {
custom_description_no_bullet = {
text = friendly_counsel_perk_effect
}
hidden_effect = {
every_relation = {
type = friend
add_to_temporary_list = friendly_counsel_friends
}
every_relation = {
type = best_friend
limit = { NOT = { is_in_list = friendly_counsel_friends } }
add_to_temporary_list = friendly_counsel_friends
}
every_in_list = {
list = friendly_counsel_friends
root = {
friendly_counsel_skill_gain_effect = yes
}
}
}
if = {
limit = {
government_has_flag = government_is_landless_adventurer
}
custom_tooltip = {
text = adventurer_friendly_counsel_perk_effect
}
}
if = {
limit = {
government_has_mechanic = administrative
}
custom_description_no_bullet = {
text = admin_friendly_counsel_perk_effect
}
}
if = {
limit = {
government_has_flag = government_is_nomadic
}
custom_description_no_bullet = {
text = friendly_counsel_perk_nomadic_effect
}
hidden_effect = {
every_relation = {
type = blood_brother
add_to_temporary_list = friendly_counsel_friends
}
every_relation = {
type = best_friend
limit = { NOT = { is_in_list = friendly_counsel_friends } }
add_to_temporary_list = friendly_counsel_friends
}
every_in_list = {
list = friendly_counsel_friends
root = {
friendly_counsel_skill_gain_effect = yes
}
}
}
}
}
}
familial_familiar_perk = {
lifestyle = diplomacy_lifestyle
tree = family
position = { 2 0 }
icon = node_diplomacy
character_modifier = {
close_relative_opinion = 15
}
effect = {
if = {
limit = {
has_ep3_dlc_trigger = yes
government_has_mechanic = administrative
}
custom_description_no_bullet = {
text = admin_familial_familiar_perk_effect
}
}
}
auto_selection_weight = {
value = 11
if = {
limit = {
has_education_diplomacy_trigger = yes
}
add = 1989
}
if = {
limit = {
has_focus = diplomacy_family_focus
}
multiply = 5
}
if = {
limit = {
can_start_new_lifestyle_tree_trigger = no
NOT = { has_perk = befriend_perk }
}
multiply = 0
}
}
}
groomed_to_rule_perk = {
lifestyle = diplomacy_lifestyle
tree = family
position = { 2 1.25 }
icon = node_diplomacy
parent = familial_familiar_perk
effect = {
custom_description_no_bullet = {
text = groomed_to_rule_perk_effect
}
# If a child has already gotten their childhood personality or education (and thus missed the skill gain), add it now.
hidden_effect = {
save_scope_as = parent
every_child = {
limit = {
OR = {
has_trait = curious
has_trait = rowdy
has_trait = charming
has_trait = pensive
has_trait = bossy
has_trait = education_martial
has_trait = education_intrigue
has_trait = education_stewardship
has_trait = education_learning
has_trait = education_diplomacy
}
}
groomed_to_rule_random_skills_effect = yes
}
}
if = {
limit = {
has_bp2_dlc_trigger = yes
}
custom_description_no_bullet = {
text = groomed_to_rule_perk_2_effect
}
}
}
}
thicker_than_water_perk = {
lifestyle = diplomacy_lifestyle
tree = family
position = { 2 2.5 }
icon = node_diplomacy
parent = groomed_to_rule_perk
effect = {
custom_description_no_bullet = {
text = thicker_than_water_perk_effect
}
}
government_character_modifier = {
flag = government_is_nomadic
blood_brother_prestige_mult = 0.05
}
}
sound_foundations_perk = {
lifestyle = diplomacy_lifestyle
tree = family
position = { 2 3.75 }
icon = node_diplomacy
parent = thicker_than_water_perk
effect = {
if = {
limit = {
government_has_flag = government_is_mandala
house ?= { has_house_aspiration_parameter = aspect_of_creation }
is_house_head = yes
}
custom_description_no_bullet = { text = mandala_sound_foundations_perk_effect }
}
else = {
custom_description_no_bullet = { text = sound_foundations_perk_effect }
}
hidden_effect = {
every_child = {
root = {
sound_foundations_skill_gain_effect = yes
}
}
}
}
}
family_man_perk = {
lifestyle = diplomacy_lifestyle
tree = family
position = { 1 5 }
icon = trait_family_first
name = {
first_valid = {
triggered_desc = {
trigger = { NOT = { exists = this } }
desc = family_man_perk_male_name
}
triggered_desc = {
trigger = { is_female = yes }
desc = family_man_perk_female_name
}
desc = family_man_perk_male_name
}
}
parent = sound_foundations_perk
parent = friendly_counsel_perk
trait = family_first
effect = {
add_trait_force_tooltip = family_first
}
}

View file

@ -0,0 +1,274 @@
truth_is_relative_perk = {
lifestyle = intrigue_lifestyle
tree = skulduggery
position = { 2 0 }
icon = node_intrigue
auto_selection_weight = {
value = 11
if = {
limit = {
has_education_intrigue_trigger = yes
}
add = 1989
}
if = {
limit = {
has_focus = intrigue_skulduggery_focus
}
multiply = 5
}
if = {
limit = {
can_start_new_lifestyle_tree_trigger = no
}
multiply = 0
}
if = { # Conquerors go for the best stuff for war!
limit = {
has_variable = conqueror
}
add = 10000
}
}
can_be_picked = {
always = yes
}
effect = {
custom_description_no_bullet = {
text = truth_is_relative_scheme_effect
}
if = {
limit = {
NOT = { government_has_flag = government_is_landless_adventurer }
}
custom_description_no_bullet = {
text = truth_is_relative_perk_effect
}
}
}
}
digging_for_dirt_perk = {
lifestyle = intrigue_lifestyle
tree = skulduggery
position = { 0 1.25 }
icon = node_intrigue
parent = truth_is_relative_perk
can_be_picked = {
always = yes
}
effect = {
if = {
limit = {
NOT = { government_has_flag = government_is_landless_adventurer }
}
custom_description_no_bullet = {
text = digging_for_dirt_perk_effect
}
}
if = {
limit = {
government_has_flag = government_is_landless_adventurer
}
custom_tooltip = {
text = adventurer_digging_for_dirt_perk_effect
}
}
}
}
kidnapper_perk = {
lifestyle = intrigue_lifestyle
tree = skulduggery
position = { 0 2.5 }
icon = node_intrigue
parent = digging_for_dirt_perk
can_be_picked = {
always = yes
}
effect = {
custom_description_no_bullet = {
text = kidnapper_perk_effect
}
if = {
limit = { government_has_flag = government_is_nomadic }
custom_description_no_bullet = {
text = kidnapper_perk_nomadic_effect
}
}
}
}
court_of_shadows_perk = {
lifestyle = intrigue_lifestyle
tree = skulduggery
position = { 2 1.25 }
icon = node_intrigue
parent = truth_is_relative_perk
name = {
first_valid = {
triggered_desc = {
trigger = { has_government = landless_adventurer_government }
desc = court_of_shadows_perk_adventurer_name
}
desc = court_of_shadows_perk_name
}
}
can_be_picked = {
always = yes
}
government_character_modifier = {
flag = government_is_administrative
owned_political_scheme_success_chance_max_add = 10
}
effect = {
if = {
limit = {
NOT = { government_has_flag = government_is_landless_adventurer }
}
custom_description_no_bullet = {
text = court_of_shadows_perk_effect
}
custom_description_no_bullet = { text = court_of_shadows_perk_effect.increased_grace }
if = {
limit = { faith ?= { has_papacy_trigger = yes } }
custom_description_no_bullet = { text = court_of_shadows_perk_papal_vote_effect }
}
if = {
limit = {
has_pam_dlc_trigger = yes
faith ?= { has_papacy_trigger = yes }
}
custom_description_no_bullet = { text = court_of_shadows_perk_papabile_effect }
}
}
if = {
limit = {
government_has_flag = government_is_landless_adventurer
}
custom_tooltip = {
text = adventurer_court_of_shadows_perk_effect
}
custom_tooltip = court_of_shadows_perk_effect.increased_grace
}
}
}
prepared_for_anything_perk = {
lifestyle = intrigue_lifestyle
tree = skulduggery
position = { 2 2.5 }
icon = node_intrigue
parent = court_of_shadows_perk
can_be_picked = {
always = yes
}
character_modifier = {
enemy_hostile_scheme_success_chance_add = -25
}
effect = {
custom_description_no_bullet = {
text = prepared_for_anything_perk_bonus_effect
}
}
}
swift_execution_perk = {
lifestyle = intrigue_lifestyle
tree = skulduggery
position = { 4 1.25 }
icon = node_intrigue
parent = truth_is_relative_perk
can_be_picked = {
always = yes
}
government_character_modifier = {
flag = government_is_landless_adventurer
murder_scheme_phase_duration_add = monumental_scheme_phase_duration_bonus_value
}
character_modifier = {
murder_scheme_phase_duration_add = medium_scheme_phase_duration_bonus_value
}
}
a_job_done_right_perk = {
lifestyle = intrigue_lifestyle
tree = skulduggery
position = { 4 2.5 }
icon = node_intrigue
parent = swift_execution_perk
can_be_picked = {
always = yes
}
character_modifier = {
owned_hostile_scheme_success_chance_add = 25
owned_hostile_scheme_success_chance_max_add = 5
}
}
twice_schemed_perk = {
lifestyle = intrigue_lifestyle
tree = skulduggery
position = { 2 3.75 }
icon = node_intrigue
parent = kidnapper_perk
parent = prepared_for_anything_perk
parent = a_job_done_right_perk
can_be_picked = {
always = yes
}
character_modifier = {
max_hostile_schemes_add = 1
}
government_character_modifier = {
flag = government_is_administrative
max_political_schemes_add = 1
}
}
schemer_perk = {
lifestyle = intrigue_lifestyle
tree = skulduggery
position = { 2 5 }
icon = trait_schemer
parent = twice_schemed_perk
can_be_picked = {
always = yes
}
trait = schemer
effect = {
add_trait_force_tooltip = schemer
}
}

View file

@ -0,0 +1,272 @@
stalwart_leader_perk = {
lifestyle = martial_lifestyle
tree = chivalry
position = { 1 0 }
icon = node_martial
auto_selection_weight = {
value = 11
if = {
limit = {
has_education_martial_trigger = yes
}
add = 1989
}
if = {
limit = {
has_focus = martial_chivalry_focus
}
multiply = 5
}
if = {
limit = {
can_start_new_lifestyle_tree_trigger = no
}
multiply = 0
}
}
government_character_modifier = {
flag = government_is_landless_adventurer
trait_track_foot_xp_gain_mult = 0.2
}
character_modifier = {
prowess = 4
trait_track_foot_xp_gain_mult = 0.05
}
effect = {
custom_description_no_bullet = {
text = stalwart_leader_perk_effect
}
if = {
limit = { government_has_flag = government_is_nomadic }
custom_description_no_bullet = { text = unlock_dueling_for_everyone_effect }
}
else_if = {
limit = {
culture ?= { has_cultural_parameter = stalwart_leader_non_admin_duels }
}
custom_description_no_bullet = { text = unlocks_stalwart_leader_non_admin_duels_effect }
}
else = {
custom_description_no_bullet = { text = unlock_dueling_rivals_effect }
}
if = {
limit = {
government_has_flag = government_is_landless_adventurer
has_ep2_dlc_trigger = yes
}
custom_tooltip = {
text = adventurer_stalwart_leader_perk_effect
}
}
}
}
courtship_perk = {
lifestyle = martial_lifestyle
tree = chivalry
position = { 0 1 }
icon = node_martial
parent = stalwart_leader_perk
government_character_modifier = {
flag = government_is_landless_adventurer
courting_scheme_phase_duration_add = monumental_scheme_phase_duration_bonus_value
elope_scheme_phase_duration_add = monumental_scheme_phase_duration_bonus_value
}
character_modifier = {
courting_scheme_phase_duration_add = medium_scheme_phase_duration_bonus_value
elope_scheme_phase_duration_add = medium_scheme_phase_duration_bonus_value
}
effect = {
custom_description_no_bullet = {
text = courtship_perk_effect
}
}
}
promising_prospects_perk = {
lifestyle = martial_lifestyle
tree = chivalry
position = { 0 2 }
icon = node_martial
parent = courtship_perk
effect = {
custom_description_no_bullet = {
text = promising_prospects_perk_effect
}
}
}
loyalty_and_respect_perk = {
lifestyle = martial_lifestyle
tree = chivalry
position = { 0 3 }
icon = node_martial
parent = promising_prospects_perk
effect = {
if = {
limit = {
NOT = { government_has_flag = government_is_landless_adventurer }
}
custom_description_no_bullet = {
text = loyalty_and_respect_perk_stats_effect
}
}
if = {
limit = {
government_has_flag = government_is_nomadic
}
custom_description_no_bullet = {
text = loyalty_and_respect_perk_obedience_effect
}
}
if = {
limit = {
government_has_mechanic = administrative
government_allows = merit
}
custom_description_no_bullet = {
text = candidate_pool_loyalty_and_respect_perk_effect
}
}
}
government_character_modifier = {
flag = government_is_landless_adventurer
trait_track_wit_xp_gain_mult = 0.25
}
character_modifier = {
spouse_opinion = 50
}
}
chivalric_dominance_perk = {
lifestyle = martial_lifestyle
tree = chivalry
position = { 2 1 }
icon = node_martial
parent = stalwart_leader_perk
government_character_modifier = {
flag = government_is_administrative
invert_check = yes
knight_effectiveness_mult = 0.75
}
government_character_modifier = {
flag = government_is_landless_adventurer
invert_check = yes
accolade_glory_gain_mult = 0.1
}
government_character_modifier = {
flag = government_is_landless_adventurer
trait_track_horse_xp_gain_mult = 0.25
}
government_character_modifier = {
flag = government_is_administrative
same_heritage_county_advantage_add = 5
}
effect = {
if = {
limit = {
has_pam_dlc_trigger = yes
actor_incite_holy_war_shown_trigger = yes
}
custom_description_no_bullet = { text = chivalric_dominance_perk_incite_war_effect }
}
}
}
never_back_down_perk = {
lifestyle = martial_lifestyle
tree = chivalry
position = { 2 2 }
icon = node_martial
parent = chivalric_dominance_perk
character_modifier = {
advantage = 5
hard_casualty_modifier = -0.2
tourney_participant_xp_gain_mult = 0.1
}
}
kingsguard_perk = {
lifestyle = martial_lifestyle
tree = chivalry
position = { 2 3 }
icon = node_martial
parent = never_back_down_perk
government_character_modifier = {
flag = government_is_landless_adventurer
trait_track_bow_xp_gain_mult = 0.25
}
government_character_modifier = {
flag = government_is_administrative
invert_check = yes
knight_limit = 4
}
government_character_modifier = {
flag = government_is_administrative
knight_limit = 2
}
government_character_modifier = {
flag = government_is_theocracy
enemy_hostile_scheme_success_chance_add = -5
character_travel_safety = 10
}
}
peacemaker_perk = {
lifestyle = martial_lifestyle
tree = chivalry
position = { 1 4 }
icon = node_martial
parent = loyalty_and_respect_perk
parent = kingsguard_perk
effect = {
custom_description_no_bullet = { text = peacemaker_perk_effect }
if = {
limit = {
government_has_flag = government_is_mandala
house ?= { has_house_aspiration_parameter = aspect_of_serenity }
is_house_head = yes
}
custom_description_no_bullet = { text = mandala_peacemaker_perk_serenity_effect }
}
}
}
gallant_perk = {
lifestyle = martial_lifestyle
tree = chivalry
position = { 1 5 }
icon = trait_gallant
parent = peacemaker_perk
trait = gallant
effect = {
add_trait_force_tooltip = gallant
}
}

View file

@ -42,7 +42,7 @@ huscarl = {
can_recruit = { can_recruit = {
valid_for_maa_trigger = { PARAMETER = unlock_maa_huscarls } valid_for_maa_trigger = { PARAMETER = unlock_maa_huscarls }
NOT = { NOT = {
culture = { has_cultural_parameter = strength_in_numbers_heavy_maa_ban } culture ?= { has_cultural_parameter = strength_in_numbers_heavy_maa_ban }
} }
} }
@ -338,7 +338,7 @@ monaspa = {
can_recruit = { can_recruit = {
valid_for_maa_trigger = { PARAMETER = unlock_maa_monaspa } valid_for_maa_trigger = { PARAMETER = unlock_maa_monaspa }
NOT = { NOT = {
culture = { has_cultural_parameter = strength_in_numbers_heavy_maa_ban } culture ?= { has_cultural_parameter = strength_in_numbers_heavy_maa_ban }
} }
} }
@ -382,7 +382,7 @@ cataphract = {
can_recruit = { can_recruit = {
valid_for_maa_trigger = { PARAMETER = unlock_maa_cataphract } valid_for_maa_trigger = { PARAMETER = unlock_maa_cataphract }
NOT = { NOT = {
culture = { has_cultural_parameter = strength_in_numbers_heavy_maa_ban } culture ?= { has_cultural_parameter = strength_in_numbers_heavy_maa_ban }
} }
} }
@ -528,7 +528,7 @@ horse_archers = {
has_perk = planned_cultivation_perk has_perk = planned_cultivation_perk
location.county.culture ?= { culture_has_archer_cavalry_maa = yes } location.county.culture ?= { culture_has_archer_cavalry_maa = yes }
} }
culture = { has_cultural_parameter = unlock_maa_horse_archers } culture ?= { has_cultural_parameter = unlock_maa_horse_archers }
mpo_can_recruit_nomad_maa_trigger = yes mpo_can_recruit_nomad_maa_trigger = yes
} }
} }
@ -562,7 +562,7 @@ ayyar = {
can_recruit = { can_recruit = {
valid_for_maa_trigger = { PARAMETER = unlock_maa_ayyar } valid_for_maa_trigger = { PARAMETER = unlock_maa_ayyar }
NOT = { NOT = {
culture = { has_cultural_parameter = strength_in_numbers_heavy_maa_ban } culture ?= { has_cultural_parameter = strength_in_numbers_heavy_maa_ban }
} }
} }
@ -593,7 +593,7 @@ mubarizun = {
can_recruit = { can_recruit = {
valid_for_maa_trigger = { PARAMETER = unlock_maa_mubarizun } valid_for_maa_trigger = { PARAMETER = unlock_maa_mubarizun }
NOT = { NOT = {
culture = { has_cultural_parameter = strength_in_numbers_heavy_maa_ban } culture ?= { has_cultural_parameter = strength_in_numbers_heavy_maa_ban }
} }
} }
@ -728,7 +728,7 @@ druzhina = {
can_recruit = { can_recruit = {
valid_for_maa_trigger = { PARAMETER = unlock_maa_druzhina } valid_for_maa_trigger = { PARAMETER = unlock_maa_druzhina }
NOT = { NOT = {
culture = { has_cultural_parameter = strength_in_numbers_heavy_maa_ban } culture ?= { has_cultural_parameter = strength_in_numbers_heavy_maa_ban }
} }
} }
@ -902,7 +902,7 @@ garudas = {
can_recruit = { can_recruit = {
valid_for_maa_trigger = { PARAMETER = unlock_maa_garudas } valid_for_maa_trigger = { PARAMETER = unlock_maa_garudas }
NOT = { NOT = {
culture = { has_cultural_parameter = strength_in_numbers_heavy_maa_ban } culture ?= { has_cultural_parameter = strength_in_numbers_heavy_maa_ban }
} }
} }
@ -933,7 +933,7 @@ khandayat = {
can_recruit = { can_recruit = {
valid_for_maa_trigger = { PARAMETER = unlock_maa_khandayat } valid_for_maa_trigger = { PARAMETER = unlock_maa_khandayat }
NOT = { NOT = {
culture = { has_cultural_parameter = strength_in_numbers_heavy_maa_ban } culture ?= { has_cultural_parameter = strength_in_numbers_heavy_maa_ban }
} }
} }
@ -974,7 +974,7 @@ mountaineer = {
can_recruit = { can_recruit = {
valid_for_maa_trigger = { PARAMETER = unlock_maa_mountaineer } valid_for_maa_trigger = { PARAMETER = unlock_maa_mountaineer }
NOT = { NOT = {
culture = { has_cultural_parameter = strength_in_numbers_heavy_maa_ban } culture ?= { has_cultural_parameter = strength_in_numbers_heavy_maa_ban }
} }
} }
@ -1148,7 +1148,7 @@ zbrojnosh = {
can_recruit = { can_recruit = {
valid_for_maa_trigger = { PARAMETER = unlock_maa_zbrojnosh } valid_for_maa_trigger = { PARAMETER = unlock_maa_zbrojnosh }
NOT = { NOT = {
culture = { has_cultural_parameter = strength_in_numbers_heavy_maa_ban } culture ?= { has_cultural_parameter = strength_in_numbers_heavy_maa_ban }
} }
} }
@ -1183,7 +1183,7 @@ palace_guards = {
can_recruit = { can_recruit = {
valid_for_maa_trigger = { PARAMETER = unlock_maa_palace_guards } valid_for_maa_trigger = { PARAMETER = unlock_maa_palace_guards }
NOT = { NOT = {
culture = { has_cultural_parameter = strength_in_numbers_heavy_maa_ban } culture ?= { has_cultural_parameter = strength_in_numbers_heavy_maa_ban }
} }
} }
@ -1290,7 +1290,7 @@ teulu = {
} }
can_recruit = { can_recruit = {
culture = { culture ?= {
OR = { OR = {
this = culture:welsh this = culture:welsh
this = culture:cumbrian this = culture:cumbrian

View file

@ -270,11 +270,11 @@ armored_footmen = {
} }
can_recruit = { can_recruit = {
culture = { culture ?= {
has_innovation = innovation_quilted_armor has_innovation = innovation_quilted_armor
} }
NOT = { NOT = {
culture = { has_cultural_parameter = strength_in_numbers_heavy_maa_ban } culture ?= { has_cultural_parameter = strength_in_numbers_heavy_maa_ban }
} }
NOR = { NOR = {
government_has_flag = government_is_nomadic government_has_flag = government_is_nomadic
@ -323,7 +323,7 @@ onager = {
siege_value = 0.2 siege_value = 0.2
can_recruit = { can_recruit = {
culture = { culture ?= {
has_innovation = innovation_catapult has_innovation = innovation_catapult
NOR = { NOR = {
has_cultural_pillar = heritage_chinese has_cultural_pillar = heritage_chinese
@ -374,7 +374,7 @@ armored_horsemen = {
} }
can_recruit = { can_recruit = {
culture = { culture ?= {
has_innovation = innovation_arched_saddle has_innovation = innovation_arched_saddle
} }
NOR = { NOR = {
@ -382,13 +382,13 @@ armored_horsemen = {
government_has_flag = government_is_true_herder government_has_flag = government_is_true_herder
} }
NOT = { NOT = {
culture = { has_cultural_parameter = strength_in_numbers_heavy_maa_ban } culture ?= { has_cultural_parameter = strength_in_numbers_heavy_maa_ban }
} }
} }
should_show_when_unavailable = { should_show_when_unavailable = {
government_allows = subject_men_at_arms government_allows = subject_men_at_arms
culture = { has_cultural_era_or_later = culture_era_early_medieval } culture ?= { has_cultural_era_or_later = culture_era_early_medieval }
NOT = { has_access_to_maa = nomad_lancers } NOT = { has_access_to_maa = nomad_lancers }
} }
@ -433,7 +433,7 @@ mangonel = {
siege_value = 0.3 siege_value = 0.3
can_recruit = { can_recruit = {
culture = { culture ?= {
has_innovation = innovation_mangonel has_innovation = innovation_mangonel
NOR = { NOR = {
has_cultural_pillar = heritage_chinese has_cultural_pillar = heritage_chinese
@ -449,7 +449,7 @@ mangonel = {
should_show_when_unavailable = { should_show_when_unavailable = {
government_allows = subject_men_at_arms government_allows = subject_men_at_arms
culture = { has_cultural_era_or_later = culture_era_early_medieval } culture ?= { has_cultural_era_or_later = culture_era_early_medieval }
} }
buy_cost = { gold = mangonel_recruitment_cost } buy_cost = { gold = mangonel_recruitment_cost }
@ -484,7 +484,7 @@ crossbowmen = {
} }
can_recruit = { can_recruit = {
culture = { culture ?= {
has_innovation = innovation_advanced_bowmaking has_innovation = innovation_advanced_bowmaking
} }
NOR = { NOR = {
@ -495,7 +495,7 @@ crossbowmen = {
should_show_when_unavailable = { should_show_when_unavailable = {
government_allows = subject_men_at_arms government_allows = subject_men_at_arms
culture = { has_cultural_era_or_later = culture_era_high_medieval } culture ?= { has_cultural_era_or_later = culture_era_high_medieval }
} }
buy_cost = { gold = crossbowmen_recruitment_cost } buy_cost = { gold = crossbowmen_recruitment_cost }
@ -535,7 +535,7 @@ trebuchet = {
siege_value = 0.4 siege_value = 0.4
can_recruit = { can_recruit = {
culture = { culture ?= {
has_innovation = innovation_trebuchet has_innovation = innovation_trebuchet
NOR = { NOR = {
has_cultural_pillar = heritage_chinese has_cultural_pillar = heritage_chinese
@ -552,7 +552,7 @@ trebuchet = {
should_show_when_unavailable = { should_show_when_unavailable = {
government_allows = subject_men_at_arms government_allows = subject_men_at_arms
culture = { has_cultural_era_or_later = culture_era_high_medieval } culture ?= { has_cultural_era_or_later = culture_era_high_medieval }
} }
buy_cost = { gold = trebuchet_recruitment_cost } buy_cost = { gold = trebuchet_recruitment_cost }
@ -577,7 +577,7 @@ bombard = {
siege_value = 0.6 siege_value = 0.6
can_recruit = { can_recruit = {
culture = { culture ?= {
has_cultural_parameter = unlock_bombards has_cultural_parameter = unlock_bombards
NOR = { NOR = {
has_cultural_pillar = heritage_chinese has_cultural_pillar = heritage_chinese
@ -593,7 +593,7 @@ bombard = {
should_show_when_unavailable = { should_show_when_unavailable = {
government_allows = subject_men_at_arms government_allows = subject_men_at_arms
culture = { has_cultural_era_or_later = culture_era_late_medieval } culture ?= { has_cultural_era_or_later = culture_era_late_medieval }
} }
buy_cost = { gold = bombard_recruitment_cost } buy_cost = { gold = bombard_recruitment_cost }
@ -615,7 +615,7 @@ handgunners = {
can_recruit = { can_recruit = {
gunpowder_raise_limit_existing_gunpowder_units < gunpowder_raise_limit_existing_gunpowder_buildings # one powder magazine must be owned to support three handgunner regiments, regardless of maa size gunpowder_raise_limit_existing_gunpowder_units < gunpowder_raise_limit_existing_gunpowder_buildings # one powder magazine must be owned to support three handgunner regiments, regardless of maa size
culture = { has_cultural_parameter = unlock_handgunners } culture ?= { has_cultural_parameter = unlock_handgunners }
} }
terrain_bonus = { terrain_bonus = {
@ -651,7 +651,7 @@ house_guard = {
has_dynasty_perk = warfare_legacy_5 has_dynasty_perk = warfare_legacy_5
} }
NOT = { NOT = {
culture = { has_cultural_parameter = strength_in_numbers_heavy_maa_ban } culture ?= { has_cultural_parameter = strength_in_numbers_heavy_maa_ban }
} }
} }

View file

@ -252,7 +252,7 @@ nomad_lancers = {
can_recruit = { can_recruit = {
mpo_can_recruit_nomad_heavy_cavalry_maa_trigger = yes mpo_can_recruit_nomad_heavy_cavalry_maa_trigger = yes
NOT = { NOT = {
culture = { has_cultural_parameter = strength_in_numbers_heavy_maa_ban } culture ?= { has_cultural_parameter = strength_in_numbers_heavy_maa_ban }
} }
} }
@ -341,7 +341,7 @@ cataphract_archers = {
valid_for_maa_trigger = { PARAMETER = unlock_maa_cataphract_archers } valid_for_maa_trigger = { PARAMETER = unlock_maa_cataphract_archers }
#Either non-nomadic or has some dominance #Either non-nomadic or has some dominance
NOT = { NOT = {
culture = { has_cultural_parameter = strength_in_numbers_heavy_maa_ban } culture ?= { has_cultural_parameter = strength_in_numbers_heavy_maa_ban }
} }
OR = { OR = {
NOT = { NOT = {

View file

@ -0,0 +1,313 @@
emishi_horse_archers = {
type = archer_cavalry
damage = 28
toughness = 12
pursuit = 35
screen = 30
terrain_bonus = {
forest = { damage = 12 pursuit = 12 }
plains = { damage = 6 pursuit = 8 }
hills = { damage = 6 pursuit = 8 }
terraced_hills = { damage = 4 toughness = 6 }
mountains = { damage = 4 pursuit = 6 }
}
counters = {
heavy_infantry = 1
}
can_recruit = {
culture ?= { has_cultural_parameter = unlock_emishi_horse_archers_units }
}
buy_cost = { gold = light_cavalry_recruitment_cost }
low_maintenance_cost = { gold = light_cavalry_low_maint_cost }
high_maintenance_cost = { gold = light_cavalry_high_maint_cost }
provision_cost = @provisions_cost_cavalry_cheap
stack = 100
ai_quality = {
value = @cultural_maa_extra_ai_score
add = 100 #I mean... they're horse archers
}
icon = emishi_horse_archers
}
ballista = {
type = siege_weapon
fights_in_main_phase = no
damage = 0
toughness = 12
siege_tier = 1
siege_value = 0.2
can_recruit = {
culture ?= {
has_innovation = innovation_catapult
culture_uses_eastern_siege_weapons_trigger = yes
}
NOT = { government_has_flag = government_is_in_steppe }
}
should_show_when_unavailable = {
government_allows = subject_men_at_arms
}
buy_cost = { gold = ballista_recruitment_cost }
low_maintenance_cost = { gold = ballista_low_maint_cost }
high_maintenance_cost = { gold = ballista_high_maint_cost }
provision_cost = @provisions_cost_special_cheap
stack = 10
allowed_in_hired_troops = no
icon = ballista
}
cloud_ladder = {
type = siege_weapon
fights_in_main_phase = no
damage = 0
toughness = 12
siege_tier = 2
siege_value = 0.3
can_recruit = {
culture ?= {
has_innovation = innovation_mangonel
culture_uses_eastern_siege_weapons_trigger = yes
}
NOT = { government_has_flag = government_is_in_steppe }
}
should_show_when_unavailable = {
government_allows = subject_men_at_arms
culture ?= { has_cultural_era_or_later = culture_era_early_medieval }
}
buy_cost = { gold = cloud_ladder_recruitment_cost }
low_maintenance_cost = { gold = cloud_ladder_low_maint_cost }
high_maintenance_cost = { gold = cloud_ladder_high_maint_cost }
provision_cost = @provisions_cost_special_moderate
stack = 10
allowed_in_hired_troops = no
icon = cloud_ladder
}
siege_tower = {
type = siege_weapon
fights_in_main_phase = no
damage = 0
toughness = 12
siege_tier = 3
siege_value = 0.4
can_recruit = {
culture ?= {
has_innovation = innovation_trebuchet
culture_uses_eastern_siege_weapons_trigger = yes
}
NOT = { government_has_flag = government_is_in_steppe }
}
should_show_when_unavailable = {
government_allows = subject_men_at_arms
culture ?= { has_cultural_era_or_later = culture_era_high_medieval }
}
buy_cost = { gold = siege_tower_recruitment_cost }
low_maintenance_cost = { gold = siege_tower_low_maint_cost }
high_maintenance_cost = { gold = siege_tower_high_maint_cost }
provision_cost = @provisions_cost_special_expensive
stack = 10
allowed_in_hired_troops = no
icon = siege_tower
}
cannon = {
type = siege_weapon
fights_in_main_phase = no
damage = 0
toughness = 12
siege_tier = 4
siege_value = 0.6
can_recruit = {
culture ?= {
has_cultural_parameter = unlock_late_medieval_gunpowder_units
culture_uses_eastern_siege_weapons_trigger = yes
}
NOT = { government_has_flag = government_is_in_steppe }
}
should_show_when_unavailable = {
government_allows = subject_men_at_arms
culture ?= { has_cultural_era_or_later = culture_era_late_medieval }
}
buy_cost = { gold = cannon_recruitment_cost }
low_maintenance_cost = { gold = cannon_low_maint_cost }
high_maintenance_cost = { gold = cannon_high_maint_cost }
provision_cost = @provisions_cost_special_bankrupting
stack = 10
allowed_in_hired_troops = no
icon = cannon
}
tarkhan = {
type = heavy_cavalry
damage = 110
toughness = 30
pursuit = 30
screen = 10
terrain_bonus = {
oasis = { damage = 30 }
drylands = { damage = 25 }
desert = { damage = 10 pursuit = 10 }
mountains = { damage = -30 }
wetlands = { damage = -80 toughness = -15 pursuit = -20 }
}
counters = {
heavy_infantry = 1
heavy_cavalry = 0.5
gunpowder = 1
}
winter_bonus = {
normal_winter = { damage = -10 toughness = -5 }
harsh_winter = { damage = -20 toughness = -5 }
}
can_recruit = {
OR = {
AND = {
has_government = landless_adventurer_government
has_perk = planned_cultivation_perk
location.culture ?= { has_cultural_parameter = unlock_maa_tarkhan }
}
culture ?= { has_cultural_parameter = unlock_maa_tarkhan }
}
NOT = {
culture ?= { has_cultural_parameter = strength_in_numbers_heavy_maa_ban }
}
}
buy_cost = { gold = cataphract_recruitment_cost }
low_maintenance_cost = { gold = cataphract_low_maint_cost }
high_maintenance_cost = { gold = cataphract_high_maint_cost }
provision_cost = @provisions_cost_cavalry_expensive
stack = 50
ai_quality = { value = @[cultural_maa_extra_ai_score + 60] }
icon = tarkhan
}
zupin_warrior = {
type = pikemen
damage = 16
toughness = 16
pursuit = 0
screen = 10
can_recruit = {
OR = {
AND = {
has_government = landless_adventurer_government
has_perk = planned_cultivation_perk
location.culture ?= { has_cultural_parameter = unlock_maa_zupin_warrior }
}
culture ?= { has_cultural_parameter = unlock_maa_zupin_warrior }
}
}
terrain_bonus = {
mountains = { toughness = 12 }
desert_mountains = { toughness = 12 }
hills = { damage = 4 toughness = 8 }
forest = { damage = 4 toughness = 8 pursuit = 4 }
}
counters = {
heavy_cavalry = 0.5
heavy_infantry = 1
light_cavalry = 1
}
winter_bonus = {
normal_winter = { damage = 4 pursuit = 5 }
}
buy_cost = { gold = bondi_recruitment_cost }
low_maintenance_cost = { gold = bondi_low_maint_cost }
high_maintenance_cost = { gold = bondi_high_maint_cost }
provision_cost = @provisions_cost_infantry_moderate
stack = 100
ai_quality = { value = @[cultural_maa_extra_ai_score + 20] }
icon = zupin_spearmen
}
tawashi = {
type = light_cavalry
damage = 25
toughness = 15
pursuit = 30
screen = 30
terrain_bonus = {
plains = { damage = 10 }
drylands = { damage = 10 }
hills = { damage = 10 }
mountains = { damage = 10 pursuit = 10 }
desert_mountains = { damage = 10 pursuit = 10 }
wetlands = { damage = -15 toughness = -10 pursuit = -30 screen = -30 }
}
counters = {
archers = 1
heavy_infantry = 1
gunpowder = 1
}
can_recruit = {
OR = {
AND = {
has_government = landless_adventurer_government
has_perk = planned_cultivation_perk
location.culture ?= { has_cultural_parameter = unlock_maa_tawashi }
}
culture ?= { has_cultural_parameter = unlock_maa_tawashi }
}
}
winter_bonus = {
harsh_winter = { damage = -5 toughness = -3 }
}
buy_cost = { gold = tawashi_recruitment_cost }
low_maintenance_cost = { gold = tawashi_low_maint_cost }
high_maintenance_cost = { gold = tawashi_high_maint_cost }
provision_cost = @provisions_cost_cavalry_moderate
stack = 100
ai_quality = { value = @[cultural_maa_extra_ai_score + 40] }
icon = tawashi
}

View file

@ -70,7 +70,7 @@ redcoats = {
can_recruit = { can_recruit = {
gunpowder_raise_limit_existing_gunpowder_units < gunpowder_raise_limit_existing_gunpowder_buildings # one powder magazine must be owned to support three handgunner regiments, regardless of maa size gunpowder_raise_limit_existing_gunpowder_units < gunpowder_raise_limit_existing_gunpowder_buildings # one powder magazine must be owned to support three handgunner regiments, regardless of maa size
culture = { culture ?= {
has_innovation = innovation_redcoats has_innovation = innovation_redcoats
} }
} }
@ -396,7 +396,7 @@ NEOW_militia = {
limit = { exists = cp:councillor_marshal } limit = { exists = cp:councillor_marshal }
cp:councillor_marshal = { martial = 13 } cp:councillor_marshal = { martial = 13 }
} }
faith = { has_doctrine_parameter = allows_communal_settlement } faith ?= { has_doctrine_parameter = allows_communal_settlement }
} }
} }
@ -503,7 +503,7 @@ carabineers = {
can_recruit = { can_recruit = {
gunpowder_raise_limit_existing_gunpowder_units < gunpowder_raise_limit_existing_gunpowder_buildings # one powder magazine must be owned to support three handgunner regiments, regardless of maa size gunpowder_raise_limit_existing_gunpowder_units < gunpowder_raise_limit_existing_gunpowder_buildings # one powder magazine must be owned to support three handgunner regiments, regardless of maa size
culture = { has_cultural_parameter = unlock_late_medieval_gunpowder_units } culture ?= { has_cultural_parameter = unlock_late_medieval_gunpowder_units }
} }
buy_cost = { gold = horse_archers_recruitment_cost } buy_cost = { gold = horse_archers_recruitment_cost }
@ -548,7 +548,7 @@ cowboys = {
can_recruit = { can_recruit = {
gunpowder_raise_limit_existing_gunpowder_units < gunpowder_raise_limit_existing_gunpowder_buildings # one powder magazine must be owned to support three handgunner regiments, regardless of maa size gunpowder_raise_limit_existing_gunpowder_units < gunpowder_raise_limit_existing_gunpowder_buildings # one powder magazine must be owned to support three handgunner regiments, regardless of maa size
culture = { has_cultural_parameter = unlock_maa_kuhjung } culture ?= { has_cultural_parameter = unlock_maa_kuhjung }
} }
buy_cost = { gold = horse_archers_recruitment_cost } buy_cost = { gold = horse_archers_recruitment_cost }
@ -583,7 +583,7 @@ full_plate_footmen = {
} }
can_recruit = { can_recruit = {
culture = { culture ?= {
has_innovation = innovation_plate_armor has_innovation = innovation_plate_armor
} }
NOR = { NOR = {
@ -1088,7 +1088,7 @@ blauwegarde = {
can_recruit = { can_recruit = {
gunpowder_raise_limit_existing_gunpowder_units < gunpowder_raise_limit_existing_gunpowder_buildings # one powder magazine must be owned to support three handgunner regiments, regardless of maa size gunpowder_raise_limit_existing_gunpowder_units < gunpowder_raise_limit_existing_gunpowder_buildings # one powder magazine must be owned to support three handgunner regiments, regardless of maa size
culture = { culture ?= {
has_innovation = innovation_blauwegarde has_innovation = innovation_blauwegarde
} }
} }
@ -1173,7 +1173,7 @@ karabiniers = {
can_recruit = { can_recruit = {
gunpowder_raise_limit_existing_gunpowder_units < gunpowder_raise_limit_existing_gunpowder_buildings # one powder magazine must be owned to support three handgunner regiments, regardless of maa size gunpowder_raise_limit_existing_gunpowder_units < gunpowder_raise_limit_existing_gunpowder_buildings # one powder magazine must be owned to support three handgunner regiments, regardless of maa size
culture = { has_cultural_parameter = unlock_maa_karabiniers } culture ?= { has_cultural_parameter = unlock_maa_karabiniers }
} }
buy_cost = { gold = horse_archers_recruitment_cost } buy_cost = { gold = horse_archers_recruitment_cost }
@ -1345,7 +1345,7 @@ legionarios = {
can_recruit = { can_recruit = {
gunpowder_raise_limit_existing_gunpowder_units < gunpowder_raise_limit_existing_gunpowder_buildings # one powder magazine must be owned to support three handgunner regiments, regardless of maa size gunpowder_raise_limit_existing_gunpowder_units < gunpowder_raise_limit_existing_gunpowder_buildings # one powder magazine must be owned to support three handgunner regiments, regardless of maa size
culture = { culture ?= {
has_innovation = innovation_legionarios has_innovation = innovation_legionarios
} }
} }

View file

@ -8,7 +8,6 @@ druidic_religion_opinion = { decimals = 0 }
europeanist_religion_opinion = { decimals = 0 } europeanist_religion_opinion = { decimals = 0 }
finnic_religion_opinion = { decimals = 0 } finnic_religion_opinion = { decimals = 0 }
folk_germanic_religion_opinion = { decimals = 0 } folk_germanic_religion_opinion = { decimals = 0 }
mediterranean_religion_opinion = { decimals = 0 }
novelist_religion_opinion = { decimals = 0 } novelist_religion_opinion = { decimals = 0 }
eastern_orthodox_religion_opinion = { decimals = 0 } eastern_orthodox_religion_opinion = { decimals = 0 }
french_pantheon_religion_opinion = { decimals = 0 } french_pantheon_religion_opinion = { decimals = 0 }

View file

@ -2058,6 +2058,7 @@ on_title_gain = {
} }
if = { # Get legitimacy from Reception Hall House Bonus if = { # Get legitimacy from Reception Hall House Bonus
limit = { limit = {
exists = house
house = { has_variable = ep3_legacy_legitimacy_counter } house = { has_variable = ep3_legacy_legitimacy_counter }
primary_title = scope:title primary_title = scope:title
} }
@ -2305,7 +2306,7 @@ on_title_gain = {
# TGP, bow before liege mandated # TGP, bow before liege mandated
if = { if = {
limit = { limit = {
culture = { has_cultural_parameter = must_pledge_loyalty_to_liege } culture ?= { has_cultural_parameter = must_pledge_loyalty_to_liege }
} }
if = { # if you are now the top liege, all your direct vassals with the same parameter who have not yet sworn fealty to you must swear fealty if = { # if you are now the top liege, all your direct vassals with the same parameter who have not yet sworn fealty to you must swear fealty
limit = { limit = {
@ -2315,7 +2316,7 @@ on_title_gain = {
every_vassal = { every_vassal = {
if = { if = {
limit = { limit = {
culture = { has_cultural_parameter = must_pledge_loyalty_to_liege } culture ?= { has_cultural_parameter = must_pledge_loyalty_to_liege }
OR = { OR = {
government_has_flag = government_is_feudal government_has_flag = government_is_feudal
government_has_flag = government_is_clan government_has_flag = government_is_clan
@ -2334,7 +2335,7 @@ on_title_gain = {
} }
else_if = { # if you now have a new liege, and they also follow a culture with the Pay Homage requirement, you must swear continued fealty else_if = { # if you now have a new liege, and they also follow a culture with the Pay Homage requirement, you must swear continued fealty
limit = { limit = {
liege.culture = { has_cultural_parameter = must_pledge_loyalty_to_liege } liege.culture ?= { has_cultural_parameter = must_pledge_loyalty_to_liege }
OR = { OR = {
government_has_flag = government_is_feudal government_has_flag = government_is_feudal
government_has_flag = government_is_clan government_has_flag = government_is_clan
@ -3179,7 +3180,7 @@ on_title_lost = {
if = { if = {
limit = { limit = {
#We only want to grab tribal cultures. #We only want to grab tribal cultures.
culture = { culture ?= {
NOT = { has_cultural_era_or_later = culture_era_early_medieval } NOT = { has_cultural_era_or_later = culture_era_early_medieval }
} }
#Must have lost their last piece of land. #Must have lost their last piece of land.

View file

@ -3998,7 +3998,7 @@
} }
is_shown = { is_shown = {
religion_tag = mediterranean_religion religion_tag = folk_germanic_religion
} }
parameters = { parameters = {

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -451,7 +451,7 @@ culture_ai_weight_skirmishers = {
if = { # Cultures that favours skirmishers if = { # Cultures that favours skirmishers
limit = { limit = {
culture = { culture ?= {
OR = { OR = {
has_cultural_pillar = heritage_baltic has_cultural_pillar = heritage_baltic
has_cultural_pillar = heritage_ugro_permian has_cultural_pillar = heritage_ugro_permian
@ -463,7 +463,7 @@ culture_ai_weight_skirmishers = {
} }
if = { # Cultures that dislike skirmishers if = { # Cultures that dislike skirmishers
limit = { limit = {
culture = { culture ?= {
OR = { OR = {
has_cultural_pillar = heritage_central_germanic has_cultural_pillar = heritage_central_germanic
has_cultural_pillar = heritage_frankish has_cultural_pillar = heritage_frankish
@ -477,7 +477,7 @@ culture_ai_weight_skirmishers = {
if = { # Cultures with a special MaA of that type should avoid the base version of the unit if = { # Cultures with a special MaA of that type should avoid the base version of the unit
limit = { limit = {
culture = { culture ?= {
culture_has_skirmisher_maa = yes culture_has_skirmisher_maa = yes
} }
} }
@ -490,7 +490,7 @@ culture_ai_weight_archers = {
if = { # Cultures that favours archers if = { # Cultures that favours archers
limit = { limit = {
culture = { culture ?= {
OR = { OR = {
has_cultural_pillar = heritage_west_germanic has_cultural_pillar = heritage_west_germanic
has_cultural_pillar = heritage_brythonic has_cultural_pillar = heritage_brythonic
@ -507,8 +507,8 @@ culture_ai_weight_archers = {
if = { # Cultures that dislike archers if = { # Cultures that dislike archers
limit = { limit = {
OR = { OR = {
culture = { has_cultural_pillar = heritage_central_germanic } culture ?= { has_cultural_pillar = heritage_central_germanic }
culture = { has_cultural_pillar = heritage_frankish } culture ?= { has_cultural_pillar = heritage_frankish }
} }
} }
add = -60 add = -60
@ -516,7 +516,7 @@ culture_ai_weight_archers = {
if = { # Cultures with a special MaA of that type should avoid the base version of the unit if = { # Cultures with a special MaA of that type should avoid the base version of the unit
limit = { limit = {
culture = { culture ?= {
culture_has_archer_maa = yes culture_has_archer_maa = yes
} }
} }
@ -529,7 +529,7 @@ culture_ai_weight_heavy_infantry = {
if = { # Cultures that favours heavy infantry if = { # Cultures that favours heavy infantry
limit = { limit = {
culture = { culture ?= {
OR = { OR = {
has_cultural_pillar = heritage_central_germanic has_cultural_pillar = heritage_central_germanic
has_cultural_pillar = heritage_north_germanic has_cultural_pillar = heritage_north_germanic
@ -544,7 +544,7 @@ culture_ai_weight_heavy_infantry = {
if = { # Cultures with a special MaA of that type should avoid the base version of the unit if = { # Cultures with a special MaA of that type should avoid the base version of the unit
limit = { limit = {
OR = { OR = {
culture = { culture ?= {
culture_has_heavy_infantry_maa = yes culture_has_heavy_infantry_maa = yes
} }
@ -563,8 +563,8 @@ culture_ai_weight_pikemen = {
if = { # Cultures that favours spearmen if = { # Cultures that favours spearmen
limit = { limit = {
OR = { OR = {
culture = { has_cultural_pillar = heritage_central_germanic } culture ?= { has_cultural_pillar = heritage_central_germanic }
culture = { has_cultural_pillar = heritage_latin } culture ?= { has_cultural_pillar = heritage_latin }
} }
} }
add = 40 add = 40
@ -572,7 +572,7 @@ culture_ai_weight_pikemen = {
if = { # Cultures with a special MaA of that type should avoid the base version of the unit if = { # Cultures with a special MaA of that type should avoid the base version of the unit
limit = { limit = {
culture = { culture ?= {
culture_has_pikemen_maa = yes culture_has_pikemen_maa = yes
} }
} }
@ -587,7 +587,7 @@ culture_ai_weight_light_cavalry = {
limit = { limit = {
mpo_can_recruit_nomad_maa_trigger = no mpo_can_recruit_nomad_maa_trigger = no
OR = { OR = {
culture = { has_cultural_pillar = heritage_iranian } culture ?= { has_cultural_pillar = heritage_iranian }
} }
} }
add = 80 add = 80
@ -595,7 +595,7 @@ culture_ai_weight_light_cavalry = {
if = { # Cultures that favours light cavalry if = { # Cultures that favours light cavalry
limit = { limit = {
mpo_can_recruit_nomad_maa_trigger = no mpo_can_recruit_nomad_maa_trigger = no
culture = { culture ?= {
OR = { OR = {
has_cultural_pillar = heritage_arabic has_cultural_pillar = heritage_arabic
has_cultural_pillar = heritage_berber has_cultural_pillar = heritage_berber
@ -611,11 +611,11 @@ culture_ai_weight_light_cavalry = {
if = { # Cultures that dislike light cavalry if = { # Cultures that dislike light cavalry
limit = { limit = {
OR = { OR = {
culture = { has_cultural_pillar = heritage_central_germanic } culture ?= { has_cultural_pillar = heritage_central_germanic }
culture = { has_cultural_pillar = heritage_tibetan } culture ?= { has_cultural_pillar = heritage_tibetan }
culture = { has_cultural_pillar = heritage_baltic } culture ?= { has_cultural_pillar = heritage_baltic }
culture = { has_cultural_pillar = heritage_burman } culture ?= { has_cultural_pillar = heritage_burman }
culture = { has_cultural_pillar = heritage_somalian } culture ?= { has_cultural_pillar = heritage_somalian }
} }
} }
add = -60 add = -60
@ -623,7 +623,7 @@ culture_ai_weight_light_cavalry = {
if = { # Cultures with a special MaA of that type should avoid the base version of the unit if = { # Cultures with a special MaA of that type should avoid the base version of the unit
limit = { limit = {
culture = { culture ?= {
culture_has_light_cavalry_maa = yes culture_has_light_cavalry_maa = yes
} }
} }
@ -632,12 +632,12 @@ culture_ai_weight_light_cavalry = {
if = { # Cultures with a preference for Camel Riders should buy those over normal light cavalry if = { # Cultures with a preference for Camel Riders should buy those over normal light cavalry
limit = { limit = {
culture = { culture ?= {
has_innovation = innovation_war_camels has_innovation = innovation_war_camels
} }
OR = { OR = {
culture = { has_cultural_pillar = heritage_arabic } culture ?= { has_cultural_pillar = heritage_arabic }
culture = { has_cultural_pillar = heritage_berber } culture ?= { has_cultural_pillar = heritage_berber }
} }
} }
add = -200 add = -200
@ -651,11 +651,11 @@ culture_ai_weight_heavy_cavalry = {
limit = { limit = {
mpo_can_recruit_nomad_maa_trigger = no mpo_can_recruit_nomad_maa_trigger = no
OR = { OR = {
culture = { has_cultural_pillar = heritage_iranian } culture ?= { has_cultural_pillar = heritage_iranian }
# Steppe cultures # Steppe cultures
culture = { has_cultural_pillar = heritage_turkic } culture ?= { has_cultural_pillar = heritage_turkic }
culture = { has_cultural_pillar = heritage_mongolic } culture ?= { has_cultural_pillar = heritage_mongolic }
} }
} }
add = 80 add = 80
@ -664,16 +664,16 @@ culture_ai_weight_heavy_cavalry = {
limit = { limit = {
mpo_can_recruit_nomad_maa_trigger = no mpo_can_recruit_nomad_maa_trigger = no
OR = { OR = {
culture = { has_cultural_pillar = heritage_central_germanic } culture ?= { has_cultural_pillar = heritage_central_germanic }
culture = { has_cultural_pillar = heritage_frankish } culture ?= { has_cultural_pillar = heritage_frankish }
culture = { has_cultural_pillar = heritage_indo_aryan } culture ?= { has_cultural_pillar = heritage_indo_aryan }
} }
} }
add = 40 add = 40
} }
if = { # Cultures that dislike heavy cavalry if = { # Cultures that dislike heavy cavalry
limit = { limit = {
culture = { culture ?= {
OR = { OR = {
has_cultural_pillar = heritage_tibetan has_cultural_pillar = heritage_tibetan
has_cultural_pillar = heritage_baltic has_cultural_pillar = heritage_baltic
@ -693,7 +693,7 @@ culture_ai_weight_heavy_cavalry = {
if = { # Cultures with a special MaA of that type should avoid the base version of the unit if = { # Cultures with a special MaA of that type should avoid the base version of the unit
limit = { limit = {
culture = { culture ?= {
culture_has_heavy_cavalry_maa = yes culture_has_heavy_cavalry_maa = yes
} }
} }
@ -707,8 +707,8 @@ culture_ai_weight_camels = {
if = { # Cultures that favours camel riders if = { # Cultures that favours camel riders
limit = { limit = {
OR = { OR = {
culture = { has_cultural_pillar = heritage_arabic } culture ?= { has_cultural_pillar = heritage_arabic }
culture = { has_cultural_pillar = heritage_berber } culture ?= { has_cultural_pillar = heritage_berber }
} }
} }
add = 80 add = 80
@ -721,9 +721,9 @@ culture_ai_weight_elephants = {
if = { # Cultures that favours war elephants if = { # Cultures that favours war elephants
limit = { limit = {
OR = { OR = {
culture = { has_cultural_pillar = heritage_dravidian } culture ?= { has_cultural_pillar = heritage_dravidian }
culture = { has_cultural_pillar = heritage_indo_aryan } culture ?= { has_cultural_pillar = heritage_indo_aryan }
culture = { has_cultural_pillar = heritage_burman } culture ?= { has_cultural_pillar = heritage_burman }
} }
} }
add = 60 add = 60
@ -808,7 +808,7 @@ counter_synergy_ai_weight_gunpowder = {
value = 200 # Since these are hard-limited elsewhere, prefer them highly value = 200 # Since these are hard-limited elsewhere, prefer them highly
if = { if = {
limit = { limit = {
culture = { has_cultural_era_or_later = culture_era_late_medieval } culture ?= { has_cultural_era_or_later = culture_era_late_medieval }
number_maa_regiments_of_base_type = { number_maa_regiments_of_base_type = {
type = pikemen type = pikemen
value >= 3 value >= 3
@ -824,7 +824,7 @@ counter_synergy_ai_weight_gunpowder = {
} }
if = { if = {
limit = { limit = {
culture = { has_cultural_pillar = heritage_chinese } culture ?= { has_cultural_pillar = heritage_chinese }
} }
add = 10 # more gun add = 10 # more gun
} }
@ -854,7 +854,7 @@ culture_ai_weight_crossbowmen = {
if = { # Cultures with a special MaA of that type should avoid the base version of the unit if = { # Cultures with a special MaA of that type should avoid the base version of the unit
limit = { limit = {
culture = { culture ?= {
culture_has_improved_crossbowmen = yes culture_has_improved_crossbowmen = yes
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -1292,42 +1292,42 @@ great_holy_war_target_kingdom_weight = {
} }
add = ghw_target_fringe add = ghw_target_fringe
} }
# Magyar heartlands # # Magyar heartlands
else_if = { # else_if = {
limit = { # limit = {
scope:the_faith.religion = religion:mediterranean_religion # scope:the_faith.religion = religion:mediterranean_religion
title_capital_county.title_province = { geographical_region = ghw_region_hungary } # title_capital_county.title_province = { geographical_region = ghw_region_hungary }
} # }
add = ghw_target_heartlands # add = ghw_target_heartlands
} # }
# Magyar frontier # # Magyar frontier
else_if = { # else_if = {
limit = { # limit = {
scope:the_faith.religion = religion:mediterranean_religion # scope:the_faith.religion = religion:mediterranean_religion
title_capital_county.title_province = { # title_capital_county.title_province = {
OR = { # OR = {
geographical_region = ghw_region_balkans # geographical_region = ghw_region_balkans
geographical_region = ghw_region_crimea # geographical_region = ghw_region_crimea
geographical_region = ghw_region_poland_bohemia_bavaria # geographical_region = ghw_region_poland_bohemia_bavaria
geographical_region = ghw_region_southern_russia # geographical_region = ghw_region_southern_russia
} # }
} # }
} # }
add = ghw_target_frontier # add = ghw_target_frontier
} # }
# Magyar fringe # # Magyar fringe
else_if = { # else_if = {
limit = { # limit = {
scope:the_faith.religion = religion:mediterranean_religion # scope:the_faith.religion = religion:mediterranean_religion
title_capital_county.title_province = { # title_capital_county.title_province = {
OR = { # OR = {
geographical_region = ghw_region_mainland_greece # geographical_region = ghw_region_mainland_greece
geographical_region = ghw_region_baltic # geographical_region = ghw_region_baltic
} # }
} # }
} # }
add = ghw_target_fringe # add = ghw_target_fringe
} # }
# # Bon/Qiangicism/Donyipoloism/Mundhumism heartlands # # Bon/Qiangicism/Donyipoloism/Mundhumism heartlands
# else_if = { # else_if = {
# limit = { # limit = {
@ -2060,22 +2060,22 @@ great_holy_war_target_kingdom_weight = {
multiply = ghw_target_distance_01_reduction multiply = ghw_target_distance_01_reduction
} }
} }
# Taltosist Paganism # # Taltosist Paganism
else_if = { # else_if = {
limit = { scope:the_faith.religion = religion:mediterranean_religion } # limit = { scope:the_faith.religion = religion:mediterranean_religion }
if = { # if = {
limit = { # limit = {
title_capital_county = { # title_capital_county = {
squared_distance = { # squared_distance = {
target = title:c_visegrad # target = title:c_visegrad
value >= ghw_target_distance_01_threshold # value >= ghw_target_distance_01_threshold
} # }
} # }
} # }
multiply = ghw_target_distance_01_reduction # multiply = ghw_target_distance_01_reduction
} # }
} # }
# Bon/Qiangicism/Donyipoloism/Mundhumism # # Bon/Qiangicism/Donyipoloism/Mundhumism
# else_if = { # else_if = {
# limit = { # limit = {
# scope:the_faith.religion = { # scope:the_faith.religion = {
@ -2470,22 +2470,22 @@ great_holy_war_target_kingdom_weight = {
multiply = ghw_target_distance_02_reduction multiply = ghw_target_distance_02_reduction
} }
} }
# Taltosist Paganism # # Taltosist Paganism
else_if = { # else_if = {
limit = { scope:the_faith.religion = religion:mediterranean_religion } # limit = { scope:the_faith.religion = religion:mediterranean_religion }
if = { # if = {
limit = { # limit = {
title_capital_county = { # title_capital_county = {
squared_distance = { # squared_distance = {
target = title:c_visegrad # target = title:c_visegrad
value >= ghw_target_distance_02_threshold # value >= ghw_target_distance_02_threshold
} # }
} # }
} # }
multiply = ghw_target_distance_02_reduction # multiply = ghw_target_distance_02_reduction
} # }
} # }
# Bon/Qiangicism/Donyipoloism/Mundhumism # # Bon/Qiangicism/Donyipoloism/Mundhumism
# else_if = { # else_if = {
# limit = { # limit = {
# scope:the_faith.religion = { # scope:the_faith.religion = {
@ -2880,22 +2880,22 @@ great_holy_war_target_kingdom_weight = {
multiply = ghw_target_distance_03_reduction multiply = ghw_target_distance_03_reduction
} }
} }
# Taltosist Paganism # # Taltosist Paganism
else_if = { # else_if = {
limit = { scope:the_faith.religion = religion:mediterranean_religion } # limit = { scope:the_faith.religion = religion:mediterranean_religion }
if = { # if = {
limit = { # limit = {
title_capital_county = { # title_capital_county = {
squared_distance = { # squared_distance = {
target = title:c_visegrad # target = title:c_visegrad
value >= ghw_target_distance_03_threshold # value >= ghw_target_distance_03_threshold
} # }
} # }
} # }
multiply = ghw_target_distance_03_reduction # multiply = ghw_target_distance_03_reduction
} # }
} # }
# Bon/Qiangicism/Donyipoloism/Mundhumism # # Bon/Qiangicism/Donyipoloism/Mundhumism
# else_if = { # else_if = {
# if = { # if = {
# limit = { # limit = {

View file

@ -76,7 +76,11 @@ court_chaplain_religious_relations_consulted_house_bonus_modifier = {
court_chaplain_religious_relations_cultural_tradition_bonus_modifier = { court_chaplain_religious_relations_cultural_tradition_bonus_modifier = {
if = { if = {
limit = { limit = {
scope:councillor_liege.culture = { has_cultural_parameter = religious_relations_is_empowered } exists = scope:councillor_liege.culture
trigger_if = {
limit = { exists = scope:councillor_liege.culture }
scope:councillor_liege.culture ?= { has_cultural_parameter = religious_relations_is_empowered }
}
} }
add = court_chaplain_religious_relations_modifier add = court_chaplain_religious_relations_modifier
multiply = 0.2 #When changing, adjust culture_parameter_religious_relations_is_empowered multiply = 0.2 #When changing, adjust culture_parameter_religious_relations_is_empowered
@ -245,13 +249,13 @@ court_chaplain_religious_relations_no_hof_opinion_modifier = {
add = 0 add = 0
if = { if = {
limit = { limit = {
scope:councillor.faith = { scope:councillor.faith ?= {
OR = { OR = {
has_doctrine_parameter = no_head_of_faith has_doctrine_parameter = no_head_of_faith
NOT = { exists = religious_head } NOT = { exists = religious_head }
} }
} }
scope:councillor.rite = { rite_has_doctrine = doctrine_theocracy_lay_clergy } scope:councillor.rite ?= { rite_has_doctrine = doctrine_theocracy_lay_clergy }
} }
add = court_chaplain_religious_relations_opinion_modifier add = court_chaplain_religious_relations_opinion_modifier
divide = court_chaplain_religious_relations_no_hof_balance divide = court_chaplain_religious_relations_no_hof_balance
@ -625,7 +629,7 @@ court_chaplain_conversion_contextual_bonuses = {
#Conversion modifiers from where the Faith is on the Pluralism spectrum. #Conversion modifiers from where the Faith is on the Pluralism spectrum.
if = { if = {
limit = { limit = {
scope:councillor.rite = { scope:councillor.rite ?= {
rite_has_parameter = pluralism_fundamentalist_proselytization_bonus rite_has_parameter = pluralism_fundamentalist_proselytization_bonus
} }
} }
@ -636,7 +640,7 @@ court_chaplain_conversion_contextual_bonuses = {
} }
if = { if = {
limit = { limit = {
scope:councillor.rite = { scope:councillor.rite ?= {
rite_has_parameter = pluralism_pluralistic_proselytization_penalty rite_has_parameter = pluralism_pluralistic_proselytization_penalty
} }
} }
@ -651,13 +655,13 @@ court_chaplain_conversion_contextual_bonuses = {
if = { if = {
limit = { limit = {
exists = scope:county exists = scope:county
scope:county.rite = { scope:county.rite ?= {
rite_has_parameter = sanctioned_false_conversion_county_resistance rite_has_parameter = sanctioned_false_conversion_county_resistance
} }
} }
if = { if = {
limit = { limit = {
scope:county.rite = { rite_has_tenet = tenet_false_conversion_sanction } scope:county.rite ?= { rite_has_tenet = tenet_false_conversion_sanction }
} }
add = { add = {
value = scope:councillor.conversion_false_conversion_sanction_resistance value = scope:councillor.conversion_false_conversion_sanction_resistance
@ -666,7 +670,7 @@ court_chaplain_conversion_contextual_bonuses = {
} }
else_if = { else_if = {
limit = { limit = {
scope:county.rite = { rite_has_tenet = tenet_pastoral_isolation } scope:county.rite ?= { rite_has_tenet = tenet_pastoral_isolation }
} }
add = { add = {
value = scope:councillor.conversion_pastoral_isolation_resistance value = scope:councillor.conversion_pastoral_isolation_resistance
@ -684,13 +688,13 @@ court_chaplain_conversion_contextual_bonuses = {
if = { if = {
limit = { limit = {
exists = scope:county exists = scope:county
scope:county.rite = { scope:county.rite ?= {
rite_has_parameter = reincarnation_resistance_to_conversion rite_has_parameter = reincarnation_resistance_to_conversion
} }
} }
if = { if = {
limit = { limit = {
scope:county.rite = { rite_has_tenet = tenet_reincarnation } scope:county.rite ?= { rite_has_tenet = tenet_reincarnation }
} }
add = { add = {
value = scope:councillor.conversion_reincarnation_resistance value = scope:councillor.conversion_reincarnation_resistance
@ -708,7 +712,7 @@ court_chaplain_conversion_contextual_bonuses = {
if = { if = {
limit = { limit = {
exists = scope:county exists = scope:county
scope:county.rite = { scope:county.rite ?= {
rite_has_parameter = tenet_adaptive_conversion_resistance rite_has_parameter = tenet_adaptive_conversion_resistance
} }
} }
@ -719,7 +723,7 @@ court_chaplain_conversion_contextual_bonuses = {
} }
if = { if = {
limit = { limit = {
scope:councillor.liege.rite = { rite_has_parameter = other_culture_conversion_penalty_active } scope:councillor.liege.rite ?= { rite_has_parameter = other_culture_conversion_penalty_active }
exists = scope:county exists = scope:county
scope:county.culture != scope:councillor.liege.culture scope:county.culture != scope:councillor.liege.culture
} }
@ -734,7 +738,7 @@ court_chaplain_conversion_contextual_bonuses = {
### Mendicant Preachers ### Mendicant Preachers
if = { if = {
limit = { limit = {
scope:councillor.rite = { scope:councillor.rite ?= {
rite_has_parameter = mendicant_preachers_conversion_active rite_has_parameter = mendicant_preachers_conversion_active
} }
} }
@ -759,7 +763,7 @@ court_chaplain_conversion_contextual_bonuses = {
if = { if = {
limit = { limit = {
exists = scope:county exists = scope:county
scope:councillor.rite = { scope:councillor.rite ?= {
rite_has_parameter = same_culture_conversion_bonus_active rite_has_parameter = same_culture_conversion_bonus_active
} }
scope:county.culture = scope:councillor.liege.culture scope:county.culture = scope:councillor.liege.culture
@ -773,7 +777,7 @@ court_chaplain_conversion_contextual_bonuses = {
if = { if = {
limit = { limit = {
exists = scope:county exists = scope:county
scope:councillor.faith = { scope:councillor.faith ?= {
has_doctrine_parameter = ghw_no_hof_conversion_buffs_active has_doctrine_parameter = ghw_no_hof_conversion_buffs_active
OR = { OR = {
has_doctrine_parameter = no_head_of_faith has_doctrine_parameter = no_head_of_faith
@ -791,7 +795,7 @@ court_chaplain_conversion_contextual_bonuses = {
if = { if = {
limit = { limit = {
exists = scope:county exists = scope:county
scope:councillor.rite = { rite_has_parameter = easier_to_convert_faith_in_mountains } scope:councillor.rite ?= { rite_has_parameter = easier_to_convert_faith_in_mountains }
scope:county = { scope:county = {
# We check any province and not just title province, to be generous. # We check any province and not just title province, to be generous.
county_has_province_with_terrain = { county_has_province_with_terrain = {
@ -811,7 +815,7 @@ court_chaplain_conversion_contextual_bonuses = {
limit = { limit = {
exists = scope:county exists = scope:county
scope:county = { scope:county = {
rite = { rite_has_parameter = harder_to_convert_faith_away_in_mountains } rite ?= { rite_has_parameter = harder_to_convert_faith_away_in_mountains }
# We check any province and not just title province, to be generous. # We check any province and not just title province, to be generous.
county_has_province_with_terrain = { county_has_province_with_terrain = {
terrain = mountains terrain = mountains
@ -830,7 +834,7 @@ court_chaplain_conversion_contextual_bonuses = {
limit = { limit = {
exists = scope:county.faith exists = scope:county.faith
scope:county.faith != scope:councillor.faith scope:county.faith != scope:councillor.faith
scope:councillor.faith = { faith_is_syncretic_with = { FAITH = scope:county.faith } } scope:councillor.faith ?= { faith_is_syncretic_with = { FAITH = scope:county.faith } }
} }
add = { add = {
value = scope:councillor.conversion_syncretic_with_religion_malus value = scope:councillor.conversion_syncretic_with_religion_malus
@ -888,7 +892,7 @@ court_chaplain_conversion_contextual_bonuses = {
} }
religion = religion:germanic_religion religion = religion:germanic_religion
} }
scope:county.faith = { scope:county.faith ?= {
NOT = { has_doctrine_parameter = unreformed } NOT = { has_doctrine_parameter = unreformed }
} }
} }
@ -944,7 +948,7 @@ court_chaplain_conversion_contextual_bonuses = {
#Conversion bonuses from certain Holy Sites. #Conversion bonuses from certain Holy Sites.
if = { if = {
limit = { limit = {
scope:councillor.faith = { scope:councillor.faith ?= {
controls_holy_site_with_parameter = jerusalem_conversion_bonus controls_holy_site_with_parameter = jerusalem_conversion_bonus
} }
title:b_jerusalem = { title:b_jerusalem = {
@ -958,7 +962,7 @@ court_chaplain_conversion_contextual_bonuses = {
} }
if = { if = {
limit = { limit = {
scope:councillor.faith = { scope:councillor.faith ?= {
controls_holy_site_with_parameter = kerala_conversion_bonus controls_holy_site_with_parameter = kerala_conversion_bonus
} }
title:b_mahoyadapuram = { title:b_mahoyadapuram = {
@ -973,7 +977,7 @@ court_chaplain_conversion_contextual_bonuses = {
if = { if = {
limit = { limit = {
exists = scope:county exists = scope:county
scope:councillor.faith = { scope:councillor.faith ?= {
controls_holy_site_with_parameter = iona_conversion_bonus controls_holy_site_with_parameter = iona_conversion_bonus
} }
title:b_islay = { title:b_islay = {
@ -991,7 +995,7 @@ court_chaplain_conversion_contextual_bonuses = {
if = { if = {
limit = { limit = {
exists = scope:county exists = scope:county
scope:county.faith = { scope:county.faith ?= {
controls_holy_site_with_parameter = wadi_el_milk_conversion_resistance_bonus controls_holy_site_with_parameter = wadi_el_milk_conversion_resistance_bonus
} }
title:b_wadi_el-milk = { title:b_wadi_el-milk = {
@ -1005,7 +1009,7 @@ court_chaplain_conversion_contextual_bonuses = {
} }
if = { if = {
limit = { limit = {
scope:councillor.faith = { scope:councillor.faith ?= {
controls_holy_site_with_parameter = cordoba_conversion_bonus controls_holy_site_with_parameter = cordoba_conversion_bonus
} }
title:b_cordoba = { title:b_cordoba = {
@ -1019,7 +1023,7 @@ court_chaplain_conversion_contextual_bonuses = {
} }
if = { if = {
limit = { limit = {
scope:councillor.faith = { scope:councillor.faith ?= {
controls_holy_site_with_parameter = geneva_conversion_bonus controls_holy_site_with_parameter = geneva_conversion_bonus
} }
title:b_geneva = { title:b_geneva = {
@ -1034,7 +1038,7 @@ court_chaplain_conversion_contextual_bonuses = {
if = { if = {
limit = { limit = {
exists = scope:county exists = scope:county
scope:county.faith = { scope:county.faith ?= {
controls_holy_site_with_parameter = visoki_conversion_resistance_bonus controls_holy_site_with_parameter = visoki_conversion_resistance_bonus
} }
title:b_visoki = { title:b_visoki = {
@ -1051,7 +1055,7 @@ court_chaplain_conversion_contextual_bonuses = {
if = { if = {
limit = { limit = {
exists = scope:county exists = scope:county
scope:county.culture = { scope:county.culture ?= {
has_cultural_parameter = more_easily_converted has_cultural_parameter = more_easily_converted
} }
} }
@ -1063,7 +1067,7 @@ court_chaplain_conversion_contextual_bonuses = {
if = { if = {
limit = { limit = {
exists = scope:county exists = scope:county
scope:county.culture = { scope:county.culture ?= {
has_cultural_parameter = harder_to_convert_county_faith has_cultural_parameter = harder_to_convert_county_faith
} }
} }
@ -1108,7 +1112,7 @@ court_chaplain_conversion_contextual_bonuses = {
limit = { limit = {
exists = global_var:fp3_struggle_ending exists = global_var:fp3_struggle_ending
global_var:fp3_struggle_ending = flag:fp3_struggle_shia_caliphate_ending global_var:fp3_struggle_ending = flag:fp3_struggle_shia_caliphate_ending
scope:councillor.rite = { scope:councillor.rite ?= {
rite_has_doctrine = muhammad_succession_shia_doctrine rite_has_doctrine = muhammad_succession_shia_doctrine
} }
} }
@ -1121,7 +1125,7 @@ court_chaplain_conversion_contextual_bonuses = {
limit = { limit = {
exists = global_var:fp3_struggle_ending exists = global_var:fp3_struggle_ending
global_var:fp3_struggle_ending = flag:fp3_struggle_strengthen_caliphate_ending global_var:fp3_struggle_ending = flag:fp3_struggle_strengthen_caliphate_ending
scope:councillor.rite = { scope:councillor.rite ?= {
rite_has_doctrine = muhammad_succession_sunni_doctrine rite_has_doctrine = muhammad_succession_sunni_doctrine
} }
} }
@ -1232,7 +1236,7 @@ court_chaplain_conversion_contextual_bonuses = {
# Faster conversion for certain special doctrines # Faster conversion for certain special doctrines
if = { if = {
limit = { limit = {
scope:councillor_liege.faith = { has_doctrine_parameter = adoptionists_attractively_intuitive_theology } scope:councillor_liege.faith ?= { has_doctrine_parameter = adoptionists_attractively_intuitive_theology }
exists = scope:county exists = scope:county
scope:county.faith.religion = religion:christianity_religion scope:county.faith.religion = religion:christianity_religion
} }
@ -1247,7 +1251,7 @@ court_chaplain_conversion_factors = {
value = 1 value = 1
if = { if = {
limit = { limit = {
scope:councillor.faith = { scope:councillor.faith ?= {
has_doctrine_parameter = unreformed has_doctrine_parameter = unreformed
} }
} }
@ -1323,7 +1327,7 @@ court_chaplain_conversion_factors = {
limit = { limit = {
scope:councillor.liege = { has_character_modifier = fp2_council_conversion_modifier } scope:councillor.liege = { has_character_modifier = fp2_council_conversion_modifier }
scope:county.rite != rite:mozarabic_church scope:county.rite != rite:mozarabic_church
scope:county.faith = { scope:county.faith ?= {
religion = scope:councillor.liege.religion religion = scope:councillor.liege.religion
NOT = { exists = religious_head } NOT = { exists = religious_head }
} }
@ -1341,7 +1345,7 @@ court_chaplain_conversion_factors = {
has_character_modifier = fp3_promoted_persian_scripture_modifier has_character_modifier = fp3_promoted_persian_scripture_modifier
is_ai = no #this is so that we don't get AI converting and homogenizing Persia too quickly is_ai = no #this is so that we don't get AI converting and homogenizing Persia too quickly
} }
scope:county.culture = { has_cultural_pillar = heritage_iranian } scope:county.culture ?= { has_cultural_pillar = heritage_iranian }
} }
multiply = { multiply = {
value = promote_persian_scripture_conversion_modifier_value value = promote_persian_scripture_conversion_modifier_value
@ -1356,16 +1360,16 @@ court_chaplain_conversion_factors = {
switch = { switch = {
trigger = global_var:fp3_struggle_ending_assertion_school trigger = global_var:fp3_struggle_ending_assertion_school
flag:sunni = { flag:sunni = {
scope:councillor.liege.rite = { rite_has_doctrine = muhammad_succession_sunni_doctrine } scope:councillor.liege.rite ?= { rite_has_doctrine = muhammad_succession_sunni_doctrine }
} }
flag:shia = { flag:shia = {
scope:councillor.liege.rite = { rite_has_doctrine = muhammad_succession_shia_doctrine } scope:councillor.liege.rite ?= { rite_has_doctrine = muhammad_succession_shia_doctrine }
} }
flag:muhakkima = { flag:muhakkima = {
scope:councillor.liege.rite = { rite_has_doctrine = muhammad_succession_muhakkima_doctrine } scope:councillor.liege.rite ?= { rite_has_doctrine = muhammad_succession_muhakkima_doctrine }
} }
flag:zandaqa = { flag:zandaqa = {
scope:councillor.liege.rite = { rite_has_doctrine = muhammad_succession_zandaqa_doctrine } scope:councillor.liege.rite ?= { rite_has_doctrine = muhammad_succession_zandaqa_doctrine }
} }
} }
} }
@ -1684,7 +1688,7 @@ court_chaplain_progress_percentage = {
conversion_fundamentalist_faith_bonus = { conversion_fundamentalist_faith_bonus = {
if = { if = {
limit = { limit = {
scope:councillor.rite = { scope:councillor.rite ?= {
rite_has_parameter = pluralism_fundamentalist_proselytization_bonus rite_has_parameter = pluralism_fundamentalist_proselytization_bonus
} }
} }
@ -1697,7 +1701,7 @@ conversion_pluralistic_faith_penalty = {
value = 0 value = 0
if = { if = {
limit = { limit = {
scope:councillor.rite = { scope:councillor.rite ?= {
rite_has_parameter = pluralism_pluralistic_proselytization_penalty rite_has_parameter = pluralism_pluralistic_proselytization_penalty
} }
} }
@ -1713,7 +1717,7 @@ conversion_false_conversion_sanction_resistance = {
if = { if = {
limit = { limit = {
exists = scope:county exists = scope:county
scope:county.rite = { scope:county.rite ?= {
rite_has_parameter = sanctioned_false_conversion_county_resistance rite_has_parameter = sanctioned_false_conversion_county_resistance
} }
} }
@ -1727,7 +1731,7 @@ conversion_reincarnation_resistance = {
if = { if = {
limit = { limit = {
exists = scope:county exists = scope:county
scope:county.rite = { scope:county.rite ?= {
rite_has_parameter = reincarnation_resistance_to_conversion rite_has_parameter = reincarnation_resistance_to_conversion
} }
} }
@ -1746,7 +1750,7 @@ conversion_adaptive_resistance = {
if = { if = {
limit = { limit = {
exists = scope:county exists = scope:county
scope:county.rite = { scope:county.rite ?= {
rite_has_parameter = tenet_adaptive_conversion_resistance rite_has_parameter = tenet_adaptive_conversion_resistance
} }
} }
@ -1760,7 +1764,7 @@ conversion_culture_harder_to_convert = {
if = { if = {
limit = { limit = {
exists = scope:county exists = scope:county
scope:county.culture = { scope:county.culture ?= {
has_cultural_parameter = harder_to_convert_county_faith has_cultural_parameter = harder_to_convert_county_faith
} }
} }
@ -1774,7 +1778,7 @@ conversion_culture_more_easily_converted = {
if = { if = {
limit = { limit = {
exists = scope:county exists = scope:county
scope:county.culture = { scope:county.culture ?= {
has_cultural_parameter = more_easily_converted has_cultural_parameter = more_easily_converted
} }
} }
@ -1796,7 +1800,7 @@ conversion_communal_identity_resistance = {
value = 0 value = 0
if = { if = {
limit = { limit = {
scope:councillor.rite = { rite_has_parameter = other_culture_conversion_penalty_active } scope:councillor.rite ?= { rite_has_parameter = other_culture_conversion_penalty_active }
scope:county.culture != scope:councillor.liege.culture scope:county.culture != scope:councillor.liege.culture
} }
subtract = court_chaplain_conversion_base_total subtract = court_chaplain_conversion_base_total
@ -1808,7 +1812,7 @@ conversion_mendicant_preachers_bonus = {
value = 0 value = 0
if = { if = {
limit = { limit = {
scope:councillor.rite = { scope:councillor.rite ?= {
rite_has_parameter = mendicant_preachers_conversion_active rite_has_parameter = mendicant_preachers_conversion_active
} }
} }
@ -1835,7 +1839,7 @@ conversion_communal_identity_bonus = {
if = { if = {
limit = { limit = {
exists = scope:county exists = scope:county
scope:councillor.rite = { scope:councillor.rite ?= {
rite_has_parameter = same_culture_conversion_bonus_active rite_has_parameter = same_culture_conversion_bonus_active
} }
scope:county.culture = scope:councillor.liege.culture scope:county.culture = scope:councillor.liege.culture
@ -1861,13 +1865,13 @@ conversion_ghw_tenet_no_hof_bonus = {
#add = court_chaplain_conversion_base_total #add = court_chaplain_conversion_base_total
if = { if = {
limit = { limit = {
faith = { holy_sites_controlled = 1 } faith ?= { holy_sites_controlled = 1 }
} }
multiply = conversion_ghw_tenet_multiplier_control multiply = conversion_ghw_tenet_multiplier_control
} }
else_if = { else_if = {
limit = { limit = {
faith = { holy_sites_controlled = 2 } faith ?= { holy_sites_controlled = 2 }
} }
multiply = { multiply = {
value = conversion_ghw_tenet_multiplier_control value = conversion_ghw_tenet_multiplier_control
@ -1876,7 +1880,7 @@ conversion_ghw_tenet_no_hof_bonus = {
} }
else_if = { else_if = {
limit = { limit = {
faith = { holy_sites_controlled = 3 } faith ?= { holy_sites_controlled = 3 }
} }
multiply = { multiply = {
value = conversion_ghw_tenet_multiplier_control value = conversion_ghw_tenet_multiplier_control
@ -1885,7 +1889,7 @@ conversion_ghw_tenet_no_hof_bonus = {
} }
else_if = { else_if = {
limit = { limit = {
faith = { holy_sites_controlled = 4 } faith ?= { holy_sites_controlled = 4 }
} }
multiply = { multiply = {
value = conversion_ghw_tenet_multiplier_control value = conversion_ghw_tenet_multiplier_control
@ -1894,7 +1898,7 @@ conversion_ghw_tenet_no_hof_bonus = {
} }
else_if = { else_if = {
limit = { limit = {
faith = { holy_sites_controlled = 5 } faith ?= { holy_sites_controlled = 5 }
} }
multiply = { multiply = {
value = conversion_ghw_tenet_multiplier_control value = conversion_ghw_tenet_multiplier_control
@ -1903,7 +1907,7 @@ conversion_ghw_tenet_no_hof_bonus = {
} }
else_if = { else_if = {
limit = { limit = {
faith = { holy_sites_controlled = 6 } faith ?= { holy_sites_controlled = 6 }
} }
multiply = { multiply = {
value = conversion_ghw_tenet_multiplier_control value = conversion_ghw_tenet_multiplier_control
@ -1912,7 +1916,7 @@ conversion_ghw_tenet_no_hof_bonus = {
} }
else_if = { else_if = {
limit = { limit = {
faith = { holy_sites_controlled = 7 } faith ?= { holy_sites_controlled = 7 }
} }
multiply = { multiply = {
value = conversion_ghw_tenet_multiplier_control value = conversion_ghw_tenet_multiplier_control
@ -1921,7 +1925,7 @@ conversion_ghw_tenet_no_hof_bonus = {
} }
else_if = { else_if = {
limit = { limit = {
faith = { holy_sites_controlled = 8 } faith ?= { holy_sites_controlled = 8 }
} }
multiply = { multiply = {
value = conversion_ghw_tenet_multiplier_control value = conversion_ghw_tenet_multiplier_control
@ -1930,7 +1934,7 @@ conversion_ghw_tenet_no_hof_bonus = {
} }
else_if = { else_if = {
limit = { limit = {
faith = { holy_sites_controlled = 9 } faith ?= { holy_sites_controlled = 9 }
} }
multiply = { multiply = {
value = conversion_ghw_tenet_multiplier_control value = conversion_ghw_tenet_multiplier_control
@ -1939,7 +1943,7 @@ conversion_ghw_tenet_no_hof_bonus = {
} }
else_if = { else_if = {
limit = { limit = {
faith = { holy_sites_controlled >= 10 } faith ?= { holy_sites_controlled >= 10 }
} }
multiply = { multiply = {
value = conversion_ghw_tenet_multiplier_control value = conversion_ghw_tenet_multiplier_control
@ -2010,7 +2014,7 @@ conversion_holy_site_jerusalem = {
value = 0 value = 0
if = { if = {
limit = { limit = {
scope:councillor.faith = { scope:councillor.faith ?= {
controls_holy_site_with_parameter = jerusalem_conversion_bonus controls_holy_site_with_parameter = jerusalem_conversion_bonus
} }
} }
@ -2023,7 +2027,7 @@ conversion_holy_site_kerala = {
value = 0 value = 0
if = { if = {
limit = { limit = {
scope:councillor.faith = { scope:councillor.faith ?= {
controls_holy_site_with_parameter = kerala_conversion_bonus controls_holy_site_with_parameter = kerala_conversion_bonus
} }
} }
@ -2036,7 +2040,7 @@ conversion_holy_site_iona = {
value = 0 value = 0
if = { if = {
limit = { limit = {
scope:councillor.faith = { scope:councillor.faith ?= {
controls_holy_site_with_parameter = iona_conversion_bonus controls_holy_site_with_parameter = iona_conversion_bonus
} }
} }
@ -2049,7 +2053,7 @@ conversion_holy_site_visoki = {
value = 0 value = 0
if = { if = {
limit = { limit = {
scope:councillor.faith = { scope:councillor.faith ?= {
controls_holy_site_with_parameter = visoki_conversion_resistance_bonus controls_holy_site_with_parameter = visoki_conversion_resistance_bonus
} }
} }
@ -2062,7 +2066,7 @@ conversion_holy_site_wadi_el_milk = {
value = 0 value = 0
if = { if = {
limit = { limit = {
scope:councillor.faith = { scope:councillor.faith ?= {
controls_holy_site_with_parameter = wadi_el_milk_conversion_resistance_bonus controls_holy_site_with_parameter = wadi_el_milk_conversion_resistance_bonus
} }
} }
@ -2075,7 +2079,7 @@ conversion_holy_site_cordoba = {
value = 0 value = 0
if = { if = {
limit = { limit = {
scope:councillor.faith = { scope:councillor.faith ?= {
controls_holy_site_with_parameter = cordoba_conversion_bonus controls_holy_site_with_parameter = cordoba_conversion_bonus
} }
} }
@ -2088,7 +2092,7 @@ conversion_holy_site_geneva = {
value = 0 value = 0
if = { if = {
limit = { limit = {
scope:councillor.faith = { scope:councillor.faith ?= {
controls_holy_site_with_parameter = geneva_conversion_bonus controls_holy_site_with_parameter = geneva_conversion_bonus
} }
} }
@ -2224,7 +2228,7 @@ court_chaplain_sunni_promotion = {
limit = { limit = {
exists = global_var:fp3_struggle_ending exists = global_var:fp3_struggle_ending
global_var:fp3_struggle_ending = flag:fp3_struggle_strengthen_caliphate_ending global_var:fp3_struggle_ending = flag:fp3_struggle_strengthen_caliphate_ending
rite = { rite ?= {
rite_has_doctrine = muhammad_succession_sunni_doctrine rite_has_doctrine = muhammad_succession_sunni_doctrine
} }
} }
@ -2240,7 +2244,7 @@ court_chaplain_shia_promotion = {
limit = { limit = {
exists = global_var:fp3_struggle_ending exists = global_var:fp3_struggle_ending
global_var:fp3_struggle_ending = flag:fp3_struggle_shia_caliphate_ending global_var:fp3_struggle_ending = flag:fp3_struggle_shia_caliphate_ending
rite = { rite ?= {
rite_has_doctrine = muhammad_succession_shia_doctrine rite_has_doctrine = muhammad_succession_shia_doctrine
} }
} }
@ -2252,7 +2256,7 @@ court_chaplain_shia_promotion = {
} }
#Cardinal Order bonus #Cardinal Order bonus
cardinal_order_convert_faith = { cardinal_order_convert_faith ?= {
if = { if = {
limit = { limit = {
scope:county ?= { scope:county ?= {

File diff suppressed because it is too large Load diff

View file

@ -1781,7 +1781,7 @@ ep3_become_landed_transfer_effect = {
flag:mandala = { flag:mandala = {
if = { if = {
limit = { limit = {
faith = { has_doctrine = doctrine_polytheist } faith ?= { has_doctrine = doctrine_polytheist }
} }
change_government = mandala_government change_government = mandala_government
#Sort out the House shenanigans #Sort out the House shenanigans
@ -1942,7 +1942,7 @@ ep3_become_landed_transfer_effect = {
#scope:old_government ?= flag:mandala #scope:old_government ?= flag:mandala
scope:target.holder = { government_has_flag = government_is_mandala } scope:target.holder = { government_has_flag = government_is_mandala }
} }
faith = { has_doctrine = doctrine_polytheist } faith ?= { has_doctrine = doctrine_polytheist }
} }
change_government = mandala_government change_government = mandala_government
#Sort out the House shenanigans #Sort out the House shenanigans
@ -2186,7 +2186,7 @@ purchase_land_interaction_effect = {
limit = { limit = {
scope:recipient = { government_has_flag = government_is_mandala } scope:recipient = { government_has_flag = government_is_mandala }
#... we're lenient #... we're lenient
faith = { has_doctrine = doctrine_polytheist } faith ?= { has_doctrine = doctrine_polytheist }
} }
#Sort out the House shenanigans #Sort out the House shenanigans
hidden_effect = { hidden_effect = {
@ -3098,7 +3098,7 @@ adventurer_realm_destabilisation_list_effect = {
abs = yes abs = yes
divide = 5 divide = 5
} }
culture = { culture ?= {
this != scope:adventurer.culture this != scope:adventurer.culture
cultural_acceptance = { cultural_acceptance = {
target = scope:adventurer.culture target = scope:adventurer.culture
@ -3118,7 +3118,7 @@ adventurer_realm_destabilisation_list_effect = {
max = 25 max = 25
} }
ai_zeal > low_positive_zeal ai_zeal > low_positive_zeal
faith = { faith ?= {
this != scope:adventurer.faith this != scope:adventurer.faith
"faith_hostility_level(scope:adventurer.faith)" > 0 "faith_hostility_level(scope:adventurer.faith)" > 0
} }
@ -4678,7 +4678,7 @@ admin_change_government_effect = {
else_if = { else_if = {
limit = { limit = {
top_liege = this top_liege = this
faith = { religion_tag = islam_religion } faith ?= { religion_tag = islam_religion }
} }
change_government = clan_government change_government = clan_government
} }
@ -8086,115 +8086,115 @@ save_traveler_culture_effect = {
OR = { OR = {
AND = { AND = {
culture_overlaps_geographical_region = world_europe culture_overlaps_geographical_region = world_europe
scope:traveler_culture = { culture_overlaps_geographical_region = world_europe } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_europe }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_asia_minor culture_overlaps_geographical_region = world_asia_minor
scope:traveler_culture = { culture_overlaps_geographical_region = world_europe } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_europe }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_europe culture_overlaps_geographical_region = world_europe
scope:traveler_culture = { culture_overlaps_geographical_region = world_asia_minor } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_asia_minor }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_asia_minor culture_overlaps_geographical_region = world_asia_minor
scope:traveler_culture = { culture_overlaps_geographical_region = world_asia_minor } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_asia_minor }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_asia_minor culture_overlaps_geographical_region = world_asia_minor
scope:traveler_culture = { culture_overlaps_geographical_region = world_middle_east } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_middle_east }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_middle_east culture_overlaps_geographical_region = world_middle_east
scope:traveler_culture = { culture_overlaps_geographical_region = world_asia_minor } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_asia_minor }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_middle_east culture_overlaps_geographical_region = world_middle_east
scope:traveler_culture = { culture_overlaps_geographical_region = world_middle_east } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_middle_east }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_africa culture_overlaps_geographical_region = world_africa
scope:traveler_culture = { culture_overlaps_geographical_region = world_africa } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_africa }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_steppe culture_overlaps_geographical_region = world_steppe
scope:traveler_culture = { culture_overlaps_geographical_region = world_steppe } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_steppe }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_tibet culture_overlaps_geographical_region = world_tibet
scope:traveler_culture = { culture_overlaps_geographical_region = world_tibet } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_tibet }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_tibet culture_overlaps_geographical_region = world_tibet
scope:traveler_culture = { culture_overlaps_geographical_region = world_india} scope:traveler_culture ?= { culture_overlaps_geographical_region = world_india}
} }
AND = { AND = {
culture_overlaps_geographical_region = world_india culture_overlaps_geographical_region = world_india
scope:traveler_culture = { culture_overlaps_geographical_region = world_tibet } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_tibet }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_india culture_overlaps_geographical_region = world_india
scope:traveler_culture = { culture_overlaps_geographical_region = world_india } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_india }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_burma culture_overlaps_geographical_region = world_burma
scope:traveler_culture = { culture_overlaps_geographical_region = world_india } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_india }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_india culture_overlaps_geographical_region = world_india
scope:traveler_culture = { culture_overlaps_geographical_region = world_burma } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_burma }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_tibet culture_overlaps_geographical_region = world_tibet
scope:traveler_culture = { culture_overlaps_geographical_region = world_burma } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_burma }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_burma culture_overlaps_geographical_region = world_burma
scope:traveler_culture = { culture_overlaps_geographical_region = world_tibet } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_tibet }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_tibet culture_overlaps_geographical_region = world_tibet
scope:traveler_culture = { culture_overlaps_geographical_region = world_asia_china } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_asia_china }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_asia_china culture_overlaps_geographical_region = world_asia_china
scope:traveler_culture = { culture_overlaps_geographical_region = world_asia_china } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_asia_china }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_asia_china culture_overlaps_geographical_region = world_asia_china
scope:traveler_culture = { culture_overlaps_geographical_region = world_asia_southeast } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_asia_southeast }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_asia_china culture_overlaps_geographical_region = world_asia_china
scope:traveler_culture = { culture_overlaps_geographical_region = world_asia_korea } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_asia_korea }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_asia_china culture_overlaps_geographical_region = world_asia_china
scope:traveler_culture = { culture_overlaps_geographical_region = world_asia_japan } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_asia_japan }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_asia_korea culture_overlaps_geographical_region = world_asia_korea
scope:traveler_culture = { culture_overlaps_geographical_region = world_asia_china } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_asia_china }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_asia_korea culture_overlaps_geographical_region = world_asia_korea
scope:traveler_culture = { culture_overlaps_geographical_region = world_asia_japan } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_asia_japan }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_asia_korea culture_overlaps_geographical_region = world_asia_korea
scope:traveler_culture = { culture_overlaps_geographical_region = world_asia_korea } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_asia_korea }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_asia_japan culture_overlaps_geographical_region = world_asia_japan
scope:traveler_culture = { culture_overlaps_geographical_region = world_asia_japan } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_asia_japan }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_asia_japan culture_overlaps_geographical_region = world_asia_japan
scope:traveler_culture = { culture_overlaps_geographical_region = world_asia_china } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_asia_china }
} }
AND = { AND = {
culture_overlaps_geographical_region = world_asia_japan culture_overlaps_geographical_region = world_asia_japan
scope:traveler_culture = { culture_overlaps_geographical_region = world_asia_korea } scope:traveler_culture ?= { culture_overlaps_geographical_region = world_asia_korea }
} }
} }
cultural_acceptance = { cultural_acceptance = {
@ -8525,7 +8525,7 @@ ep3_pick_random_maa_regiment_effect = {
# TRIBAL # TRIBAL
1 = { 1 = {
trigger = { trigger = {
culture = { has_innovation = innovation_elephantry } culture ?= { has_innovation = innovation_elephantry }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8534,7 +8534,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_innovation = innovation_war_camels } culture ?= { has_innovation = innovation_war_camels }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8543,7 +8543,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_innovation = innovation_arched_saddle } culture ?= { has_innovation = innovation_arched_saddle }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8552,7 +8552,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { culture ?= {
has_innovation = innovation_catapult has_innovation = innovation_catapult
NOR = { NOR = {
has_cultural_pillar = heritage_chinese has_cultural_pillar = heritage_chinese
@ -8569,7 +8569,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { culture ?= {
has_innovation = innovation_catapult has_innovation = innovation_catapult
OR = { OR = {
has_cultural_pillar = heritage_chinese has_cultural_pillar = heritage_chinese
@ -8587,7 +8587,7 @@ ep3_pick_random_maa_regiment_effect = {
# EARLY # EARLY
1 = { 1 = {
trigger = { trigger = {
culture = { has_innovation = innovation_quilted_armor } culture ?= { has_innovation = innovation_quilted_armor }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8596,7 +8596,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { culture ?= {
has_innovation = innovation_mangonel has_innovation = innovation_mangonel
NOR = { NOR = {
has_cultural_pillar = heritage_chinese has_cultural_pillar = heritage_chinese
@ -8613,7 +8613,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { culture ?= {
has_innovation = innovation_mangonel has_innovation = innovation_mangonel
OR = { OR = {
has_cultural_pillar = heritage_chinese has_cultural_pillar = heritage_chinese
@ -8631,7 +8631,7 @@ ep3_pick_random_maa_regiment_effect = {
# HIGH # HIGH
1 = { 1 = {
trigger = { trigger = {
culture = { culture ?= {
has_innovation = innovation_trebuchet has_innovation = innovation_trebuchet
NOR = { NOR = {
has_cultural_pillar = heritage_chinese has_cultural_pillar = heritage_chinese
@ -8648,7 +8648,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { culture ?= {
has_innovation = innovation_trebuchet has_innovation = innovation_trebuchet
OR = { OR = {
has_cultural_pillar = heritage_chinese has_cultural_pillar = heritage_chinese
@ -8665,7 +8665,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_innovation = innovation_advanced_bowmaking } culture ?= { has_innovation = innovation_advanced_bowmaking }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8675,7 +8675,7 @@ ep3_pick_random_maa_regiment_effect = {
# LATE # LATE
1 = { 1 = {
trigger = { trigger = {
culture = { culture ?= {
has_cultural_parameter = unlock_late_medieval_gunpowder_units has_cultural_parameter = unlock_late_medieval_gunpowder_units
NOR = { NOR = {
has_cultural_pillar = heritage_chinese has_cultural_pillar = heritage_chinese
@ -8692,7 +8692,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { culture ?= {
has_cultural_parameter = unlock_late_medieval_gunpowder_units has_cultural_parameter = unlock_late_medieval_gunpowder_units
OR = { OR = {
has_cultural_pillar = heritage_chinese has_cultural_pillar = heritage_chinese
@ -8710,7 +8710,7 @@ ep3_pick_random_maa_regiment_effect = {
# CULTURAL INNOVATIONS # CULTURAL INNOVATIONS
1 = { 1 = {
trigger = { trigger = {
culture = { has_innovation = innovation_bamboo_bows } culture ?= { has_innovation = innovation_bamboo_bows }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8719,7 +8719,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_innovation = innovation_zweihanders } culture ?= { has_innovation = innovation_zweihanders }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8728,7 +8728,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_innovation = innovation_adaptive_militia } culture ?= { has_innovation = innovation_adaptive_militia }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8737,7 +8737,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_innovation = innovation_valets } culture ?= { has_innovation = innovation_valets }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8746,7 +8746,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_innovation = innovation_rocket_cart } culture ?= { has_innovation = innovation_rocket_cart }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8755,7 +8755,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_innovation = innovation_pike_columns } culture ?= { has_innovation = innovation_pike_columns }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8764,7 +8764,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_innovation = innovation_legionnaires } culture ?= { has_innovation = innovation_legionnaires }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8773,7 +8773,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_innovation = innovation_desert_tactics } culture ?= { has_innovation = innovation_desert_tactics }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8782,7 +8782,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_innovation = innovation_caballeros } culture ?= { has_innovation = innovation_caballeros }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8791,7 +8791,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_innovation = innovation_hobbies } culture ?= { has_innovation = innovation_hobbies }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8800,7 +8800,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_innovation = innovation_rectilinear_schiltron } culture ?= { has_innovation = innovation_rectilinear_schiltron }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8809,7 +8809,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_innovation = innovation_sahel_horsemen } culture ?= { has_innovation = innovation_sahel_horsemen }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8818,7 +8818,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_innovation = innovation_sarawit } culture ?= { has_innovation = innovation_sarawit }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8827,7 +8827,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_innovation = innovation_repeating_crossbow } culture ?= { has_innovation = innovation_repeating_crossbow }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8836,7 +8836,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_innovation = innovation_pole_vault } culture ?= { has_innovation = innovation_pole_vault }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8845,7 +8845,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_huscarls } culture ?= { has_cultural_parameter = unlock_maa_huscarls }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8854,7 +8854,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_longbowmen } culture ?= { has_cultural_parameter = unlock_maa_longbowmen }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8863,7 +8863,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_monaspa } culture ?= { has_cultural_parameter = unlock_maa_monaspa }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8872,7 +8872,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_cataphract } culture ?= { has_cultural_parameter = unlock_maa_cataphract }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8881,7 +8881,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_metsanvartija } culture ?= { has_cultural_parameter = unlock_maa_metsanvartija }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8890,7 +8890,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_maturkan_warriors } culture ?= { has_cultural_parameter = unlock_maa_maturkan_warriors }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8900,7 +8900,7 @@ ep3_pick_random_maa_regiment_effect = {
1 = { 1 = {
trigger = { trigger = {
OR = { OR = {
culture = { has_cultural_parameter = unlock_maa_horse_archers } culture ?= { has_cultural_parameter = unlock_maa_horse_archers }
mpo_can_recruit_nomad_maa_trigger = yes mpo_can_recruit_nomad_maa_trigger = yes
} }
} }
@ -8911,7 +8911,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_ayyar } culture ?= { has_cultural_parameter = unlock_maa_ayyar }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8920,7 +8920,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_mubarizun } culture ?= { has_cultural_parameter = unlock_maa_mubarizun }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8929,7 +8929,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_mulaththamun } culture ?= { has_cultural_parameter = unlock_maa_mulaththamun }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8938,7 +8938,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_archers_of_the_nile } culture ?= { has_cultural_parameter = unlock_maa_archers_of_the_nile }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8947,7 +8947,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_druzhina } culture ?= { has_cultural_parameter = unlock_maa_druzhina }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8956,7 +8956,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_hussar } culture ?= { has_cultural_parameter = unlock_maa_hussar }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8965,7 +8965,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_horn_warrior } culture ?= { has_cultural_parameter = unlock_maa_horn_warrior }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8974,7 +8974,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_bush_hunter } culture ?= { has_cultural_parameter = unlock_maa_bush_hunter }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8983,7 +8983,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_shomer } culture ?= { has_cultural_parameter = unlock_maa_shomer }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -8992,7 +8992,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_garudas } culture ?= { has_cultural_parameter = unlock_maa_garudas }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9001,7 +9001,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_khandayat } culture ?= { has_cultural_parameter = unlock_maa_khandayat }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9010,7 +9010,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_mountaineer } culture ?= { has_cultural_parameter = unlock_maa_mountaineer }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9019,7 +9019,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_guinea_warrior } culture ?= { has_cultural_parameter = unlock_maa_guinea_warrior }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9028,7 +9028,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_abudrar } culture ?= { has_cultural_parameter = unlock_maa_abudrar }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9037,7 +9037,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_zbrojnosh } culture ?= { has_cultural_parameter = unlock_maa_zbrojnosh }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9046,7 +9046,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_palace_guards } culture ?= { has_cultural_parameter = unlock_maa_palace_guards }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9066,7 +9066,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_tarkhan } culture ?= { has_cultural_parameter = unlock_maa_tarkhan }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9075,7 +9075,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_zupin_warrior } culture ?= { has_cultural_parameter = unlock_maa_zupin_warrior }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9084,7 +9084,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_tawashi } culture ?= { has_cultural_parameter = unlock_maa_tawashi }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9244,7 +9244,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_vigmen } culture ?= { has_cultural_parameter = unlock_maa_vigmen }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9253,7 +9253,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_bondi } culture ?= { has_cultural_parameter = unlock_maa_bondi }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9262,7 +9262,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_varangian_veterans } culture ?= { has_cultural_parameter = unlock_maa_varangian_veterans }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9271,7 +9271,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_ayrudzi } culture ?= { has_cultural_parameter = unlock_maa_ayrudzi }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9289,7 +9289,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_conrois } culture ?= { has_cultural_parameter = unlock_maa_conrois }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9298,7 +9298,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_akritai } culture ?= { has_cultural_parameter = unlock_maa_akritai }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9307,7 +9307,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_ballistrai } culture ?= { has_cultural_parameter = unlock_maa_ballistrai }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9316,7 +9316,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_skoutatoi } culture ?= { has_cultural_parameter = unlock_maa_skoutatoi }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9325,7 +9325,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_warrior_monk_units } culture ?= { has_cultural_parameter = unlock_warrior_monk_units }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9334,7 +9334,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_emishi_horse_archers_units } culture ?= { has_cultural_parameter = unlock_emishi_horse_archers_units }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9343,7 +9343,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_mounted_samurai_units } culture ?= { has_cultural_parameter = unlock_mounted_samurai_units }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9352,7 +9352,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_pesilat } culture ?= { has_cultural_parameter = unlock_maa_pesilat }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9361,7 +9361,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_gakgung_archers } culture ?= { has_cultural_parameter = unlock_maa_gakgung_archers }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9370,7 +9370,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_infantry_samurai_units } culture ?= { has_cultural_parameter = unlock_infantry_samurai_units }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9379,7 +9379,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_zhanmadao } culture ?= { has_cultural_parameter = unlock_zhanmadao }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9388,7 +9388,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_burenjia } culture ?= { has_cultural_parameter = unlock_burenjia }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9397,7 +9397,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_innovation = innovation_tiefutu } culture ?= { has_innovation = innovation_tiefutu }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -9406,7 +9406,7 @@ ep3_pick_random_maa_regiment_effect = {
} }
1 = { 1 = {
trigger = { trigger = {
culture = { has_cultural_parameter = unlock_maa_black_armor_cavalry } culture ?= { has_cultural_parameter = unlock_maa_black_armor_cavalry }
} }
save_scope_value_as = { save_scope_value_as = {
name = maa_to_create name = maa_to_create
@ -10054,7 +10054,7 @@ ep3_missionary_effect = {
limit = { limit = {
OR = { OR = {
$LOCATION$.religion = $PREACHER$.religion $LOCATION$.religion = $PREACHER$.religion
$LOCATION$.faith = { has_doctrine_parameter = unreformed } $LOCATION$.faith ?= { has_doctrine_parameter = unreformed }
# character:41702 ?= $PREACHER$ # character:41702 ?= $PREACHER$
} }
} }
@ -10065,21 +10065,21 @@ ep3_missionary_effect = {
# Preacher is Gnostic, convert the locals to a regionally appropriate form of Gnosticism # Preacher is Gnostic, convert the locals to a regionally appropriate form of Gnosticism
else_if = { else_if = {
limit = { limit = {
$PREACHER$.faith = { $PREACHER$.faith ?= {
OR = { OR = {
has_doctrine = tenet_gnosticism has_doctrine = tenet_gnosticism
has_doctrine = special_doctrine_is_gnostic_faith has_doctrine = special_doctrine_is_gnostic_faith
} }
} }
$LOCATION$.religion = { $LOCATION$.religion = {
any_faith = { any_faith ?= {
has_doctrine = tenet_gnosticism has_doctrine = tenet_gnosticism
} }
} }
} }
$LOCATION$ = { $LOCATION$ = {
religion = { religion = {
random_faith = { random_faith ?= {
limit = { limit = {
OR = { OR = {
has_doctrine = tenet_gnosticism has_doctrine = tenet_gnosticism
@ -10716,8 +10716,8 @@ admin_government_reset_effect = {
else_if = { else_if = {
limit = { limit = {
OR = { OR = {
faith = { religion_tag = islam_religion } faith ?= { religion_tag = islam_religion }
culture = { culture ?= {
OR = { OR = {
has_cultural_pillar = heritage_arabic has_cultural_pillar = heritage_arabic
has_cultural_pillar = heritage_iranian has_cultural_pillar = heritage_iranian
@ -11505,9 +11505,9 @@ noble_family_adoption_effect = {
house.house_head = { #We do this first, otherwise house head will already mean someone else. house.house_head = { #We do this first, otherwise house head will already mean someone else.
if = { if = {
limit = { limit = {
$ADOPTER$.culture = { has_cultural_parameter = wider_adoption } $ADOPTER$.culture ?= { has_cultural_parameter = wider_adoption }
$ADOPTEE$ = { $ADOPTEE$ = {
culture = { has_cultural_parameter = wider_adoption } culture ?= { has_cultural_parameter = wider_adoption }
NOT = { NOT = {
any_parent = { any_parent = {
is_alive = yes is_alive = yes
@ -11563,7 +11563,7 @@ noble_family_adoption_effect = {
custom = every_zealot_house_member_tt custom = every_zealot_house_member_tt
limit = { limit = {
ai_zeal >= medium_positive_ai_value ai_zeal >= medium_positive_ai_value
faith = { faith_hostility_level = { target = $ADOPTEE$.faith value >= faith_astray_level } } faith ?= { faith_hostility_level = { target = $ADOPTEE$.faith value >= faith_astray_level } }
NOT = { this = $ADOPTER$ } NOT = { this = $ADOPTER$ }
} }
add_opinion = { add_opinion = {
@ -11579,12 +11579,12 @@ noble_family_adoption_effect = {
is_close_family_of = $ADOPTER$ is_close_family_of = $ADOPTER$
NAND = { NAND = {
ai_zeal >= medium_positive_ai_value ai_zeal >= medium_positive_ai_value
faith = { faith_hostility_level = { target = $ADOPTEE$.faith value >= faith_astray_level } } faith ?= { faith_hostility_level = { target = $ADOPTEE$.faith value >= faith_astray_level } }
} }
NAND = { NAND = {
$ADOPTER$.culture = { has_cultural_parameter = wider_adoption } $ADOPTER$.culture ?= { has_cultural_parameter = wider_adoption }
$ADOPTEE$ = { $ADOPTEE$ = {
culture = { has_cultural_parameter = wider_adoption } culture ?= { has_cultural_parameter = wider_adoption }
NOT = { NOT = {
any_parent = { any_parent = {
is_alive = yes is_alive = yes
@ -13013,14 +13013,15 @@ ep3_increase_pacification_effect = {
if = { if = {
limit = { limit = {
character:90028 = { exists = character:90028
character:90028 ?= {
is_alive = yes is_alive = yes
NOT = { NOT = {
has_character_flag = hereward_settled_flag has_character_flag = hereward_settled_flag
} }
} }
} }
character:90028 = { character:90028 ?= {
send_interface_message = { send_interface_message = {
type = msg_pacification_rise type = msg_pacification_rise
title = harrying.notification_pacification_rise title = harrying.notification_pacification_rise
@ -13031,6 +13032,7 @@ ep3_increase_pacification_effect = {
if = { if = {
limit = { limit = {
exists = scope:story.var:ruler_england
scope:story.var:ruler_england = { scope:story.var:ruler_england = {
any_vassal = { any_vassal = {
culture = culture:anglo_saxon culture = culture:anglo_saxon
@ -13090,14 +13092,14 @@ ep3_increase_pacification_large_effect = {
if = { if = {
limit = { limit = {
character:90028 = { character:90028 ?= {
is_alive = yes is_alive = yes
NOT = { NOT = {
has_character_flag = hereward_settled_flag has_character_flag = hereward_settled_flag
} }
} }
} }
character:90028 = { character:90028 ?= {
send_interface_message = { send_interface_message = {
type = msg_pacification_rise type = msg_pacification_rise
title = harrying.notification_pacification_rise title = harrying.notification_pacification_rise
@ -13167,14 +13169,14 @@ ep3_increase_resistance_effect = {
if = { if = {
limit = { limit = {
character:90028 = { character:90028 ?= {
is_alive = yes is_alive = yes
NOT = { NOT = {
has_character_flag = hereward_settled_flag has_character_flag = hereward_settled_flag
} }
} }
} }
character:90028 = { character:90028 ?= {
send_interface_message = { send_interface_message = {
type = msg_resistance_rise type = msg_resistance_rise
title = harrying.notification_resistance_rise title = harrying.notification_resistance_rise
@ -13244,14 +13246,14 @@ ep3_increase_resistance_large_effect = {
if = { if = {
limit = { limit = {
character:90028 = { character:90028 ?= {
is_alive = yes is_alive = yes
NOT = { NOT = {
has_character_flag = hereward_settled_flag has_character_flag = hereward_settled_flag
} }
} }
} }
character:90028 = { character:90028 ?= {
send_interface_message = { send_interface_message = {
type = msg_resistance_rise type = msg_resistance_rise
title = harrying.notification_resistance_rise title = harrying.notification_resistance_rise
@ -13323,14 +13325,14 @@ ep3_decrease_pacification_effect = {
if = { if = {
limit = { limit = {
character:90028 = { character:90028 ?= {
is_alive = yes is_alive = yes
NOT = { NOT = {
has_character_flag = hereward_settled_flag has_character_flag = hereward_settled_flag
} }
} }
} }
character:90028 = { character:90028 ?= {
send_interface_message = { send_interface_message = {
type = msg_pacification_falls type = msg_pacification_falls
title = harrying.notification_pacification_fall title = harrying.notification_pacification_fall
@ -13403,14 +13405,14 @@ ep3_decrease_resistance_effect = {
if = { if = {
limit = { limit = {
character:90028 = { character:90028 ?= {
is_alive = yes is_alive = yes
NOT = { NOT = {
has_character_flag = hereward_settled_flag has_character_flag = hereward_settled_flag
} }
} }
} }
character:90028 = { character:90028 ?= {
send_interface_message = { send_interface_message = {
type = msg_resistance_falls type = msg_resistance_falls
title = harrying.notification_resistance_fall title = harrying.notification_resistance_fall
@ -13785,7 +13787,7 @@ assign_favourite_child_effect = {
exists = scope:current_favorite exists = scope:current_favorite
} }
remove_relation_favorite_child = scope:current_favorite remove_relation_favorite_child = scope:current_favorite
scope:current_favorite = { scope:current_favorite ?= {
add_opinion = { add_opinion = {
target = $ACTOR$ target = $ACTOR$
modifier = no_more_favorite_opinion modifier = no_more_favorite_opinion

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,366 @@

###TRIGGER LIST
#opposing_ai_values_trigger - Checks if one character has a positive value and another character has a negative value for the same ai value.
#Needs TARGET and the name of the VALUE
opposing_ai_values_trigger = {
OR = {
AND = {
ai_$VALUE$ < 0
$TARGET$ = { ai_$VALUE$ > 0 }
}
AND = {
ai_$VALUE$ > 0
$TARGET$ = { ai_$VALUE$ < 0 }
}
}
}
ai_has_builder_or_pious_builder_personality = {
ai_has_pious_builder_personality = yes
ai_has_economical_boom_personality = yes
}
ai_has_pious_builder_personality = {
OR = {
AND = {
pious_ai_builder_trigger = yes
ai_has_warlike_personality = no
}
#Or our Devaraja decrees it
AND = {
OR = {
is_tributary = yes
is_independent_ruler = no
}
overlord ?= { has_realm_law_flag = subjects_appear_more_pious }
}
#Weight the AI according to their Aspect
house ?= { has_house_aspiration_parameter = aspect_of_serenity }
}
NOR = {
has_variable = conqueror
#Weight the AI according to their Aspect
house ?= {
OR = {
has_house_aspiration_parameter = aspect_of_creation
has_house_aspiration_parameter = aspect_of_destruction
has_house_aspiration_parameter = aspect_of_trickery
}
}
}
}
ai_has_warlike_personality = {
OR = {
vassal_contract_has_flag = admin_ai_is_warlike # Admin vassals with the "Frontier" administration consider it their job to expand
house ?= { # The unity decision "Organize House Members for War" forces AI house members to adopt this stance
has_house_modifier = unity_house_organized_for_war_modifier
}
AND = { # They are Detractors during the FP3 Struggle in the Unrest Phase
any_character_struggle = {
trigger_if = {
limit = { is_struggle_type = persian_struggle }
is_struggle_phase = struggle_persia_phase_unrest
}
trigger_else = { always = no }
}
has_trait = fp3_struggle_detractor
}
AND = { # Nomads are not 'unpredictable', they are Warlike instead
government_has_flag = government_is_nomadic
ai_has_cautious_personality = no
economical_ai_guts_trigger = no
}
AND = {
ai_boldness > 0
ai_greed >= 0
OR = {
has_trait = wrathful
has_trait = impatient
has_trait = sadistic
has_trait = ambitious
has_trait = vengeful
has_trait = zealous
has_trait = irritable
AND = {
ai_boldness >= 50
ai_greed >= 50
}
AND = {
ai_boldness >= 25
ai_greed >= 100
}
AND = {
ai_boldness >= 100
ai_greed >= 25
}
government_has_flag = government_is_tribal
culture ?= { has_cultural_pillar = ethos_bellicose }
}
NOR = {
ai_compassion >= 75
has_trait = compassionate
has_trait = craven
has_trait = calm
faith ?= { has_doctrine_parameter = pacifist }
culture ?= { has_cultural_parameter = reduced_cost_for_conversion_to_pacifist_faith }
house ?= {
has_house_modifier = unity_house_focused_on_economy_modifier
}
vassal_contract_has_flag = admin_ai_is_builder
}
}
# Or we're on the warpath.
has_variable = imperial_expedition_charged
#Or our Devaraja decrees it
AND = {
OR = {
is_tributary = yes
is_independent_ruler = no
}
overlord ?= { has_realm_law_flag = subjects_appear_more_warlike }
}
#Weight the AI according to their Aspect
house ?= { has_house_aspiration_parameter = aspect_of_destruction }
}
NOR = {
has_variable = conqueror
#Weight the AI according to their Aspect
house ?= {
OR = {
has_house_aspiration_parameter = aspect_of_creation
has_house_aspiration_parameter = aspect_of_serenity
has_house_aspiration_parameter = aspect_of_trickery
}
}
}
}
ai_has_cautious_personality = {
ai_boldness <= 0
OR = {
has_trait = paranoid
has_trait = craven
AND = {
ai_boldness <= -25
OR = {
has_trait = patient
has_trait = calm
has_trait = content
culture = { has_cultural_pillar = ethos_stoic }
culture = { has_cultural_tradition = tradition_stalwart_defenders }
}
}
}
NOR = {
has_trait = fickle
has_trait = lunatic
house ?= {
OR = {
has_house_modifier = unity_house_organized_for_war_modifier
has_house_modifier = unity_house_focused_on_economy_modifier
#Weight the AI according to their Aspect
has_house_aspiration_parameter = aspect_of_creation
has_house_aspiration_parameter = aspect_of_serenity
has_house_aspiration_parameter = aspect_of_trickery
}
}
AND = { # They are Detractors during the FP3 Struggle in the Unrest Phase
any_character_struggle = {
trigger_if = {
limit = { is_struggle_type = persian_struggle }
is_struggle_phase = struggle_persia_phase_unrest
}
trigger_else = { always = no }
}
has_trait = fp3_struggle_detractor
}
vassal_contract_has_flag = admin_ai_is_warlike
vassal_contract_has_flag = admin_ai_is_builder
has_variable = conqueror
}
}
ai_has_economical_boom_personality = {
OR = {
# Admin vassals with the "Civilian" administration consider it their job to improve the economy
vassal_contract_has_flag = admin_ai_is_builder
# The unity decision "Encourage House to Improve the Economy" forces AI house members to adopt this stance
house ?= {
has_house_modifier = unity_house_focused_on_economy_modifier
}
AND = {
economical_ai_guts_trigger = yes
ai_has_warlike_personality = no
}
#Or our Devaraja decrees it
AND = {
OR = {
is_tributary = yes
is_independent_ruler = no
}
overlord ?= { has_realm_law_flag = subjects_appear_more_economical }
}
#Weight the AI according to their Aspect
house ?= { has_house_aspiration_parameter = aspect_of_creation }
}
NOR = {
has_variable = conqueror
#Weight the AI according to their Aspect
house ?= {
OR = {
has_house_aspiration_parameter = aspect_of_destruction
has_house_aspiration_parameter = aspect_of_serenity
has_house_aspiration_parameter = aspect_of_trickery
}
}
}
}
pious_ai_builder_trigger = {
ai_zeal > 0
ai_energy > 0
OR = {
has_focus = learning_theology_focus # Only this focus, which is 33% of all learning focused characters in the world
has_trait = zealous
has_trait = forgiving
has_trait = improvident
has_trait = humble
has_trait = patient
has_trait = diligent
has_trait = generous
has_character_modifier = the_temple_builder_modifier
government_has_flag = government_is_mandala
}
num_virtuous_traits >= 1
num_sinful_traits = 0
NAND = {
has_trait = cynical
has_trait = greedy
house = {
has_house_modifier = unity_house_organized_for_war_modifier
}
}
}
economical_ai_guts_trigger = {
ai_boldness > 0
OR = {
has_focus = stewardship_domain_focus # Only this focus, which is 33% of all stewardship focused characters in the world
has_trait = calm
has_trait = patient
has_trait = diligent
has_trait = generous
has_trait = stubborn
has_trait = profligate
has_character_modifier = the_city_builder_modifier
has_character_modifier = the_castle_builder_modifier
}
NAND = {
has_trait = greedy
has_trait = impatient
house ?= {
has_house_modifier = unity_house_organized_for_war_modifier
}
}
}
ai_wants_low_unity = {
government_has_flag = government_is_clan
# To actively decrease Unity, the AI needs the following personality
OR = {
AND = {
OR = {
has_trait_malicious_trigger = yes
has_trait_dominant_trigger = yes
}
has_trait_submissive_trigger = no
has_trait_benevolent_trigger = no
}
ai_has_warlike_personality = yes
has_variable = conqueror
has_character_flag = agenda_towards_escalation
}
}
ai_wants_high_unity = {
government_has_flag = government_is_clan
# We'll make sure that the AI only wants to actively increase Unity if they have a matching personality
OR = {
AND = {
OR = {
has_trait_benevolent_trigger = yes
has_trait_submissive_trigger = yes
}
has_trait_malicious_trigger = no
}
ai_has_economical_boom_personality = yes
AND = {
NOT = { has_trait = fp3_struggle_detractor }
# House is the most recent Caliphs house
exists = struggle:persian_struggle
trigger_if = {
limit = { exists = title:d_sunni.holder }
house = title:d_sunni.holder.house
}
trigger_else = { house = title:d_sunni.previous_holder.house }
}
has_character_flag = agenda_towards_deescalation
}
# And to make sure the AI doesn't want to increase and decrease Unity at the same time
ai_wants_low_unity = no
}
ai_has_conqueror_personality = {
OR = {
has_trait = conqueror
has_trait = greatest_of_khans
has_character_modifier = the_great_khan_modifier
any_owned_story = {
type = story_conqueror
}
}
}
ai_should_get_conqueror_bonuses = {
has_variable = conqueror
NOT = { has_game_rule = no_conquerors_bonuses }
}
ai_should_get_extreme_conqueror_bonuses = {
has_variable = conqueror
has_character_modifier = ai_extreme_conqueror_modifier
}
ai_should_focus_on_building_in_their_capital = {
is_landed = yes
highest_held_title_tier >= tier_county
NOT = { has_variable = conqueror }
NOT = { government_has_flag = government_is_nomadic }
exists = capital_county
exists = culture
OR = {
capital_county.title_province.free_building_slots > 0
AND = {
culture = { has_innovation = innovation_ledger }
capital_county.title_province.combined_building_level <= 4
}
AND = {
culture = { has_innovation = innovation_baliffs }
capital_county.title_province.combined_building_level <= 6
}
AND = {
culture = { has_innovation = innovation_guilds }
capital_county.title_province.combined_building_level <= 9
}
AND = {
culture = { has_innovation = innovation_cranes }
capital_county.title_province.combined_building_level <= 12
}
}
}

View file

@ -237,8 +237,12 @@ building_orchards_requirement_terrain = {
terrain = floodplains terrain = floodplains
terrain = oasis terrain = oasis
has_building_or_higher = qanats_05 has_building_or_higher = qanats_05
culture = { AND = {
has_cultural_parameter = vegetarian_fruit_orchard_allowed exists = culture
trigger_if = {
limit = { exists = culture }
culture ?= { has_cultural_parameter = vegetarian_fruit_orchard_allowed }
}
} }
} }
} }
@ -251,7 +255,13 @@ building_farm_estates_requirement_terrain = {
terrain = hills terrain = hills
terrain = jungle terrain = jungle
} }
county.culture = { has_cultural_parameter = rice_cultivators_can_construct_paddy_fields_in_hills_and_jungle } AND = {
exists = county.culture
trigger_if = {
limit = { exists = county.culture }
county.culture ?= { has_cultural_parameter = rice_cultivators_can_construct_paddy_fields_in_hills_and_jungle }
}
}
} }
} }
} }
@ -325,14 +335,26 @@ building_paddy_fields_requirement_terrain = {
} }
AND = { AND = {
terrain = wetlands terrain = wetlands
county.culture = { has_cultural_parameter = champa_rice_wet_land_paddies } AND = {
exists = county.culture
trigger_if = {
limit = { exists = county.culture }
county.culture ?= { has_cultural_parameter = champa_rice_wet_land_paddies }
}
}
} }
AND = { AND = {
OR = { OR = {
terrain = hills terrain = hills
terrain = jungle terrain = jungle
} }
county.culture = { has_cultural_parameter = rice_cultivators_can_construct_paddy_fields_in_hills_and_jungle } AND = {
exists = county.culture
trigger_if = {
limit = { exists = county.culture }
county.culture ?= { has_cultural_parameter = rice_cultivators_can_construct_paddy_fields_in_hills_and_jungle }
}
}
} }
} }
} }
@ -447,7 +469,13 @@ building_elephant_pens_requirement_terrain = {
terrain = jungle terrain = jungle
OR = { OR = {
geographical_region = world_innovation_elephants geographical_region = world_innovation_elephants
culture = { has_cultural_parameter = elephant_pens_building_bonuses } AND = {
exists = culture
trigger_if = {
limit = { exists = culture }
culture ?= { has_cultural_parameter = elephant_pens_building_bonuses }
}
}
} }
} }
@ -455,7 +483,13 @@ building_horse_pastures_requirement_terrain = {
OR = { OR = {
terrain = steppe terrain = steppe
geographical_region = world_steppe_east geographical_region = world_steppe_east
culture = { has_cultural_parameter = unlock_horse_pastures_building } AND = {
exists = culture
trigger_if = {
limit = { exists = culture }
culture ?= { has_cultural_parameter = unlock_horse_pastures_building }
}
}
} }
} }
@ -471,7 +505,13 @@ building_quarries_requirement_terrain = {
OR = { OR = {
terrain = mountains terrain = mountains
terrain = desert_mountains terrain = desert_mountains
culture = { has_cultural_parameter = can_build_quarries_everywhere } AND = {
exists = culture
trigger_if = {
limit = { exists = culture }
culture ?= { has_cultural_parameter = can_build_quarries_everywhere }
}
}
} }
} }
@ -486,7 +526,13 @@ building_warrior_lodges_requirement_terrain = {
} }
NOT = { geographical_region = world_horse_buildings_in_hills_and_mountains } NOT = { geographical_region = world_horse_buildings_in_hills_and_mountains }
} }
culture = { has_cultural_parameter = warrior_lodges_lift_restrictions } AND = {
exists = culture
trigger_if = {
limit = { exists = culture }
culture ?= { has_cultural_parameter = warrior_lodges_lift_restrictions }
}
}
} }
} }
@ -523,7 +569,7 @@ building_wind_furnace_requirement_terrain = {
} }
scope:holder.culture = { has_innovation = innovation_wootz_steel } scope:holder.culture ?= { has_innovation = innovation_wootz_steel }
} }
building_hill_forts_requirement_terrain = { building_hill_forts_requirement_terrain = {
@ -587,7 +633,13 @@ building_caravanserai_requirement_terrain = {
building_qanats_requirement_terrain = { building_qanats_requirement_terrain = {
county ?= { county ?= {
culture = { has_cultural_parameter = unlocks_qanat_building } AND = {
exists = culture
trigger_if = {
limit = { exists = culture }
culture ?= { has_cultural_parameter = unlocks_qanat_building }
}
}
county_has_province_with_terrain = { county_has_province_with_terrain = {
terrain = hills terrain = hills
terrain = tells terrain = tells
@ -757,22 +809,22 @@ add_random_building_trigger = {
generic_economic_building_innovation_trigger = { generic_economic_building_innovation_trigger = {
trigger_if = { trigger_if = {
limit = { has_building_or_higher = $BUILDING$_01 } limit = { has_building_or_higher = $BUILDING$_01 }
scope:build_owner.culture = { has_innovation = innovation_crop_rotation } scope:build_owner.culture ?= { has_innovation = innovation_crop_rotation }
} }
trigger_if = { trigger_if = {
limit = { has_building_or_higher = $BUILDING$_02 } limit = { has_building_or_higher = $BUILDING$_02 }
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
scope:build_owner.culture = { has_innovation = innovation_manorialism } scope:build_owner.culture ?= { has_innovation = innovation_manorialism }
} }
trigger_if = { trigger_if = {
limit = { has_building_or_higher = $BUILDING$_04 } limit = { has_building_or_higher = $BUILDING$_04 }
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
scope:build_owner.culture = { has_innovation = innovation_guilds } scope:build_owner.culture ?= { has_innovation = innovation_guilds }
} }
trigger_if = { trigger_if = {
limit = { has_building_or_higher = $BUILDING$_06 } limit = { has_building_or_higher = $BUILDING$_06 }
building_requirement_castle_city_church = { LEVEL = 04 } building_requirement_castle_city_church = { LEVEL = 04 }
scope:build_owner.culture = { has_innovation = innovation_cranes } scope:build_owner.culture ?= { has_innovation = innovation_cranes }
} }
} }
@ -780,22 +832,22 @@ generic_economic_building_innovation_trigger = {
generic_fortification_building_innovations_trigger = { generic_fortification_building_innovations_trigger = {
trigger_if = { trigger_if = {
limit = { has_building_or_higher = $BUILDING$_01 } limit = { has_building_or_higher = $BUILDING$_01 }
scope:build_owner.culture = { has_innovation = innovation_motte } scope:build_owner.culture ?= { has_innovation = innovation_motte }
} }
trigger_if = { trigger_if = {
limit = { has_building_or_higher = $BUILDING$_02 } limit = { has_building_or_higher = $BUILDING$_02 }
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
scope:build_owner.culture = { has_innovation = innovation_battlements } scope:build_owner.culture ?= { has_innovation = innovation_battlements }
} }
trigger_if = { trigger_if = {
limit = { has_building_or_higher = $BUILDING$_04 } limit = { has_building_or_higher = $BUILDING$_04 }
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
scope:build_owner.culture = { has_innovation = innovation_hoardings } scope:build_owner.culture ?= { has_innovation = innovation_hoardings }
} }
trigger_if = { trigger_if = {
limit = { has_building_or_higher = $BUILDING$_06 } limit = { has_building_or_higher = $BUILDING$_06 }
building_requirement_castle_city_church = { LEVEL = 04 } building_requirement_castle_city_church = { LEVEL = 04 }
scope:build_owner.culture = { has_innovation = innovation_machicolations } scope:build_owner.culture ?= { has_innovation = innovation_machicolations }
} }
} }
@ -803,22 +855,22 @@ generic_fortification_building_innovations_trigger = {
generic_recruitment_building_innovations_trigger = { generic_recruitment_building_innovations_trigger = {
trigger_if = { trigger_if = {
limit = { has_building_or_higher = $BUILDING$_01 } limit = { has_building_or_higher = $BUILDING$_01 }
scope:build_owner.culture = { has_innovation = innovation_barracks } scope:build_owner.culture ?= { has_innovation = innovation_barracks }
} }
trigger_if = { trigger_if = {
limit = { has_building_or_higher = $BUILDING$_02 } limit = { has_building_or_higher = $BUILDING$_02 }
building_requirement_castle_city_church = { LEVEL = 02 } building_requirement_castle_city_church = { LEVEL = 02 }
scope:build_owner.culture = { has_innovation = innovation_burhs } scope:build_owner.culture ?= { has_innovation = innovation_burhs }
} }
trigger_if = { trigger_if = {
limit = { has_building_or_higher = $BUILDING$_04 } limit = { has_building_or_higher = $BUILDING$_04 }
building_requirement_castle_city_church = { LEVEL = 03 } building_requirement_castle_city_church = { LEVEL = 03 }
scope:build_owner.culture = { has_innovation = innovation_castle_baileys } scope:build_owner.culture ?= { has_innovation = innovation_castle_baileys }
} }
trigger_if = { trigger_if = {
limit = { has_building_or_higher = $BUILDING$_06 } limit = { has_building_or_higher = $BUILDING$_06 }
building_requirement_castle_city_church = { LEVEL = 04 } building_requirement_castle_city_church = { LEVEL = 04 }
scope:build_owner.culture = { has_innovation = innovation_royal_armory } scope:build_owner.culture ?= { has_innovation = innovation_royal_armory }
} }
} }
@ -946,7 +998,7 @@ religious_special_building_exclusion_trigger = { # checks if any special buildin
building_monastic_schools_holding_level_requirement_trigger = { building_monastic_schools_holding_level_requirement_trigger = {
trigger_if = { trigger_if = {
limit = { scope:holder.rite = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } } limit = { scope:holder.rite ?= { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } }
OR = { OR = {
has_building_or_higher = castle_$LEVEL$ has_building_or_higher = castle_$LEVEL$
has_building_or_higher = city_$LEVEL$ has_building_or_higher = city_$LEVEL$
@ -975,7 +1027,11 @@ building_waterworks_requirement_terrain = {
terrain = mountains terrain = mountains
terrain = desert_mountains terrain = desert_mountains
} }
scope:holder.culture = { has_cultural_parameter = unlocks_waterworks_buildings } exists = scope:holder.culture
trigger_if = {
limit = { exists = scope:holder.culture }
scope:holder.culture ?= { has_cultural_parameter = unlocks_waterworks_buildings }
}
} }
building_spice_plantation_requirement_terrain = { building_spice_plantation_requirement_terrain = {
@ -1014,12 +1070,22 @@ building_breweries_requirement = {
} }
OR = { OR = {
religion = religion:catholic_religion religion = religion:catholic_religion
faith = { has_doctrine_parameter = allows_brewery } AND = {
exists = faith
trigger_if = {
limit = { exists = faith }
faith ?= { has_doctrine_parameter = allows_brewery }
}
}
} }
} }
trigger_else = { trigger_else = {
building_requirement_castle_city_church = { LEVEL = $NUMBER$ } building_requirement_castle_city_church = { LEVEL = $NUMBER$ }
culture = { has_cultural_parameter = allows_brewery } exists = culture
trigger_if = {
limit = { exists = culture }
culture ?= { has_cultural_parameter = allows_brewery }
}
} }
} }
@ -1061,7 +1127,11 @@ building_doggerland_ivory_deposits_requirement_terrain = {
building_vineyards_requirement = { building_vineyards_requirement = {
AND = { AND = {
root.culture = { has_cultural_parameter = allows_vineyards } exists = root.culture
trigger_if = {
limit = { exists = root.culture }
root.culture ?= { has_cultural_parameter = allows_vineyards }
}
OR = { OR = {
terrain = farmlands terrain = farmlands
terrain = plains terrain = plains
@ -1072,16 +1142,28 @@ building_vineyards_requirement = {
building_communal_settlement_requirement = { building_communal_settlement_requirement = {
OR = { OR = {
scope:holder.faith = { AND = {
has_doctrine_parameter = allows_communal_settlement exists = scope:holder.faith
trigger_if = {
limit = { exists = scope:holder.faith }
scope:holder.faith ?= { has_doctrine_parameter = allows_communal_settlement }
}
} }
root.faith = { AND = {
has_doctrine_parameter = allows_communal_settlement exists = root.faith
trigger_if = {
limit = { exists = root.faith }
root.faith ?= { has_doctrine_parameter = allows_communal_settlement }
}
} }
root.culture = { AND = {
has_cultural_parameter = allows_communal_settlement exists = root.culture
trigger_if = {
limit = { exists = root.culture }
root.culture ?= { has_cultural_parameter = allows_communal_settlement }
}
} }
} }
} }

View file

@ -3451,17 +3451,7 @@ portrait_religious_shamanism_nivkh_trigger = { # same as above but shamanists wi
portrait_religious_steppe_trigger = { portrait_religious_steppe_trigger = {
OR = { always = no
# religion = religion:tengrism_religion
# religion = religion:qiangic_religion
# religion = religion:siberian_religion
# religion = religion:mundhum_religion
# religion = religion:tani_religion
religion = religion:mediterranean_religion
# faith = {
# portrait_religious_faith_or_foundational_trigger = { FAITH = faith:bon_faith }
# }
}
} }
portrait_religious_buddhist_trigger = { portrait_religious_buddhist_trigger = {

View file

@ -8,7 +8,7 @@ coa_african_trigger = {
} }
coa_african_culture_trigger = { coa_african_culture_trigger = {
scope:culture = { scope:culture ?= {
OR = { OR = {
has_coa_gfx = central_african_group_coa_gfx has_coa_gfx = central_african_group_coa_gfx
has_coa_gfx = east_african_coa_gfx has_coa_gfx = east_african_coa_gfx
@ -41,7 +41,7 @@ coa_bishopric_trigger = {
coa_breton_trigger = { coa_breton_trigger = {
OR = { OR = {
scope:culture = { has_coa_gfx = breton_coa_gfx } scope:culture ?= { has_coa_gfx = breton_coa_gfx }
scope:title ?= { scope:title ?= {
any_this_title_or_de_jure_above = { any_this_title_or_de_jure_above = {
this = title:k_brittany this = title:k_brittany
@ -52,7 +52,7 @@ coa_breton_trigger = {
coa_byzantine_trigger = { coa_byzantine_trigger = {
OR = { OR = {
scope:culture = { has_coa_gfx = byzantine_group_coa_gfx } scope:culture ?= { has_coa_gfx = byzantine_group_coa_gfx }
# scope:title ?= { # scope:title ?= {
# any_this_title_or_de_jure_above = { # any_this_title_or_de_jure_above = {
# this = title:e_byzantium # this = title:e_byzantium
@ -63,7 +63,7 @@ coa_byzantine_trigger = {
coa_castilian_trigger = { coa_castilian_trigger = {
OR = { OR = {
scope:culture = { has_coa_gfx = castilian_coa_gfx } scope:culture ?= { has_coa_gfx = castilian_coa_gfx }
scope:title ?= { scope:title ?= {
any_this_title_or_de_jure_above = { any_this_title_or_de_jure_above = {
this = title:k_castille this = title:k_castille
@ -84,11 +84,15 @@ coa_coptic_trigger = {
} }
coa_cross_trigger = { coa_cross_trigger = {
scope:faith = { trigger_if = {
limit = { exists = scope:faith }
scope:faith ?= {
OR = { religion = religion:catholic_religion religion = religion:eastern_orthodox_religion religion = religion:protestant_religion religion = religion:oriental_orthodox_religion } OR = { religion = religion:catholic_religion religion = religion:eastern_orthodox_religion religion = religion:protestant_religion religion = religion:oriental_orthodox_religion }
NOT = { main_rite = { rite_has_tenet = tenet_aniconism } } NOT = { main_rite ?= { rite_has_tenet = tenet_aniconism } }
} }
} }
trigger_else = { always = no }
}
coa_england_switches_to_france_coa_trigger = { coa_england_switches_to_france_coa_trigger = {
always = no always = no
@ -120,13 +124,14 @@ coa_switch_to_norse_trigger = {
} }
OR = { OR = {
faith.religion = religion:folk_germanic_religion faith.religion = religion:folk_germanic_religion
culture = { has_coa_gfx = norse_coa_gfx } culture ?= { has_coa_gfx = norse_coa_gfx }
} }
} }
} }
coa_feudal_trigger = { coa_feudal_trigger = {
trigger_if = {
limit = { exists = scope:faith.religion }
scope:faith.religion = { scope:faith.religion = {
OR = { OR = {
this = religion:catholic_religion this = religion:catholic_religion
@ -135,12 +140,14 @@ coa_feudal_trigger = {
this = religion:oriental_orthodox_religion this = religion:oriental_orthodox_religion
} }
} }
}
trigger_else = { always = no }
government_has_flag = government_is_feudal government_has_flag = government_is_feudal
} }
coa_french_trigger = { coa_french_trigger = {
OR = { OR = {
scope:culture = { has_coa_gfx = french_coa_gfx } scope:culture ?= { has_coa_gfx = french_coa_gfx }
AND = { AND = {
exists = root exists = root
any_liege_or_above = { any_liege_or_above = {
@ -154,7 +161,7 @@ coa_french_trigger = {
coa_irish_trigger = { coa_irish_trigger = {
OR = { OR = {
scope:culture = { has_coa_gfx = irish_coa_gfx } scope:culture ?= { has_coa_gfx = irish_coa_gfx }
scope:title ?= { scope:title ?= {
any_this_title_or_de_jure_above = { any_this_title_or_de_jure_above = {
this = title:k_ireland this = title:k_ireland
@ -165,7 +172,7 @@ coa_irish_trigger = {
coa_indian_culture_trigger = { coa_indian_culture_trigger = {
scope:culture = { scope:culture ?= {
OR = { OR = {
has_coa_gfx = burman_group_coa_gfx has_coa_gfx = burman_group_coa_gfx
has_coa_gfx = dravidian_group_coa_gfx has_coa_gfx = dravidian_group_coa_gfx
@ -182,9 +189,15 @@ coa_indian_region_trigger = {
} }
} }
coa_indian_religion_trigger = { coa_indian_religion_trigger = {
trigger_if = {
limit = { exists = scope:faith.religion }
scope:faith.religion = { scope:faith.religion = {
save_temporary_scope_as = religion save_temporary_scope_as = religion
} }
}
trigger_else = {
always = no
}
scope:religion = { scope:religion = {
OR = { OR = {
this = { is_in_family = rf_eastern } this = { is_in_family = rf_eastern }
@ -201,19 +214,27 @@ coa_indian_trigger = {
coa_indian_region_trigger = yes coa_indian_region_trigger = yes
coa_indian_religion_trigger = yes coa_indian_religion_trigger = yes
} }
scope:culture = { has_graphical_east_asia_culture_group_trigger = no } scope:culture ?= { has_graphical_east_asia_culture_group_trigger = no }
} }
coa_jewish_trigger = { coa_jewish_trigger = {
OR = { OR = {
trigger_if = {
limit = { exists = scope:faith.religion }
scope:faith.religion = religion:judaism_religion scope:faith.religion = religion:judaism_religion
scope:culture = { has_coa_gfx = israelite_group_coa_gfx } }
trigger_else = { always = no }
trigger_if = {
limit = { exists = scope:culture }
scope:culture ?= { has_coa_gfx = israelite_group_coa_gfx }
}
trigger_else = { always = no }
} }
} }
coa_leonese_trigger = { coa_leonese_trigger = {
OR = { OR = {
scope:culture = { has_coa_gfx = leonese_coa_gfx } scope:culture ?= { has_coa_gfx = leonese_coa_gfx }
scope:title ?= { scope:title ?= {
any_this_title_or_de_jure_above = { any_this_title_or_de_jure_above = {
this = title:k_leon this = title:k_leon
@ -246,7 +267,7 @@ coa_manx_trigger = {
coa_mena_trigger = { coa_mena_trigger = {
OR = { OR = {
scope:faith.religion = religion:islam_religion scope:faith.religion = religion:islam_religion
scope:culture = { scope:culture ?= {
OR = { OR = {
has_coa_gfx = arabic_group_coa_gfx has_coa_gfx = arabic_group_coa_gfx
has_coa_gfx = berber_group_coa_gfx has_coa_gfx = berber_group_coa_gfx
@ -258,7 +279,7 @@ coa_mena_trigger = {
coa_suomenusko_trigger = { coa_suomenusko_trigger = {
OR = { OR = {
scope:faith.religion = religion:finnic_religion scope:faith.religion = religion:finnic_religion
scope:culture = { scope:culture ?= {
OR = { OR = {
has_coa_gfx = balto_finnic_group_coa_gfx has_coa_gfx = balto_finnic_group_coa_gfx
has_coa_gfx = ugro_permian_group_coa_gfx has_coa_gfx = ugro_permian_group_coa_gfx
@ -270,7 +291,7 @@ coa_suomenusko_trigger = {
coa_polish_trigger = { coa_polish_trigger = {
OR = { OR = {
scope:culture = { has_coa_gfx = polish_coa_gfx } scope:culture ?= { has_coa_gfx = polish_coa_gfx }
AND = { AND = {
exists = root exists = root
any_liege_or_above = { any_liege_or_above = {
@ -284,7 +305,7 @@ coa_polish_trigger = {
coa_scottish_trigger = { coa_scottish_trigger = {
OR = { OR = {
scope:culture = { has_coa_gfx = scottish_coa_gfx } scope:culture ?= { has_coa_gfx = scottish_coa_gfx }
scope:title ?= { scope:title ?= {
any_this_title_or_de_jure_above = { any_this_title_or_de_jure_above = {
this = title:k_scotland this = title:k_scotland
@ -302,15 +323,15 @@ coa_theocratic_trigger = {
} }
coa_welsh_trigger = { coa_welsh_trigger = {
scope:culture = { has_coa_gfx = welsh_coa_gfx } scope:culture ?= { has_coa_gfx = welsh_coa_gfx }
} }
coa_tamga_trigger = { coa_tamga_trigger = {
scope:culture = { has_coa_gfx = steppe_coa_gfx } scope:culture ?= { has_coa_gfx = steppe_coa_gfx }
} }
coa_scandinavian_trigger = { coa_scandinavian_trigger = {
scope:culture = { scope:culture ?= {
OR = { OR = {
has_coa_gfx = swedish_coa_gfx has_coa_gfx = swedish_coa_gfx
has_coa_gfx = norwegian_coa_gfx has_coa_gfx = norwegian_coa_gfx
@ -320,18 +341,18 @@ coa_scandinavian_trigger = {
} }
coa_norse_trigger = { coa_norse_trigger = {
scope:culture = { has_coa_gfx = norse_coa_gfx } scope:culture ?= { has_coa_gfx = norse_coa_gfx }
} }
coa_germanic_trigger = { coa_germanic_trigger = {
scope:culture = { has_coa_gfx = german_group_coa_gfx } scope:culture ?= { has_coa_gfx = german_group_coa_gfx }
} }
coa_iberian_trigger = { coa_iberian_trigger = {
OR = { OR = {
scope:culture = { has_coa_gfx = iberian_group_coa_gfx } scope:culture ?= { has_coa_gfx = iberian_group_coa_gfx }
AND = { AND = {
scope:culture = { has_coa_gfx = arabic_group_coa_gfx } scope:culture ?= { has_coa_gfx = arabic_group_coa_gfx }
scope:title ?= { scope:title ?= {
OR = { OR = {
this = title:e_spain this = title:e_spain
@ -343,7 +364,7 @@ coa_iberian_trigger = {
} }
coa_iranian_trigger = { coa_iranian_trigger = {
scope:culture = { has_coa_gfx = iranian_group_coa_gfx } scope:culture ?= { has_coa_gfx = iranian_group_coa_gfx }
} }
has_recognizable_chinese_seal = { has_recognizable_chinese_seal = {

View file

@ -33,7 +33,11 @@ can_be_councillor_gender_trigger = {
has_variable = can_be_councillor_override has_variable = can_be_councillor_override
AND = { AND = {
is_female = yes is_female = yes
$COURT_OWNER$.rite = { NOT = { rite_has_parameter = male_dominated_council } } exists = $COURT_OWNER$.rite
trigger_if = {
limit = { exists = $COURT_OWNER$.rite }
$COURT_OWNER$.rite ?= { NOT = { rite_has_parameter = male_dominated_council } }
}
} }
AND = { AND = {
is_female = yes is_female = yes
@ -43,7 +47,11 @@ can_be_councillor_gender_trigger = {
} }
AND = { AND = {
is_male = yes is_male = yes
$COURT_OWNER$.rite = { NOT = { rite_has_parameter = female_dominated_council } } exists = $COURT_OWNER$.rite
trigger_if = {
limit = { exists = $COURT_OWNER$.rite }
$COURT_OWNER$.rite ?= { NOT = { rite_has_parameter = female_dominated_council } }
}
} }
} }
} }
@ -55,7 +63,7 @@ can_be_chancellor_trigger = {
} }
NAND = { NAND = {
has_council_position = councillor_court_chaplain has_council_position = councillor_court_chaplain
rite = { rite_has_parameter = clerical_appointment_fixed } rite ?= { rite_has_parameter = clerical_appointment_fixed }
} }
NOR = { NOR = {
has_council_position = councillor_spouse has_council_position = councillor_spouse
@ -74,7 +82,7 @@ can_be_steward_trigger = {
} }
NAND = { NAND = {
has_council_position = councillor_court_chaplain has_council_position = councillor_court_chaplain
rite = { rite_has_parameter = clerical_appointment_fixed } rite ?= { rite_has_parameter = clerical_appointment_fixed }
} }
NOR = { NOR = {
has_council_position = councillor_spouse has_council_position = councillor_spouse
@ -94,7 +102,7 @@ can_be_marshal_trigger = {
is_hostage = no is_hostage = no
NAND = { NAND = {
has_council_position = councillor_court_chaplain has_council_position = councillor_court_chaplain
rite = { rite_has_parameter = clerical_appointment_fixed } rite ?= { rite_has_parameter = clerical_appointment_fixed }
} }
NOR = { NOR = {
has_council_position = councillor_spouse has_council_position = councillor_spouse
@ -107,7 +115,7 @@ can_be_marshal_trigger = {
can_be_councillor_gender_trigger = { COURT_OWNER = $COURT_OWNER$ } can_be_councillor_gender_trigger = { COURT_OWNER = $COURT_OWNER$ }
AND = { AND = {
has_trait = shieldmaiden has_trait = shieldmaiden
$COURT_OWNER$.culture = { has_cultural_parameter = has_access_to_shieldmaidens } $COURT_OWNER$.culture ?= { has_cultural_parameter = has_access_to_shieldmaidens }
} }
} }
} }
@ -116,7 +124,7 @@ can_be_spymaster_trigger = {
can_be_councillor_basics_trigger = yes can_be_councillor_basics_trigger = yes
NAND = { NAND = {
has_council_position = councillor_court_chaplain has_council_position = councillor_court_chaplain
rite = { rite_has_parameter = clerical_appointment_fixed } rite ?= { rite_has_parameter = clerical_appointment_fixed }
} }
NOR = { NOR = {
has_council_position = councillor_spouse has_council_position = councillor_spouse
@ -141,11 +149,18 @@ can_be_court_chaplain_trigger = {
liege = { has_diarchy_active_parameter = diarchy_is_vizierate } liege = { has_diarchy_active_parameter = diarchy_is_vizierate }
} }
} }
$COURT_OWNER$.rite = { rite_has_allowed_gender_for_clergy = scope:court_chaplain_check } exists = $COURT_OWNER$.rite
trigger_if = {
limit = { exists = $COURT_OWNER$.rite }
$COURT_OWNER$.rite ?= { rite_has_allowed_gender_for_clergy = scope:court_chaplain_check }
}
trigger_if = {
limit = { exists = $COURT_OWNER$.rite }
rite = $COURT_OWNER$.rite rite = $COURT_OWNER$.rite
}
trigger_if = { trigger_if = {
limit = { limit = {
rite = { rite_has_doctrine = doctrine_theocracy_temporal } rite ?= { rite_has_doctrine = doctrine_theocracy_temporal }
} }
OR = { OR = {
is_ruler = no is_ruler = no
@ -166,7 +181,7 @@ can_be_court_chaplain_trigger = {
} }
trigger_if = { # Married characters are excluded if the doctrine is not there trigger_if = { # Married characters are excluded if the doctrine is not there
limit = { limit = {
rite = { rite ?= {
NOT = { rite_has_parameter = clergy_can_marry } NOT = { rite_has_parameter = clergy_can_marry }
} }
} }
@ -178,7 +193,7 @@ can_be_court_chaplain_trigger = {
can_appoint_own_court_chaplain_trigger = { can_appoint_own_court_chaplain_trigger = {
OR = { OR = {
religious_head_or_challenger ?= this # The appointment authority itself has no one to request a chaplain from religious_head_or_challenger ?= this # The appointment authority itself has no one to request a chaplain from
rite = { rite ?= {
NOT = { rite_has_parameter = clerical_appointment_fixed } NOT = { rite_has_parameter = clerical_appointment_fixed }
} }
tgp_has_access_to_ministry_trigger = yes tgp_has_access_to_ministry_trigger = yes
@ -266,15 +281,23 @@ can_be_kurultai_trigger = {
is_ruler = yes is_ruler = yes
AND = { AND = {
is_female = yes is_female = yes
$COURT_OWNER$.rite = { NOT = { rite_has_parameter = male_dominated_council } } exists = $COURT_OWNER$.rite
trigger_if = {
limit = { exists = $COURT_OWNER$.rite }
$COURT_OWNER$.rite ?= { NOT = { rite_has_parameter = male_dominated_council } }
}
} }
AND = { AND = {
is_male = yes is_male = yes
$COURT_OWNER$.rite = { NOT = { rite_has_parameter = female_dominated_council } } exists = $COURT_OWNER$.rite
trigger_if = {
limit = { exists = $COURT_OWNER$.rite }
$COURT_OWNER$.rite ?= { NOT = { rite_has_parameter = female_dominated_council } }
}
} }
AND = { AND = {
has_trait = shieldmaiden has_trait = shieldmaiden
$COURT_OWNER$.culture = { has_cultural_parameter = has_access_to_shieldmaidens } $COURT_OWNER$.culture ?= { has_cultural_parameter = has_access_to_shieldmaidens }
} }
} }
} }
@ -313,15 +336,15 @@ can_be_any_kurultai_trigger = {
is_ruler = yes is_ruler = yes
AND = { AND = {
is_female = yes is_female = yes
$COURT_OWNER$.rite = { NOT = { rite_has_parameter = male_dominated_council } } $COURT_OWNER$.rite ?= { NOT = { rite_has_parameter = male_dominated_council } }
} }
AND = { AND = {
is_male = yes is_male = yes
$COURT_OWNER$.rite = { NOT = { rite_has_parameter = female_dominated_council } } $COURT_OWNER$.rite ?= { NOT = { rite_has_parameter = female_dominated_council } }
} }
AND = { AND = {
has_trait = shieldmaiden has_trait = shieldmaiden
$COURT_OWNER$.culture = { has_cultural_parameter = has_access_to_shieldmaidens } $COURT_OWNER$.culture ?= { has_cultural_parameter = has_access_to_shieldmaidens }
} }
} }
} }
@ -436,7 +459,7 @@ can_be_fired_from_council_trigger = {
has_council_position = councillor_court_chaplain has_council_position = councillor_court_chaplain
liege = { tgp_has_access_to_ministry_trigger = no } liege = { tgp_has_access_to_ministry_trigger = no }
} }
rite = { rite ?= {
OR = { OR = {
rite_has_doctrine = doctrine_clerical_succession_temporal_appointment rite_has_doctrine = doctrine_clerical_succession_temporal_appointment
rite_has_doctrine = doctrine_clerical_succession_spiritual_appointment rite_has_doctrine = doctrine_clerical_succession_spiritual_appointment
@ -1094,7 +1117,7 @@ task_conversion_valid_county_trigger = {
} }
} }
NOT = { NOT = {
rite = { has_variable = pam_rite_grace_period } rite ?= { has_variable = pam_rite_grace_period }
} }
} }
trigger_if = { trigger_if = {
@ -1103,7 +1126,7 @@ task_conversion_valid_county_trigger = {
trigger_if = { trigger_if = {
limit = { limit = {
scope:councillor_liege = { scope:councillor_liege = {
faith = { faith ?= {
has_doctrine_parameter = unreformed has_doctrine_parameter = unreformed
} }
} }
@ -1114,7 +1137,7 @@ task_conversion_valid_county_trigger = {
vassal_is_valid_and_follows_directive_trigger = { VASSAL = this LIEGE = liege } vassal_is_valid_and_follows_directive_trigger = { VASSAL = this LIEGE = liege }
} }
scope:councillor_liege = { ai_zeal >= 50 } scope:councillor_liege = { ai_zeal >= 50 }
scope:county_check.faith = { has_doctrine_parameter = unreformed } scope:county_check.faith ?= { has_doctrine_parameter = unreformed }
scope:county_check = { # Always convert holy sites scope:county_check = { # Always convert holy sites
any_county_province = { any_county_province = {
barony = { barony = {
@ -1128,7 +1151,7 @@ task_conversion_valid_county_trigger = {
trigger_if = { trigger_if = {
limit = { limit = {
scope:councillor_liege = { scope:councillor_liege = {
faith = { faith ?= {
faith_hostility_level = { faith_hostility_level = {
target = scope:county_check.faith target = scope:county_check.faith
value <= faith_fully_accepted_level value <= faith_fully_accepted_level
@ -1158,7 +1181,7 @@ task_conversion_valid_county_trigger = {
trigger_if = { trigger_if = {
limit = { limit = {
scope:councillor_liege = { scope:councillor_liege = {
faith = { faith ?= {
faith_hostility_level = { faith_hostility_level = {
target = scope:county_check.faith target = scope:county_check.faith
value <= faith_astray_level value <= faith_astray_level
@ -1191,7 +1214,7 @@ task_conversion_valid_county_trigger = {
trigger_else_if = { trigger_else_if = {
limit = { limit = {
scope:councillor_liege = { scope:councillor_liege = {
rite = { rite_has_doctrine = doctrine_pluralism_fundamentalist } rite ?= { rite_has_doctrine = doctrine_pluralism_fundamentalist }
} }
} }
OR = { OR = {
@ -1261,11 +1284,11 @@ task_conversion_valid_county_trigger = {
limit = { limit = {
scope:councillor_liege = { scope:councillor_liege = {
OR = { OR = {
rite = { rite_has_tenet = tenet_tax_nonbelievers } rite ?= { rite_has_tenet = tenet_tax_nonbelievers }
faith = { has_doctrine = special_doctrine_jizya } faith ?= { has_doctrine = special_doctrine_jizya }
} }
} }
scope:councillor_liege.faith = { faith_is_in_same_rf = { FAITH = scope:county_check.faith } } scope:councillor_liege.faith ?= { faith_is_in_same_rf = { FAITH = scope:county_check.faith } }
} }
OR = { OR = {
scope:councillor_liege = { scope:councillor_liege = {
@ -1273,8 +1296,8 @@ task_conversion_valid_county_trigger = {
vassal_is_valid_and_follows_directive_trigger = { VASSAL = this LIEGE = liege } vassal_is_valid_and_follows_directive_trigger = { VASSAL = this LIEGE = liege }
} }
scope:councillor_liege = { ai_zeal >= 50 } scope:councillor_liege = { ai_zeal >= 50 }
scope:county_check.faith = { has_doctrine_parameter = unreformed } scope:county_check.faith ?= { has_doctrine_parameter = unreformed }
scope:councillor_liege.faith = { scope:councillor_liege.faith ?= {
any_holy_site_barony = { any_holy_site_barony = {
kingdom = scope:county_check.kingdom kingdom = scope:county_check.kingdom
} }

View file

@ -0,0 +1,30 @@
#Triggers handling questions of military and warfare
#Checks whether scope character has greater military strength than the ratio specified
military_strength_greater_than_ratio_trigger = {
save_temporary_scope_value_as = {
name = ratio
value = {
value = max_military_strength
divide = $TARGET$.max_military_strength
}
}
scope:ratio > $RATIO$
}
valid_for_maa_trigger = {
OR = {
AND = {
has_government = landless_adventurer_government
has_perk = planned_cultivation_perk
location.county.culture ?= { has_cultural_parameter = $PARAMETER$ }
}
culture ?= { has_cultural_parameter = $PARAMETER$ }
}
}
valid_for_nomadic_riders_trigger = {
government_has_flag = government_is_nomadic
}

View file

@ -58,7 +58,11 @@ has_strong_religious_conviction_trigger = {
} }
is_christian_trigger = { is_christian_trigger = {
faith = { OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion religion_tag = oriental_orthodox_religion } } trigger_if = {
limit = { exists = faith }
faith ?= { OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion religion_tag = oriental_orthodox_religion } }
}
trigger_else = { always = no }
} }
# Not-non-XYZ triggers allow us to check for specific historical faiths whilst still defaulting to something positive for variant faiths. # Not-non-XYZ triggers allow us to check for specific historical faiths whilst still defaulting to something positive for variant faiths.
@ -117,36 +121,47 @@ can_be_combatant_based_on_gender_trigger = {
} }
trigger_if = { trigger_if = {
limit = { limit = {
$ARMY_OWNER$.culture = { has_cultural_parameter = martial_custom_male_only_combatant } exists = $ARMY_OWNER$.culture
trigger_if = {
limit = { exists = $ARMY_OWNER$.culture }
$ARMY_OWNER$.culture ?= { has_cultural_parameter = martial_custom_male_only_combatant }
}
} }
is_male = yes is_male = yes
} }
trigger_else_if = { trigger_else_if = {
limit = { limit = {
$ARMY_OWNER$.culture = { has_cultural_parameter = martial_custom_female_only_combatant } exists = $ARMY_OWNER$.culture
trigger_if = {
limit = { exists = $ARMY_OWNER$.culture }
$ARMY_OWNER$.culture ?= { has_cultural_parameter = martial_custom_female_only_combatant }
}
} }
is_female = yes is_female = yes
} }
trigger_else = {} trigger_else = {}
} }
trigger_else = { # Does not have the Royal Court and thus combatant is governed by faith trigger_else = { # Does not have the Royal Court and thus combatant is governed by faith
trigger_if = {
limit = { exists = $ARMY_OWNER$.rite }
OR = { OR = {
$ARMY_OWNER$.rite = { rite_has_parameter = combatant_can_be_either_gender_if_no_roco } $ARMY_OWNER$.rite ?= { rite_has_parameter = combatant_can_be_either_gender_if_no_roco }
AND = { AND = {
$ARMY_OWNER$.rite = { rite_has_parameter = combatant_must_be_male_if_no_roco } $ARMY_OWNER$.rite ?= { rite_has_parameter = combatant_must_be_male_if_no_roco }
is_male = yes is_male = yes
} }
AND = { AND = {
$ARMY_OWNER$.rite = { rite_has_parameter = combatant_must_be_female_if_no_roco } $ARMY_OWNER$.rite ?= { rite_has_parameter = combatant_must_be_female_if_no_roco }
is_female = yes is_female = yes
} }
} }
} }
}
AND = { AND = {
# No need to gender diversify this: if they're a right-gender shieldperson of the culture, then they've already got permission to fight from the previous AND conditions. # No need to gender diversify this: if they're a right-gender shieldperson of the culture, then they've already got permission to fight from the previous AND conditions.
has_trait = shieldmaiden has_trait = shieldmaiden
$ARMY_OWNER$ = { $ARMY_OWNER$ = {
culture = { has_cultural_parameter = has_access_to_shieldmaidens } culture ?= { has_cultural_parameter = has_access_to_shieldmaidens }
} }
} }
# Event-based special exceptions # Event-based special exceptions
@ -156,12 +171,12 @@ can_be_combatant_based_on_gender_trigger = {
} }
AND = { AND = {
prowess >= 10 prowess >= 10
$ARMY_OWNER$.culture = { has_cultural_parameter = high_prowess_ignores_knight_restrictions } $ARMY_OWNER$.culture ?= { has_cultural_parameter = high_prowess_ignores_knight_restrictions }
NOT = { $ARMY_OWNER$.culture = { has_cultural_parameter = minimum_prowess_for_knights } } NOT = { $ARMY_OWNER$.culture ?= { has_cultural_parameter = minimum_prowess_for_knights } }
} }
AND = { AND = {
prowess >= 12 prowess >= 12
$ARMY_OWNER$.culture = { $ARMY_OWNER$.culture ?= {
has_cultural_parameter = high_prowess_ignores_knight_restrictions has_cultural_parameter = high_prowess_ignores_knight_restrictions
has_cultural_parameter = minimum_prowess_for_knights has_cultural_parameter = minimum_prowess_for_knights
} }
@ -178,17 +193,31 @@ can_be_combatant_based_on_gender_trigger = {
object = this object = this
subject = $ARMY_OWNER$ subject = $ARMY_OWNER$
OR = { OR = {
rite = { rite_has_parameter = clergy_can_fight } trigger_if = {
limit = { exists = rite }
rite ?= { rite_has_parameter = clergy_can_fight }
}
trigger_else = { always = no }
AND = { AND = {
has_personal_tenet_flag = clergy_can_fight_personal has_personal_tenet_flag = clergy_can_fight_personal
NOT = { trigger_if = {
rite = { rite_has_parameter = pacifist } limit = { exists = rite }
NOT = { rite ?= { rite_has_parameter = pacifist } }
} }
trigger_else = { always = no }
} }
culture = { has_cultural_parameter = culture_clergy_can_fight } trigger_if = {
limit = { exists = culture }
culture ?= { has_cultural_parameter = culture_clergy_can_fight }
}
trigger_else = { always = no }
AND = { AND = {
$ARMY_OWNER$.culture = { $ARMY_OWNER$ = {
has_cultural_parameter = high_prowess_ignores_knight_restrictions trigger_if = {
limit = { exists = culture }
culture ?= { has_cultural_parameter = high_prowess_ignores_knight_restrictions }
}
trigger_else = { always = no }
} }
prowess >= 10 prowess >= 10
} }
@ -201,14 +230,14 @@ clergy_can_fight_check_trigger = {
trigger_if = { trigger_if = {
limit = { is_clergy = yes } limit = { is_clergy = yes }
OR = { OR = {
rite = { rite_has_parameter = clergy_can_fight } rite ?= { rite_has_parameter = clergy_can_fight }
AND = { AND = {
has_personal_tenet_flag = clergy_can_fight_personal has_personal_tenet_flag = clergy_can_fight_personal
NOT = { NOT = {
rite = { rite_has_parameter = pacifist } rite ?= { rite_has_parameter = pacifist }
} }
} }
culture = { has_cultural_parameter = culture_clergy_can_fight } culture ?= { has_cultural_parameter = culture_clergy_can_fight }
} }
} }
} }
@ -216,14 +245,14 @@ clergy_can_fight_check_trigger = {
can_be_clergy_due_to_gender_trigger = { can_be_clergy_due_to_gender_trigger = {
OR = { OR = {
AND = { AND = {
rite = { rite_has_parameter = clergy_must_be_female } rite ?= { rite_has_parameter = clergy_must_be_female }
is_female = yes is_female = yes
} }
AND = { AND = {
rite = { rite_has_parameter = clergy_must_be_male } rite ?= { rite_has_parameter = clergy_must_be_male }
is_male = yes is_male = yes
} }
rite = { rite_has_parameter = clergy_can_be_either_gender } rite ?= { rite_has_parameter = clergy_can_be_either_gender }
} }
} }
@ -243,7 +272,7 @@ is_wrong_gender_in_rite_trigger = {
faith_is_aniconic_trigger = { faith_is_aniconic_trigger = {
OR = { OR = {
faith.religion = religion:islam_religion faith.religion = religion:islam_religion
rite = { rite_has_tenet = tenet_aniconism } rite ?= { rite_has_tenet = tenet_aniconism }
} }
} }
@ -281,26 +310,26 @@ relation_with_character_is_incestuous_in_rite_trigger = {
#Note: only checks from the viewpoint of current scope. Needs CHARACTER #Note: only checks from the viewpoint of current scope. Needs CHARACTER
relation_with_character_is_incestuous_in_my_faith_trigger = { relation_with_character_is_incestuous_in_my_faith_trigger = {
faith.main_rite = { save_temporary_scope_as = my_rite } faith.main_rite ?= { save_temporary_scope_as = my_rite }
relation_with_character_is_incestuous_in_rite_trigger = { CHARACTER = $CHARACTER$ RITE = scope:my_rite } relation_with_character_is_incestuous_in_rite_trigger = { CHARACTER = $CHARACTER$ RITE = scope:my_rite }
} }
relation_with_character_is_incestuous_in_my_rite_trigger = { relation_with_character_is_incestuous_in_my_rite_trigger = {
rite = { save_temporary_scope_as = my_rite } rite ?= { save_temporary_scope_as = my_rite }
relation_with_character_is_incestuous_in_rite_trigger = { CHARACTER = $CHARACTER$ RITE = scope:my_rite } relation_with_character_is_incestuous_in_rite_trigger = { CHARACTER = $CHARACTER$ RITE = scope:my_rite }
} }
relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = {
OR = { OR = {
AND = { AND = {
rite = { #My rite doesn't approve rite ?= { #My rite doesn't approve
save_temporary_scope_as = check_rite save_temporary_scope_as = check_rite
} }
relation_with_character_is_incestuous_in_rite_trigger = { CHARACTER = $CHARACTER$ RITE = scope:check_rite } relation_with_character_is_incestuous_in_rite_trigger = { CHARACTER = $CHARACTER$ RITE = scope:check_rite }
} }
AND = { #Liege's rite doesn't approve AND = { #Liege's rite doesn't approve
liege ?= { liege ?= {
rite = { rite ?= {
save_temporary_scope_as = check_rite save_temporary_scope_as = check_rite
} }
} }
@ -325,7 +354,7 @@ rite_allows_marriage_consanguinity_trigger = {
relation_between_characters_is_sodomy_in_my_rite_trigger = { relation_between_characters_is_sodomy_in_my_rite_trigger = {
$CHARACTER_1$ = { is_male = yes } $CHARACTER_1$ = { is_male = yes }
$CHARACTER_2$ = { is_male = yes } $CHARACTER_2$ = { is_male = yes }
rite = { rite ?= {
NOT = { rite_has_parameter = homosexuality_accepted } NOT = { rite_has_parameter = homosexuality_accepted }
} }
} }
@ -340,7 +369,7 @@ relation_with_character_is_sodomy_in_rite_trigger = {
#Note: only checks from the viewpoint of current scope. Needs CHARACTER #Note: only checks from the viewpoint of current scope. Needs CHARACTER
relation_with_character_is_sodomy_by_my_rite_trigger = { relation_with_character_is_sodomy_by_my_rite_trigger = {
rite = { save_temporary_scope_as = my_rite } rite ?= { save_temporary_scope_as = my_rite }
relation_with_character_is_sodomy_in_rite_trigger = { relation_with_character_is_sodomy_in_rite_trigger = {
CHARACTER = $CHARACTER$ CHARACTER = $CHARACTER$
RITE = scope:my_rite RITE = scope:my_rite
@ -350,14 +379,14 @@ relation_with_character_is_sodomy_by_my_rite_trigger = {
relation_with_character_is_sodomy_in_my_or_lieges_rite_trigger = { relation_with_character_is_sodomy_in_my_or_lieges_rite_trigger = {
OR = { OR = {
AND = { AND = {
rite = { #My rite doesn't approve rite ?= { #My rite doesn't approve
save_temporary_scope_as = check_rite save_temporary_scope_as = check_rite
} }
relation_with_character_is_sodomy_in_rite_trigger = { CHARACTER = $CHARACTER$ RITE = scope:check_rite } relation_with_character_is_sodomy_in_rite_trigger = { CHARACTER = $CHARACTER$ RITE = scope:check_rite }
} }
AND = { #Liege's rite doesn't approve AND = { #Liege's rite doesn't approve
liege ?= { liege ?= {
rite = { rite ?= {
save_temporary_scope_as = check_rite save_temporary_scope_as = check_rite
} }
} }
@ -376,7 +405,7 @@ murdering_character_is_kinslaying_in_rite_trigger = {
murdering_character_is_kinslaying_in_my_or_same_dynasty_lieges_rite_trigger = { murdering_character_is_kinslaying_in_my_or_same_dynasty_lieges_rite_trigger = {
save_temporary_scope_as = kinslayer_me save_temporary_scope_as = kinslayer_me
rite = { rite ?= {
save_temporary_scope_as = check_rite save_temporary_scope_as = check_rite
} }
trigger_if = { trigger_if = {
@ -384,7 +413,7 @@ murdering_character_is_kinslaying_in_my_or_same_dynasty_lieges_rite_trigger = {
liege ?= { dynasty = scope:kinslayer_me.dynasty } liege ?= { dynasty = scope:kinslayer_me.dynasty }
} }
liege = { liege = {
rite = { rite ?= {
save_temporary_scope_as = check_rite_liege save_temporary_scope_as = check_rite_liege
} }
} }
@ -537,14 +566,14 @@ trait_is_shunned_or_criminal_in_rite_trigger = {
trait_is_shunned_or_criminal_in_my_or_lieges_rite_trigger = { trait_is_shunned_or_criminal_in_my_or_lieges_rite_trigger = {
OR = { OR = {
AND = { AND = {
rite = { #My rite doesn't approve rite ?= { #My rite doesn't approve
save_temporary_scope_as = check_rite save_temporary_scope_as = check_rite
} }
trait_is_shunned_or_criminal_in_rite_trigger = { TRAIT = $TRAIT$ RITE = scope:check_rite GENDER_CHARACTER = $GENDER_CHARACTER$ } trait_is_shunned_or_criminal_in_rite_trigger = { TRAIT = $TRAIT$ RITE = scope:check_rite GENDER_CHARACTER = $GENDER_CHARACTER$ }
} }
AND = { #Liege's rite doesn't approve AND = { #Liege's rite doesn't approve
liege ?= { liege ?= {
rite = { rite ?= {
save_temporary_scope_as = check_rite save_temporary_scope_as = check_rite
} }
} }
@ -778,7 +807,7 @@ has_negative_attitude_towards_trait_trigger = {
} }
} }
rite = { save_temporary_scope_as = my_rite } rite ?= { save_temporary_scope_as = my_rite }
OR = { OR = {
trait_is_shunned_in_rite_trigger = { TRAIT = $TRAIT$ RITE = scope:my_rite GENDER_CHARACTER = $GENDER_CHARACTER$ } trait_is_shunned_in_rite_trigger = { TRAIT = $TRAIT$ RITE = scope:my_rite GENDER_CHARACTER = $GENDER_CHARACTER$ }
trait_is_criminal_in_rite_trigger = { TRAIT = $TRAIT$ RITE = scope:my_rite GENDER_CHARACTER = $GENDER_CHARACTER$ } trait_is_criminal_in_rite_trigger = { TRAIT = $TRAIT$ RITE = scope:my_rite GENDER_CHARACTER = $GENDER_CHARACTER$ }
@ -958,7 +987,7 @@ secret_is_blackmailable_trigger = {
refusing_conversion_is_crime_trigger = { refusing_conversion_is_crime_trigger = {
OR = { OR = {
# has_title = title:e_minister_of_rites # has_title = title:e_minister_of_rites
rite = { rite ?= {
trigger_if = { # Only apply imprisonment reason if actor's rite is not the state rite trigger_if = { # Only apply imprisonment reason if actor's rite is not the state rite
limit = { limit = {
$CHARACTER$ = { $CHARACTER$ = {
@ -989,10 +1018,10 @@ refusing_conversion_is_crime_trigger = {
character_can_create_holy_order_basic_trigger = { character_can_create_holy_order_basic_trigger = {
NOR = { NOR = {
faith = { faith ?= {
has_doctrine_parameter = immaterial_harmony_no_holy_orders has_doctrine_parameter = immaterial_harmony_no_holy_orders
} }
faith = { faith ?= {
any_faith_holy_order = { any_faith_holy_order = {
#Can be monastic patron and found military order #Can be monastic patron and found military order
leader ?= { leader ?= {
@ -1016,11 +1045,11 @@ is_hostile_enough_for_holy_war_trigger = {
# Character scope: may this attacker press a religious war against TARGET? # Character scope: may this attacker press a religious war against TARGET?
is_valid_religious_war_target_trigger = { is_valid_religious_war_target_trigger = {
OR = { OR = {
rite = { is_hostile_enough_for_holy_war_trigger = { RITE = $TARGET$.rite } } rite ?= { is_hostile_enough_for_holy_war_trigger = { RITE = $TARGET$.rite } }
AND = { AND = {
rite = { rite_has_parameter = literalism_holy_war_cb_active } rite ?= { rite_has_parameter = literalism_holy_war_cb_active }
religion = $TARGET$.religion religion = $TARGET$.religion
NOT = { $TARGET$.rite = { rite_has_tenet = tenet_literalism } } NOT = { $TARGET$.rite ?= { rite_has_tenet = tenet_literalism } }
} }
} }
} }
@ -1164,7 +1193,7 @@ religion_has_circumcision_trigger = {
is_heretic_trigger = { is_heretic_trigger = {
$WHO$.faith.religion = $TARGET$.faith.religion $WHO$.faith.religion = $TARGET$.faith.religion
$WHO$.faith = { $WHO$.faith ?= {
faith_hostility_level = { faith_hostility_level = {
target = $TARGET$.faith target = $TARGET$.faith
value >= religious_cb_enabled_hostility_level value >= religious_cb_enabled_hostility_level
@ -1174,10 +1203,10 @@ is_heretic_trigger = {
is_heathen_trigger = { is_heathen_trigger = {
NOT = { $WHO$.faith.religion = $TARGET$.faith.religion } NOT = { $WHO$.faith.religion = $TARGET$.faith.religion }
$TARGET$.faith = { $TARGET$.faith ?= {
has_doctrine = pagan_hostility_doctrine has_doctrine = pagan_hostility_doctrine
} }
$WHO$.faith = { $WHO$.faith ?= {
faith_hostility_level = { faith_hostility_level = {
target = $TARGET$.faith target = $TARGET$.faith
value >= religious_cb_enabled_hostility_level value >= religious_cb_enabled_hostility_level
@ -1187,10 +1216,10 @@ is_heathen_trigger = {
is_infidel_trigger = { is_infidel_trigger = {
NOT = { $WHO$.faith.religion = $TARGET$.faith.religion } NOT = { $WHO$.faith.religion = $TARGET$.faith.religion }
$TARGET$.faith = { $TARGET$.faith ?= {
NOT = { has_doctrine = pagan_hostility_doctrine } NOT = { has_doctrine = pagan_hostility_doctrine }
} }
$WHO$.faith = { $WHO$.faith ?= {
faith_hostility_level = { faith_hostility_level = {
target = $TARGET$.faith target = $TARGET$.faith
value >= religious_cb_enabled_hostility_level value >= religious_cb_enabled_hostility_level
@ -1360,7 +1389,7 @@ fertilitygod_is_active_trigger = {
###REINCARNATION### ###REINCARNATION###
can_become_reincarnation_trigger = { can_become_reincarnation_trigger = {
save_temporary_scope_as = reincarnated_child save_temporary_scope_as = reincarnated_child
rite = { rite ?= {
rite_has_tenet = tenet_reincarnation rite_has_tenet = tenet_reincarnation
} }
any_parent = { any_parent = {
@ -1556,7 +1585,7 @@ can_create_head_of_faith_title_trigger = {
can_perform_the_hajj_trigger = { can_perform_the_hajj_trigger = {
faith.religion = religion:islam_religion faith.religion = religion:islam_religion
rite = { rite_has_parameter = can_go_on_pilgrimage } rite ?= { rite_has_parameter = can_go_on_pilgrimage }
} }
shared_faith_or_hof_trigger = { shared_faith_or_hof_trigger = {
@ -1763,7 +1792,7 @@ holy_order_1010_request_target_trigger = {
} }
faith_dominant_gender_male_or_equal = { faith_dominant_gender_male_or_equal = {
rite = { rite ?= {
OR = { OR = {
rite_has_parameter = male_dominated_law rite_has_parameter = male_dominated_law
rite_has_parameter = gender_equal_law rite_has_parameter = gender_equal_law
@ -1772,7 +1801,7 @@ faith_dominant_gender_male_or_equal = {
} }
faith_dominant_gender_female_or_equal = { faith_dominant_gender_female_or_equal = {
rite = { rite ?= {
OR = { OR = {
rite_has_parameter = female_dominated_law rite_has_parameter = female_dominated_law
rite_has_parameter = gender_equal_law rite_has_parameter = gender_equal_law
@ -1823,32 +1852,32 @@ would_be_sinful_adulterer_trigger = {
trigger_if = { trigger_if = {
limit = { is_male = yes } limit = { is_male = yes }
NOT = { NOT = {
rite = { rite_has_doctrine = doctrine_adultery_men_accepted } rite ?= { rite_has_doctrine = doctrine_adultery_men_accepted }
} }
} }
trigger_else = { trigger_else = {
NOT = { NOT = {
rite = { rite_has_doctrine = doctrine_adultery_women_accepted } rite ?= { rite_has_doctrine = doctrine_adultery_women_accepted }
} }
} }
} }
has_tolerant_faith_or_culture_trigger = { has_tolerant_faith_or_culture_trigger = {
OR = { OR = {
rite = { rite_has_doctrine = doctrine_pluralism_pluralistic } rite ?= { rite_has_doctrine = doctrine_pluralism_pluralistic }
culture = { has_cultural_parameter = less_likely_to_force_conversion } culture ?= { has_cultural_parameter = less_likely_to_force_conversion }
culture = { has_cultural_tradition = tradition_religion_blending } culture ?= { has_cultural_tradition = tradition_religion_blending }
has_trait = nomadic_philosophy has_trait = nomadic_philosophy
} }
} }
is_open_to_inviting_other_faiths_trigger = { is_open_to_inviting_other_faiths_trigger = {
OR = { OR = {
rite = { rite_has_tenet = tenet_adaptive } rite ?= { rite_has_tenet = tenet_adaptive }
faith = { has_doctrine = unreformed_faith_doctrine } faith ?= { has_doctrine = unreformed_faith_doctrine }
rite = { rite_has_doctrine = doctrine_pluralism_pluralistic } rite ?= { rite_has_doctrine = doctrine_pluralism_pluralistic }
culture = { has_cultural_tradition = tradition_religion_blending } culture ?= { has_cultural_tradition = tradition_religion_blending }
culture = { has_cultural_tradition = tradition_tgp_religious_hospitality } culture ?= { has_cultural_tradition = tradition_tgp_religious_hospitality }
} }
} }
@ -1859,7 +1888,7 @@ faith_is_open_minded_trigger = {
} }
} }
is_mainstream_jewish_faith = { is_mainstream_jewish_faith ?= {
religion = religion:judaism_religion religion = religion:judaism_religion
# NOT = { # NOT = {
# this = faith:samaritan # this = faith:samaritan
@ -1869,8 +1898,8 @@ is_mainstream_jewish_faith = {
# } # }
} }
is_unprotected_hostile_faith = { # Checks if the faith is at least hostile but not protected by a contract, used in a county scope is_unprotected_hostile_faith ?= { # Checks if the faith is at least hostile but not protected by a contract, used in a county scope
faith = { faith ?= {
faith_hostility_level = { faith_hostility_level = {
target = prev.holder.top_liege.faith target = prev.holder.top_liege.faith
value >= 2 value >= 2
@ -1901,7 +1930,7 @@ islam_or_syncretic_with_islam_trigger = {
$CHARACTER$ = { $CHARACTER$ = {
OR = { OR = {
faith.religion = religion:islam_religion faith.religion = religion:islam_religion
rite = { rite_has_parameter = islamic_syncretic_actor } rite ?= { rite_has_parameter = islamic_syncretic_actor }
} }
} }
} }
@ -1910,7 +1939,7 @@ judaism_or_syncretic_with_judaism_trigger = {
$CHARACTER$ = { $CHARACTER$ = {
OR = { OR = {
faith.religion = religion:judaism_religion faith.religion = religion:judaism_religion
rite = { rite_has_parameter = jewish_syncretic_actor } rite ?= { rite_has_parameter = jewish_syncretic_actor }
} }
} }
} }
@ -1920,19 +1949,19 @@ christianity_or_syncretic_with_christianity_trigger = {
OR = { OR = {
OR = { OR = {
faith.religion = religion:oriental_orthodox_religion faith.religion = religion:oriental_orthodox_religion
rite = { rite_has_parameter = christian_syncretic_actor } rite ?= { rite_has_parameter = christian_syncretic_actor }
} }
OR = { OR = {
faith.religion = religion:eastern_orthodox_religion faith.religion = religion:eastern_orthodox_religion
rite = { rite_has_parameter = christian_syncretic_actor } rite ?= { rite_has_parameter = christian_syncretic_actor }
} }
OR = { OR = {
faith.religion = religion:catholic_religion faith.religion = religion:catholic_religion
rite = { rite_has_parameter = christian_syncretic_actor } rite ?= { rite_has_parameter = christian_syncretic_actor }
} }
OR = { OR = {
faith.religion = religion:protestant_religion faith.religion = religion:protestant_religion
rite = { rite_has_parameter = christian_syncretic_actor } rite ?= { rite_has_parameter = christian_syncretic_actor }
} }
} }
} }
@ -1941,8 +1970,8 @@ christianity_or_syncretic_with_christianity_trigger = {
unreformed_or_syncretic_with_unreformed_trigger = { unreformed_or_syncretic_with_unreformed_trigger = {
$CHARACTER$ = { $CHARACTER$ = {
OR = { OR = {
faith = { has_doctrine_parameter = unreformed } faith ?= { has_doctrine_parameter = unreformed }
rite = { rite_has_parameter = unreformed_syncretic_actor } rite ?= { rite_has_parameter = unreformed_syncretic_actor }
} }
} }
} }
@ -1951,7 +1980,7 @@ zoroastrian_or_syncretic_with_eastern_trigger = {
$CHARACTER$ = { $CHARACTER$ = {
OR = { OR = {
faith.religion = religion:zoroastrianism_religion faith.religion = religion:zoroastrianism_religion
rite = { rite_has_parameter = eastern_syncretic_actor } rite ?= { rite_has_parameter = eastern_syncretic_actor }
} }
} }
} }
@ -1960,7 +1989,7 @@ eastern_or_syncretic_with_eastern_trigger = {
$CHARACTER$ = { $CHARACTER$ = {
OR = { OR = {
faith.religion = { is_in_family = rf_eastern } faith.religion = { is_in_family = rf_eastern }
rite = { rite_has_parameter = eastern_syncretic_actor } rite ?= { rite_has_parameter = eastern_syncretic_actor }
} }
} }
} }
@ -1969,7 +1998,7 @@ sinitic_or_syncretic_with_sinitic_trigger = {
$CHARACTER$ = { $CHARACTER$ = {
OR = { OR = {
faith.religion = { is_in_family = rf_sinitic } faith.religion = { is_in_family = rf_sinitic }
rite = { rite_has_parameter = sinitic_syncretic_actor } rite ?= { rite_has_parameter = sinitic_syncretic_actor }
} }
} }
} }
@ -1978,7 +2007,7 @@ hindu_or_syncretic_with_eastern_trigger = {
$CHARACTER$ = { $CHARACTER$ = {
OR = { OR = {
faith.religion = religion:hinduism_religion faith.religion = religion:hinduism_religion
rite = { rite_has_parameter = eastern_syncretic_actor } rite ?= { rite_has_parameter = eastern_syncretic_actor }
} }
} }
} }
@ -1987,26 +2016,26 @@ jain_or_syncretic_with_eastern_trigger = {
$CHARACTER$ = { $CHARACTER$ = {
OR = { OR = {
faith.religion = religion:jainism_religion faith.religion = religion:jainism_religion
rite = { rite_has_parameter = eastern_syncretic_actor } rite ?= { rite_has_parameter = eastern_syncretic_actor }
} }
} }
} }
holy_site_adoptable_by_character_trigger = { holy_site_adoptable_by_character_trigger = {
any_holy_site_faith = { any_holy_site_faith ?= {
save_temporary_scope_as = compare_faith save_temporary_scope_as = compare_faith
OR = { OR = {
$CHARACTER$.rite = { rite_has_parameter = allow_adopt_any_holy_site } $CHARACTER$.rite ?= { rite_has_parameter = allow_adopt_any_holy_site }
AND = { AND = {
OR = { OR = {
religion = $CHARACTER$.faith.religion religion = $CHARACTER$.faith.religion
$CHARACTER$.faith = { $CHARACTER$.faith ?= {
faith_is_syncretic_with = { faith_is_syncretic_with = {
FAITH = scope:compare_faith FAITH = scope:compare_faith
} }
} }
} }
$CHARACTER$.faith = { $CHARACTER$.faith ?= {
faith_hostility_level = { faith_hostility_level = {
target = prev target = prev
value <= faith_astray_level value <= faith_astray_level
@ -2143,7 +2172,7 @@ is_faith_dominant_gender = {
OR = { OR = {
AND = { AND = {
is_male = yes is_male = yes
rite = { rite ?= {
OR = { OR = {
rite_has_parameter = male_dominated_law rite_has_parameter = male_dominated_law
rite_has_parameter = gender_equal_law rite_has_parameter = gender_equal_law
@ -2152,7 +2181,7 @@ is_faith_dominant_gender = {
} }
AND = { AND = {
is_female = yes is_female = yes
rite = { rite ?= {
OR = { OR = {
rite_has_parameter = female_dominated_law rite_has_parameter = female_dominated_law
rite_has_parameter = gender_equal_law rite_has_parameter = gender_equal_law
@ -2163,14 +2192,32 @@ is_faith_dominant_gender = {
} }
religion_is_broadly_asian_trigger = { religion_is_broadly_asian_trigger = {
trigger_if = {
limit = { exists = faith }
OR = { OR = {
religion_is_east_asian_trigger = yes religion_is_east_asian_trigger = yes
broadly_dharmic_trigger = yes broadly_dharmic_trigger = yes
broadly_chinese_religion_trigger = yes broadly_chinese_religion_trigger = yes
} }
} }
trigger_else = {
always = no
}
}
neow_faith_is_eastern_trigger = {
trigger_if = {
limit = { exists = faith }
faith ?= { religion = { is_in_family = rf_eastern } }
}
trigger_else = {
always = no
}
}
religion_is_east_asian_trigger = { religion_is_east_asian_trigger = {
trigger_if = {
limit = { exists = faith }
OR = { OR = {
faith.religion = religion:buddhism_religion faith.religion = religion:buddhism_religion
faith.religion = religion:confucianism_religion faith.religion = religion:confucianism_religion
@ -2178,8 +2225,14 @@ religion_is_east_asian_trigger = {
faith.religion = religion:shintoism_religion faith.religion = religion:shintoism_religion
} }
} }
trigger_else = {
always = no
}
}
religion_is_non_norse_european_pagan_trigger = { religion_is_non_norse_european_pagan_trigger = {
trigger_if = {
limit = { exists = faith }
OR = { OR = {
faith.religion = religion:baltic_religion faith.religion = religion:baltic_religion
faith.religion = religion:finno_ugric_religion faith.religion = religion:finno_ugric_religion
@ -2188,8 +2241,14 @@ religion_is_non_norse_european_pagan_trigger = {
faith.religion = religion:slavic_religion faith.religion = religion:slavic_religion
} }
} }
trigger_else = {
always = no
}
}
non_dharmic_east_asia_trigger = { non_dharmic_east_asia_trigger = {
trigger_if = {
limit = { exists = faith }
OR = { OR = {
faith.religion = religion:shintoism_religion faith.religion = religion:shintoism_religion
faith.religion = religion:dualism_religion faith.religion = religion:dualism_religion
@ -2208,8 +2267,14 @@ non_dharmic_east_asia_trigger = {
faith.religion = religion:qiangic_religion faith.religion = religion:qiangic_religion
} }
} }
trigger_else = {
always = no
}
}
religion_is_pagan_steppe = { religion_is_pagan_steppe = {
trigger_if = {
limit = { exists = faith }
OR = { OR = {
faith.religion = religion:tengrism_religion faith.religion = religion:tengrism_religion
faith.religion = religion:magyar_religion faith.religion = religion:magyar_religion
@ -2218,6 +2283,10 @@ religion_is_pagan_steppe = {
faith.religion = religion:kamuyism_religion faith.religion = religion:kamuyism_religion
} }
} }
trigger_else = {
always = no
}
}
broadly_dharmic_faith_trigger = { broadly_dharmic_faith_trigger = {
OR = { OR = {
@ -2241,10 +2310,16 @@ broadly_dharmic_faith_trigger = {
} }
broadly_dharmic_trigger = { broadly_dharmic_trigger = {
faith = { trigger_if = {
limit = { exists = faith }
faith ?= {
broadly_dharmic_faith_trigger = yes broadly_dharmic_faith_trigger = yes
} }
} }
trigger_else = {
always = no
}
}
south_east_asian_pagan_trigger = { south_east_asian_pagan_trigger = {
always = no always = no
@ -2389,7 +2464,7 @@ character_considered_morally_dubious_trigger = {
$RITE$ = { $RITE$ = {
save_temporary_scope_as = moral_dubious_judge_rite save_temporary_scope_as = moral_dubious_judge_rite
} }
scope:moral_dubious_judge_rite = { scope:moral_dubious_judge_rite ?= {
"rite_hostility_level(scope:judged.rite)" >= faith_evil_level "rite_hostility_level(scope:judged.rite)" >= faith_evil_level
} }
} }
@ -2701,11 +2776,11 @@ rite_embraces_the_secular_flesh_trigger = {
OR = { OR = {
AND = { AND = {
trait_is_virtue_rite = lustful trait_is_virtue_rite = lustful
$CHARACTER$.rite = { NOT = { trait_is_virtue_rite = lustful } } $CHARACTER$.rite ?= { NOT = { trait_is_virtue_rite = lustful } }
} }
AND = { AND = {
trait_is_sin_rite = chaste trait_is_sin_rite = chaste
$CHARACTER$.rite = { NOT = { trait_is_sin_rite = chaste } } $CHARACTER$.rite ?= { NOT = { trait_is_sin_rite = chaste } }
} }
#you are a gay person... and their take on the gays is better than yours #you are a gay person... and their take on the gays is better than yours
trigger_if = { trigger_if = {
@ -2715,14 +2790,14 @@ rite_embraces_the_secular_flesh_trigger = {
has_sexuality = homosexual has_sexuality = homosexual
has_sexuality = bisexual has_sexuality = bisexual
} }
rite = { NOT = { rite_has_parameter = homosexuality_accepted } } rite ?= { NOT = { rite_has_parameter = homosexuality_accepted } }
} }
} }
OR = { OR = {
rite_has_parameter = homosexuality_accepted rite_has_parameter = homosexuality_accepted
AND = { AND = {
rite_has_parameter = homosexuality_shunned rite_has_parameter = homosexuality_shunned
$CHARACTER$.rite = { rite_has_parameter = homosexuality_illegal } $CHARACTER$.rite ?= { rite_has_parameter = homosexuality_illegal }
} }
} }
} }
@ -2731,14 +2806,14 @@ rite_embraces_the_secular_flesh_trigger = {
limit = { limit = {
$CHARACTER$ = { $CHARACTER$ = {
is_female = yes is_female = yes
rite = { NOT = { rite_has_parameter = adultery_female_accepted } } rite ?= { NOT = { rite_has_parameter = adultery_female_accepted } }
} }
} }
OR = { OR = {
rite_has_parameter = adultery_female_accepted rite_has_parameter = adultery_female_accepted
AND = { AND = {
rite_has_parameter = adultery_female_shunned rite_has_parameter = adultery_female_shunned
$CHARACTER$.rite = { rite_has_parameter = adultery_female_crime } $CHARACTER$.rite ?= { rite_has_parameter = adultery_female_crime }
} }
} }
} }
@ -2747,14 +2822,14 @@ rite_embraces_the_secular_flesh_trigger = {
limit = { limit = {
$CHARACTER$ = { $CHARACTER$ = {
is_male = yes is_male = yes
rite = { NOT = { rite_has_parameter = adultery_male_accepted } } rite ?= { NOT = { rite_has_parameter = adultery_male_accepted } }
} }
} }
OR = { OR = {
rite_has_parameter = adultery_male_accepted rite_has_parameter = adultery_male_accepted
AND = { AND = {
rite_has_parameter = adultery_male_shunned rite_has_parameter = adultery_male_shunned
$CHARACTER$.rite = { rite_has_parameter = adultery_male_crime } $CHARACTER$.rite ?= { rite_has_parameter = adultery_male_crime }
} }
} }
} }
@ -2765,11 +2840,11 @@ rite_forbids_the_secular_flesh_trigger = {
OR = { OR = {
AND = { AND = {
trait_is_virtue_rite = chaste trait_is_virtue_rite = chaste
$CHARACTER$.rite = { NOT = { trait_is_virtue_rite = chaste } } $CHARACTER$.rite ?= { NOT = { trait_is_virtue_rite = chaste } }
} }
AND = { AND = {
trait_is_sin_rite = lustful trait_is_sin_rite = lustful
$CHARACTER$.rite = { NOT = { trait_is_sin_rite = lustful } } $CHARACTER$.rite ?= { NOT = { trait_is_sin_rite = lustful } }
} }
#you are a gay person... and their take on the gays is crueler than yours #you are a gay person... and their take on the gays is crueler than yours
trigger_if = { trigger_if = {
@ -2779,14 +2854,14 @@ rite_forbids_the_secular_flesh_trigger = {
has_sexuality = homosexual has_sexuality = homosexual
has_sexuality = bisexual has_sexuality = bisexual
} }
rite = { NOT = { rite_has_parameter = homosexuality_illegal } } rite ?= { NOT = { rite_has_parameter = homosexuality_illegal } }
} }
} }
OR = { OR = {
rite_has_parameter = homosexuality_illegal rite_has_parameter = homosexuality_illegal
AND = { AND = {
rite_has_parameter = homosexuality_shunned rite_has_parameter = homosexuality_shunned
$CHARACTER$.rite = { rite_has_parameter = homosexuality_accepted } $CHARACTER$.rite ?= { rite_has_parameter = homosexuality_accepted }
} }
} }
} }
@ -2795,14 +2870,14 @@ rite_forbids_the_secular_flesh_trigger = {
limit = { limit = {
$CHARACTER$ = { $CHARACTER$ = {
is_female = yes is_female = yes
rite = { NOT = { rite_has_parameter = adultery_female_crime } } rite ?= { NOT = { rite_has_parameter = adultery_female_crime } }
} }
} }
OR = { OR = {
rite_has_parameter = adultery_female_crime rite_has_parameter = adultery_female_crime
AND = { AND = {
rite_has_parameter = adultery_female_shunned rite_has_parameter = adultery_female_shunned
$CHARACTER$.rite = { rite_has_parameter = adultery_female_accepted } $CHARACTER$.rite ?= { rite_has_parameter = adultery_female_accepted }
} }
} }
} }
@ -2811,14 +2886,14 @@ rite_forbids_the_secular_flesh_trigger = {
limit = { limit = {
$CHARACTER$ = { $CHARACTER$ = {
is_male = yes is_male = yes
rite = { NOT = { rite_has_parameter = adultery_male_crime } } rite ?= { NOT = { rite_has_parameter = adultery_male_crime } }
} }
} }
OR = { OR = {
rite_has_parameter = adultery_male_crime rite_has_parameter = adultery_male_crime
AND = { AND = {
rite_has_parameter = adultery_male_shunned rite_has_parameter = adultery_male_shunned
$CHARACTER$.rite = { rite_has_parameter = adultery_male_accepted } $CHARACTER$.rite ?= { rite_has_parameter = adultery_male_accepted }
} }
} }
} }
@ -2884,8 +2959,8 @@ demand_divorce_marriage_polygamous_trigger = {
this = $SPOUSE$ this = $SPOUSE$
} }
} }
$SPOUSE$.culture = { NOT = { has_cultural_tradition = tradition_polygamous } } $SPOUSE$.culture ?= { NOT = { has_cultural_tradition = tradition_polygamous } }
$SPOUSE$.rite = { NOT = { rite_has_doctrine = doctrine_polygamy } } $SPOUSE$.rite ?= { NOT = { rite_has_doctrine = doctrine_polygamy } }
} }
demand_divorce_marriage_offensive_trigger = { demand_divorce_marriage_offensive_trigger = {
@ -2926,7 +3001,7 @@ rite_growth_in_founder_spread_area_trigger = {
OR = { OR = {
AND = { AND = {
is_landed = yes is_landed = yes
faith = { has_doctrine_parameter = has_clerical_regions } faith ?= { has_doctrine_parameter = has_clerical_regions }
exists = capital_county.clerical_region_title exists = capital_county.clerical_region_title
scope:founder.capital_county.clerical_region_title ?= capital_county.clerical_region_title scope:founder.capital_county.clerical_region_title ?= capital_county.clerical_region_title
} }
@ -3026,13 +3101,13 @@ rite_growth_founder_is_well_versed_trigger = {
rite_growth_tenet_is_unique_to_new_rite_trigger = { rite_growth_tenet_is_unique_to_new_rite_trigger = {
save_temporary_scope_as = candidate_tenet save_temporary_scope_as = candidate_tenet
scope:source_rite = { NOT = { rite_has_tenet = scope:candidate_tenet } } scope:source_rite ?= { NOT = { rite_has_tenet = scope:candidate_tenet } }
} }
rite_growth_doctrine_is_unique_to_new_rite_trigger = { rite_growth_doctrine_is_unique_to_new_rite_trigger = {
save_temporary_scope_as = candidate_doctrine save_temporary_scope_as = candidate_doctrine
scope:new_rite = { rite_has_doctrine = scope:candidate_doctrine } scope:new_rite ?= { rite_has_doctrine = scope:candidate_doctrine }
scope:source_rite = { NOT = { rite_has_doctrine = scope:candidate_doctrine } } scope:source_rite ?= { NOT = { rite_has_doctrine = scope:candidate_doctrine } }
} }
rite_growth_founder_is_meaningful_relation_trigger = { rite_growth_founder_is_meaningful_relation_trigger = {
@ -3060,7 +3135,7 @@ can_edit_rite_trigger = {
is_at_war = no is_at_war = no
custom_tooltip = { custom_tooltip = {
text = ecumenical_council_already_ongoing_tt text = ecumenical_council_already_ongoing_tt
NOT = { faith = { has_variable = ecumenical_council_ongoing } } NOT = { faith ?= { has_variable = ecumenical_council_ongoing } }
} }
trigger_if = { trigger_if = {
limit = { limit = {
@ -3076,7 +3151,7 @@ can_edit_rite_trigger = {
trigger_if = { trigger_if = {
limit = { limit = {
rite = { rite ?= {
rite_has_doctrine = doctrine_theocracy_temporal rite_has_doctrine = doctrine_theocracy_temporal
} }
is_clergy = no is_clergy = no
@ -3107,7 +3182,7 @@ can_edit_rite_trigger = {
trigger_if = { trigger_if = {
limit = { limit = {
faith = { has_doctrine_parameter = unreformed } faith ?= { has_doctrine_parameter = unreformed }
} }
NOT = { NOT = {
@ -3139,7 +3214,7 @@ can_edit_rite_trigger = {
} }
custom_tooltip = { custom_tooltip = {
text = empire_faith_gate_reformation_holy_site text = empire_faith_gate_reformation_holy_site
faith = { faith ?= {
any_holy_site_barony = { any_holy_site_barony = {
count >= 3 count >= 3
county.holder = { county.holder = {
@ -3151,7 +3226,7 @@ can_edit_rite_trigger = {
} }
# Vanilla: 3 holy sites # Vanilla: 3 holy sites
trigger_else = { trigger_else = {
faith = { faith ?= {
num_realm_holy_sites_faithful_holders = { num_realm_holy_sites_faithful_holders = {
CHARACTER = root CHARACTER = root
COUNT = 3 COUNT = 3
@ -3162,7 +3237,7 @@ can_edit_rite_trigger = {
custom_tooltip = { custom_tooltip = {
text = faith_reformation_via_decision text = faith_reformation_via_decision
faith = { faith ?= {
NOT = { has_variable = block_reformation_var } NOT = { has_variable = block_reformation_var }
} }
} }
@ -3189,7 +3264,7 @@ can_create_rite_trigger = {
trigger_if = { trigger_if = {
limit = { limit = {
rite = { rite ?= {
rite_has_doctrine = doctrine_theocracy_temporal rite_has_doctrine = doctrine_theocracy_temporal
} }
is_clergy = no is_clergy = no
@ -3220,7 +3295,7 @@ can_create_rite_trigger = {
trigger_if = { trigger_if = {
limit = { limit = {
faith = { has_doctrine_parameter = unreformed } faith ?= { has_doctrine_parameter = unreformed }
} }
NOT = { NOT = {
@ -3252,7 +3327,7 @@ can_create_rite_trigger = {
} }
custom_tooltip = { custom_tooltip = {
text = empire_faith_gate_reformation_holy_site text = empire_faith_gate_reformation_holy_site
faith = { faith ?= {
any_holy_site_barony = { any_holy_site_barony = {
count >= 3 count >= 3
county.holder = { county.holder = {
@ -3264,7 +3339,7 @@ can_create_rite_trigger = {
} }
# Vanilla: 3 holy sites # Vanilla: 3 holy sites
trigger_else = { trigger_else = {
faith = { faith ?= {
num_realm_holy_sites_faithful_holders = { num_realm_holy_sites_faithful_holders = {
CHARACTER = root CHARACTER = root
COUNT = 3 COUNT = 3
@ -3275,7 +3350,7 @@ can_create_rite_trigger = {
custom_tooltip = { custom_tooltip = {
text = faith_reformation_via_decision text = faith_reformation_via_decision
faith = { faith ?= {
NOT = { has_variable = block_reformation_var } NOT = { has_variable = block_reformation_var }
} }
} }
@ -3289,7 +3364,7 @@ spiritual_hof_or_realm_priest_superior_recipient_trigger = {
NOR = { NOR = {
AND = { AND = {
religious_head_or_challenger ?= scope:recipient religious_head_or_challenger ?= scope:recipient
faith = { faith ?= {
has_doctrine = doctrine_spiritual_head has_doctrine = doctrine_spiritual_head
} }
} }
@ -3315,7 +3390,7 @@ spiritual_hof_or_realm_priest_superior_recipient_trigger = {
OR = { OR = {
AND = { AND = {
religious_head_or_challenger = scope:recipient religious_head_or_challenger = scope:recipient
faith = { faith ?= {
has_doctrine = doctrine_spiritual_head has_doctrine = doctrine_spiritual_head
} }
} }
@ -3357,7 +3432,7 @@ hof_or_realm_priest_superior_recipient_trigger = {
custom_tooltip = { custom_tooltip = {
text = superior_or_hof_tt text = superior_or_hof_tt
OR = { OR = {
faith = { faith ?= {
religious_head ?= scope:recipient religious_head ?= scope:recipient
} }
cp:councillor_court_chaplain ?= { cp:councillor_court_chaplain ?= {
@ -3523,7 +3598,7 @@ hof_or_realm_priest_superior_actor_trigger = {
custom_tooltip = { custom_tooltip = {
text = superior_or_hof_tt text = superior_or_hof_tt
OR = { OR = {
faith = { faith ?= {
religious_head ?= scope:recipient religious_head ?= scope:recipient
} }
cp:councillor_court_chaplain ?= { cp:councillor_court_chaplain ?= {
@ -3577,19 +3652,19 @@ faith_is_syncretic_with = {
prev = { has_doctrine_parameter = unreformed_syncretic_actor } prev = { has_doctrine_parameter = unreformed_syncretic_actor }
} }
trigger_else_if = { trigger_else_if = {
limit = { faith = { religion_tag = eastern_orthodox_religion } } limit = { faith ?= { religion_tag = eastern_orthodox_religion } }
prev = { has_doctrine_parameter = christian_syncretic_actor } prev = { has_doctrine_parameter = christian_syncretic_actor }
} }
trigger_else_if = { trigger_else_if = {
limit = { faith = { religion_tag = catholic_religion } } limit = { faith ?= { religion_tag = catholic_religion } }
prev = { has_doctrine_parameter = christian_syncretic_actor } prev = { has_doctrine_parameter = christian_syncretic_actor }
} }
trigger_else_if = { trigger_else_if = {
limit = { faith = { religion_tag = protestant_religion } } limit = { faith ?= { religion_tag = protestant_religion } }
prev = { has_doctrine_parameter = christian_syncretic_actor } prev = { has_doctrine_parameter = christian_syncretic_actor }
} }
trigger_else_if = { trigger_else_if = {
limit = { faith = { religion_tag = oriental_orthodox_religion } } limit = { faith ?= { religion_tag = oriental_orthodox_religion } }
prev = { has_doctrine_parameter = christian_syncretic_actor } prev = { has_doctrine_parameter = christian_syncretic_actor }
} }
trigger_else_if = { trigger_else_if = {
@ -3621,35 +3696,35 @@ rite_is_syncretic_with = {
prev = { rite_has_parameter = unreformed_syncretic_actor } prev = { rite_has_parameter = unreformed_syncretic_actor }
} }
trigger_else_if = { trigger_else_if = {
limit = { faith = { religion_tag = eastern_orthodox_religion } } limit = { faith ?= { religion_tag = eastern_orthodox_religion } }
prev = { rite_has_parameter = christian_syncretic_actor } prev = { rite_has_parameter = christian_syncretic_actor }
} }
trigger_else_if = { trigger_else_if = {
limit = { faith = { religion_tag = catholic_religion } } limit = { faith ?= { religion_tag = catholic_religion } }
prev = { rite_has_parameter = christian_syncretic_actor } prev = { rite_has_parameter = christian_syncretic_actor }
} }
trigger_else_if = { trigger_else_if = {
limit = { faith = { religion_tag = protestant_religion } } limit = { faith ?= { religion_tag = protestant_religion } }
prev = { rite_has_parameter = christian_syncretic_actor } prev = { rite_has_parameter = christian_syncretic_actor }
} }
trigger_else_if = { trigger_else_if = {
limit = { faith = { religion_tag = oriental_orthodox_religion } } limit = { faith ?= { religion_tag = oriental_orthodox_religion } }
prev = { rite_has_parameter = christian_syncretic_actor } prev = { rite_has_parameter = christian_syncretic_actor }
} }
trigger_else_if = { trigger_else_if = {
limit = { faith = { religion_tag = islam_religion } } limit = { faith ?= { religion_tag = islam_religion } }
prev = { rite_has_parameter = islamic_syncretic_actor } prev = { rite_has_parameter = islamic_syncretic_actor }
} }
trigger_else_if = { trigger_else_if = {
limit = { faith = { religion_tag = judaism_religion } } limit = { faith ?= { religion_tag = judaism_religion } }
prev = { rite_has_parameter = jewish_syncretic_actor } prev = { rite_has_parameter = jewish_syncretic_actor }
} }
trigger_else_if = { trigger_else_if = {
limit = { faith = { is_in_family = rf_eastern } } limit = { faith ?= { is_in_family = rf_eastern } }
prev = { rite_has_parameter = eastern_syncretic_actor } prev = { rite_has_parameter = eastern_syncretic_actor }
} }
trigger_else_if = { trigger_else_if = {
limit = { faith = { is_in_family = rf_sinitic } } limit = { faith ?= { is_in_family = rf_sinitic } }
prev = { rite_has_parameter = sinitic_syncretic_actor } prev = { rite_has_parameter = sinitic_syncretic_actor }
} }
trigger_else = { trigger_else = {

View file

@ -276,7 +276,7 @@ allows_declaring_war_against_target_trigger = {
is_in_activity = no is_in_activity = no
trigger_if = { trigger_if = {
limit = { limit = {
culture = { has_cultural_parameter = cannot_attack_allies } culture ?= { has_cultural_parameter = cannot_attack_allies }
} }
NOT = { NOT = {
is_allied_to = scope:defender_check is_allied_to = scope:defender_check
@ -284,7 +284,7 @@ allows_declaring_war_against_target_trigger = {
} }
trigger_if = { trigger_if = {
limit = { limit = {
culture = { has_cultural_parameter = cannot_attack_truces } culture ?= { has_cultural_parameter = cannot_attack_truces }
} }
NOT = { NOT = {
has_truce = scope:defender_check has_truce = scope:defender_check
@ -487,8 +487,16 @@ can_use_conquest_cbs_trigger = {
government_has_flag = government_is_clan government_has_flag = government_is_clan
government_has_flag = government_is_nomadic government_has_flag = government_is_nomadic
government_has_flag = government_is_steppe_admin government_has_flag = government_is_steppe_admin
rite = { rite_has_parameter = conquest_cb_enabled } trigger_if = {
culture = { has_cultural_parameter = can_use_conquest_cbs } limit = { exists = rite }
rite ?= { rite_has_parameter = conquest_cb_enabled }
}
trigger_else = { always = no }
trigger_if = {
limit = { exists = culture }
culture ?= { has_cultural_parameter = can_use_conquest_cbs }
}
trigger_else = { always = no }
AND = { AND = {
government_has_flag = government_is_japan_feudal government_has_flag = government_is_japan_feudal
has_realm_law = imperial_expansion_law has_realm_law = imperial_expansion_law
@ -506,7 +514,13 @@ can_be_warrior_trigger = {
OR = { OR = {
can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = $ARMY_OWNER$ } can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = $ARMY_OWNER$ }
AND = { AND = {
$ARMY_OWNER$.culture = { has_cultural_parameter = high_prowess_ignores_knight_restrictions } $ARMY_OWNER$ = {
trigger_if = {
limit = { exists = culture }
culture ?= { has_cultural_parameter = high_prowess_ignores_knight_restrictions }
}
trigger_else = { always = no }
}
prowess >= 10 prowess >= 10
} }
# Japan Onna-musha # Japan Onna-musha
@ -517,9 +531,17 @@ can_be_warrior_trigger = {
NOT = { NOT = {
government_has_mechanic = administrative government_has_mechanic = administrative
} }
culture = { has_cultural_parameter = non_admin_close_family_non_martial_gender_knights_in_defensive_wars } trigger_if = {
limit = { exists = culture }
culture ?= { has_cultural_parameter = non_admin_close_family_non_martial_gender_knights_in_defensive_wars }
} }
culture = { has_cultural_parameter = non_admin_close_family_non_martial_gender_knights_in_defensive_wars } trigger_else = { always = no }
}
trigger_if = {
limit = { exists = culture }
culture ?= { has_cultural_parameter = non_admin_close_family_non_martial_gender_knights_in_defensive_wars }
}
trigger_else = { always = no }
} }
AND = { AND = {
$ARMY_OWNER$ = { is_at_war_as_defender = yes } $ARMY_OWNER$ = { is_at_war_as_defender = yes }
@ -558,10 +580,14 @@ can_be_knight_trigger = {
} }
trigger_if = { trigger_if = {
limit = { limit = {
$ARMY_OWNER$.culture = { exists = $ARMY_OWNER$.culture
trigger_if = {
limit = { exists = $ARMY_OWNER$.culture }
$ARMY_OWNER$.culture ?= {
has_cultural_parameter = minimum_prowess_for_knights has_cultural_parameter = minimum_prowess_for_knights
} }
} }
}
prowess >= 12 prowess >= 12
} }
trigger_if = { trigger_if = {
@ -569,27 +595,35 @@ can_be_knight_trigger = {
is_clergy = yes is_clergy = yes
} }
OR = { OR = {
rite = { rite_has_parameter = clergy_can_fight } rite ?= { rite_has_parameter = clergy_can_fight }
AND = { AND = {
has_personal_tenet_flag = clergy_can_fight_personal has_personal_tenet_flag = clergy_can_fight_personal
NOT = { NOT = {
rite = { rite_has_parameter = pacifist } rite ?= { rite_has_parameter = pacifist }
} }
} }
culture = { has_cultural_parameter = culture_clergy_can_fight } culture ?= { has_cultural_parameter = culture_clergy_can_fight }
AND = { AND = {
$ARMY_OWNER$.culture = { exists = $ARMY_OWNER$.culture
trigger_if = {
limit = { exists = $ARMY_OWNER$.culture }
$ARMY_OWNER$.culture ?= {
has_cultural_parameter = high_prowess_ignores_knight_restrictions has_cultural_parameter = high_prowess_ignores_knight_restrictions
} }
}
prowess >= 10 prowess >= 10
} }
} }
} }
OR = { OR = {
AND = { AND = {
$ARMY_OWNER$.culture = { exists = $ARMY_OWNER$.culture
trigger_if = {
limit = { exists = $ARMY_OWNER$.culture }
$ARMY_OWNER$.culture ?= {
has_cultural_parameter = high_prowess_ignores_knight_restrictions has_cultural_parameter = high_prowess_ignores_knight_restrictions
} }
}
prowess >= 10 prowess >= 10
} }
has_trait = order_member # Order Members will fight for their faith even if their faith says no has_trait = order_member # Order Members will fight for their faith even if their faith says no
@ -953,14 +987,14 @@ religious_cb_holder_under_target_can_be_vassalized = {
OR = { OR = {
# For all Faiths, if the attacker views this vassal's faith more favorably than the defender does, they are 'liberated' and become vassals under the attacker. # For all Faiths, if the attacker views this vassal's faith more favorably than the defender does, they are 'liberated' and become vassals under the attacker.
# For example, if Catholics are crusading against Ash'aris(viewed as Evil), any Messalian vassals (viewed as Hostile) will become vassals under the Catholic attacker. # For example, if Catholics are crusading against Ash'aris(viewed as Evil), any Messalian vassals (viewed as Hostile) will become vassals under the Catholic attacker.
scope:attacker.faith = { scope:attacker.faith ?= {
faith_hostility_level_comparison = { faith_hostility_level_comparison = {
prev.holder.faith < scope:defender.faith prev.holder.faith < scope:defender.faith
} }
} }
# Pluralist faiths always attempt to preserve vassals if possible, even if the vassal follows an Evil faith. # Pluralist faiths always attempt to preserve vassals if possible, even if the vassal follows an Evil faith.
scope:attacker.rite = { rite_has_parameter = pluralism_pluralistic_holy_wars_preserve_vassals } scope:attacker.rite ?= { rite_has_parameter = pluralism_pluralistic_holy_wars_preserve_vassals }
} }
} }
@ -1009,8 +1043,16 @@ can_use_viking_invasion_cbs_trigger = {
} }
can_use_viking_invasion_cbs_dlc_trigger = { can_use_viking_invasion_cbs_dlc_trigger = {
culture = { has_innovation = innovation_longboats } trigger_if = {
rite = { rite_has_tenet = tenet_warmonger } limit = { exists = culture }
culture ?= { has_innovation = innovation_longboats }
}
trigger_else = { always = no }
trigger_if = {
limit = { exists = rite }
rite ?= { rite_has_tenet = tenet_warmonger }
}
trigger_else = { always = no }
any_sub_realm_county = { is_coastal_county = yes } any_sub_realm_county = { is_coastal_county = yes }
trigger_if = { trigger_if = {
limit = { is_ai = yes } limit = { is_ai = yes }
@ -1022,7 +1064,11 @@ can_use_viking_invasion_cbs_dlc_trigger = {
NOT = { NOT = {
any_liege_or_above = { any_liege_or_above = {
NOT = { NOT = {
rite = { rite_has_tenet = tenet_warmonger } trigger_if = {
limit = { exists = rite }
rite ?= { rite_has_tenet = tenet_warmonger }
}
trigger_else = { always = no }
} }
} }
} }

View file

@ -0,0 +1,278 @@
# Any theocratic vassal of $LIEGE$'s faith, no matter the rite
pam_valid_antipope_clergy_vassal_trigger = {
save_temporary_scope_as = antipope_temp
is_clergy = yes
custom_tooltip = {
text = pam_antipope_clerical_gender_tt
$LIEGE$.rite = { rite_has_allowed_gender_for_clergy = scope:antipope_temp }
}
faith = $LIEGE$.faith
NOT = { any_held_title = { is_head_of_faith = yes } }
pam_is_antipope_trigger = no
}
# Holds one of their faith's antipope titles
pam_is_antipope_trigger = {
save_temporary_scope_as = pam_antipope_holder_check
faith ?= {
any_religious_head_challenger = {
holder ?= scope:pam_antipope_holder_check
}
}
}
pam_title_is_antipope_office_trigger = {
has_variable = pam_antipope_office
}
# Holds the sponsor title behind one of their faith's antipopes. A self-declared antipope sponsors themselves
pam_is_antipope_sponsor_trigger = {
save_temporary_scope_as = pam_antipope_sponsor_check
faith = {
any_religious_head_challenger = {
challenger_sponsor ?= {
holder ?= scope:pam_antipope_sponsor_check
}
}
}
}
pam_sponsors_other_antipope_trigger = {
save_temporary_scope_as = pam_other_antipope_sponsor_check
faith = {
any_religious_head_challenger = {
NOT = { holder ?= scope:pam_other_antipope_sponsor_check }
challenger_sponsor ?= {
holder ?= scope:pam_other_antipope_sponsor_check
}
}
}
}
# Scoped to an antipope: $SPONSOR$ is the ruler whose title backs them
pam_antipope_is_sponsored_by_trigger = {
save_temporary_scope_as = pam_checked_antipope
$SPONSOR$ = { save_temporary_scope_as = pam_expected_sponsor }
faith = {
any_religious_head_challenger = {
holder ?= scope:pam_checked_antipope
challenger_sponsor ?= {
holder ?= scope:pam_expected_sponsor
}
}
}
}
pam_is_sponsored_antipope_trigger = {
pam_is_antipope_trigger = yes
pam_is_antipope_sponsor_trigger = no
}
pam_antipope_declaration_discounted_trigger = {
situation:the_christian_church ?= {
has_situation_top_phase_parameter = the_christian_church_cheaper_antipope_declaration
}
}
# Covers the antipope, their sponsor, and anyone under either of them
pam_antipope_protected_from_excommunication_trigger = {
is_following_religious_head_challenger = yes
faith.religious_head ?= $EXCOMMUNICATOR$
NOT = { has_personal_tenet_flag = tenet_apostolic_succession_antipope_opposition }
}
# Clerical requests that the mainline hierarchy would answer
# Anyone under an antipope has to take them to that antipope instead
pam_antipope_clerical_request_trigger = {
trigger_if = {
limit = { pam_is_antipope_trigger = yes }
custom_tooltip = {
text = pam_clerical_request_actor_is_antipope_tt
religious_head_or_challenger ?= $RECIPIENT$
}
}
trigger_else_if = {
limit = { pam_is_antipope_sponsor_trigger = yes }
custom_tooltip = {
text = pam_clerical_request_actor_is_antipope_sponsor_tt
religious_head_or_challenger ?= $RECIPIENT$
}
}
trigger_else_if = {
limit = { is_following_religious_head_challenger = yes }
custom_tooltip = {
text = pam_clerical_request_in_antipope_realm_tt
religious_head_or_challenger ?= $RECIPIENT$
}
}
trigger_else = {
always = yes
}
}
pam_antipope_may_grant_clerical_region_trigger = {
trigger_if = {
limit = { scope:actor = { pam_is_antipope_trigger = yes } }
trigger_if = {
limit = { exists = $SEE$.holder }
$SEE$.holder.religious_head_or_challenger ?= scope:actor
}
trigger_else = {
$SEE$.title_capital_county.holder.religious_head_or_challenger ?= scope:actor
}
}
trigger_else = {
always = yes
}
}
# Antipope + Sponsor
pam_can_use_challenge_hof_cb_trigger = {
OR = {
pam_is_antipope_trigger = yes
pam_is_antipope_sponsor_trigger = yes
}
faith = {
exists = religious_head
NOT = { religious_head = scope:attacker }
}
}
pam_challenge_hof_join_war_trigger = {
is_ai = yes
highest_held_title_tier >= tier_county
NOR = {
is_participant_in_war = scope:war
# Don't add vassals of targets
is_vassal_or_below_of = scope:defender
is_vassal_or_below_of = scope:attacker
# Not part of an attacker's realm
any_liege_or_above = { is_participant_in_war = scope:war }
}
OR = {
# Military Holy Orders always join
government_has_flag = government_is_military_holy_order
AND = {
# Landed rulers join if zealous independents or theocrats, prevent every cardinal and monastic abbot joining
is_landed = yes
OR = {
AND = {
is_independent_ruler = yes
# Attackers always join if rite is different, to reward spreading rite
trigger_if = {
limit = {
scope:defender.rite != scope:attacker.rite
rite = scope:attacker.rite
}
always = yes
}
# Otherwise attackers/defenders join only if zealous
trigger_else = {
ai_zeal >= very_high_positive_ai_value
}
}
government_has_flag = government_is_theocracy
}
}
}
}
# Against the Antipope sponsor (which can be the antipope themselves if self-declared)
pam_can_target_antiking_cb_trigger = {
scope:defender = {
pam_is_antipope_sponsor_trigger = yes
faith = scope:attacker.faith
top_liege = this
}
scope:attacker = {
is_landed = yes
faith = scope:defender.faith
NOT = { this = scope:defender }
NOR = {
pam_is_antipope_sponsor_trigger = yes
pam_is_antipope_trigger = yes
}
}
}
antipope_requirements_trigger = {
calc_true_if = {
amount >= $AMOUNT$
has_trait = herald
trigger_if = {
limit = { religion = religion:islam_religion }
# Sayyids get a free pass.
has_trait = sayyid
}
trigger_else_if = {
limit = { religion = religion:zoroastrianism_religion }
OR = {
has_trait = saoshyant
has_trait = saoshyant_descendant
}
}
# to prevent "false" visible, but you should not get this as a potential antipope since this can only be granted to a HoF
trigger_else = {
has_trait = savior
}
has_trait_xp = {
trait = lifestyle_scholar
value >= 100
}
custom_description = {
text = is_head_of_rite_tt
subject = root
rite.head_of_rite ?= this
}
# has_relation_rival has no first-person trigger localization, so describe it explicitly
custom_description = {
text = declare_yourself_antipope_decision_hof_rival_tt
has_relation_rival = faith.religious_head
}
custom_description = {
text = appoint_a_righteous_caliph_decision.caliph_not_in_diplo_range
NOT = { in_diplomatic_range = faith.religious_head }
}
# Having a holy site.
custom_description = {
text = appoint_a_righteous_caliph_decision.control_one_holy_site
faith = {
any_holy_site_barony = {
count >= 1
holder ?= { target_is_same_character_or_above = root }
}
}
}
# Having *2* holy sites.
custom_description = {
text = appoint_a_righteous_caliph_decision.control_two_holy_sites
faith = {
any_holy_site_barony = {
count >= 2
holder ?= { target_is_same_character_or_above = root }
}
}
}
# Having a higher-than-minimum piety level.
piety_level >= very_high_piety_level
custom_description = {
text = declare_yourself_antipope_decision_hof_piety_level_tt
piety_level > faith.religious_head.piety_level
}
# And just having a caliph who doesn't live up to the root's faith's ideals.
custom_description = {
text = appoint_a_righteous_caliph_decision.caliph_has_x_or_more_traits_sinful_to_your_faith
faith.religious_head = {
num_sinful_traits = {
value >= 2
target = root.rite
}
}
}
# Has planned to schism off for a *while*.
custom_description = {
text = appoint_a_righteous_caliph_decision.has_wishes_to_schism_caliphate_flag
has_character_flag = wishes_to_schism_caliphate_flag
}
}
}

View file

@ -0,0 +1,289 @@
default_tax_collector = {
tax_factor = 0.2
levies_factor = 0.2
ai_will_do = {
value = default_tax_obligation_ai_will_do
# Always take at least one default tax collector slot
if = {
limit = { scope:num_slots_with_obligation = 0 }
add = 100
}
if = {
limit = { scope:liege.culture ?= { has_cultural_parameter = unlock_tax_obligation_deqhan } }
add = -1000
}
}
}
strict_taxation_tax_collector = {
tax_factor = 0.4
levies_factor = 0.2
liege_modifier = {
domain_tax_mult = 0.01
}
subject_modifier = {
opinion_of_liege = -30
monthly_piety_gain_mult = 0.1
}
ai_will_do = {
value = tax_obligation_base_ai_will_do
if = {
limit = {
scope:liege = {
ai_greed >= 75 # The AI has to be very greedy
ai_compassion <= 0 # And not kind enough to have qualms about it
}
}
add = 2
}
if = {
limit = { scope:liege.culture ?= { has_cultural_parameter = unlock_tax_obligation_deqhan } }
add = -1
}
}
}
jizya_special_rights_tax_collector = {
is_valid = {
scope:liege.faith = {
has_doctrine_parameter = unlock_jizya_contract
}
}
is_vassal_valid = {
custom_description = {
text = vassal_has_the_wrong_religion
subject = scope:vassal
scope:vassal.religion != scope:liege.religion
}
}
tax_factor = 1
levies_factor = -0.75
subject_modifier = {
monthly_prestige = -0.2
}
flag = vassal_contract_cannot_revoke_titles
flag = religiously_protected
ai_will_do = {
value = tax_obligation_base_ai_will_do
if = {
limit = {
scope:num_slots_with_obligation = 0 # And only if we don't have Jizya already
scope:liege = {
OR = {
# The AI has at least this many vassals to warrant Jizya being used
any_vassal = {
count >= tax_obligation_half_of_slot
government_has_flag = government_is_clan
religion != scope:liege.religion
}
# Or a large enough portion of their vassals are of another religion
any_vassal = {
percent >= 0.25
government_has_flag = government_is_clan
religion != scope:liege.religion
}
}
}
}
add = 5
}
}
}
iqta_special_rights_tax_collector = {
levies_factor = 0.1
liege_modifier = {
#men_at_arms_maintenance = -0.01
#men_at_arms_recruitment_cost = -0.01
maa_damage_mult = 0.01
}
subject_modifier = {
men_at_arms_maintenance = -0.1
men_at_arms_recruitment_cost = -0.1
opinion_of_liege = 15
}
ai_will_do = {
value = tax_obligation_base_ai_will_do
scope:liege = {
if = {
limit = {
AND = {
ai_greed <= 0 # The AI shouldn't be greedy, since they won't care in that case
ai_compassion >= 0 # The AI has to the somewhat compassionate to consider being nice to their vassals
}
}
if = {
limit = { # Increase the score a lot if there are several vassal who REALLY doesn't like their liege
any_vassal = {
count >= tax_obligation_half_of_slot
opinion = {
target = scope:liege
value <= -80
}
}
}
add = 4
}
else_if = {
limit = { # Increase it only slightly if the vassals only somewhat dislike their liege
any_vassal = {
count >= tax_obligation_half_of_slot
opinion = {
target = scope:liege
value <= -40
}
}
}
add = 2
}
}
}
}
}
ghazi_special_rights_tax_collector = {
tax_factor = 0.1
is_vassal_valid = {
custom_description = {
text = vassal_has_the_wrong_faith
subject = scope:vassal
scope:vassal.faith = scope:liege.faith
}
}
liege_modifier = {
monthly_piety_gain_mult = 0.02
zealot_opinion = 1
}
subject_modifier = {
monthly_piety = 0.5
monthly_war_income_mult = 0.1
monthly_county_control_growth_add = 0.25
army_siege_value_mult = 0.15
raid_speed = 0.15
ai_war_cooldown = -0.5
ai_war_chance = 1
ai_zeal = 50
ai_energy = 25
}
flag = vassal_contract_cheaper_religious_war
flag = vassal_contract_increase_prestige_cb_cost
flag = vassal_contract_allow_raiding
ai_will_do = {
value = tax_obligation_base_ai_will_do
if = {
limit = {
scope:liege = {
ai_has_warlike_personality = yes # AI should like wars to use Ghazi
ai_zeal >= 0
any_vassal = {
count >= {
value = scope:num_vassal_slots
divide = 100
multiply = 90
}
faith = scope:liege.faith
}
}
}
add = 2
}
}
}
### FP3 Tax Decrees
deqhan_special_rights_tax_collector = {
is_shown = {
has_fp3_dlc_trigger = yes
}
is_valid = {
scope:liege.culture = { has_cultural_parameter = unlock_tax_obligation_deqhan }
}
tax_factor = 0.35
levies_factor = 0.35
liege_modifier = {
legitimacy_gain_mult = 0.01
}
subject_modifier = {
monthly_prestige_gain_mult = 0.2
}
ai_will_do = {
value = tax_obligation_base_ai_will_do
add = 3
}
}
maguh_special_rights_tax_collector = {
is_shown = {
has_fp3_dlc_trigger = yes
}
is_valid = {
scope:liege = {
dynasty ?= {
has_dynasty_perk = fp3_khvarenah_legacy_4
}
}
}
liege_modifier = {
development_growth_factor = 0.01
}
subject_modifier = {
character_capital_county_monthly_development_growth_add = 0.1
holding_build_gold_cost = -0.1
build_gold_cost = -0.1
opinion_of_liege = 15
}
ai_will_do = {
value = tax_obligation_base_ai_will_do
add = 1
}
}
muqata_special_rights_tax_collector = {
is_shown = {
has_fp3_dlc_trigger = yes
}
liege_modifier = {
monthly_prestige = 0.1
}
subject_modifier = {
development_growth_factor = 0.1
county_opinion_add = 10
opinion_of_liege = 30
epidemic_resistance = 10
travel_danger = -5
}
ai_will_do = {
value = tax_obligation_base_ai_will_do
}
}

View file

@ -0,0 +1,86 @@
# Tax Slot Types
clan_tax_slot = {
default_obligation = default_tax_collector
obligations = {
strict_taxation_tax_collector
iqta_special_rights_tax_collector
ghazi_special_rights_tax_collector
muqata_special_rights_tax_collector
jizya_special_rights_tax_collector
deqhan_special_rights_tax_collector
maguh_special_rights_tax_collector
}
tax_slot_vassal_limit = {
add = {
value = 12
desc = tax_slot_vassal_level_base_desc
}
}
is_valid_tax_collector = {
liege ?= scope:liege
scope:liege != this
is_imprisoned = no
is_adult = yes
is_incapable = no
NOT = { has_character_modifier = fp3_incapable_tax_collector_modifier }
# Gender has to be allowed to be granted titles to be eligible
trigger_if = {
limit = {
scope:liege.rite ?= {
rite_has_doctrine = doctrine_gender_male_dominated
}
}
is_male = yes
}
trigger_if = {
limit = {
scope:liege.rite ?= {
rite_has_doctrine = doctrine_gender_female_dominated
}
}
is_female = yes
}
}
aptitude_level_breakpoints = { 20 45 75 110 }
tax_collector_aptitude = tax_collector_aptitude_score
on_tax_collector_hired = {
scope:tax_collector = {
add_character_flag = is_tax_collector
if = {
limit = {
has_opinion_modifier = {
target = scope:liege
modifier = fired_from_tax_collector_position_opinion
}
}
remove_opinion = {
target = scope:liege
modifier = fired_from_tax_collector_position_opinion
}
}
}
}
on_tax_collector_fired = {
scope:tax_collector = {
remove_character_flag = is_tax_collector
if = {
limit = {
this != scope:liege
}
add_opinion = {
target = scope:liege
modifier = fired_from_tax_collector_position_opinion
}
}
}
}
}

View file

@ -33,7 +33,7 @@
} }
if = { if = {
limit = { limit = {
culture = { has_cultural_pillar = ethos_courtly } culture ?= { has_cultural_pillar = ethos_courtly }
} }
add = 50 add = 50
} }
@ -59,7 +59,7 @@
} }
if = { if = {
limit = { limit = {
culture = { culture ?= {
has_innovation = innovation_royal_prerogative has_innovation = innovation_royal_prerogative
} }
} }
@ -67,7 +67,7 @@
} }
if = { if = {
limit = { limit = {
culture = { culture ?= {
has_innovation = innovation_heraldry has_innovation = innovation_heraldry
} }
} }
@ -75,7 +75,7 @@
} }
if = { if = {
limit = { limit = {
culture = { culture ?= {
has_innovation = innovation_court_officials has_innovation = innovation_court_officials
} }
} }
@ -215,24 +215,30 @@ glory_hound = {
} }
if = { if = {
limit = { limit = {
culture = { exists = culture
has_innovation = innovation_baliffs trigger_if = {
limit = { exists = culture }
culture ?= { has_innovation = innovation_baliffs }
} }
} }
multiply = 1.2 multiply = 1.2
} }
if = { if = {
limit = { limit = {
culture = { exists = culture
has_innovation = innovation_knighthood trigger_if = {
limit = { exists = culture }
culture ?= { has_innovation = innovation_knighthood }
} }
} }
multiply = 1.2 multiply = 1.2
} }
if = { if = {
limit = { limit = {
culture = { exists = culture
has_innovation = innovation_rightful_ownership trigger_if = {
limit = { exists = culture }
culture ?= { has_innovation = innovation_rightful_ownership }
} }
} }
multiply = 1.2 multiply = 1.2
@ -274,7 +280,7 @@ glory_hound = {
} }
if = { if = {
limit = { limit = {
culture = { has_cultural_pillar = ethos_bellicose } culture ?= { has_cultural_pillar = ethos_bellicose }
} }
add = 25 add = 25
} }
@ -354,7 +360,11 @@ parochial = {
} }
if = { if = {
limit = { limit = {
culture = { has_cultural_pillar = ethos_communal } exists = culture
trigger_if = {
limit = { exists = culture }
culture ?= { has_cultural_pillar = ethos_communal }
}
} }
add = 25 add = 25
} }
@ -366,7 +376,11 @@ parochial = {
} }
if = { if = {
limit = { limit = {
culture = { has_cultural_tradition = tradition_isolationist } exists = culture
trigger_if = {
limit = { exists = culture }
culture ?= { has_cultural_tradition = tradition_isolationist }
}
} }
add = 50 add = 50
} }
@ -386,40 +400,50 @@ parochial = {
} }
if = { if = {
limit = { limit = {
culture = { exists = culture
has_innovation = innovation_manorialism trigger_if = {
limit = { exists = culture }
culture ?= { has_innovation = innovation_manorialism }
} }
} }
multiply = 1.2 multiply = 1.2
} }
if = { if = {
limit = { limit = {
culture = { exists = culture
has_innovation = innovation_land_grants trigger_if = {
limit = { exists = culture }
culture ?= { has_innovation = innovation_land_grants }
} }
} }
multiply = 1.2 multiply = 1.2
} }
if = { if = {
limit = { limit = {
culture = { exists = culture
has_innovation = innovation_development_04 trigger_if = {
limit = { exists = culture }
culture ?= { has_innovation = innovation_development_04 }
} }
} }
multiply = 1.2 multiply = 1.2
} }
if = { if = {
limit = { limit = {
culture = { exists = culture
has_innovation = innovation_double_entry_bookkeeping trigger_if = {
limit = { exists = culture }
culture ?= { has_innovation = innovation_double_entry_bookkeeping }
} }
} }
multiply = 1.2 multiply = 1.2
} }
if = { if = {
limit = { limit = {
culture = { exists = culture
has_cultural_parameter = more_parochial_vassals trigger_if = {
limit = { exists = culture }
culture ?= { has_cultural_parameter = more_parochial_vassals }
} }
} }
multiply = 1.2 multiply = 1.2
@ -580,13 +604,21 @@ zealot = {
} }
if = { if = {
limit = { limit = {
culture = { has_cultural_tradition = tradition_zealous_people } exists = culture
trigger_if = {
limit = { exists = culture }
culture ?= { has_cultural_tradition = tradition_zealous_people }
}
} }
add = 50 add = 50
} }
if = { if = {
limit = { limit = {
culture = { has_cultural_pillar = ethos_spiritual } exists = culture
trigger_if = {
limit = { exists = culture }
culture ?= { has_cultural_pillar = ethos_spiritual }
}
} }
add = 25 add = 25
} }
@ -599,38 +631,50 @@ zealot = {
if = { if = {
limit = { limit = {
num_sinful_traits <= 0 num_sinful_traits <= 0
rite = { rite_has_parameter = more_often_zealots } exists = rite
trigger_if = {
limit = { exists = rite }
rite ?= { rite_has_parameter = more_often_zealots }
}
} }
add = 150 add = 150
} }
if = { if = {
limit = { limit = {
culture = { exists = culture
has_innovation = innovation_chronicle_writing trigger_if = {
limit = { exists = culture }
culture ?= { has_innovation = innovation_chronicle_writing }
} }
} }
multiply = 1.2 multiply = 1.2
} }
if = { if = {
limit = { limit = {
culture = { exists = culture
has_innovation = innovation_reconquista trigger_if = {
limit = { exists = culture }
culture ?= { has_innovation = innovation_reconquista }
} }
} }
multiply = 1.2 multiply = 1.2
} }
if = { if = {
limit = { limit = {
culture = { exists = culture
has_innovation = innovation_divine_right trigger_if = {
limit = { exists = culture }
culture ?= { has_innovation = innovation_divine_right }
} }
} }
multiply = 1.2 multiply = 1.2
} }
if = { if = {
limit = { limit = {
culture = { exists = culture
has_innovation = innovation_primogeniture trigger_if = {
limit = { exists = culture }
culture ?= { has_innovation = innovation_primogeniture }
} }
} }
multiply = 1.2 multiply = 1.2
@ -646,7 +690,7 @@ zealot = {
limit = { limit = {
NOR = { NOR = {
faith = scope:liege.faith faith = scope:liege.faith
faith = { faith ?= {
faith_hostility_level = { faith_hostility_level = {
target = scope:liege.faith target = scope:liege.faith
value = faith_fully_accepted_level value = faith_fully_accepted_level
@ -696,7 +740,7 @@ zealot = {
limit = { limit = {
NOR = { NOR = {
faith = scope:liege.faith faith = scope:liege.faith
faith = { faith ?= {
faith_hostility_level = { faith_hostility_level = {
target = scope:liege.faith target = scope:liege.faith
value > faith_astray_level value > faith_astray_level
@ -756,7 +800,7 @@ zealot = {
is_valid = { is_valid = {
OR = { OR = {
faith = scope:liege.faith faith = scope:liege.faith
faith = { faith ?= {
faith_hostility_level = { faith_hostility_level = {
target = scope:liege.faith target = scope:liege.faith
value = faith_fully_accepted_level value = faith_fully_accepted_level
@ -779,18 +823,18 @@ minority = {
OR = { OR = {
AND = { AND = {
faith != scope:liege.faith faith != scope:liege.faith
faith = { faith ?= {
faith_hostility_level = { faith_hostility_level = {
target = scope:liege.faith target = scope:liege.faith
value > faith_astray_level value > faith_astray_level
} }
} }
NOT = { rite = { rite_is_syncretic_with = { RITE = scope:liege.rite } } } NOT = { rite ?= { rite_is_syncretic_with = { RITE = scope:liege.rite } } }
} }
AND = { AND = {
culture != scope:liege.culture culture != scope:liege.culture
OR = { OR = {
culture = { culture ?= {
cultural_acceptance = { target = scope:liege.culture value < 30 } cultural_acceptance = { target = scope:liege.culture value < 30 }
} }
# AND = { # AND = {
@ -860,19 +904,31 @@ minority = {
faith = scope:liege.faith faith = scope:liege.faith
} }
NOR = { NOR = {
culture = { has_cultural_tradition = tradition_loyal_soldiers } AND = {
culture = { has_cultural_tradition = tradition_fp2_malleable_subjects } exists = culture
trigger_if = {
limit = { exists = culture }
culture ?= { has_cultural_tradition = tradition_loyal_soldiers }
}
}
AND = {
exists = culture
trigger_if = {
limit = { exists = culture }
culture ?= { has_cultural_tradition = tradition_fp2_malleable_subjects }
}
}
} }
OR = { OR = {
AND = { AND = {
faith != scope:liege.faith faith != scope:liege.faith
faith = { faith ?= {
faith_hostility_level = { faith_hostility_level = {
target = scope:liege.faith target = scope:liege.faith
value > faith_astray_level value > faith_astray_level
} }
} }
NOT = { rite = { rite_is_syncretic_with = { RITE = scope:liege.rite } } } NOT = { rite ?= { rite_is_syncretic_with = { RITE = scope:liege.rite } } }
} }
AND = { AND = {
scope:liege = { scope:liege = {
@ -880,7 +936,7 @@ minority = {
} }
culture != scope:liege.culture culture != scope:liege.culture
OR = { OR = {
culture = { culture ?= {
cultural_acceptance = { target = scope:liege.culture value < 30 } cultural_acceptance = { target = scope:liege.culture value < 30 }
} }
# AND = { # AND = {
@ -922,7 +978,7 @@ barons_and_minor_landholders = {
OR = { OR = {
NOR = { NOR = {
faith = scope:liege.faith faith = scope:liege.faith
faith = { faith ?= {
faith_hostility_level = { faith_hostility_level = {
target = scope:liege.faith target = scope:liege.faith
value >= faith_astray_level value >= faith_astray_level
@ -931,7 +987,7 @@ barons_and_minor_landholders = {
} }
NOR = { NOR = {
culture = scope:liege.culture culture = scope:liege.culture
culture = { culture ?= {
cultural_acceptance = { target = scope:liege.culture value >= 30 } cultural_acceptance = { target = scope:liege.culture value >= 30 }
} }
} }
@ -1028,7 +1084,7 @@ belligerent = {
} }
if = { if = {
limit = { limit = {
culture = { has_cultural_pillar = ethos_bellicose } culture ?= { has_cultural_pillar = ethos_bellicose }
} }
add = 50 add = 50
} }
@ -1060,7 +1116,7 @@ belligerent = {
} }
if = { if = {
limit = { limit = {
culture = { culture ?= {
has_innovation = innovation_standing_armies has_innovation = innovation_standing_armies
} }
} }
@ -1068,7 +1124,7 @@ belligerent = {
} }
if = { if = {
limit = { limit = {
culture = { culture ?= {
has_innovation = innovation_all_things has_innovation = innovation_all_things
} }
} }

View file

@ -9,7 +9,6 @@
europeanist_religion_opinion:0 "$europeanist_religion_adherent$ Opinion" europeanist_religion_opinion:0 "$europeanist_religion_adherent$ Opinion"
finnic_religion_opinion:0 "$finnic_religion_adherent$ Opinion" finnic_religion_opinion:0 "$finnic_religion_adherent$ Opinion"
folk_germanic_religion_opinion:0 "$folk_germanic_religion_adherent$ Opinion" folk_germanic_religion_opinion:0 "$folk_germanic_religion_adherent$ Opinion"
mediterranean_religion_opinion:0 "$mediterranean_religion_adherent$ Opinion"
novelist_religion_opinion:0 "$novelist_religion_adherent$ Opinion" novelist_religion_opinion:0 "$novelist_religion_adherent$ Opinion"
eastern_orthodox_religion_opinion:0 "$eastern_orthodox_religion_adherent$ Opinion" eastern_orthodox_religion_opinion:0 "$eastern_orthodox_religion_adherent$ Opinion"
french_pantheon_religion_opinion:0 "$french_pantheon_religion_adherent$ Opinion" french_pantheon_religion_opinion:0 "$french_pantheon_religion_adherent$ Opinion"