diff --git a/common/buildings/00_nomad_buildings.txt b/common/buildings/00_nomad_buildings.txt index 5f4b4fa6f..7faa5e2ff 100644 --- a/common/buildings/00_nomad_buildings.txt +++ b/common/buildings/00_nomad_buildings.txt @@ -194,17 +194,14 @@ herder_camp_01 = { is_enabled = { scope:holder = { government_allows = replenishes_county_fertility } - scope:holder = { government_has_flag = government_is_true_herder } } can_construct_potential = { scope:holder = { government_allows = replenishes_county_fertility } - scope:holder = { government_has_flag = government_is_true_herder } } can_construct_showing_failures_only = { scope:holder = { government_allows = replenishes_county_fertility } - scope:holder = { government_has_flag = government_is_true_herder } } cost_prestige = 1 diff --git a/common/buildings/00_special_buildings.txt b/common/buildings/00_special_buildings.txt index 5585af731..f335b5270 100644 --- a/common/buildings/00_special_buildings.txt +++ b/common/buildings/00_special_buildings.txt @@ -2618,7 +2618,7 @@ house_of_wisdom_01 = { monthly_lifestyle_xp_gain_mult = 0.15 different_culture_opinion = 10 cultural_head_fascination_mult = 0.10 - faith_creation_piety_cost_mult = -0.2 + rite_creation_piety_cost_mult = -0.1 monthly_dynasty_prestige_mult = 0.05 } county_modifier = { @@ -2667,7 +2667,7 @@ the_tower_of_london_01 = { building_requirement_tribal = no } - can_construct_showing_failures_only = { + can_construct = { scope:holder.culture = { has_innovation = innovation_battlements } @@ -2730,10 +2730,8 @@ london_bridge_01 = { } can_construct = { - scope:holder = { - culture = { - has_innovation = innovation_development_03 - } + scope:holder.culture = { + has_innovation = innovation_development_03 } } @@ -3281,9 +3279,8 @@ hagia_sophia_01 = { } show_disabled = yes - + cost_gold = 1000 - cost_piety = 1000 character_modifier = { monthly_piety_gain_per_knight_add = 0.1 @@ -3292,23 +3289,12 @@ hagia_sophia_01 = { knight_limit = 2 knight_effectiveness_mult = 0.2 monthly_dynasty_prestige_mult = 0.05 - religious_vassal_opinion = 10 - zealot_opinion = 10 - clergy_opinion = 10 } county_modifier = { - development_growth = 0.3 - development_growth_factor = 0.3 - county_opinion_add = 10 - tax_mult = 0.3 + development_growth_factor = 0.2 } - province_modifier = { - monthly_income = 0.4 - } - - on_complete = { #Regular Mandala Boon mandala_built_piety_duchy_building_t3_effect = yes @@ -3378,26 +3364,12 @@ hagia_sophia_02 = { cost_piety = 1000 character_modifier = { - monthly_piety = 0.5 - martial_per_piety_level = 2 - prowess = 2 + monthly_piety_gain_per_knight_add = 0.1 + intrigue_per_prestige_level = 2 + learning = 2 knight_limit = 2 knight_effectiveness_mult = 0.2 monthly_dynasty_prestige_mult = 0.05 - religious_vassal_opinion = 10 - zealot_opinion = 10 - clergy_opinion = 10 - } - - county_modifier = { - development_growth = 0.3 - development_growth_factor = 0.3 - county_opinion_add = 10 - tax_mult = 0.3 - } - - province_modifier = { - monthly_income = 0.4 } on_complete = { @@ -5050,7 +5022,7 @@ imam_reza_shrine_01 = { character_modifier = { monthly_piety = 0.2 learning_per_piety_level = 1 - imami_opinion = 10 + shia_opinion = 10 advantage_against_coreligionists = 5 monthly_dynasty_prestige_mult = 0.05 } @@ -5107,8 +5079,10 @@ soltaniyeh_01 = { } can_construct = { - scope:holder.culture = { - has_innovation = innovation_development_03 + scope:holder = { + culture = { + has_innovation = innovation_development_03 + } } } @@ -6017,6 +5991,8 @@ church_of_the_theotokos = { type = special + next_building = parthenon + flag = travel_point_of_interest_religious flag = holy_building } @@ -6080,8 +6056,6 @@ parthenon = { type = special - next_building = church_of_the_theotokos - flag = travel_point_of_interest_religious } @@ -6682,7 +6656,7 @@ mount_athos_01 = { type_icon = "icon_structure_mount_athos.dds" - cost_gold = 600 + cost_gold = 300 can_construct = { @@ -6731,7 +6705,7 @@ mount_athos_02 = { type_icon = "icon_structure_mount_athos.dds" - cost_gold = 1200 + cost_gold = 600 can_construct = { @@ -6790,10 +6764,12 @@ mount_athos_03 = { type_icon = "icon_structure_mount_athos.dds" - cost_gold = 2000 + cost_gold = 1000 can_construct = { - + scope:holder.culture = { + has_innovation = innovation_cranes + } } is_enabled = { @@ -6801,23 +6777,23 @@ mount_athos_03 = { } character_modifier = { - monthly_piety = 0.5 - cultural_head_fascination_mult = 0.15 - faith_creation_piety_cost_mult = -0.5 - religious_vassal_opinion = 15 - zealot_opinion = 15 - clergy_opinion = 15 + monthly_piety = 0.4 + cultural_head_fascination_mult = 0.10 + rite_creation_piety_cost_mult = -0.1 + religious_vassal_opinion = 10 + zealot_opinion = 10 + clergy_opinion = 10 } county_modifier = { - development_growth = 0.2 - development_growth_factor = 0.2 - county_opinion_add = 20 - tax_mult = 0.5 + development_growth = 0.3 + development_growth_factor = 0.3 + county_opinion_add = 10 + tax_mult = 0.3 } province_modifier = { - monthly_income = 1 + monthly_income = 0.4 } on_complete = { @@ -9802,7 +9778,7 @@ kofuku_ji_01 = { character_modifier = { monthly_piety = 0.25 monthly_dynasty_prestige_mult = 0.05 - faith_creation_piety_cost_mult = -0.1 + rite_creation_piety_cost_mult = -0.1 } county_modifier = { @@ -9846,7 +9822,7 @@ enryaku_ji_01 = { character_modifier = { monthly_piety = 0.25 monthly_dynasty_prestige_mult = 0.05 - faith_creation_piety_cost_mult = -0.1 + rite_creation_piety_cost_mult = -0.1 } county_modifier = { @@ -10526,7 +10502,7 @@ mount_apo_01 = { character_modifier = { piety_level_impact_mult = 0.25 - faith_creation_piety_cost_mult = -0.15 + rite_creation_piety_cost_mult = -0.1 stress_loss_mult = 0.05 realm_priest_opinion = 10 } @@ -10940,7 +10916,7 @@ maoshan_academy_01 = { character_modifier = { monthly_piety = 0.25 monthly_dynasty_prestige_mult = 0.05 - faith_creation_piety_cost_mult = -0.1 + rite_creation_piety_cost_mult = -0.1 } county_modifier = { @@ -10997,7 +10973,7 @@ tiantai_monasteries_01 = { character_modifier = { monthly_piety = 0.20 - faith_creation_piety_cost_mult = -0.05 + rite_creation_piety_cost_mult = -0.05 } county_modifier = { @@ -11055,7 +11031,7 @@ jizu_shan_temples_01 = { character_modifier = { monthly_piety = 0.20 - faith_creation_piety_cost_mult = -0.05 + rite_creation_piety_cost_mult = -0.05 } county_modifier = { @@ -11113,7 +11089,7 @@ nanhua_temple_01 = { character_modifier = { monthly_piety = 0.20 - faith_creation_piety_cost_mult = -0.05 + rite_creation_piety_cost_mult = -0.05 } county_modifier = { diff --git a/common/buildings/00_standard_economy_buildings.txt b/common/buildings/00_standard_economy_buildings.txt index 3c3f2189c..b06cf4f9b 100644 --- a/common/buildings/00_standard_economy_buildings.txt +++ b/common/buildings/00_standard_economy_buildings.txt @@ -4039,7 +4039,7 @@ waterworks_01 = { modifier = { add = 2 scope:holder = { - government_has_flag = government_is_administrative # infrastucture, babeyyy + government_has_mechanic = administrative # infrastucture, babeyyy } } modifier = { @@ -7246,6 +7246,15 @@ farm_estates_05 = { county_modifier = { development_growth_factor = 0.02 } + province_government_modifier = { + parameter = government_is_prepublic + monthly_barter_goods = 0.3 + } + county_culture_modifier = { + parameter = use_farmer_republics + county_fertility_growth_add = 0.8 + } + province_culture_modifier = { parameter = brewery_farming_bonus @@ -7628,6 +7637,20 @@ cereal_fields_02 = { } } + can_construct_showing_failures_only = { + building_requirement_tribal = no + OR = { + building_farm_estates_requirement_terrain = yes + AND = { + has_building_or_higher = pastures_04 + culture = { + has_cultural_parameter = farm_estates_pastures_unlock + } + } + building_paddy_fields_requirement_terrain = yes + } + } + cost_gold = normal_building_tier_2_cost province_modifier = { @@ -10360,7 +10383,11 @@ plantations_04 = { has_innovation = innovation_manorialism } } - + + province_government_modifier = { + parameter = government_is_urepublic + monthly_income = 0.3 + } can_construct_showing_failures_only = { building_requirement_tribal = no } @@ -10823,7 +10850,11 @@ quarries_03 = { has_innovation = innovation_manorialism } } - + + province_government_modifier = { + parameter = government_is_urepublic + monthly_income = 0.3 + } can_construct_showing_failures_only = { building_requirement_tribal = no } @@ -10884,11 +10915,19 @@ quarries_04 = { has_innovation = innovation_manorialism } } - + + province_government_modifier = { + parameter = government_is_urepublic + monthly_income = 0.3 + } can_construct_showing_failures_only = { building_requirement_tribal = no } + province_government_modifier = { + parameter = government_is_urepublic + monthly_income = 0.4 + } cost_gold = cheap_building_tier_4_cost province_modifier = { diff --git a/common/buildings/00_temple_buildings.txt b/common/buildings/00_temple_buildings.txt index e9452e3c2..c65ddc236 100644 --- a/common/buildings/00_temple_buildings.txt +++ b/common/buildings/00_temple_buildings.txt @@ -809,18 +809,43 @@ temple_01 = { monthly_piety = 0.01 } - character_modifier = { - men_at_arms_cap = 1 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_decline_add = -1 + province_rite_modifier = { + parameter = tenet_tax_increase_per_piety_level + tax_per_piety_level = 0.1 } + flag = temple type_icon = "icon_building_monastic_schools.dds" on_complete = { + save_scope_as = temple_location + county.holder ?= { + # By God Alone - Secular Faith & Rite: raising a temple lifts a demon's torment (0048)... + if = { + limit = { has_character_modifier = pam_sf_demon_torment_modifier } + send_interface_toast = { + type = event_toast_effect_good + title = pam_sf_demon_torment_lifted_toast + left_icon = this + remove_character_modifier = pam_sf_demon_torment_modifier + change_spiritual_fulfillment = major_spiritual_fulfillment_value + } + } + # ...and a first church fires the consecration event (0020). + if = { + limit = { + pam_secular_faith_christian_actor_trigger = yes + NOT = { has_character_flag = pam_sf_first_church_consecrated } + } + root.county = { save_scope_as = pam_sf_consecrated_county } + #Delayed so it doesn't happen simultaneous with order creation + trigger_event = { + id = pam_secular_faith_events.0020 + days = 2 + } + } + } if = { limit = { county.holder.culture = { @@ -841,17 +866,15 @@ temple_01 = { else = { county.holder ?= { add_piety = massive_piety_gain } } - save_scope_as = temple_location if = { limit = { - OR = { - culture = { has_cultural_parameter = more_fervor_on_church_construction } - faith = { has_doctrine_parameter = more_fervor_on_church_construction } + county.holder.culture = { + has_cultural_parameter = more_fervor_on_church_construction } } county.holder.faith = { change_fervor = { - value = 5 + value = notable_fervor_gain desc = fervor_gain_built_temple_holding } } @@ -859,7 +882,7 @@ temple_01 = { else = { county.holder.faith = { change_fervor = { - value = 1 + value = trivial_fervor_gain desc = fervor_gain_built_temple_holding } } @@ -1810,13 +1833,11 @@ temple_02 = { monthly_piety = 0.02 } - character_modifier = { - men_at_arms_cap = 1 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_decline_add = -2 + province_rite_modifier = { + parameter = tenet_tax_increase_per_piety_level + tax_per_piety_level = 0.1 } + flag = temple on_complete = { @@ -1831,14 +1852,13 @@ temple_02 = { } if = { limit = { - OR = { - culture = { has_cultural_parameter = more_fervor_on_church_construction } - faith = { has_doctrine_parameter = more_fervor_on_church_construction } + county.holder.culture = { + has_cultural_parameter = more_fervor_on_church_construction } } county.holder.faith = { change_fervor = { - value = 2 + value = small_fervor_gain desc = fervor_gain_upgraded_temple_holding_culture_parameter } } @@ -2669,13 +2689,11 @@ temple_03 = { monthly_piety = 0.03 } - character_modifier = { - men_at_arms_cap = 1 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_decline_add = -3 + province_rite_modifier = { + parameter = tenet_tax_increase_per_piety_level + tax_per_piety_level = 0.1 } + flag = temple on_complete = { @@ -2690,14 +2708,13 @@ temple_03 = { } if = { limit = { - OR = { - culture = { has_cultural_parameter = more_fervor_on_church_construction } - faith = { has_doctrine_parameter = more_fervor_on_church_construction } + county.holder.culture = { + has_cultural_parameter = more_fervor_on_church_construction } } county.holder.faith = { change_fervor = { - value = 2 + value = small_fervor_gain desc = fervor_gain_upgraded_temple_holding_culture_parameter } } @@ -3524,13 +3541,11 @@ temple_04 = { monthly_piety = 0.05 } - character_modifier = { - men_at_arms_cap = 1 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_decline_add = -4 + province_rite_modifier = { + parameter = tenet_tax_increase_per_piety_level + tax_per_piety_level = 0.1 } + flag = temple on_complete = { @@ -3545,14 +3560,13 @@ temple_04 = { } if = { limit = { - OR = { - culture = { has_cultural_parameter = more_fervor_on_church_construction } - faith = { has_doctrine_parameter = more_fervor_on_church_construction } + county.holder.culture = { + has_cultural_parameter = more_fervor_on_church_construction } } county.holder.faith = { change_fervor = { - value = 2 + value = small_fervor_gain desc = fervor_gain_upgraded_temple_holding_culture_parameter } } @@ -3630,7 +3644,10 @@ scriptorium_01 = { construction_time = standard_construction_time can_construct_potential = { - has_building_or_higher = temple_01 + OR = { + has_building_or_higher = temple_01 + has_building_or_higher = temple_citadel_01 + } has_dlc_feature = legends } @@ -3716,7 +3733,10 @@ scriptorium_02 = { construction_time = standard_construction_time can_construct_potential = { - has_building_or_higher = temple_01 + OR = { + has_building_or_higher = temple_01 + has_building_or_higher = temple_citadel_01 + } has_dlc_feature = legends } @@ -3773,7 +3793,10 @@ scriptorium_03 = { construction_time = standard_construction_time can_construct = { - has_building_or_higher = temple_02 + OR = { + has_building_or_higher = temple_02 + has_building_or_higher = temple_citadel_02 + } culture = { has_innovation = innovation_manorialism } @@ -3830,7 +3853,10 @@ scriptorium_04 = { construction_time = standard_construction_time can_construct = { - has_building_or_higher = temple_02 + OR = { + has_building_or_higher = temple_02 + has_building_or_higher = temple_citadel_02 + } culture = { has_innovation = innovation_manorialism } @@ -3887,7 +3913,10 @@ scriptorium_05 = { construction_time = standard_construction_time can_construct = { - has_building_or_higher = temple_03 + OR = { + has_building_or_higher = temple_03 + has_building_or_higher = temple_citadel_03 + } culture = { has_innovation = innovation_windmills } @@ -3944,7 +3973,10 @@ scriptorium_06 = { construction_time = standard_construction_time can_construct = { - has_building_or_higher = temple_03 + OR = { + has_building_or_higher = temple_03 + has_building_or_higher = temple_citadel_03 + } culture = { has_innovation = innovation_windmills } @@ -4000,7 +4032,10 @@ scriptorium_07 = { construction_time = standard_construction_time can_construct = { - has_building_or_higher = temple_04 + OR = { + has_building_or_higher = temple_04 + has_building_or_higher = temple_citadel_04 + } culture = { has_innovation = innovation_cranes } @@ -4057,7 +4092,10 @@ scriptorium_08 = { construction_time = standard_construction_time can_construct = { - has_building_or_higher = temple_03 + OR = { + has_building_or_higher = temple_04 + has_building_or_higher = temple_citadel_04 + } culture = { has_innovation = innovation_cranes } @@ -4117,11 +4155,14 @@ monastic_schools_01 = { can_construct_potential = { trigger_if = { limit = { - scope:holder.faith = { - NOT = { has_doctrine_parameter = monastic_schools_allowed_in_every_holding_type } + scope:holder.rite = { + NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } } } - has_holding_type = church_holding + OR = { + has_holding_type = church_holding + has_holding_type = temple_citadel_holding + } } building_requirement_castle_city_church_temple_citadel_tribe = { LEVEL = 01 } } @@ -4192,11 +4233,14 @@ monastic_schools_02 = { can_construct_potential = { trigger_if = { limit = { - scope:holder.faith = { - NOT = { has_doctrine_parameter = monastic_schools_allowed_in_every_holding_type } + scope:holder.rite = { + NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } } } - has_holding_type = church_holding + OR = { + has_holding_type = church_holding + has_holding_type = temple_citadel_holding + } } building_requirement_castle_city_church_temple_citadel_tribe = { LEVEL = 01 } } @@ -4265,11 +4309,14 @@ monastic_schools_03 = { can_construct = { trigger_if = { limit = { - scope:holder.faith = { - NOT = { has_doctrine_parameter = monastic_schools_allowed_in_every_holding_type } + scope:holder.rite = { + NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } } } - has_holding_type = church_holding + OR = { + has_holding_type = church_holding + has_holding_type = temple_citadel_holding + } } trigger_if = { limit = { @@ -4348,11 +4395,14 @@ monastic_schools_04 = { can_construct = { trigger_if = { limit = { - scope:holder.faith = { - NOT = { has_doctrine_parameter = monastic_schools_allowed_in_every_holding_type } + scope:holder.rite = { + NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } } } - has_holding_type = church_holding + OR = { + has_holding_type = church_holding + has_holding_type = temple_citadel_holding + } } trigger_if = { limit = { @@ -4431,11 +4481,14 @@ monastic_schools_05 = { can_construct = { trigger_if = { limit = { - scope:holder.faith = { - NOT = { has_doctrine_parameter = monastic_schools_allowed_in_every_holding_type } + scope:holder.rite = { + NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } } } - has_holding_type = church_holding + OR = { + has_holding_type = church_holding + has_holding_type = temple_citadel_holding + } } trigger_if = { limit = { @@ -4514,11 +4567,14 @@ monastic_schools_06 = { can_construct = { trigger_if = { limit = { - scope:holder.faith = { - NOT = { has_doctrine_parameter = monastic_schools_allowed_in_every_holding_type } + scope:holder.rite = { + NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } } } - has_holding_type = church_holding + OR = { + has_holding_type = church_holding + has_holding_type = temple_citadel_holding + } } trigger_if = { limit = { @@ -4597,11 +4653,14 @@ monastic_schools_07 = { can_construct = { trigger_if = { limit = { - scope:holder.faith = { - NOT = { has_doctrine_parameter = monastic_schools_allowed_in_every_holding_type } + scope:holder.rite = { + NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } } } - has_holding_type = church_holding + OR = { + has_holding_type = church_holding + has_holding_type = temple_citadel_holding + } } trigger_if = { limit = { @@ -4680,11 +4739,14 @@ monastic_schools_08 = { can_construct = { trigger_if = { limit = { - scope:holder.faith = { - NOT = { has_doctrine_parameter = monastic_schools_allowed_in_every_holding_type } + scope:holder.rite = { + NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } } } - has_holding_type = church_holding + OR = { + has_holding_type = church_holding + has_holding_type = temple_citadel_holding + } } trigger_if = { limit = { @@ -4762,9 +4824,12 @@ megalith_01 = { construction_time = standard_construction_time can_construct_potential = { - has_building_or_higher = temple_01 - scope:holder.faith = { - has_doctrine_parameter = can_build_megaliths + OR = { + has_building_or_higher = temple_01 + has_building_or_higher = temple_citadel_01 + } + scope:holder.rite = { + rite_has_parameter = can_build_megaliths } } @@ -4775,7 +4840,7 @@ megalith_01 = { is_enabled = { custom_tooltip = { text = province_is_of_a_megalith_faith_tt - county.faith = { has_doctrine_parameter = can_build_megaliths } + county.rite = { rite_has_parameter = can_build_megaliths } } } @@ -4832,9 +4897,12 @@ megalith_02 = { construction_time = standard_construction_time can_construct_potential = { - has_building_or_higher = temple_01 - scope:holder.faith = { - has_doctrine_parameter = can_build_megaliths + OR = { + has_building_or_higher = temple_01 + has_building_or_higher = temple_citadel_01 + } + scope:holder.rite = { + rite_has_parameter = can_build_megaliths } } @@ -4845,7 +4913,7 @@ megalith_02 = { is_enabled = { custom_tooltip = { text = province_is_of_a_megalith_faith_tt - county.faith = { has_doctrine_parameter = can_build_megaliths } + county.rite = { rite_has_parameter = can_build_megaliths } } } @@ -4881,9 +4949,12 @@ megalith_03 = { construction_time = standard_construction_time can_construct_potential = { - has_building_or_higher = temple_01 - scope:holder.faith = { - has_doctrine_parameter = can_build_megaliths + OR = { + has_building_or_higher = temple_01 + has_building_or_higher = temple_citadel_01 + } + scope:holder.rite = { + rite_has_parameter = can_build_megaliths } } @@ -4897,7 +4968,7 @@ megalith_03 = { is_enabled = { custom_tooltip = { text = province_is_of_a_megalith_faith_tt - county.faith = { has_doctrine_parameter = can_build_megaliths } + county.rite = { rite_has_parameter = can_build_megaliths } } } @@ -4933,9 +5004,12 @@ megalith_04 = { construction_time = standard_construction_time can_construct_potential = { - has_building_or_higher = temple_02 - scope:holder.faith = { - has_doctrine_parameter = can_build_megaliths + OR = { + has_building_or_higher = temple_02 + has_building_or_higher = temple_citadel_02 + } + scope:holder.rite = { + rite_has_parameter = can_build_megaliths } } @@ -4949,7 +5023,7 @@ megalith_04 = { is_enabled = { custom_tooltip = { text = province_is_of_a_megalith_faith_tt - county.faith = { has_doctrine_parameter = can_build_megaliths } + county.rite = { rite_has_parameter = can_build_megaliths } } } @@ -4986,9 +5060,12 @@ megalith_05 = { construction_time = standard_construction_time can_construct_potential = { - has_building_or_higher = temple_02 - scope:holder.faith = { - has_doctrine_parameter = can_build_megaliths + OR = { + has_building_or_higher = temple_02 + has_building_or_higher = temple_citadel_02 + } + scope:holder.rite = { + rite_has_parameter = can_build_megaliths } } @@ -5002,7 +5079,7 @@ megalith_05 = { is_enabled = { custom_tooltip = { text = province_is_of_a_megalith_faith_tt - county.faith = { has_doctrine_parameter = can_build_megaliths } + county.rite = { rite_has_parameter = can_build_megaliths } } } @@ -5040,9 +5117,12 @@ megalith_06 = { construction_time = standard_construction_time can_construct_potential = { - has_building_or_higher = temple_02 - scope:holder.faith = { - has_doctrine_parameter = can_build_megaliths + OR = { + has_building_or_higher = temple_02 + has_building_or_higher = temple_citadel_02 + } + scope:holder.rite = { + rite_has_parameter = can_build_megaliths } } @@ -5056,7 +5136,7 @@ megalith_06 = { is_enabled = { custom_tooltip = { text = province_is_of_a_megalith_faith_tt - county.faith = { has_doctrine_parameter = can_build_megaliths } + county.rite = { rite_has_parameter = can_build_megaliths } } } @@ -5094,9 +5174,12 @@ megalith_07 = { construction_time = standard_construction_time can_construct_potential = { - has_building_or_higher = temple_02 - scope:holder.faith = { - has_doctrine_parameter = can_build_megaliths + OR = { + has_building_or_higher = temple_02 + has_building_or_higher = temple_citadel_02 + } + scope:holder.rite = { + rite_has_parameter = can_build_megaliths } } @@ -5110,7 +5193,7 @@ megalith_07 = { is_enabled = { custom_tooltip = { text = province_is_of_a_megalith_faith_tt - county.faith = { has_doctrine_parameter = can_build_megaliths } + county.rite = { rite_has_parameter = can_build_megaliths } } } @@ -5148,9 +5231,12 @@ megalith_08 = { construction_time = standard_construction_time can_construct_potential = { - has_building_or_higher = temple_02 - scope:holder.faith = { - has_doctrine_parameter = can_build_megaliths + OR = { + has_building_or_higher = temple_02 + has_building_or_higher = temple_citadel_02 + } + scope:holder.rite = { + rite_has_parameter = can_build_megaliths } } @@ -5164,7 +5250,7 @@ megalith_08 = { is_enabled = { custom_tooltip = { text = province_is_of_a_megalith_faith_tt - county.faith = { has_doctrine_parameter = can_build_megaliths } + county.rite = { rite_has_parameter = can_build_megaliths } } } diff --git a/common/buildings/00_tribal_buildings.txt b/common/buildings/00_tribal_buildings.txt index 3b288bb82..534ed34db 100644 --- a/common/buildings/00_tribal_buildings.txt +++ b/common/buildings/00_tribal_buildings.txt @@ -22,11 +22,20 @@ tribe_01 = { asset = { type = pdxmesh names = { - building_western_tribal_01_a_mesh + "building_western_tribal_01_a_mesh" } illustration = @holding_illustration_grass soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } } + asset = { + type = pdxmesh + names = { + "building_african_tribal_01_a_mesh" + } + graphical_cultures = { african_building_gfx } + illustration = @holding_illustration_grass + soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } + } asset = { type = pdxmesh names = { @@ -54,15 +63,6 @@ tribe_01 = { illustration = @holding_illustration_grass soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } } - asset = { - type = pdxmesh - names = { - "building_african_tribal_01_a_mesh" - } - graphical_cultures = { african_building_gfx } - illustration = @holding_illustration_grass - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } - } asset = { type = pdxmesh names = { @@ -83,6 +83,16 @@ tribe_01 = { illustration = @holding_illustration_seasia soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } } + # Western Generic + asset = { + type = pdxmesh + names = { + building_western_tribal_01_a_mesh + } + graphical_cultures = { western_building_gfx } + illustration = @holding_illustration_grass + soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } + } } is_enabled = { @@ -143,10 +153,9 @@ tribe_01 = { character_modifier = { county_fertility_growth_mult = 0.35 - men_at_arms_cap = 1 } - next_building = tribe_02 + flag = tribe type_icon = "icon_building_longhouses.dds" @@ -185,7 +194,7 @@ tribe_02 = { names = { "building_mena_tribal_01_a_mesh" } - graphical_cultures = { arabic_group_building_gfx berber_group_building_gfx mena_building_gfx mena_building_gfx } + graphical_cultures = { arabic_group_building_gfx berber_group_building_gfx mena_building_gfx } illustration = @holding_illustration_grass soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } } @@ -302,9 +311,10 @@ tribe_02 = { character_modifier = { county_fertility_growth_mult = 0.35 - men_at_arms_cap = 2 } - + + flag = tribe + ai_value = { base = 1 } @@ -483,9 +493,9 @@ war_camps_02 = { stationed_maa_toughness_mult = normal_maa_toughness_tier_2 } - character_culture_modifier = { + county_culture_modifier = { parameter = strength_in_numbers_maa_limit_bonus - men_at_arms_limit = 1 + levy_size = 0.02 } ai_value = { diff --git a/common/buildings/NEOW_special_buildings.txt b/common/buildings/NEOW_special_buildings.txt index cd3205d96..1e24d5ee6 100644 --- a/common/buildings/NEOW_special_buildings.txt +++ b/common/buildings/NEOW_special_buildings.txt @@ -10085,7 +10085,7 @@ konigsberg_cathedral_02 = { monthly_dynasty_prestige_mult = 0.1 cultural_head_fascination_mult = 0.05 monthly_lifestyle_xp_gain_mult = 0.1 - faith_creation_piety_cost_mult = -0.2 + rite_creation_piety_cost_mult = -0.2 faith_conversion_piety_cost_mult = -0.2 } province_modifier = { diff --git a/common/buildings/ccp3_special_buildings.txt b/common/buildings/ccp3_special_buildings.txt index 516eec6fe..ceb4b80dd 100644 --- a/common/buildings/ccp3_special_buildings.txt +++ b/common/buildings/ccp3_special_buildings.txt @@ -101,7 +101,7 @@ cluny_abbey_01 = { county_holder_character_modifier = { learning = 1 monthly_piety_gain_mult = 0.1 - faith_creation_piety_cost_mult = -0.15 + rite_creation_piety_cost_mult = -0.05 } county_modifier = { development_growth_factor = 0.15 @@ -159,7 +159,7 @@ cluny_abbey_02 = { county_holder_character_modifier = { learning_per_piety_level = 1 monthly_piety_gain_mult = 0.2 - faith_creation_piety_cost_mult = -0.25 + rite_creation_piety_cost_mult = -0.1 } county_modifier = { development_growth_factor = 0.25 @@ -309,6 +309,7 @@ jokhang_01 = { } type = special flag = travel_point_of_interest_religious + flag = holy_building flag = religious_studies_location } ########## @@ -752,6 +753,7 @@ konark_temple_01 = { } type = special flag = travel_point_of_interest_religious + flag = holy_building flag = religious_studies_location } ########## diff --git a/common/buildings/temple_citadel_buildings.txt b/common/buildings/temple_citadel_buildings.txt index f6c4122bf..e87f4f072 100644 --- a/common/buildings/temple_citadel_buildings.txt +++ b/common/buildings/temple_citadel_buildings.txt @@ -16,8 +16,8 @@ temple_citadel_01 = { construction_time = slow_construction_time + assets = { - #Meshes (Indented for readability) #Generic Base: asset = { type = pdxmesh @@ -626,6 +626,7 @@ temple_citadel_01 = { graphical_regions = { graphical_western graphical_steppe graphical_east_asia graphical_siberia graphical_mediterranean graphical_india graphical_mena } } } + can_construct_potential = { barony_cannot_construct_holding = no scope:holder = { @@ -760,14 +761,11 @@ temple_citadel_01 = { if = { limit = { - OR = { culture = { has_cultural_parameter = more_fervor_on_church_construction } - faith = { has_doctrine_parameter = more_fervor_on_church_construction } - } } faith = { change_fervor = { - value = 5 + value = notable_fervor_gain desc = fervor_gain_built_temple_holding } } @@ -775,7 +773,7 @@ temple_citadel_01 = { else = { faith = { change_fervor = { - value = 1 + value = trivial_fervor_gain desc = fervor_gain_built_temple_holding } } @@ -946,10 +944,9 @@ temple_citadel_01 = { temple_citadel_02 = { construction_time = slow_construction_time - #Meshes (Indented for readability) + assets = { ### GENERIC ### #Generic Base: - assets = { asset = { type = pdxmesh name = "building_western_temple_generic_01_mesh" @@ -1666,14 +1663,13 @@ temple_citadel_02 = { } if = { limit = { - OR = { - culture = { has_cultural_parameter = more_fervor_on_church_construction } - faith = { has_doctrine_parameter = more_fervor_on_church_construction } + culture = { + has_cultural_parameter = more_fervor_on_church_construction } } faith = { change_fervor = { - value = 2 + value = small_fervor_gain desc = fervor_gain_upgraded_temple_holding_culture_parameter } } @@ -1780,10 +1776,9 @@ temple_citadel_02 = { temple_citadel_03 = { construction_time = slow_construction_time - #Meshes (Indented for readability) + assets = { ### GENERIC ### #Generic Base: - assets = { asset = { type = pdxmesh name = "building_western_temple_generic_02_mesh" @@ -2501,14 +2496,13 @@ temple_citadel_03 = { } if = { limit = { - OR = { - culture = { has_cultural_parameter = more_fervor_on_church_construction } - faith = { has_doctrine_parameter = more_fervor_on_church_construction } + culture = { + has_cultural_parameter = more_fervor_on_church_construction } } faith = { change_fervor = { - value = 2 + value = small_fervor_gain desc = fervor_gain_upgraded_temple_holding_culture_parameter } } @@ -2589,8 +2583,8 @@ temple_citadel_03 = { temple_citadel_04 = { construction_time = slow_construction_time + assets = { - #Meshes (Indented for readability) ### GENERIC ### #Generic Base: asset = { @@ -3313,14 +3307,13 @@ temple_citadel_04 = { } if = { limit = { - OR = { - culture = { has_cultural_parameter = more_fervor_on_church_construction } - faith = { has_doctrine_parameter = more_fervor_on_church_construction } + culture = { + has_cultural_parameter = more_fervor_on_church_construction } } faith = { change_fervor = { - value = 2 + value = small_fervor_gain desc = fervor_gain_upgraded_temple_holding_culture_parameter } } @@ -3409,8 +3402,6 @@ citadel_shrine_01 = { can_construct_potential = { has_building_or_higher = temple_citadel_01 - - scope:holder = { government_has_flag = government_is_mandala } has_dlc = "All Under Heaven" } @@ -3470,10 +3461,6 @@ citadel_shrine_02 = { can_construct_potential = { has_building_or_higher = temple_citadel_01 - scope:holder = { government_has_flag = government_is_mandala } - culture = { - has_innovation = innovation_city_planning - } has_dlc = "All Under Heaven" } @@ -3519,13 +3506,15 @@ citadel_shrine_02 = { citadel_shrine_03 = { construction_time = standard_construction_time + can_construct_potential = { + has_dlc = "All Under Heaven" + } + can_construct = { has_building_or_higher = temple_citadel_02 - scope:holder = { government_has_flag = government_is_mandala } culture = { has_innovation = innovation_manorialism } - has_dlc = "All Under Heaven" } can_construct_showing_failures_only = { @@ -3567,13 +3556,15 @@ citadel_shrine_03 = { citadel_shrine_04 = { construction_time = standard_construction_time + can_construct_potential = { + has_dlc = "All Under Heaven" + } + can_construct = { has_building_or_higher = temple_citadel_02 - scope:holder = { government_has_flag = government_is_mandala } culture = { has_innovation = innovation_manorialism } - has_dlc = "All Under Heaven" } can_construct_showing_failures_only = { @@ -3615,13 +3606,15 @@ citadel_shrine_04 = { citadel_shrine_05 = { construction_time = standard_construction_time + can_construct_potential = { + has_dlc = "All Under Heaven" + } + can_construct = { has_building_or_higher = temple_citadel_03 - scope:holder = { government_has_flag = government_is_mandala } culture = { has_innovation = innovation_windmills } - has_dlc = "All Under Heaven" } can_construct_showing_failures_only = { @@ -3663,13 +3656,15 @@ citadel_shrine_05 = { citadel_shrine_06 = { construction_time = standard_construction_time + can_construct_potential = { + has_dlc = "All Under Heaven" + } + can_construct = { has_building_or_higher = temple_citadel_03 - scope:holder = { government_has_flag = government_is_mandala } culture = { has_innovation = innovation_windmills } - has_dlc = "All Under Heaven" } can_construct_showing_failures_only = { @@ -3711,13 +3706,15 @@ citadel_shrine_06 = { citadel_shrine_07 = { construction_time = standard_construction_time + can_construct_potential = { + has_dlc = "All Under Heaven" + } + can_construct = { has_building_or_higher = temple_citadel_04 - scope:holder = { government_has_flag = government_is_mandala } culture = { has_innovation = innovation_cranes } - has_dlc = "All Under Heaven" } can_construct_showing_failures_only = { @@ -3759,13 +3756,15 @@ citadel_shrine_07 = { citadel_shrine_08 = { construction_time = standard_construction_time + can_construct_potential = { + has_dlc = "All Under Heaven" + } + can_construct = { has_building_or_higher = temple_citadel_03 - scope:holder = { government_has_flag = government_is_mandala } culture = { has_innovation = innovation_cranes } - has_dlc = "All Under Heaven" } can_construct_showing_failures_only = { @@ -3811,7 +3810,6 @@ sacred_pool_01 = { can_construct_potential = { has_building_or_higher = temple_citadel_01 - scope:holder = { government_has_flag = government_is_mandala } has_dlc = "All Under Heaven" } @@ -3879,7 +3877,11 @@ sacred_pool_02 = { can_construct_potential = { has_building_or_higher = temple_citadel_01 - scope:holder = { government_has_flag = government_is_mandala } + has_dlc = "All Under Heaven" + } + + can_construct_showing_failures_only = { + building_requirement_tribal = no trigger_if = { limit = { NOT = { @@ -3897,11 +3899,6 @@ sacred_pool_02 = { has_cultural_parameter = may_build_sacred_pools_ahead_of_time } } - has_dlc = "All Under Heaven" - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no } cost_gold = normal_building_tier_2_cost @@ -3945,9 +3942,12 @@ sacred_pool_02 = { sacred_pool_03 = { construction_time = standard_construction_time + can_construct_potential = { + has_dlc = "All Under Heaven" + } + can_construct = { has_building_or_higher = temple_citadel_02 - scope:holder = { government_has_flag = government_is_mandala } trigger_if = { limit = { NOT = { @@ -3968,8 +3968,6 @@ sacred_pool_03 = { has_innovation = innovation_city_planning } } - - has_dlc = "All Under Heaven" } can_construct_showing_failures_only = { @@ -4017,9 +4015,12 @@ sacred_pool_03 = { sacred_pool_04 = { construction_time = standard_construction_time + can_construct_potential = { + has_dlc = "All Under Heaven" + } + can_construct = { has_building_or_higher = temple_citadel_02 - scope:holder = { government_has_flag = government_is_mandala } trigger_if = { limit = { NOT = { @@ -4040,7 +4041,6 @@ sacred_pool_04 = { has_innovation = innovation_city_planning } } - has_dlc = "All Under Heaven" } can_construct_showing_failures_only = { @@ -4088,9 +4088,12 @@ sacred_pool_04 = { sacred_pool_05 = { construction_time = standard_construction_time + can_construct_potential = { + has_dlc = "All Under Heaven" + } + can_construct = { has_building_or_higher = temple_citadel_03 - scope:holder = { government_has_flag = government_is_mandala } trigger_if = { limit = { NOT = { @@ -4111,7 +4114,6 @@ sacred_pool_05 = { has_innovation = innovation_manorialism } } - has_dlc = "All Under Heaven" } can_construct_showing_failures_only = { @@ -4159,9 +4161,12 @@ sacred_pool_05 = { sacred_pool_06 = { construction_time = standard_construction_time + can_construct_potential = { + has_dlc = "All Under Heaven" + } + can_construct = { has_building_or_higher = temple_citadel_03 - scope:holder = { government_has_flag = government_is_mandala } trigger_if = { limit = { NOT = { @@ -4182,7 +4187,6 @@ sacred_pool_06 = { has_innovation = innovation_manorialism } } - has_dlc = "All Under Heaven" } can_construct_showing_failures_only = { @@ -4230,9 +4234,12 @@ sacred_pool_06 = { sacred_pool_07 = { construction_time = standard_construction_time + can_construct_potential = { + has_dlc = "All Under Heaven" + } + can_construct = { has_building_or_higher = temple_citadel_04 - scope:holder = { government_has_flag = government_is_mandala } trigger_if = { limit = { NOT = { @@ -4253,7 +4260,6 @@ sacred_pool_07 = { has_innovation = innovation_windmills } } - has_dlc = "All Under Heaven" } can_construct_showing_failures_only = { @@ -4301,9 +4307,12 @@ sacred_pool_07 = { sacred_pool_08 = { construction_time = standard_construction_time + can_construct_potential = { + has_dlc = "All Under Heaven" + } + can_construct = { has_building_or_higher = temple_citadel_03 - scope:holder = { government_has_flag = government_is_mandala } trigger_if = { limit = { NOT = { @@ -4324,7 +4333,6 @@ sacred_pool_08 = { has_innovation = innovation_windmills } } - has_dlc = "All Under Heaven" } can_construct_showing_failures_only = { @@ -4375,7 +4383,6 @@ vihara_halls_01 = { construction_time = standard_construction_time can_construct_potential = { - scope:holder = { government_has_flag = government_is_mandala } has_building_or_higher = temple_citadel_01 has_dlc = "All Under Heaven" } @@ -4444,11 +4451,7 @@ vihara_halls_02 = { construction_time = standard_construction_time can_construct_potential = { - scope:holder = { government_has_flag = government_is_mandala } has_building_or_higher = temple_citadel_01 - culture = { - has_innovation = innovation_city_planning - } has_dlc = "All Under Heaven" } @@ -4500,13 +4503,15 @@ vihara_halls_02 = { vihara_halls_03 = { construction_time = standard_construction_time + can_construct_potential = { + has_dlc = "All Under Heaven" + } + can_construct = { - scope:holder = { government_has_flag = government_is_mandala } has_building_or_higher = temple_citadel_02 culture = { has_innovation = innovation_manorialism } - has_dlc = "All Under Heaven" } can_construct_showing_failures_only = { @@ -4554,13 +4559,15 @@ vihara_halls_03 = { vihara_halls_04 = { construction_time = standard_construction_time + can_construct_potential = { + has_dlc = "All Under Heaven" + } + can_construct = { - scope:holder = { government_has_flag = government_is_mandala } has_building_or_higher = temple_citadel_02 culture = { has_innovation = innovation_manorialism } - has_dlc = "All Under Heaven" } can_construct_showing_failures_only = { @@ -4608,13 +4615,15 @@ vihara_halls_04 = { vihara_halls_05 = { construction_time = standard_construction_time + can_construct_potential = { + has_dlc = "All Under Heaven" + } + can_construct = { - scope:holder = { government_has_flag = government_is_mandala } has_building_or_higher = temple_citadel_03 culture = { has_innovation = innovation_windmills } - has_dlc = "All Under Heaven" } can_construct_showing_failures_only = { @@ -4662,13 +4671,15 @@ vihara_halls_05 = { vihara_halls_06 = { construction_time = standard_construction_time + can_construct_potential = { + has_dlc = "All Under Heaven" + } + can_construct = { - scope:holder = { government_has_flag = government_is_mandala } has_building_or_higher = temple_citadel_03 culture = { has_innovation = innovation_windmills } - has_dlc = "All Under Heaven" } can_construct_showing_failures_only = { @@ -4716,13 +4727,15 @@ vihara_halls_06 = { vihara_halls_07 = { construction_time = standard_construction_time + can_construct_potential = { + has_dlc = "All Under Heaven" + } + can_construct = { - scope:holder = { government_has_flag = government_is_mandala } has_building_or_higher = temple_citadel_04 culture = { has_innovation = innovation_cranes } - has_dlc = "All Under Heaven" } can_construct_showing_failures_only = { @@ -4770,13 +4783,15 @@ vihara_halls_07 = { vihara_halls_08 = { construction_time = standard_construction_time + can_construct_potential = { + has_dlc = "All Under Heaven" + } + can_construct = { - scope:holder = { government_has_flag = government_is_mandala } has_building_or_higher = temple_citadel_03 culture = { has_innovation = innovation_cranes } - has_dlc = "All Under Heaven" } can_construct_showing_failures_only = {