diff --git a/common/buildings/NEOW_special_buildings.txt b/common/buildings/NEOW_special_buildings.txt index 949a0b20..17b03618 100644 --- a/common/buildings/NEOW_special_buildings.txt +++ b/common/buildings/NEOW_special_buildings.txt @@ -10527,4 +10527,66 @@ communal_settlement_04 = { ai_general_building_modifier = yes directive_to_build_military_modifier = yes } +} + + +########## +# Bone Temple of Melar +########## + +bone_temple_melar_01 = { + construction_time = slow_construction_time + + type_icon = "icon_structure_cathedral_pagan.dds" + + can_construct_potential = { + custom_description = { + text = holy_site_building_trigger + barony = { + is_holy_site_of = scope:holder.faith + } + } + } + + can_construct = { + scope:holder.culture = { + has_innovation = innovation_city_planning + } + } + + cost_gold = 1000 + + character_modifier = { + monthly_piety_gain_mult = 0.1 + monthly_dynasty_prestige_mult = 0.05 + knight_effectiveness_mult = 0.2 + knight_limit = 1 + } + province_modifier = { + monthly_income = 1 + } + county_modifier = { + tax_mult = 0.1 + levy_size = 0.1 + county_opinion_add = 10 + } + + on_complete = { + #Regular Mandala Boon + mandala_built_piety_duchy_building_t3_effect = yes + } + + ai_value = { + base = 100 + ai_pious_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + type = special + + flag = travel_point_of_interest_religious + flag = holy_building } \ No newline at end of file diff --git a/common/scripted_triggers/00_building_requirement_triggers.txt b/common/scripted_triggers/00_building_requirement_triggers.txt index c64a5e71..d69eddd0 100644 --- a/common/scripted_triggers/00_building_requirement_triggers.txt +++ b/common/scripted_triggers/00_building_requirement_triggers.txt @@ -861,6 +861,7 @@ religious_special_building_exclusion_trigger = { # checks if any special buildin has_building = holy_site_chinese_temple_01 has_building = holy_site_se_asia_pagan_temple_01 has_building = izumo_taisha_01 + has_building = bone_temple_melar_01 } } AND = { # Islamic diff --git a/history/provinces/e_makedon.txt b/history/provinces/e_makedon.txt index 0add3ca2..a0c9d22b 100644 --- a/history/provinces/e_makedon.txt +++ b/history/provinces/e_makedon.txt @@ -12,7 +12,7 @@ farm_estates_01 #regimental_grounds_01 } - special_building = hagia_sophia_01 + special_building = hagia_sophia_02 duchy_capital_building = theodosian_walls_01 } } diff --git a/history/provinces/e_scandinavia.txt b/history/provinces/e_scandinavia.txt index 30d83b16..32ccf8ff 100644 --- a/history/provinces/e_scandinavia.txt +++ b/history/provinces/e_scandinavia.txt @@ -18,6 +18,7 @@ culture = doggerlander religion = mariner holding = tribal_holding + special_building_slot = bone_temple_melar_01 } 9688 = { holding = none diff --git a/localization/english/replace/NEOW_buildings_l_english.yml b/localization/english/replace/NEOW_buildings_l_english.yml index 6edea642..92a83d5f 100644 --- a/localization/english/replace/NEOW_buildings_l_english.yml +++ b/localization/english/replace/NEOW_buildings_l_english.yml @@ -733,3 +733,9 @@ building_doggerland_ivory_deposits_07_desc:0 "Skilled artsmen are able to create sought-after works of art by making elaborate engravings in the form of pictures on Ivory in this studio." building_doggerland_ivory_deposits_08:1 "Palaeontological Museum" building_doggerland_ivory_deposits_08_desc:0 "Found within the halls of this Museum are assembled or singular pieces of skeletal animals that once live, bringing profit from the donations scholars must give to study the creatures found inside." + + + building_type_bone_temple_melar_01:1 "Bone Temple of Melar" + building_type_bone_temple_melar_01_desc:0 "$building_bone_temple_melar_01_desc$" + building_bone_temple_melar_01:1 "Bone Temple of Melar" + building_bone_temple_melar_01_desc:0 "When the ancestors of the Doggerskers first arrived on arisen marshes of the island they discovered an abundance of one thing: ivory. These bones became not only a major part of Doggerland's economy but its faith, and in Melar a great temple was carved out in dedication to their patron goddess Stella Maris. Before a Doggersker captain goes raiding it is traditional for them to kiss the ivory in proportion to the size of their raid." \ No newline at end of file