diff --git a/common/buildings/NEOW_special_buildings.txt b/common/buildings/NEOW_special_buildings.txt index 3b6473358..363be5df2 100644 --- a/common/buildings/NEOW_special_buildings.txt +++ b/common/buildings/NEOW_special_buildings.txt @@ -10342,6 +10342,11 @@ bascarsija_02 = { building_requirement_tribal = no } + can_construct = { + scope:holder.culture = { has_innovation = innovation_development_02 } + scope:holder.culture = { has_innovation = innovation_manorialism } + } + cost_gold = 500 character_modifier = { @@ -10385,6 +10390,11 @@ bascarsija_03 = { building_requirement_tribal = no } + can_construct = { + scope:holder.culture = { has_innovation = innovation_guilds } + scope:holder.culture = { has_innovation = innovation_windmills } + } + cost_gold = 500 character_modifier = { @@ -10444,11 +10454,10 @@ jajce_citadel_01 = { } province_modifier = { - defender_holding_advantage = 3 - fort_level = 2 + defender_holding_advantage = 2 + fort_level = 1 stationed_maa_damage_mult = 0.1 stationed_maa_toughness_mult = 0.1 - stationed_siege_weapon_siege_value_mult = 0.15 travel_danger = -10 } diff --git a/common/coat_of_arms/coat_of_arms/01_landed_titles.txt b/common/coat_of_arms/coat_of_arms/01_landed_titles.txt index 93189a6c5..27827fa39 100644 --- a/common/coat_of_arms/coat_of_arms/01_landed_titles.txt +++ b/common/coat_of_arms/coat_of_arms/01_landed_titles.txt @@ -7344,7 +7344,21 @@ k_bohemia={ } +k_czechoslovakia={ + pattern="pattern_horizontal_split_01.dds" + color1=white + color2=red + color3=black + colored_emblem={ + color1=blue + texture="ce_ordinary_pile_01.dds" + instance={ + rotation=270 + } + } + +} k_hansa = { pattern = "pattern_shield_03_small.dds" diff --git a/common/decisions/NEOW_historical_formation_decisions.txt b/common/decisions/NEOW_historical_formation_decisions.txt index 29c901764..918bfae91 100644 --- a/common/decisions/NEOW_historical_formation_decisions.txt +++ b/common/decisions/NEOW_historical_formation_decisions.txt @@ -320,4 +320,170 @@ realize_domowina_decision = { ai_will_do = { base = 100 } -} \ No newline at end of file +} + +reform_czechoslovakia_decision = { + picture = { + reference = "gfx/interface/illustrations/decisions/decision_found_kingdom.dds" + } + decision_group_type = major + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 0 + kingdom = 120 + empire = 0 + hegemony = 0 + } + + desc = reform_czechoslovakia_decision_desc + selection_tooltip = reform_czechoslovakia_decision_tooltip + + is_shown = { + NOT = { exists = title:k_czechoslovakia.holder } + is_playable_character = yes + NOT = { + is_target_in_global_variable_list = { + name = unavailable_unique_decisions + target = flag:flag_reformed_czechoslovakia + } + } + OR = { + culture = culture:NEOW_moravian + culture = culture:czech + culture = culture:NEOW_slovak + AND = { + has_title = title:k_bohemia + has_title = title:k_slovakia + } + } + } + + is_valid = { + OR = { + top_liege = this + AND = { + liege = top_liege + top_liege = { highest_held_title_tier >= tier_empire } + has_strong_usable_hook = top_liege + } + } + OR = { + has_title = title:k_bohemia + has_title = title:k_slovakia + } + completely_controls_region = custom_czechoslovakia + prestige_level >= high_prestige_level + } + is_valid_showing_failures_only = { + is_landed = yes + is_capable_adult = yes + is_imprisoned = no + is_at_war = no + } + + effect = { + custom_tooltip = reform_czechoslovakia_decision_effect_tooltip + gain_heroic_legend_seed_tooltip_effect = yes + + ## Czechoslovakia Restored + title:d_bohemia = { set_de_jure_liege_title = title:k_czechoslovakia } + title:d_moravia = { set_de_jure_liege_title = title:k_czechoslovakia } + title:d_krusnohori = { set_de_jure_liege_title = title:k_czechoslovakia } + title:d_severovychodni_cechy = { set_de_jure_liege_title = title:k_czechoslovakia } + title:d_nyitra = { set_de_jure_liege_title = title:k_czechoslovakia } + title:d_trencin = { set_de_jure_liege_title = title:k_czechoslovakia } + title:d_banska_bystrica = { set_de_jure_liege_title = title:k_czechoslovakia } + title:d_ungvar = { set_de_jure_liege_title = title:k_czechoslovakia } + title:d_transcarpathia = { set_de_jure_liege_title = title:k_czechoslovakia } + title:c_orava = { set_de_jure_liege_title = title:d_trencin } + title:c_opava = { set_de_jure_liege_title = title:d_moravia } + + hidden_effect = { + save_scope_as = founder + create_title_and_vassal_change = { + type = created + save_scope_as = change + } + title:k_czechoslovakia = { + change_title_holder = { + holder = scope:founder + change = scope:change + } + } + resolve_title_and_vassal_change = scope:change + + add_to_global_variable_list = { + name = unavailable_unique_decisions + target = flag:flag_reformed_czechoslovakia + } + set_global_variable = { + name = flag_reformed_czechoslovakia + value = scope:founder + } + + ## Czechoslovakia Restored + title:d_bohemia = { set_de_jure_liege_title = title:k_czechoslovakia } + title:d_moravia = { set_de_jure_liege_title = title:k_czechoslovakia } + title:d_krusnohori = { set_de_jure_liege_title = title:k_czechoslovakia } + title:d_severovychodni_cechy = { set_de_jure_liege_title = title:k_czechoslovakia } + title:d_nyitra = { set_de_jure_liege_title = title:k_czechoslovakia } + title:d_trencin = { set_de_jure_liege_title = title:k_czechoslovakia } + title:d_banska_bystrica = { set_de_jure_liege_title = title:k_czechoslovakia } + title:d_ungvar = { set_de_jure_liege_title = title:k_czechoslovakia } + title:d_transcarpathia = { set_de_jure_liege_title = title:k_czechoslovakia } + title:c_orava = { set_de_jure_liege_title = title:d_trencin } + title:c_opava = { set_de_jure_liege_title = title:d_moravia } + + ## Destroy the Previous Kingdoms + destroy_title = title:k_bohemia + destroy_title = title:k_slovakia + destroy_title = title:k_galicia-volhynia + destroy_title = title:d_tatra + + ## Make Czechoslovakia the primary title + set_primary_title_to = title:k_czechoslovakia + + ## Trigger a special event + trigger_event = NEOW_decision.0001 + } + } + cost = { + gold = { + # Since we want this to happen, it free for the AI... + value = 0 + # ... but costs for players + if = { + limit = { + has_treasury = no + is_ai = no + } + add = 500 + } + } + treasury = { + value = 0 + if = { + limit = { + has_treasury = yes + is_ai = no + } + add = 500 + } + } + prestige = { + value = 0 + if = { + limit = { + is_ai = no + } + add = 1500 + } + } + } + ai_potential = { + always = yes + } + ai_will_do = { base = 100 } +} diff --git a/common/landed_titles/visegrad.txt b/common/landed_titles/visegrad.txt index 156029937..8ecd3e6e7 100644 --- a/common/landed_titles/visegrad.txt +++ b/common/landed_titles/visegrad.txt @@ -2402,5 +2402,10 @@ e_visegrad = { } } } - } + } + + k_czechoslovakia = { + color = { 43 50 124 } + capital = c_praha + } } \ No newline at end of file diff --git a/common/modifiers/NEOW_county_modifiers.txt b/common/modifiers/NEOW_county_modifiers.txt new file mode 100644 index 000000000..ad5722813 --- /dev/null +++ b/common/modifiers/NEOW_county_modifiers.txt @@ -0,0 +1,18 @@ +czechoslovakia_strenght_modifier = { + icon = martial_positive + monthly_county_control_growth_add = 0.1 + levy_size = 0.15 + levy_reinforcement_rate = 0.1 +} + +czechoslovakia_economy_modifier = { + icon = county_modifier_development_positive + tax_mult = 0.1 +} + +czechoslovakia_development_modifier = { + icon = county_modifier_development_positive + county_opinion_add = 5 + development_growth_factor = small_development_growth_gain + county_fertility_growth_mult = small_county_fertility_growth_gain +} \ No newline at end of file diff --git a/events/decisions_events/NEOW_decision_events.txt b/events/decisions_events/NEOW_decision_events.txt new file mode 100644 index 000000000..82b25b969 --- /dev/null +++ b/events/decisions_events/NEOW_decision_events.txt @@ -0,0 +1,69 @@ +namespace = NEOW_decision + +NEOW_decision.0001 = { # Restoring Czechoslovakia + type = character_event + title = NEOW_decision.0001.t + desc = NEOW_decision.0001.desc + theme = crown + left_portrait = { + character = root + animation = personality_honorable + } + immediate = { play_music_cue = "mx_cue_epic_sacral_moment" } + + option = { #Strenghten the Nation + name = NEOW_decision.0001.a + custom_tooltip = { + text = czechoslovakia_strenght_tt + every_sub_realm_county = { + limit = { + title_province = { geographical_region = custom_czechoslovakia } + } + add_county_modifier = { + modifier = czechoslovakia_strenght_modifier + days = 3650 + } + } + } + } + + option = { #Improve the Economy + name = NEOW_decision.0001.b + custom_tooltip = { + text = czechoslovakia_economy_tt + every_sub_realm_county = { + limit = { + title_province = { geographical_region = custom_czechoslovakia } + } + add_county_modifier = { + modifier = czechoslovakia_economy_modifier + days = 3650 + } + } + } + } + + option = { #Develop the Lands + name = NEOW_decision.0001.c + custom_tooltip = { + text = czechoslovakia_development_tt + every_sub_realm_county = { + limit = { + title_province = { geographical_region = custom_czechoslovakia } + } + add_county_modifier = { + modifier = czechoslovakia_development_modifier + days = 3650 + } + } + } + } + + after = { + send_interface_toast = { + type = event_toast_effect_good + title = czechoslovakia_event_tt + left_icon = root + } + } +} \ No newline at end of file diff --git a/localization/english/replace/NEOW_buildings_l_english.yml b/localization/english/replace/NEOW_buildings_l_english.yml index 6d8472580..e4fe5f217 100644 --- a/localization/english/replace/NEOW_buildings_l_english.yml +++ b/localization/english/replace/NEOW_buildings_l_english.yml @@ -690,72 +690,72 @@ building_type_rector_palace_01:1 "Rector's Palace" building_type_rector_palace_01_desc:0 "$building_spilberk_castle_01_desc$" building_rector_palace_01:1 "Rector's Palace" - building_rector_palace_01_desc:0 "WIP" + building_rector_palace_01_desc:0 "Rector's Palace acts as a residence for the government of the Republic of Dubrovnik. Compared to its counterpart in Venice, it is smaller and less important. However, it is still a place of commerce, where merchants gather and trade." building_type_pula_arena_01:1 "Pula Arena" building_type_pula_arena_01_desc:0 "$building_pula_arena_01_desc$" building_pula_arena_01:0 "Pula Arena" - building_pula_arena_01_desc:0 "WIP" + building_pula_arena_01_desc:0 "The Pula Arena is less known than its counterpart in Rome. However, many say that it is much more preserved than the Roman Colosseum. Some even say it is older than the best-known amphitheater, but many argue against this claim. \n\nAfter the Event, this place of entertainment has had many different purposes, such as housing animals or a quarry for stone, but it is now in use as an arena to provide entertainment not only to the city, but the entire region." building_type_zagreb_cathedral_01:1 "Zagreb Cathedral" building_type_zagreb_cathedral_01_desc:0 "$building_zagreb_cathedral_01_desc$" building_zagreb_cathedral_01:0 "Zagreb Cathedral" - building_zagreb_cathedral_01_desc:0 "WIP" + building_zagreb_cathedral_01_desc:0 "$building_type_holy_site_cathedral_01_desc$" building_type_bascarsija_01:1 "Baščaršija" building_type_bascarsija_01_desc:0 "$building_bascarsija_01_desc$" - building_bascarsija_01:0 "WIP" - building_bascarsija_01_desc:0 "WIP" - building_bascarsija_02:0 "WIP" - building_bascarsija_02_desc:0 "WIP" - building_bascarsija_03:0 "WIP" - building_bascarsija_03_desc:0 "WIP" + building_bascarsija_01:0 "Small Bazaar" + building_bascarsija_01_desc:0 "Baščaršija, meaning the main bazaar, is the largest market in the city of Sarajevo, bringing in goods from all over the region and merchants from all over Bosnia. However, its beautiful buildings have long faded and most of the shops are based in small and cheap buildings." + building_bascarsija_02:0 "Bazaar of Bosnia" + building_bascarsija_02_desc:0 "With its beauty mostly renewed, its markets are now flooded with merchants from all over the Balkan. Its shops are now sturdier and larger, but there is still a lot of work ahead, to restore the market to what it once was." + building_bascarsija_03:0 "Baščaršija - Main Bazaar" + building_bascarsija_03_desc:0 "The Baščaršija now finally lives up to its name, the once sorrowful market transformed into a beautiful bazaar that is not only central to Bosnia, but for Yugoslavia. Merchants do not only come from the Balkan, but even other parts of Europe and Asia, just to lay their eyes on this beauty." building_type_jajce_citadel_01:1 "Jajce Citadel" building_type_jajce_citadel_01_desc:0 "$building_jajce_citadel_01_desc$" building_jajce_citadel_01:0 "Ruins of Jajce" - building_jajce_citadel_01_desc:0 "WIP" + building_jajce_citadel_01_desc:0 "The Jajce Citadel used to be a major fortification in the city of Jajce. However, centuries of neglect have left this once great fortress in ruins. The hill it sits upon is still used as a defensive position, with some remains still serving as walls and pathways." building_jajce_citadel_02:0 "Jajce Citadel Rebuilt" - building_jajce_citadel_02_desc:0 "WIP" + building_jajce_citadel_02_desc:0 "With the foundations uncovered, walls rebuilt, and the terrain terraformed, the once great citadel stands once more, not only protecting the city. Standing strong and ready to protect the region from any attack." building_type_tito_bunker_01:1 "Tito Bunker" building_type_tito_bunker_01_desc:0 "$building_tito_bunker_01_desc$" building_tito_bunker_01:0 "Complex Tunnel system" - building_tito_bunker_01_desc:0 "WIP" + building_tito_bunker_01_desc:0 "Tito's bunker is not just an underground room, it is a complex of tunnels and tens of rooms which once served for the great Prophet-Marshal Tito. Many Yugoslavists believe that the Prophet-Marshal constructed the system himself as a way to protect the land from any future attack by his enemies." building_type_church_saint_sava_01:1 "Church of Saint Sava" building_type_church_saint_sava_01_desc:0 "$building_church_saint_sava_01_desc$" building_church_saint_sava_01:0 "Church of Saint Sava" - building_church_saint_sava_01_desc:0 "WIP" + building_church_saint_sava_01_desc:0 "$building_type_holy_site_cathedral_01_desc$" building_type_smederevo_fortress_01:1 "Smederevo Fortress" building_type_smederevo_fortress_01_desc:0 "$building_smederevo_fortress_01_desc$" building_smederevo_fortress_01:1 "Collasped Fortifications" - building_smederevo_fortress_01_desc:0 "WIP" + building_smederevo_fortress_01_desc:0 "Smederevo was once the capital of Serbia, now this mighty city stands in the shadow of Beograd, and with it its fortress. Many walls have crumbled and were replaced with just wooden barricades. This once mighty fortress is on the verge of a full collapse unless something is done." building_smederevo_fortress_02:1 "Smederevo Fortress Renewed" - building_smederevo_fortress_02_desc:0 "WIP" + building_smederevo_fortress_02_desc:0 "After an extensive renovation project, the walls, towers and other fortifications now stand once more, protecting not only the city, but also the eastern flank of Beograd." building_type_petrovaradin_fortress_01:1 "Petrovaradin Fortress" building_type_petrovaradin_fortress_01_desc:0 "$building_petrovaradin_fortress_01_desc$" building_petrovaradin_fortress_01:0 "Petrovaradin Fortress" - building_petrovaradin_fortress_01_desc:0 "WIP" + building_petrovaradin_fortress_01_desc:0 "The Petrovaradin Fortress has protected Novi Sad for centuries, standing tall and strong above the city, featuring many fortifications and even many underground passages to prevent the fortress from starving out during a siege." building_type_ljubljana_castle_01:1 "Ljubljana Castle" building_type_ljubljana_castle_01_desc:0 "$building_ljubljana_castle_01_desc$" building_ljubljana_castle_01:0 "Collasped Castle of Ljubljana" - building_ljubljana_castle_01_desc:0 "WIP" + building_ljubljana_castle_01_desc:0 "Once a proud castle defending the city of Ljubljana now lies in rubble. Many walls and towers have collapsed over centuries of neglect. Even though there have been attempts to repair the fortress, only minor repairs have been made and most of the castle is still in ruin." building_ljubljana_castle_02:0 "Ljubljana Castle" - building_ljubljana_castle_02_desc:0 "WIP" + building_ljubljana_castle_02_desc:0 "The castle now stands once again, towering over the city of Ljubljana. Its walls are now intact and towers standing strong, the fortifications have not only been repaired, but improved." building_type_celje_hall_01:1 "Celje Hall" building_type_celje_hall_01_desc:0 "$building_celje_hall_01_desc$" building_celje_hall_01:0 "Celje Hall" - building_celje_hall_01_desc:0 "WIP" + building_celje_hall_01_desc:0 "A beautiful city hall that managed to survive the test of time. This is only one of the many descriptions that talk about Celje Hall. Standing in the center of Slovenia, the city of Celje is a powerful city, controlling vast amounts of rich land and its city hall is the symbol of it all." building_type_nis_skull_tower_01:1 "Niš Skull Tower" building_type_nis_skull_tower_01_desc:0 "$building_nis_skull_tower_01_desc$" building_nis_skull_tower_01:0 "Niš Skull Tower" - building_nis_skull_tower_01_desc:0 "WIP" + building_nis_skull_tower_01_desc:0 "The Niš Skull Tower is a sad reminder of a failed Serbian uprising before the Event. Made from skulls of fallen Serbian rebels, some say it's a reminder of a failed Serbia, while others say it's just a tragic start to the beautiful state of Serbia." building_type_bor_mines_01:1 "Bor Mines" building_type_bor_mines_01_desc:0 "$building_bor_mines_01_desc$" diff --git a/localization/english/replace/event_localization/decision_events/NEOW_decision_events_l_english.yml b/localization/english/replace/event_localization/decision_events/NEOW_decision_events_l_english.yml new file mode 100644 index 000000000..5eed06594 --- /dev/null +++ b/localization/english/replace/event_localization/decision_events/NEOW_decision_events_l_english.yml @@ -0,0 +1,10 @@ +l_english: + NEOW_decision.0001.t:0 "Rebirth of a Nation" + NEOW_decision.0001.desc:0 "Czechoslovakia, a nation that was once torn apart, now rises like an eagle from the ashes. But with a new powerful kingdom also comes responsibility. The lands are wide, diverse and are the home for many people. Now it is [ROOT.Char.GetName] turn to show the people of Czechoslovakia that [ROOT.Char.GetSheHe] is the one who will lead the kingdom to glory. \n\nWhile thinking, [ROOT.Char.GetPrimarySpouse.GetTitledFirstName] steps up to me and says: "[ROOT.Char.GetName], you are a [ROOT.Char.Custom('GetQueenKing')] of a powerful kingdom now. However, we are uncertain in which way we should take the kingdom first." Now it is up to me to choose the direction of Czechoslovakia for the next 10 years." + NEOW_decision.0001.a:0 "We should strenghten our nation!" + NEOW_decision.0001.b:0 "We should improve the economy!" + NEOW_decision.0001.c:0 "We should develop the lands!" + czechoslovakia_strenght_tt:0 "All Czechoslovakian lands gain more levies and control." + czechoslovakia_economy_tt:0 "All Czechoslovakian lands gain more income." + czechoslovakia_development_tt:0 "All Czechoslovakian lands gain more development and popular opinion." + czechoslovakia_event_tt:0 "Czechoslovakia Restored!" \ No newline at end of file diff --git a/localization/english/replace/modifiers/NEOW_modifiers_l_english.yml b/localization/english/replace/modifiers/NEOW_modifiers_l_english.yml index 812ecab46..de7fc2f85 100644 --- a/localization/english/replace/modifiers/NEOW_modifiers_l_english.yml +++ b/localization/english/replace/modifiers/NEOW_modifiers_l_english.yml @@ -41,3 +41,7 @@ bhakti_orthodox_theotokos: "Blessed Theotokos" bhakti_orthodox_theotokos_desc:0 "This character's patron is the Mother of our Lord who without corruption gave birth to God the Word." bhakti_orthodox_olga: "Saint Olga of Kyiv" bhakti_orthodox_olga_desc:0 "This character's patron is the equal to the apostles who during her rule as regent brought stability and prosperity to her lands." + +czechoslovakia_strenght_modifier:0 "Czechoslovakia Restored - Strenghtening the Nation" +czechoslovakia_economy_modifier:0 "Czechoslovakia Restored - Improving the Economy" +czechoslovakia_development_modifier:0 "Czechoslovakia Restored - Developing the Lands" \ No newline at end of file diff --git a/localization/english/replace/titles_l_english.yml b/localization/english/replace/titles_l_english.yml index 02d795e23..0d44e7826 100644 --- a/localization/english/replace/titles_l_english.yml +++ b/localization/english/replace/titles_l_english.yml @@ -17467,6 +17467,8 @@ k_bihar:0 "Bihar" k_bohemia:0 "Czechia" k_bohemia_adj:0 "Czech" + k_czechoslovakia:0 "Czechoslovakia" + k_czechoslovakia_adj:0 "Czechoslovak" k_winideheim:0 "Winideheim" k_winideheim_adj:0 "Winideheimian" k_bosnia:0 "Bosnia" diff --git a/localization/english/replace/zz_NEOW_decisions_l_english.yml b/localization/english/replace/zz_NEOW_decisions_l_english.yml index 69c187cee..a9f628888 100644 --- a/localization/english/replace/zz_NEOW_decisions_l_english.yml +++ b/localization/english/replace/zz_NEOW_decisions_l_english.yml @@ -1679,4 +1679,13 @@ restore_byzantium_decision_confirm:0 "Recreate the Eastern Roman Empire" restore_byzantium_decision_tooltip:0 "Recreate the Eastern Roman Empire." restore_byzantium_decision_desc:0 "a bwaa" - restore_byzantium_decision_effect_tooltip:0 "The Empires of Makedon and Turkey will become the Eastern Roman Empire. Serbia, Montenegro and Syria will also be included in the Empire if we completely control them." \ No newline at end of file + restore_byzantium_decision_effect_tooltip:0 "The Empires of Makedon and Turkey will become the Eastern Roman Empire. Serbia, Montenegro and Syria will also be included in the Empire if we completely control them." + + ### Restoring Czechoslovakia ### + reform_czechoslovakia_decision:0 "Reform Czechoslovakia" + reform_czechoslovakia_decision_confirm:0 "Unite the Separated Brothers" + reform_czechoslovakia_decision_desc:0 "The lands of Czechoslovakia were torn apart even before the event. Many have tried to reclaim the glory of this lost state, but all of them failed. Even the mighty Karlovec dynasty tried, yet failed too. Czechoslovakia has been disunited for far too long, and it is time to restore the nation and build a beacon of hope in this uneasy time." + reform_czechoslovakia_decision_tooltip:0 "Reform Czechoslovakia" + reform_czechoslovakia_decision_effect_tooltip:0 "Reformed Czechoslovakia" + custom_czechoslovakia:0 "Czechoslovakia" No newline at end of file + \ No newline at end of file diff --git a/map_data/geographical_regions/geographical_region.txt b/map_data/geographical_regions/geographical_region.txt index aa12166e3..3f6b0caf7 100644 --- a/map_data/geographical_regions/geographical_region.txt +++ b/map_data/geographical_regions/geographical_region.txt @@ -5984,4 +5984,16 @@ custom_cherry_blossom_region = { kingdoms = { k_gotaland k_england k_wales k_northumberland k_mann k_scotland k_ireland k_navarra k_hungary k_asturias k_spanish_galicia } +} + +custom_czechoslovakia = { + kingdoms = { + k_bohemia k_slovakia k_galicia-volhynia + } + duchies = { + d_tatra + } + counties = { + c_opava + } } \ No newline at end of file