diff --git a/N3OW/common/coat_of_arms/coat_of_arms/NEOW_dynasties.txt b/N3OW/common/coat_of_arms/coat_of_arms/NEOW_dynasties.txt index ad2048e8..024fe704 100644 --- a/N3OW/common/coat_of_arms/coat_of_arms/NEOW_dynasties.txt +++ b/N3OW/common/coat_of_arms/coat_of_arms/NEOW_dynasties.txt @@ -9885,3 +9885,304 @@ quixano_dynasty={ } } + +house_palermo={ + pattern="pattern_diagonal_split_02.dds" + color1=red + color2=blue + color3=green + colored_emblem={ + color1=red + color2=yellow_light + texture="ce_block_02.dds" + instance={ + position={ 0.750000 0.250000 } + scale={ 0.500000 -0.500000 } + depth=3.010000 + } + + } + + colored_emblem={ + color1=yellow_light + color2=blue_light + texture="ce_per_bend.dds" + instance={ + depth=8.010000 + } + + } + + colored_emblem={ + color1=yellow + color2=yellow + color3=black + texture="ce_eagle.dds" + instance={ + position={ 0.250000 0.750000 } + scale={ 0.40000 0.40000 } + } + + instance={ + position={ 0.750000 0.250000 } + scale={ 0.40000 0.40000 } + depth=1.010000 + } + + } + + colored_emblem={ + color1=red + color2=red + texture="ce_chief.dds" + instance={ + position={ 0.250000 0.750000 } + scale={ 0.500000 -0.500000 } + depth=2.010000 + } + + } + + colored_emblem={ + color1=white + texture="ce_bend_thin.dds" + instance={ + position={ 0.250000 0.250000 } + scale={ 0.500000 0.500000 } + depth=4.010000 + } + + instance={ + position={ 0.750000 0.750000 } + scale={ 0.500000 0.500000 } + depth=5.010000 + } + + } + + colored_emblem={ + color1=red + texture="ce_mena_bend.dds" + instance={ + position={ 0.250000 0.250000 } + scale={ 0.500000 0.500000 } + depth=6.010000 + } + + instance={ + position={ 0.750000 0.750000 } + scale={ 0.500000 0.500000 } + depth=7.010000 + } + + } + +} + + +house_ajaccio={ + pattern="pattern_diagonal_split_02.dds" + color1=blue + color2=white + color3=green + colored_emblem={ + color1=blue + color2=green_light + texture="ce_chief.dds" + instance={ + position={ 0.250000 0.750000 } + scale={ 0.500000 -0.500000 } + depth=6.010000 + } + + instance={ + position={ 0.750000 0.250000 } + scale={ 0.500000 -0.500000 } + depth=7.010000 + } + + } + + colored_emblem={ + color1=yellow_light + color2=yellow_light + color3=black + texture="ce_lion_rampant_wide_stance.dds" + instance={ + position={ 0.850000 0.260000 } + scale={ 0.250000 0.250000 } + } + + instance={ + position={ 0.650000 0.260000 } + scale={ -0.250000 0.250000 } + depth=1.010000 + } + + instance={ + position={ 0.150000 0.760000 } + scale={ -0.250000 0.250000 } + depth=2.010000 + } + + instance={ + position={ 0.350000 0.760000 } + scale={ 0.250000 0.250000 } + depth=3.010000 + } + + } + + colored_emblem={ + color1=yellow_light + color2=blue_light + texture="ce_per_bend.dds" + instance={ + depth=12.010000 + } + + } + + colored_emblem={ + color1=white + color2=black + texture="ce_column.dds" + instance={ + position={ 0.250000 0.700000 } + scale={ 0.300000 0.300000 } + depth=4.010000 + } + + instance={ + position={ 0.750000 0.210000 } + scale={ 0.300000 0.300000 } + depth=5.010000 + } + + } + + colored_emblem={ + color1=white + texture="ce_bend_thin.dds" + instance={ + position={ 0.250000 0.250000 } + scale={ 0.500000 0.500000 } + depth=8.010000 + } + + instance={ + position={ 0.750000 0.750000 } + scale={ 0.500000 0.500000 } + depth=9.010000 + } + + } + + colored_emblem={ + color1=red + texture="ce_mena_bend.dds" + instance={ + position={ 0.250000 0.250000 } + scale={ 0.500000 0.500000 } + depth=10.010000 + } + + instance={ + position={ 0.750000 0.750000 } + scale={ 0.500000 0.500000 } + depth=11.010000 + } + + } + +} + + + + +house_bastia={ + pattern="pattern_diagonal_split_02.dds" + color1=white + color2=white + color3=green + colored_emblem={ + color1=yellow_light + color2=blue_light + texture="ce_per_bend.dds" + instance={ + depth=8.010000 + } + + } + + colored_emblem={ + color1=white + color2=black + texture="ce_castle.dds" + instance={ + position={ 0.250000 0.700000 } + scale={ 0.400000 0.400000 } + } + + instance={ + position={ 0.750000 0.210000 } + scale={ 0.400000 0.400000 } + depth=1.010000 + } + + } + + colored_emblem={ + color1=white + texture="ce_bend_thin.dds" + instance={ + position={ 0.250000 0.250000 } + scale={ 0.500000 0.500000 } + depth=4.010000 + } + + instance={ + position={ 0.750000 0.750000 } + scale={ 0.500000 0.500000 } + depth=5.010000 + } + + } + + colored_emblem={ + color1=blue + color2=green + texture="ce_chief.dds" + instance={ + position={ 0.250000 0.750000 } + scale={ 0.500000 -0.500000 } + depth=2.010000 + } + + instance={ + position={ 0.750000 0.250000 } + scale={ 0.500000 -0.500000 } + depth=3.010000 + } + + } + + colored_emblem={ + color1=red + texture="ce_mena_bend.dds" + instance={ + position={ 0.250000 0.250000 } + scale={ 0.500000 0.500000 } + depth=6.010000 + } + + instance={ + position={ 0.750000 0.750000 } + scale={ 0.500000 0.500000 } + depth=7.010000 + } + + } + +} + diff --git a/N3OW/common/decisions/dlc_decisions/03_fp2_decisions.txt b/N3OW/common/decisions/dlc_decisions/03_fp2_decisions.txt new file mode 100644 index 00000000..08ac3adb --- /dev/null +++ b/N3OW/common/decisions/dlc_decisions/03_fp2_decisions.txt @@ -0,0 +1,1744 @@ +# No lists or indexes, only chaos. Keep scrolling down and thou shalt find them. + +############################################# +# Hostility Ending # +# by Joe Parkin # +############################################# + +struggle_iberia_ending_hostility_decision = { + decision_group_type = major + title = struggle_iberia_ending_hostility_decision + picture = { + reference = "gfx/interface/illustrations/decisions/fp2_decision_struggle_hostility.dds" + } + extra_picture = "gfx/interface/illustrations/struggle_decision_buttons/fp2_decision_hostility.dds" + desc = struggle_iberia_ending_hostility_decision_desc + selection_tooltip = struggle_iberia_ending_hostility_decision_tooltip + confirm_click_sound = "event:/DLC/FP2/SFX/UI/fp2_struggle_ending_decision_confirm" + is_invisible = yes + sort_order = 80 + + is_shown = { + is_landless_adventurer = no + has_fp2_dlc_trigger = yes + } + + is_valid = { + top_liege = this + + OR = { + custom_tooltip = { + text = struggle_iberia_ending_hostility_decision_correct_phase_tt + any_character_struggle = { + involvement = involved + is_struggle_type = iberian_struggle + is_struggle_phase = struggle_iberia_phase_hostility + } + } + ## Completely control Hispania for 5 years + AND = { + completely_controls_region = world_europe_west_iberia + primary_title = { + tier >= tier_kingdom + title_held_years >= 5 + } + } + } + + + custom_tooltip = { + text = struggle_ending_decision_correct_involvement_spain_tt + any_character_struggle = { + involvement = involved + is_struggle_type = iberian_struggle + } + } + + # Hold and completely control two de jure kingdoms of Hispania + OR = { + custom_tooltip = { # + text = struggle_iberia_ending_hostility_decision_kingdom_tt + any_held_title = { # 1st kingdom + title_tier = kingdom + de_jure_liege = title:e_spain + root = { completely_controls = prev } + save_temporary_scope_as = spanish_kingdom + } + any_held_title = { # 2nd kingdom + title_tier = kingdom + de_jure_liege = title:e_spain + trigger_if = { + limit = { exists = scope:spanish_kingdom } + this != scope:spanish_kingdom + } + root = { completely_controls = prev } + save_temporary_scope_as = spanish_kingdom_2 + } + } + custom_tooltip = { + text = struggle_iberia_ending_hostility_decision_united_spanish_throne_tt + AND = { + exists = global_var:unite_the_spanish_thrones_decision_title + primary_title = global_var:unite_the_spanish_thrones_decision_title + } + } + } + + + # All your capital kingdom's de jure counties are of your culture and faith + trigger_if = { + limit = { + exists = global_var:unite_the_spanish_thrones_decision_title + primary_title = global_var:unite_the_spanish_thrones_decision_title + } + custom_tooltip = { + text = struggle_iberia_ending_hostility_decision_county_light_tt + capital_county.de_jure_liege.de_jure_liege = { + any_de_jure_county = { + percent >= 0.75 + culture = root.culture + faith = root.faith + } + } + } + } + trigger_else = { + custom_tooltip = { + text = struggle_iberia_ending_hostility_decision_county_tt + capital_county.de_jure_liege.de_jure_liege = { + any_de_jure_county = { + count = all + culture = root.culture + faith = root.faith + } + } + } + } + + # No other realm controls more than 20% of the Iberia region + custom_tooltip = { + text = struggle_iberia_ending_hostility_decision_region_tt + NOT = { + struggle:iberian_struggle = { + any_involved_ruler = { + this != root + top_liege = this + primary_title ?= { is_mercenary_company = no } + save_temporary_scope_as = iberian_realm + any_county_in_region = { + region = world_europe_west_iberia + percent > fp2_struggle_hostility_region_percent_decimal_value + holder.top_liege = scope:iberian_realm + } + } + } + } + } + + # Completely control at least 2 of the important Iberian duchies + calc_true_if = { + amount >= 2 + completely_controls = title:d_galicia + completely_controls = title:d_toledo + completely_controls = title:d_cordoba + completely_controls = title:d_valencia + completely_controls = title:d_barcelona + } + } + + effect = { + if = { + limit = { has_dlc_feature = legends } + legend_seed_struggle_ending_effect = { + ENDER = root + STRUGGLE = iberian_struggle + } + } + if = { + limit = { has_ach_dlc_trigger = yes } + add_character_flag = ach_ended_struggle + } + + ##### Major Effects ##### + show_as_tooltip = { + dynasty = { add_dynasty_prestige = 10000 } + fp2_struggle_hostility_ender_effect = yes + } + # Hispania is available! + custom_tooltip = fp2_struggle_can_create_empire_of_hispania_tt + custom_description_no_bullet = { text = fp2_struggle_house_tt } + # Keep the Struggle Clash for your House + custom_tooltip = fp2_struggle_can_keep_using_struggle_clash_tt + # Boost to culture and faith conversion + custom_tooltip = fp2_struggle_hostility_conversion_tt + # Damage opinion with other culture/faiths + custom_tooltip = fp2_struggle_hostility_opinion_tt + custom_tooltip = fp2_struggle_hostility_opinion_negative_tt + # Choose Holy War boost, Culture War boost, or both + custom_description_no_bullet = { text = fp2_struggle_hostility_list_tt } + #custom_tooltip = fp2_struggle_hostility_holy_cb_joint_tt + #custom_tooltip = fp2_struggle_hostility_culture_cb_tt + + + + show_as_tooltip = { + stress_impact = { + humble = medium_stress_impact_gain + cynical = medium_stress_impact_gain + } + } + + + # Achievements + add_achievement_global_variable_effect = { + VARIABLE = fp2_iberian_hostilities_achievement_unlocked + VALUE = yes + } + fp2_holiday_in_iberia_check = yes + + # Trigger a player facing event as a coda + trigger_event = fp2_struggle.0900 + } + + cost = {} + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 0 + kingdom = 120 + empire = 120 + hegemony = 120 + } + + ai_potential = { always = yes } + + ai_will_do = { base = 100 } +} + +############################################# +# Compromise Ending # +# by Joe Parkin # +############################################# + +struggle_iberia_ending_compromise_decision = { + decision_group_type = major + title = struggle_iberia_ending_compromise_decision + picture = { + reference = "gfx/interface/illustrations/decisions/fp2_decision_struggle_compromise.dds" + } + extra_picture = "gfx/interface/illustrations/struggle_decision_buttons/fp2_decision_compromise.dds" + desc = struggle_iberia_ending_compromise_decision_desc + selection_tooltip = struggle_iberia_ending_compromise_decision_tooltip + confirm_click_sound = "event:/DLC/FP2/SFX/UI/fp2_struggle_ending_decision_confirm" + is_invisible = yes + + sort_order = 80 + + is_shown = { + is_landless_adventurer = no + has_fp2_dlc_trigger = yes + } + + is_valid = { + top_liege = this + + custom_tooltip = { + text = struggle_iberia_ending_compromise_decision_correct_phase_tt + any_character_struggle = { + is_struggle_type = iberian_struggle + is_struggle_phase = struggle_iberia_phase_compromise + } + } + + custom_tooltip = { + text = struggle_ending_decision_correct_involvement_spain_tt + any_character_struggle = { + involvement = involved + is_struggle_type = iberian_struggle + } + } + + OR = { + # Exalted among Men or higher + prestige_level >= very_high_prestige_level + # Hold and completely control a de jure kingdom of Hispania + custom_tooltip = { + text = struggle_iberia_ending_compromise_decision_kingdom_tt + fp2_struggle_ending_hold_de_jure_kingdom_trigger = yes + } + } + + # Control less than 50% of Iberia + custom_tooltip = { + text = struggle_iberia_ending_compromise_decision_region_tt + fp2_struggle_ending_percent_iberia_trigger = yes + } + + # No one else controls more than 50% of Iberia + custom_tooltip = { + text = struggle_iberia_ending_compromise_decision_other_region_tt + fp2_struggle_ending_other_percent_iberia_trigger = yes + } + + # No Independent Involved rulers are at war with each other + custom_tooltip = { + text = struggle_iberia_ending_compromise_truce_tt + NOT = { + struggle:iberian_struggle = { + any_involved_ruler = { + top_liege = this + is_landless_adventurer = no + primary_title = { is_mercenary_company = no } + any_primary_war_enemy = { + top_liege = this + is_landless_adventurer = no + any_character_struggle = { + involvement = involved + is_struggle_type = iberian_struggle + } + primary_title = { is_mercenary_company = no } + } + } + } + } + } + + OR = { + # Every other involved independent ruler in Iberia has at least 60 opinion of you or is strong hooked + custom_tooltip = { + text = struggle_iberia_ending_compromise_decision_opinion_tt + struggle:iberian_struggle = { + NOT = { + any_involved_ruler = { + this != root + top_liege = this + primary_title = { is_holy_order = no } + primary_title = { is_mercenary_company = no } + is_landless_adventurer = no + save_temporary_scope_as = this_character + NOR = { + root = { has_strong_hook = scope:this_character } + opinion = { + target = root + value >= struggle_iberia_ending_compromise_decision_opinion_value + } + } + } + } + } + } + # No other independent ruler in Iberia is a king or above + custom_tooltip = { + text = struggle_iberia_ending_compromise_decision_independent_tt + struggle:iberian_struggle = { + NOT = { + any_involved_ruler = { + this != root + top_liege = this + primary_title = { is_mercenary_company = no } + is_landless_adventurer = no + primary_title.tier >= tier_kingdom + } + } + } + } + # More than 25% of Iberia is controlled by Interloper or Uninvolved rulers + custom_tooltip = { + text = struggle_iberia_ending_compromise_decision_interloper_tt + any_county_in_region = { + region = world_europe_west_iberia + percent > fp2_struggle_compromise_uninvolved_percent_decimal_value + holder.top_liege = { fp2_character_interloper_in_struggle_trigger = yes } + } + } + } + + # Completely control any of the important Iberian duchies + calc_true_if = { + amount >= 1 + completely_controls = title:d_galicia + completely_controls = title:d_toledo + completely_controls = title:d_cordoba + completely_controls = title:d_valencia + completely_controls = title:d_barcelona + } + } + + effect = { + if = { + limit = { has_dlc_feature = legends } + legend_seed_struggle_ending_effect = { + ENDER = root + STRUGGLE = iberian_struggle + } + } + if = { + limit = { has_ach_dlc_trigger = yes } + add_character_flag = ach_ended_struggle + } + ##### Major Effects ##### + # Personal effects for ruler + show_as_tooltip = { fp2_struggle_compromise_ender_effect = yes } + # Independent/Split De Jure Duchies will become De Jure Kingdoms + if = { + limit = { + title:e_spain = { + any_in_de_jure_hierarchy = { fp2_struggle_ending_compromise_independent_duchy_trigger = yes } + } + } + custom_tooltip = fp2_struggle_compromise_create_new_kingdoms_tt + } + # Other Tooltips! + fp2_struggle_compromise_tooltip_effect = yes + + ##### Minor Effects ##### + # Self-sufficiency/defensive modifiers for each independent realm + show_as_tooltip = { fp2_struggle_compromise_modifier_rewards_effect = yes } + + show_as_tooltip = { + stress_impact = { + arrogant = medium_stress_impact_gain + } + } + + # Achievements + add_achievement_global_variable_effect = { + VARIABLE = fp2_iberian_compromise_achievement_unlocked + VALUE = yes + } + fp2_holiday_in_iberia_check = yes + + # Trigger a player facing event as a coda + trigger_event = fp2_struggle.0901 + } + + cost = {} + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 0 + kingdom = 120 + empire = 120 + hegemony = 120 + } + + ai_potential = { always = yes } + + ai_will_do = { base = 100 } +} + +############################################# +# Conciliation Ending # +# by Joe Parkin # +############################################# + +struggle_iberia_ending_conciliation_decision = { + decision_group_type = major + title = struggle_iberia_ending_conciliation_decision + picture = { + reference = "gfx/interface/illustrations/decisions/fp2_decision_struggle_conciliation.dds" + } + extra_picture = "gfx/interface/illustrations/struggle_decision_buttons/fp2_decision_conciliation.dds" + desc = struggle_iberia_ending_conciliation_decision_desc + selection_tooltip = struggle_iberia_ending_conciliation_decision_tooltip + confirm_click_sound = "event:/DLC/FP2/SFX/UI/fp2_struggle_ending_decision_confirm" + is_invisible = yes + + sort_order = 80 + + is_shown = { + is_landless_adventurer = no + has_fp2_dlc_trigger = yes + } + + is_valid = { + top_liege = this + + custom_tooltip = { + text = struggle_iberia_ending_conciliation_decision_correct_phase_tt + any_character_struggle = { + is_struggle_type = iberian_struggle + is_struggle_phase = struggle_iberia_phase_conciliation + } + } + + custom_tooltip = { + text = struggle_ending_decision_correct_involvement_spain_tt + any_character_struggle = { + involvement = involved + is_struggle_type = iberian_struggle + } + } + + prestige_level >= very_high_prestige_level # Exalted among Men or higher + + # Hold and completely control a de jure kingdom of Hispania + custom_tooltip = { + text = struggle_iberia_ending_compromise_decision_kingdom_tt + fp2_struggle_ending_hold_de_jure_kingdom_trigger = yes + } + + # Every other independent involved ruler in Iberia is allied to you + custom_tooltip = { + text = struggle_iberia_ending_conciliation_decision_alliance_tt + struggle:iberian_struggle = { + NOT = { + any_involved_ruler = { + top_liege = this + is_landless_adventurer = no + primary_title = { is_mercenary_company = no } + primary_title = { is_holy_order = no } + NOR = { + this = root + is_allied_to = root + } + } + } + } + } + + # Control less than 50% of Iberia + custom_tooltip = { + text = struggle_iberia_ending_compromise_decision_region_tt + fp2_struggle_ending_percent_iberia_trigger = yes + } + } + + effect = { + if = { + limit = { has_dlc_feature = legends } + legend_seed_struggle_ending_effect = { + ENDER = root + STRUGGLE = iberian_struggle + } + } + if = { + limit = { has_ach_dlc_trigger = yes } + add_character_flag = ach_ended_struggle + } + ##### Major Effects ##### + show_as_tooltip = { + fp2_struggle_conciliation_ender_effect = yes + fp2_struggle_conciliation_tooltip_effect = yes + fp2_struggle_conciliation_modifier_rewards_effect = yes + } + + show_as_tooltip = { + stress_impact = { + arrogant = medium_stress_impact_gain + zealous = medium_stress_impact_gain + } + } + + # Achievements + add_achievement_global_variable_effect = { + VARIABLE = fp2_iberian_conciliation_achievement_unlocked + VALUE = yes + } + fp2_holiday_in_iberia_check = yes + + + # Trigger a player facing event as a coda + trigger_event = fp2_struggle.0902 + } + + cost = {} + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 0 + kingdom = 120 + empire = 120 + hegemony = 120 + } + + ai_potential = { always = yes } + + ai_will_do = { base = 100 } +} + +################################### +# Secure the Mediterranean +# By Hugo Cortell +################################### +secure_mediterranean_decision = { + title = fp2_secure_mediterranean.t + picture = { + reference = "gfx/interface/illustrations/event_scenes/fp1_ocean.dds" + } + desc = fp2_secure_mediterranean.desc + decision_group_type = major + + selection_tooltip = fp2_secure_mediterranean.tip + sort_order = 50 + + is_shown = { + # DLC check + has_fp2_dlc_trigger = yes + # Standard checks + is_playable_character = yes + exists = dynasty + NOT = { + is_target_in_global_variable_list = { + name = unavailable_unique_decisions + target = flag:flag_secured_the_mediterranean + } + } + + OR = { + completely_controls = title:k_sardinia_and_corscia + #completely_controls = title:k_trinacria + AND = { + completely_controls = title:d_mallorca + completely_controls = title:d_north_corsica + completely_controls = title:d_south_corsia + } + } + } + + is_valid = { + completely_controls = title:d_mallorca + completely_controls = title:d_sardinia + completely_controls = title:d_corsica + completely_controls = title:d_sicily + } + + is_valid_showing_failures_only = { + is_landed = yes + } + + effect = { + add_to_global_variable_list = { + name = unavailable_unique_decisions + target = flag:flag_secured_the_mediterranean + } + + # LOC + root = { + save_scope_as = mediterranean_conqueror + house = { save_scope_as = mediterranean_house } + } + title:d_mallorca = { save_scope_as = mallorca } + title:d_sardinia = { save_scope_as = sardinas } + title:d_sicily = { save_scope_as = sicily } + title:k_mediterranean_sea = { save_scope_as = mediterranean_title } + + every_player = { + limit = { + this != ROOT + any_held_title = { title_province = { geographical_region = dlc_fp2_mediterranean_shoreline } } + } + send_interface_message = { + type = event_generic_bad_with_text + title = secure_mediterranean_decision.involved_notif + desc = secure_mediterranean_decision.involved_notif_desc # Players who get this: "why do I hear boss music?" (It is meant to sound vaguely threatening) + left_icon = scope:mediterranean_conqueror + + show_as_tooltip = { + scope:mediterranean_conqueror = { + house = { + add_house_modifier = { + modifier = fp2_controls_the_mediterranean_house_modifier + years = 100 + } + } + dynasty = { add_dynasty_prestige = major_prestige_gain } + } + } + } + } + + house = { + add_house_modifier = { + modifier = fp2_controls_the_mediterranean_house_modifier + years = 100 + } + } + dynasty = { add_dynasty_prestige = major_prestige_gain } # You used to get +25% prestiege, but that caused UI issues + custom_tooltip = secure_mediterranean_decision.a + + create_title_and_vassal_change = { + type = created + save_scope_as = title_change + add_claim_on_loss = yes + } + title:k_mediterranean_sea = { + change_title_holder = { + holder = root + change = scope:title_change + } + } + resolve_title_and_vassal_change = scope:title_change + title:d_mallorca = { set_de_jure_liege_title = title:k_mediterranean_sea } + title:d_sardinia = { set_de_jure_liege_title = title:k_mediterranean_sea } + title:d_corsica = { set_de_jure_liege_title = title:k_mediterranean_sea } + title:d_sicily = { set_de_jure_liege_title = title:k_mediterranean_sea } + + hidden_effect = { + title:k_mediterranean_sea = { set_de_jure_liege_title = title:e_italy } # Straying closer to remaking the roman empire + trigger_event = iberia_north_africa.2105 + } + } + + cost = { + gold = { + value = 0 + if = { + limit = { + has_treasury = no + } + add = major_gold_value + multiply = 1.5 + round = yes + } + } + treasury = { + value = 0 + if = { + limit = { + has_treasury = yes + } + add = major_gold_value + multiply = 1.5 + round = yes + } + } + prestige = { + value = major_prestige_gain + multiply = 3 + round = yes + } + } + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 0 + kingdom = 730 + empire = 730 + hegemony = 730 + } + + ai_potential = { + is_ruler = yes + short_term_gold >= { + value = major_gold_value + multiply = 1.5 + round = yes + } + prestige >= { + value = major_prestige_gain + multiply = 3 + round = yes + } + } + + ai_will_do = { + base = 80 + } +} + +############################################# +# Eat a Cheese +# by Daniel "yes I know what exciting content is stop bullying me" Moore +########################################################################### +eat_cheese_decision = { + picture = { + reference = "gfx/interface/illustrations/decisions/decision_personal_religious.dds" + } + desc = eat_cheese_decision_desc + + is_shown = { + any_character_artifact = { + has_variable = has_cheese_artifact + } + } + + effect = { + + custom_tooltip = eat_cheese_effect_tt + + trigger_event = fp2_yearly.1008 + + } + + ai_check_interval = 0 + + ai_potential = { + + } + + ai_will_do = { + base = 100 + } +} + +################################### +# Sponsor Jewish Sciences +# By Hugo Cortell +################################### +golden_age_jewish_science_in_iberia_decision = { + picture = { + reference = "gfx/interface/illustrations/decisions/decision_golden_age.dds" + } + desc = golden_age_jewish_science_in_iberia_decision_desc + decision_group_type = struggle + + is_shown = { + has_fp2_dlc_trigger = yes + top_liege = root + top_liege = this # (Redundancy check) + is_landed_or_landless_administrative = yes + AND = { + exists = struggle:iberian_struggle + any_character_struggle = { + involvement = involved + has_struggle_phase_parameter = unlocks_golden_age_jewish_science_decision + } + } + } + + is_valid = { + OR = { # Either the var does not exist (no current golden age) or you are not the sponsor of the current golden age + NOT = { exists = global_var:fp2_current_jewish_science_sponsor } + trigger_if = { + limit = { exists = global_var:fp2_current_jewish_science_sponsor } + custom_tooltip = { + text = golden_age_jewish_science_in_iberia_decision_hardcoded_trigger_text.b + NOT = { root = global_var:fp2_current_jewish_science_sponsor } + is_ai = no # Prevents the AI from stealing the golden age, players can steal each other's golden age + } + } + } + trigger_if = { # If you are not your culture's head, you must earn their approval + limit = { + exists = culture.culture_head # Redundancy check! + culture.culture_head != root + } + custom_tooltip = { + text = golden_age_jewish_science_in_iberia_decision_hardcoded_trigger_text.a + culture.culture_head = { + save_temporary_opinion_value_as = { + name = target_opinion + target = root + } + scope:target_opinion > 0 + } + } + } + } + + effect = { + hidden_effect = { # Prevent any case in which modifiers could be stacked + struggle:iberian_struggle = { + every_involved_ruler = { + remove_character_modifier = fp2_sponsored_golden_age_modifier + remove_character_modifier = fp2_part_of_golden_age_modifier + } + } + } + + send_interface_toast = { + type = event_toast_effect_good + title = golden_age_jewish_science_in_iberia_decision.player_notif.t + right_icon = root + play_music_cue = mx_cue_meadandwine + + add_character_modifier = { + modifier = fp2_sponsored_golden_age_modifier + years = 120 + } + capital_county = { + add_county_modifier = { + modifier = fp2_epicenter_of_golden_age_modifier + years = 60 + } + } + } + culture = { add_to_list = already_involved_cultures } # Ensures that only one top ruler for each involved culture is picked + struggle:iberian_struggle = { + every_involved_ruler = { + custom = fp2_one_independent_ruler_of_each_culture_notifier + limit = { + culture = { save_temporary_scope_as = current_culture } + NOT = { # Checks that it is not in the list of "I am already benefiting from this" + this = root # (Also must not be root) + any_in_list = { + list = already_involved_cultures + this = scope:current_culture + } + } + top_liege = this # Redundancy checks, vital to ensuring this has a 110% success rate + top_liege = this # Redundancy check + } + if = { + limit = { NOT = { has_character_modifier = fp2_part_of_golden_age_modifier } } + culture = { add_to_list = already_involved_cultures } + send_interface_toast = { + type = event_toast_effect_good + title = golden_age_jewish_science_in_iberia_decision.player_notif.t + right_icon = root # Showing root is WAD, lets other players know who started it + + add_character_modifier = { + modifier = fp2_part_of_golden_age_modifier + years = 120 + } + } + } + } + } + + hidden_effect = { + random_list = { + 100 = { + trigger_event = { # Translator/book retailer event + id = iberia_north_africa.2001 + days = { 4 32 } + } + } + 110 = { + trigger_event = { # Cataract Surgery event + id = iberia_north_africa.2002 + days = { 4 32 } + } + } + 90 = { + trigger_event = { # Bickering scholars event + id = iberia_north_africa.2003 + days = { 4 32 } + } + } + } + } + + set_global_variable = { + name = fp2_current_jewish_science_sponsor + value = root + years = 120 + } + } + + cost = { + gold = { + value = 0 + if = { + limit = { + has_treasury = no + } + add = major_gold_value + multiply = 2.25 + round = yes + } + } + treasury = { + value = 0 + if = { + limit = { + has_treasury = yes + } + add = major_gold_value + multiply = 2.25 + round = yes + } + } + } + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 0 + kingdom = 730 + empire = 730 + hegemony = 730 + } + + ai_potential = {} + + ai_will_do = { + base = 0 + modifier = { + add = { + value = learning + multiply = 5 + round = yes + } + always = yes + } + } +} + +############################################# +# Convene Council of Toledo # +# by Joe Parkin and Ola Jentzsch # +############################################# +council_of_toledo_decision = { + title = council_of_toledo_decision_title + picture = { + reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds" + } + desc = { + first_valid = { + triggered_desc = { + trigger = { exists = global_var:council_of_toledo_counter } + desc = council_of_toledo_decision_desc_count + } + desc = council_of_toledo_decision_desc + } + } + selection_tooltip = council_of_toledo_decision_tooltip + cooldown = { years = council_of_toledo_decision_decision_cooldown_value } + decision_group_type = major + + sort_order = 80 + + is_shown = { + # DLC check + has_fp2_dlc_trigger = yes + # Is Mozarabic (or reformed Mozarabic) + faith = { + portrait_religious_faith_or_foundational_trigger = { FAITH = faith:mozarabic_church } + } + any_vassal = { } + } + + is_valid = { + # Owns Toledo + custom_tooltip = { + text = council_of_toledo_decision_toledo_holder_trigger + is_toledo_ownership_valid_trigger = yes + } + any_vassal = { + count >= 3 + is_powerful_vassal = yes + custom_tooltip = { + text = council_of_toledo_decision_toledo_faith_trigger + faith = root.faith + } + } + + realm_size >= council_of_toledo_realm_size_value + # update fp2_struggle_council_toledo_decision_trigger if changing this + } + + is_valid_showing_failures_only = { + is_landed = yes + # Not at war + is_at_war = no + } + + effect = { + custom_tooltip = council_of_toledo_decision_tt + faith:mozarabic_church = { + change_fervor = { + value = 10 + desc = fervor_gain_ascetic_example + } + } + # Council counter + if = { + limit = { exists = global_var:council_of_toledo_counter } + change_global_variable = { + name = council_of_toledo_counter + add = 1 + } + } + else = { + set_global_variable = { + name = council_of_toledo_counter + value = 19 + } + } + if = { + limit = { + any_character_struggle = { is_struggle_type = iberian_struggle } + } + custom_tooltip = council_of_toledo_decision_catalyst_tt + } + trigger_event = { + on_action = fp2_struggle_council_toledo_organize + days = 1 + } + } + + cost = { + gold = { + value = 0 + if = { + limit = { + has_treasury = no + } + add = council_of_toledo_gold_cost_value + } + } + treasury = { + value = 0 + if = { + limit = { + has_treasury = yes + } + add = council_of_toledo_gold_cost_value + } + } + piety = council_of_toledo_piety_cost_value + } + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 0 + kingdom = 60 + empire = 60 + hegemony = 60 + } + + ai_potential = { + is_ruler = yes + short_term_gold >= council_of_toledo_gold_cost_value + } + + ai_will_do = { + base = 100 + } +} + +############################################# +# Secure Iberian Foothold +# by Joe Parkin and Ola Jentzsch +############################################# +secure_iberian_foothold_decision = { + title = secure_iberian_foothold_decision_title + picture = { + reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds" + } + desc = secure_iberian_foothold_decision_desc + selection_tooltip = secure_iberian_foothold_decision_tooltip + sort_order = 80 + decision_group_type = struggle + + is_shown = { + is_landless_adventurer = no + # DLC check + has_fp2_dlc_trigger = yes + # Struggle is active + exists = struggle:iberian_struggle + # Not Involved and capital lies outside Iberia + custom_tooltip = { + text = fp2_struggle_uninvolved_or_external_tt + NOR = { + any_character_struggle = { + is_struggle_type = iberian_struggle + involvement = involved + } + } + } + # Hold land near Iberia + any_sub_realm_county = { + title_province = { + OR = { + geographical_region = world_europe_west_iberia # Iberia + geographical_region = ghw_region_southern_france # Aquitaine + geographical_region = world_africa_north_west # Maghreb + } + } + } + NOT = { has_title = title:e_spain } + } + + is_valid = { + ##### General triggers ##### + # Struggle phase must be right + custom_tooltip = { + text = fp2_struggle_uninvolved_or_external_tt + NOT = { + capital_province = { geographical_region = world_europe_west_iberia } + } + } + custom_tooltip = { + text = fp2_struggle_secure_iberian_foothold_empire_tt + any_held_title = { + title_tier >= empire + NOT = { this = title:e_spain } + } + } + # If my religion is involved, I need to own the better portion of those counties + trigger_if = { + limit = { + religion = { + any_faith = { + struggle:iberian_struggle = { is_faith_involved_in_struggle = prev } + } + } + } + custom_tooltip = { + text = fp2_struggle_secure_iberian_foothold_religion_tt + fp2_struggle_secure_iberian_foothold_religion_percent_value >= fp2_struggle_secure_iberian_foothold_religion_target_percent_value + } + } + # Otherwise, I need to own a big chunk of the peninsula + trigger_else = { + custom_tooltip = { + text = fp2_struggle_secure_iberian_foothold_outsider_tt + any_county_in_region = { + region = world_europe_west_iberia + percent >= fp2_struggle_secure_iberian_foothold_outsider_target_percent_decimal_value + holder.top_liege = root + } + } + } + + ##### Iberian kingdom triggers ##### + + # Any de jure kingdom of Iberia is completely controlled + custom_tooltip = { + text = fp2_struggle_secure_iberian_foothold_kingdom_iberian_tt + any_held_title = { fp2_struggle_secure_iberian_foothold_iberian_kingdom_trigger = yes } + } + # Real tooltips + trigger_if = { + limit = { exists = scope:iberian_kingdom_temp } + # That kingdom is mostly my faith + custom_tooltip = { + text = fp2_struggle_secure_iberian_foothold_kingdom_faith_tt + fp2_struggle_secure_iberian_foothold_faith_trigger = yes + } + # Borders held lands in a non-Iberian kingdom you hold + custom_tooltip = { + text = fp2_struggle_secure_iberian_foothold_kingdom_border_tt + scope:iberian_kingdom_temp = { fp2_struggle_secure_iberian_foothold_outsider_kingdom_trigger = yes } + } + # Held that kingdom for a while + custom_tooltip = { + text = fp2_struggle_secure_iberian_foothold_kingdom_held_tt + scope:iberian_kingdom_temp = { title_held_years >= fp2_struggle_secure_iberian_foothold_years_value } + } + } + # Fake tooltips + trigger_else = { + custom_tooltip = { + text = fp2_struggle_secure_iberian_foothold_kingdom_faith_tt + always = no + } + # Borders held lands in a non-Iberian kingdom you hold + custom_tooltip = { + text = fp2_struggle_secure_iberian_foothold_kingdom_border_tt + always = no + } + custom_tooltip = { + text = fp2_struggle_secure_iberian_foothold_kingdom_held_tt + always = no + } + } + } + + is_valid_showing_failures_only = { + trigger_if = { + limit = { exists = struggle:iberian_struggle } + custom_tooltip = { + text = fp2_struggle_phase_hostility_or_opportunity_tt + struggle:iberian_struggle = { + has_struggle_phase_parameter = unlocks_secure_iberian_foothold_decision + } + } + } + } + + effect = { + legend_seed_struggle_ending_effect = { + ENDER = root + STRUGGLE = iberian_struggle + } + if = { + limit = { has_ach_dlc_trigger = yes } + add_character_flag = ach_ended_struggle + } + if = { + limit = { + any_held_title = { title_tier = empire } + } + custom_tooltip = fp2_struggle_secure_iberian_foothold_empire_held_effect_tt + } + else = { custom_tooltip = fp2_struggle_secure_iberian_foothold_empire_dejure_effect_tt } + + trigger_event = { + id = fp2_other_decisions.1000 + } + + custom_tooltip = fp2_struggle_secure_iberian_foothold_ends_the_struggle_tt + } + + cost = {} + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 0 + kingdom = 120 + empire = 120 + hegemony = 120 + } + + ai_potential = {} + + ai_will_do = { + base = 100 + } +} + +################################### +# Build Pilgrim Roads +# By Hugo Cortell +################################### +build_holy_pilgrim_roads_decision = { + picture = { + reference = "gfx/interface/illustrations/decisions/fp2_decision_struggle_opening.dds" + } + sort_order = 300 + decision_group_type = struggle + + is_shown = { + faith = { + any_holy_site = { + holder.top_liege = root + count > 0 + } + } + any_character_struggle = { + involvement = involved + has_struggle_phase_parameter = unlocks_build_pilgrim_roads_decision + } + } + + is_valid = { + custom_tooltip = { + text = build_holy_pilgrim_roads_decision_hardcoded_trigger_text.a + faith = { + any_holy_site = { + holder.top_liege = root + NOT = { county = { has_county_modifier = fp2_pilgrim_roads_modifier } } + count > 0 + } + } + } + } + + effect = { + hidden_effect = { + faith = { + random_holy_site = { + limit = { + holder.top_liege = root + NOT = { county = { has_county_modifier = fp2_pilgrim_roads_modifier } } + } + save_scope_as = chosen_holy_site_for_pilgrim_roads + county = { + save_scope_as = chosen_location_for_pilgrim_roads + add_county_modifier = { + modifier = fp2_pilgrim_roads_modifier + years = 50 + } + } + } + } + } + send_interface_toast = { + type = event_toast_effect_good + title = build_holy_pilgrim_roads_decision_construction_notif.t + desc = build_holy_pilgrim_roads_decision_construction_notif.desc + + add_piety = major_piety_gain + show_as_tooltip = { + scope:chosen_location_for_pilgrim_roads = { + add_county_modifier = { + modifier = fp2_pilgrim_roads_modifier + years = 50 + } + } + } + } + + if = { # QA QoL + limit = { debug_only = yes } + custom_tooltip = debug_generic_option_shortened_trigger_can_disable + hidden_effect = { + random_list = { + 1 = { + trigger_event = { + id = iberia_north_africa.2011 + days = 4 + } + } + 1 = { + trigger_event = { + id = iberia_north_africa.2012 + days = 4 + } + } + 1 = { + trigger_event = { + id = iberia_north_africa.2013 + days = 4 + } + } + } + } + } + else = { + hidden_effect = { + random_list = { + 1 = { + trigger_event = { + id = iberia_north_africa.2011 + days = { 32 2048 } + } + } + 1 = { + trigger_event = { + id = iberia_north_africa.2012 + days = { 32 2048 } + } + } + 1 = { + trigger_event = { + id = iberia_north_africa.2013 + days = { 32 2048 } + } + } + } + } + } + } + + cost = { + gold = { + value = 0 + if = { + limit = { + has_treasury = no + } + add = massive_gold_value + } + } + treasury = { + value = 0 + if = { + limit = { + has_treasury = yes + } + add = massive_gold_value + } + } + } + + ai_check_interval_by_tier = { + barony = 0 + county = 730 + duchy = 730 + kingdom = 730 + empire = 730 + hegemony = 730 + } + ai_potential = {} + ai_will_do = { + base = 50 + modifier = { + add = learning + always = yes + } + modifier = { + add = -50 + has_trait = cynical + } + modifier = { + add = 10 + has_trait = zealous + } + modifier = { + add = -40 + short_term_gold < massive_gold_value + } + } +} + +############################################# +# Found Kingdom of Toledo +# by Joe Parkin +############################################# +found_kingdom_toledo_decision = { + title = found_kingdom_toledo_decision_title + picture = { + reference = "gfx/interface/illustrations/decisions/decision_found_kingdom.dds" + } + desc = found_kingdom_toledo_decision_desc + selection_tooltip = found_kingdom_toledo_decision_tooltip + sort_order = 80 + + decision_group_type = major + + is_shown = { + # DLC check + has_fp2_dlc_trigger = yes + culture = { has_cultural_pillar = heritage_iberian } + faith = { + portrait_religious_faith_or_foundational_trigger = { FAITH = faith:mozarabic_church } + } + NOT = { + is_target_in_global_variable_list = { + name = unavailable_unique_decisions + target = flag:form_toledo_decision + } + } + title:e_spain = { + any_in_de_jure_hierarchy = { + any_title_to_title_neighboring_and_across_water_duchy = { this = title:d_toledo } + de_jure_liege = { + any_in_de_jure_hierarchy = { + count > 2 + tier = tier_duchy + } + } + } + } + } + + is_valid = { + top_liege = this + custom_tooltip = { + text = found_kingdom_toledo_capital_tt + capital_county = title:c_toledo + } + custom_tooltip = { + text = found_kingdom_toledo_culture_tt + culture = { has_cultural_pillar = heritage_iberian } + } + custom_tooltip = { + text = found_kingdom_toledo_faith_tt + faith = { + portrait_religious_faith_or_foundational_trigger = { FAITH = faith:mozarabic_church } + } + } + completely_controls = title:d_toledo + custom_tooltip = { + text = found_kingdom_toledo_duchy_tt + any_held_title = { + title_tier = duchy + is_titular = no + NOT = { this = title:d_toledo } + root = { completely_controls = prev } + any_title_to_title_neighboring_and_across_water_duchy = { this = title:d_toledo } + } + } + } + + is_valid_showing_failures_only = { + is_landed = yes + } + + cost = { + gold = { + value = 0 + if = { + limit = { + has_treasury = no + } + add = 250 + } + } + treasury = { + value = 0 + if = { + limit = { + has_treasury = yes + } + add = 250 + } + } + } + + effect = { + save_scope_as = toledo_former + gain_heroic_legend_seed_tooltip_effect = yes + fp2_struggle_found_kingdom_toledo_empire_effect = yes + save_scope_value_as = { + name = has_kingdom_toledo_absorb_list_been_created + value = yes + } + trigger_event = fp2_other_decisions.1100 + #Can only happen once + add_to_global_variable_list = { + name = unavailable_unique_decisions + target = flag:form_toledo_decision + } + set_global_variable = { + name = form_toledo_decision + value = scope:toledo_former + } + } + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 120 + kingdom = 120 + empire = 120 + hegemony = 120 + } + + ai_potential = {} + + ai_will_do = { + base = 100 + } +} + +############################################# +# Develop a city +# by Maxence Voleau +############################################# +improve_city_province_decision = { + title = improve_city_province_decision_name + picture = { + reference = "gfx/interface/illustrations/decisions/decision_misc.dds" + } + desc = improve_city_province_decision_desc + selection_tooltip = improve_city_province_decision_tooltip + cooldown = { years = 50 } + sort_order = 90 + + is_shown = { + is_landless_adventurer = no + dynasty ?= { + has_dynasty_perk = fp2_urbanism_legacy_5 + } + } + + is_valid_showing_failures_only = { + custom_tooltip = { + text = improve_city_province_decision_at_least_one_city_tt + any_sub_realm_county = { + count > 0 + holder = root + any_county_province = { + building_slots <= 5 + has_holding_type = city_holding + } + } + } + } + + effect = { + + #Generate intelligible effect + if = { + limit = { + any_sub_realm_county = { + count > 0 + holder = root + any_county_province = { + building_slots <= 5 + has_holding_type = city_holding + } + } + } + every_sub_realm_county = { + # only county directly owned by the character + limit = { holder = root } + every_county_province = { + limit = { + has_holding_type = city_holding + building_slots <= 5 + } + save_scope_as = current_province + prev.holder = { + send_interface_toast = { + type = event_toast_effect_good + title = city_gained_building_slots + left_icon = scope:current_province.barony + + scope:current_province = { + add_province_modifier = extra_building_slot + } + } + } + + } + } + } + else = { + custom_tooltip = improve_city_province_decision_decision_no_effect + } + } + + cost = { + gold = { + value = 0 + if = { + limit = { + has_treasury = no + } + add = improve_city_province_decision_cost + multiply = { + value = 1 + every_sub_realm_county = { + # only county directly owned by the character + limit = { holder = root } + every_county_province = { + limit = { + building_slots <= 5 + has_holding_type = city_holding + } + add = 1 + } + } + } + } + } + treasury = { + value = 0 + if = { + limit = { + has_treasury = yes + } + add = improve_city_province_decision_cost + multiply = { + value = 1 + every_sub_realm_county = { + # only county directly owned by the character + limit = { holder = root } + every_county_province = { + limit = { + building_slots <= 5 + has_holding_type = city_holding + } + add = 1 + } + } + } + } + } + } + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 120 + kingdom = 120 + empire = 120 + hegemony = 120 + } + + ai_potential = { + is_at_war = no + # Has enough gold. + short_term_gold >= ai_war_chest_desired_gold_value + NOR = { + has_trait = lazy + has_trait = callous + } + } + + ai_will_do = { + base = 100 + } +} diff --git a/N3OW/common/dynasties/NEOW_dynasties.txt b/N3OW/common/dynasties/NEOW_dynasties.txt index e09f7ab6..a9b8dfa3 100644 --- a/N3OW/common/dynasties/NEOW_dynasties.txt +++ b/N3OW/common/dynasties/NEOW_dynasties.txt @@ -1229,31 +1229,16 @@ sturzo_dynasty = { culture = sicilian } -catania_dynasty = { - name = dynn_catania - culture = sicilian -} - angeleri_dynasty = { name = dynn_angeleri culture = sicilian } - bandinelli_dynasty = { +bandinelli_dynasty = { name = dynn_bandinelli culture = sardinian } -sartene_dynasty = { - name = dynn_sartene - culture = sardinian -} - -bastia_dynasty = { - name = dynn_bastia - culture = sardinian -} - dynn_britannia_fitsosbern = { prefix = "dynnp_de" diff --git a/N3OW/common/dynasty_houses/NEOW_dynasty_houses.txt b/N3OW/common/dynasty_houses/NEOW_dynasty_houses.txt index c0c4433b..fa82d92b 100644 --- a/N3OW/common/dynasty_houses/NEOW_dynasty_houses.txt +++ b/N3OW/common/dynasty_houses/NEOW_dynasty_houses.txt @@ -63,4 +63,22 @@ house_bourbon_orleans = { prefix = "dynnp_de" name = dynn_Bourbon_Orleans dynasty = borbon_dynasty +} + +house_palermo = { + name = dynn_palermo + culture = sicilian + dynasty = bollani_dynasty +} + +house_ajaccio = { + name = dynn_ajaccio + culture = sardinian + dynasty = bollani_dynasty +} + +house_bastia = { + name = dynn_bastia + culture = sardinian + dynasty = bollani_dynasty } \ No newline at end of file diff --git a/N3OW/common/landed_titles/italy.txt b/N3OW/common/landed_titles/italy.txt index 2a3892c3..b62fdc53 100644 --- a/N3OW/common/landed_titles/italy.txt +++ b/N3OW/common/landed_titles/italy.txt @@ -466,7 +466,7 @@ e_italy = { color2 = { 255 255 255 } can_be_named_after_dynasty = no - capital = c_cagliari_it + #capital = c_cagliari_it cultural_names = { name_list_catalan=cn_sardenya_i_corsega name_list_corsican=cn_corsica_e_grv_sardegna @@ -478,19 +478,19 @@ e_italy = { name_list_NEOW_french=cn_corse_sardaigne } - d_sardinia = { + d_calari = { color = { 177 147 207 } color2 = { 255 255 255 } can_be_named_after_dynasty = no capital = c_cagliari_it cultural_names = { - name_list_catalan=cn_sardenya - name_list_corsican=cn_sardegna - name_list_NEOW_french=cn_sardaigne - name_list_italian=cn_sardegna - name_list_cisalpine=cn_sardegna - name_list_sardinian=cn_sardigna + #name_list_catalan=cn_sardenya + #name_list_corsican=cn_sardegna + #name_list_NEOW_french=cn_sardaigne + #name_list_italian=cn_sardegna + #name_list_cisalpine=cn_sardegna + #name_list_sardinian=cn_sardigna } c_cagliari_it = { @@ -555,92 +555,11 @@ e_italy = { name_list_sardinian=cn_patiolla } } - } - c_nuoro = { - color = { 185 157 213 } - color2 = { 255 255 255 } - can_be_named_after_dynasty = no - cultural_names = { - name_list_catalan=cn_n_u_grv_goro - name_list_corsican=cn_nuaru - name_list_sardinian=cn_n_u_grv_goro - } - - b_nuoro = { - province = 2661 - color = { 185 157 213 } - color2 = { 255 255 255 } - cultural_names = { - name_list_catalan=cn_n_u_grv_goro - name_list_corsican=cn_nuaru - name_list_sardinian=cn_n_u_grv_goro - } - } - b_siniscola = { - province = 2662 - color = { 185 157 213 } - color2 = { 255 255 255 } - cultural_names = { - name_list_sardinian=cn_thiniscole - } - } - b_macomer = { - province = 2664 - color = { 185 157 213 } - color2 = { 255 255 255 } - cultural_names = { - name_list_sardinian=cn_macumere - } - } } - c_oristano = { - color = { 121 103 139 } - color2 = { 255 255 255 } - can_be_named_after_dynasty = no - cultural_names = { - name_list_catalan=cn_oristany - name_list_sardinian=cn_aristanis - } - - b_oristano = { - province = 2658 - color = { 121 103 139 } - color2 = { 255 255 255 } - cultural_names = { - name_list_catalan=cn_oristany - name_list_sardinian=cn_aristanis - } - } - - b_bosa = { - province = 2660 - color = { 121 103 139 } - color2 = { 255 255 255 } - } - - } - c_iglesias = { - color = { 121 103 139 } - color2 = { 255 255 255 } - can_be_named_after_dynasty = no - b_iglesias = { - province = 2655 - color = { 154 116 193 } - color2 = { 255 255 255 } - cultural_names = { - name_list_catalan=cn_esgl_e_act_sies - name_list_sardinian=cn_igr_e_grv_sias - } - } - b_terralba = { - province = 2659 - color = { 121 103 139 } - color2 = { 255 255 255 } - cultural_names = { - name_list_sardinian=cn_terraba - } - } - } + } + d_torres = { + color = { 177 147 207 } + color2 = { 255 255 255 } c_sassari = { color = { 137 83 191 } color2 = { 255 255 255 } @@ -678,7 +597,40 @@ e_italy = { name_list_sardinian=cn_otieri } } + } + c_nuoro = { + color = { 185 157 213 } + color2 = { 255 255 255 } + can_be_named_after_dynasty = no + cultural_names = { + name_list_catalan=cn_n_u_grv_goro + name_list_corsican=cn_nuaru + name_list_sardinian=cn_n_u_grv_goro + } + + b_nuoro = { + province = 2661 + color = { 185 157 213 } + color2 = { 255 255 255 } + cultural_names = { + name_list_catalan=cn_n_u_grv_goro + name_list_corsican=cn_nuaru + name_list_sardinian=cn_n_u_grv_goro + } + } + b_macomer = { + province = 2664 + color = { 185 157 213 } + color2 = { 255 255 255 } + cultural_names = { + name_list_sardinian=cn_macumere + } + } } + } + d_gallura = { + color = { 177 147 207 } + color2 = { 255 255 255 } c_olbia = { color = { 137 83 191 } color2 = { 255 255 255 } @@ -706,33 +658,99 @@ e_italy = { name_list_sardinian=cn_altzagh_e_grv_na } } - } + } + c_siniscola = { + color = { 185 157 213 } + color2 = { 255 255 255 } + can_be_named_after_dynasty = no + cultural_names = { + name_list_sardinian=cn_thiniscole + } + b_siniscola = { + province = 2662 + color = { 185 157 213 } + color2 = { 255 255 255 } + cultural_names = { + name_list_sardinian=cn_thiniscole + } + } + } + } + d_arborea = { + color = { 177 147 207 } + color2 = { 255 255 255 } + c_iglesias = { + color = { 121 103 139 } + color2 = { 255 255 255 } + can_be_named_after_dynasty = no + b_iglesias = { + province = 2655 + color = { 154 116 193 } + color2 = { 255 255 255 } + cultural_names = { + name_list_catalan=cn_esgl_e_act_sies + name_list_sardinian=cn_igr_e_grv_sias + } + } + b_terralba = { + province = 2659 + color = { 121 103 139 } + color2 = { 255 255 255 } + cultural_names = { + name_list_sardinian=cn_terraba + } + } + } + c_oristano = { + color = { 121 103 139 } + color2 = { 255 255 255 } + can_be_named_after_dynasty = no + cultural_names = { + name_list_catalan=cn_oristany + name_list_sardinian=cn_aristanis + } + + b_oristano = { + province = 2658 + color = { 121 103 139 } + color2 = { 255 255 255 } + cultural_names = { + name_list_catalan=cn_oristany + name_list_sardinian=cn_aristanis + } + } + + b_bosa = { + province = 2660 + color = { 121 103 139 } + color2 = { 255 255 255 } + } + } } - d_corsica = { + d_southern_corsica = { color = { 201 201 201 } color2 = { 255 255 255 } can_be_named_after_dynasty = no capital = c_southern_corsica cultural_names = { - name_list_catalan=cn_c_o_grv_rsega - name_list_NEOW_french=cn_corse - name_list_sardinian=cn_c_o_grv_ssiga - } - - c_southern_corsica = { - color = { 148 148 148 } - color2 = { 255 255 255 } - can_be_named_after_dynasty = no - cultural_names = { name_list_catalan=cn_c_o_grv_rsega_del_sud name_list_corsican=cn_pumonti name_list_NEOW_french=cn_corse_du_sud name_list_italian=cn_corsica_del_sud name_list_cisalpine=cn_corsica_del_sud name_list_sardinian=cn_c_o_grv_ssiga_de_su_sud + } + + c_ajaccio = { + color = { 148 148 148 } + color2 = { 255 255 255 } + can_be_named_after_dynasty = no + cultural_names = { + name_list_catalan=cn_aiacciu + name_list_corsican=cn_aiacciu + name_list_sardinian=cn_ajacciu } - b_ajaccio = { province = 2647 color = { 148 148 148 } @@ -743,15 +761,6 @@ e_italy = { name_list_sardinian=cn_ajacciu } } - b_porto_vecchio = { - province = 2648 - color = { 148 148 148 } - color2 = { 255 255 255 } - cultural_names = { - name_list_catalan=cn_port_vell - name_list_corsican=cn_portivechju - } - } b_sartene = { province = 2649 color = { 148 148 148 } @@ -762,6 +771,24 @@ e_italy = { name_list_cisalpine=cn_sartena } } + } + c_porto_vecchio = { + color = { 148 148 148 } + color2 = { 255 255 255 } + can_be_named_after_dynasty = no + cultural_names = { + name_list_catalan=cn_port_vell + name_list_corsican=cn_portivechju + } + b_porto_vecchio = { + province = 2648 + color = { 148 148 148 } + color2 = { 255 255 255 } + cultural_names = { + name_list_catalan=cn_port_vell + name_list_corsican=cn_portivechju + } + } b_bonifacio = { province = 2650 color = { 148 148 148 } @@ -773,19 +800,26 @@ e_italy = { } } } - c_upper_corsica = { - color = { 220 220 220 } + } + d_north_corsica = { + color = { 220 220 220 } + color2 = { 255 255 255 } + can_be_named_after_dynasty = no + cultural_names = { + name_list_catalan=cn_alta_c_o_grv_rsega + name_list_corsican=cn_cismonte + name_list_NEOW_french=cn_haute_corse + name_list_italian=cn_alta_corsica + name_list_cisalpine=cn_alta_corsica + name_list_sardinian=cn_c_o_grv_ssiga_arta + } + c_bastia= { + color = { 148 148 148 } color2 = { 255 255 255 } can_be_named_after_dynasty = no cultural_names = { - name_list_catalan=cn_alta_c_o_grv_rsega - name_list_corsican=cn_cismonte - name_list_NEOW_french=cn_haute_corse - name_list_italian=cn_alta_corsica - name_list_cisalpine=cn_alta_corsica - name_list_sardinian=cn_c_o_grv_ssiga_arta - } - + name_list_corsican=cn_bast_i_grv_a + } b_bastia = { province = 2651 color = { 33 95 23 } @@ -794,6 +828,16 @@ e_italy = { name_list_corsican=cn_bast_i_grv_a } } + b_calvi = { + province = 13274 + color = { 33 95 23 } + color2 = { 255 255 255 } + } + } + c_corte= { + color = { 148 148 148 } + color2 = { 255 255 255 } + can_be_named_after_dynasty = no b_corte = { province = 2652 color = { 33 95 23 } @@ -803,11 +847,7 @@ e_italy = { name_list_corsican=cn_corti } } - b_calvi = { - province = 13274 - color = { 33 95 23 } - color2 = { 255 255 255 } - } + b_ghisonaccia = { province = 13275 color = { 33 95 23 } @@ -820,20 +860,6 @@ e_italy = { } } -# k_romagna = { # Latium -# color = { 255 240 127 } -# can_be_named_after_dynasty = no -# -# capital = c_roma # Rome -# - # can_create = { - # trigger_if = { - # limit = { - # is_ai = yes - # } - # faith = { religion_tag = christianity_religion } - # } - # } k_san_marino = { color = { 244 180 130 } can_be_named_after_dynasty = no @@ -914,7 +940,26 @@ e_italy = { capital = c_lanciano + c_lanciano = { + color = { 167 102 103 } + can_be_named_after_dynasty = no + + b_cluieli = { #Chieti + province = 2603 + color = { 167 102 103 } + } + b_lanciano = { + province = 2604 + + color = { 167 102 103 } + } + b_agnone = { + province = 8759 + + color = { 167 102 103 } + } + } c_teramo = { color = { 227 152 133 } can_be_named_after_dynasty = no @@ -949,26 +994,6 @@ e_italy = { color = { 169 150 45 } } } - c_lanciano = { - color = { 167 102 103 } - can_be_named_after_dynasty = no - - b_cluieli = { #Chieti - province = 2603 - - color = { 167 102 103 } - } - b_lanciano = { - province = 2604 - - color = { 167 102 103 } - } - b_agnone = { - province = 8759 - - color = { 167 102 103 } - } - } } d_toscana = { color = { 222 186 25 } @@ -1366,19 +1391,19 @@ e_italy = { } } - d_sicily = { + d_palermo= { color = { 155 254 86 } can_be_named_after_dynasty = no capital = c_palermo # Palermo cultural_names = { - name_list_bedouin = cn_siqilliya - name_list_levantine = cn_siqilliya - name_list_egyptian = cn_siqilliya - name_list_maghrebi = cn_siqilliya - name_list_andalusian = cn_siqilliya - name_list_yemeni = cn_siqilliya + #name_list_bedouin = cn_siqilliya + #name_list_levantine = cn_siqilliya + #name_list_egyptian = cn_siqilliya + #name_list_maghrebi = cn_siqilliya + #name_list_andalusian = cn_siqilliya + #name_list_yemeni = cn_siqilliya } c_palermo = { @@ -1423,11 +1448,6 @@ e_italy = { name_list_greek = cn_enna } } - b_trapani = { - province = 2636 - - color = { 155 254 86 } - } b_cefalu = { province = 2634 @@ -1439,6 +1459,42 @@ e_italy = { color = { 155 254 86 } } } + c_agrigento = { + color = { 125 230 110 } + can_be_named_after_dynasty = no + + cultural_names = { + name_list_bedouin = cn_qasriyana + name_list_levantine = cn_qasriyana + name_list_egyptian = cn_qasriyana + name_list_maghrebi = cn_qasriyana + name_list_andalusian = cn_qasriyana + name_list_yemeni = cn_qasriyana + name_list_greek = cn_enna + } + b_agricento = { # Grigenti + province = 2637 + + color = { 125 230 110 } + } + b_trapani = { + province = 2636 + + color = { 155 254 86 } + } + b_mazara = { + province = 2644 + + color = { 155 254 86 } + } + } + } + d_messina= { + color = { 155 254 86 } + can_be_named_after_dynasty = no + + capital = c_messina # Palermo + c_messina = { color = { 160 210 100 } can_be_named_after_dynasty = no @@ -1448,21 +1504,12 @@ e_italy = { color = { 160 210 100 } } - b_catania = { - province = 2639 - color = { 160 210 100 } - } b_capo_d_orlando = { province = 9755 color = { 160 210 100 } } - b_caltagirone = { - province = 2642 - - color = { 115 195 85 } - } b_eolie = { province = 9757 @@ -1484,6 +1531,13 @@ e_italy = { color = { 160 220 120 } } } + } + d_siracusa= { + color = { 155 254 86 } + can_be_named_after_dynasty = no + + capital = c_siracusa # Palermo + c_siracusa = { color = { 115 195 85 } can_be_named_after_dynasty = no @@ -1522,36 +1576,35 @@ e_italy = { color = { 135 63 74 } } - } - c_agrigento = { - color = { 125 230 110 } + } + c_catania = { + color = { 115 195 85 } can_be_named_after_dynasty = no + + b_catania = { + province = 2639 - cultural_names = { - name_list_bedouin = cn_qasriyana - name_list_levantine = cn_qasriyana - name_list_egyptian = cn_qasriyana - name_list_maghrebi = cn_qasriyana - name_list_andalusian = cn_qasriyana - name_list_yemeni = cn_qasriyana - name_list_greek = cn_enna - } - b_agricento = { # Grigenti - province = 2637 - - color = { 125 230 110 } - } - b_mazara = { - province = 2644 - - color = { 155 254 86 } - } + color = { 160 210 100 } + } b_caltanisetta = { #Caltanissetta province = 2641 color = { 125 230 110 } - } + } + + b_caltagirone = { + province = 2642 + + color = { 115 195 85 } + } } + } + d_malta= { + color = { 155 254 86 } + can_be_named_after_dynasty = no + + capital = c_siracusa # Palermo + c_malta = { color = { 120 255 60 } can_be_named_after_dynasty = no diff --git a/N3OW/common/province_terrain/00_province_terrain.txt b/N3OW/common/province_terrain/00_province_terrain.txt index 47aec5fd..659672df 100644 --- a/N3OW/common/province_terrain/00_province_terrain.txt +++ b/N3OW/common/province_terrain/00_province_terrain.txt @@ -8986,7 +8986,7 @@ default_coastal_sea=coastal_sea 9754=hills 9755=hills 9756=forest -9757=jungle +9757=hills 9758=hills 9759=wasteland 9760=hills diff --git a/N3OW/history/characters/NEOW_e_italia.txt b/N3OW/history/characters/NEOW_e_italia.txt index 90102240..7619e5e7 100644 --- a/N3OW/history/characters/NEOW_e_italia.txt +++ b/N3OW/history/characters/NEOW_e_italia.txt @@ -221,7 +221,7 @@ italy0012 = { dynasty = bollani_dynasty religion = "roman_catholic" culture = sardinian - trait = education_diplomacy_4 + trait = education_stewardship_4 trait = gregarious trait = gluttonous trait = zealous @@ -724,9 +724,9 @@ italy_curnelia_sturzo = { } } -italy_albanu_catania = { +italy_albanu_palermo = { name = "Albanu" - dynasty = catania_dynasty + dynasty_house= house_palermo culture = sicilian religion = roman_catholic trait = education_martial_2 @@ -777,9 +777,9 @@ italy_gilberto_bandinelli = { } } -italy_larentu_sartene = { +italy_larentu_ajaccio = { name = "Larentu" - dynasty = sartene_dynasty + dynasty_house = house_ajaccio culture = sardinian religion = roman_catholic trait = education_learning_3 @@ -796,7 +796,7 @@ italy_larentu_sartene = { italy_diana_bastia = { name = "Diana" - dynasty = bastia_dynasty + dynasty_house= house_bastia culture = sardinian religion = roman_catholic female = yes diff --git a/N3OW/history/provinces/e_italy.txt b/N3OW/history/provinces/e_italy.txt index ef643fa5..e2b32b8c 100644 --- a/N3OW/history/provinces/e_italy.txt +++ b/N3OW/history/provinces/e_italy.txt @@ -193,6 +193,8 @@ } 2662 = { # Siniscola holding = city_holding + culture = sardinian + religion = roman_catholic } 2663 = { # Tortolì culture = sardinian @@ -231,6 +233,8 @@ holding = castle_holding } 2648 = { # Porto-Vecchio + culture = corsican + religion = sevillian holding = city_holding } 2649 = { # Sartène @@ -246,7 +250,9 @@ holding = castle_holding } 2652 = { # Corte - holding = church_holding + holding = castle_holding + culture = corsican + religion = sevillian } 13274 = { # Calvi holding = city_holding @@ -912,7 +918,9 @@ } } 2639 = { - holding = church_holding + holding = castle_holding + culture = sicilian + religion = roman_catholic } 9755 = { holding = none diff --git a/N3OW/history/titles/k_sardinia_and_corsica.txt b/N3OW/history/titles/k_sardinia_and_corsica.txt index 11ca9668..6da63bd0 100644 --- a/N3OW/history/titles/k_sardinia_and_corsica.txt +++ b/N3OW/history/titles/k_sardinia_and_corsica.txt @@ -8,41 +8,56 @@ k_sardinia_and_corsica = { } } -c_southern_corsica = { +d_southern_corsica = { 2550.1.1 = { - holder = italy_larentu_sartene + holder = italy_larentu_ajaccio liege = k_sardinia_and_corsica } } -c_upper_corsica = { +d_north_corsica = { 2550.1.1 = { holder = italy_diana_bastia liege = k_sardinia_and_corsica } } -d_sicily = { + +d_palermo = { 2550.1.1 = { - holder = italy0011 + holder = italy_albanu_palermo liege = k_sardinia_and_corsica } } -c_siracusa = { +d_messina = { 2550.1.1 = { - holder = italy_albanu_catania - liege = d_sicily + holder = italy0011 + liege = k_sardinia_and_corsica + government = feudal_government } } -c_messina = { +d_siracusa = { 2550.1.1 = { - holder = italy_albanu_catania - liege = d_sicily + holder = italy0011 + liege = k_sardinia_and_corsica + government = feudal_government } } +#c_siracusa = { +# 2550.1.1 = { +# holder = italy_albanu_catania +# liege = d_sicily +# } +#} +#c_messina = { +# 2550.1.1 = { +# holder = italy_albanu_catania +# liege = d_sicily +# } +#} c_livorno = { 2550.1.1 = { - holder = italy_riccardo_mastropiero + holder = italy_diana_bastia liege = k_sardinia_and_corsica } } @@ -50,7 +65,7 @@ c_livorno = { c_lucca = { 2550.1.1 = { - holder = italy_archibaldo_volterra + holder = italy_riccardo_mastropiero } } @@ -61,6 +76,6 @@ c_pisa = { } c_parma = { 2550.1.1 = { - holder = italy_archibaldo_volterra + holder = italy_riccardo_mastropiero } } \ No newline at end of file diff --git a/N3OW/localization/english/dynasties/NEOW_dynasty_names_l_english.yml b/N3OW/localization/english/dynasties/NEOW_dynasty_names_l_english.yml index 991e5ddd..66cf850e 100644 --- a/N3OW/localization/english/dynasties/NEOW_dynasty_names_l_english.yml +++ b/N3OW/localization/english/dynasties/NEOW_dynasty_names_l_english.yml @@ -747,3 +747,6 @@ dynn_B_a_uml_sge:0 "Bäsge" dynn_Hoheneim:0 "Hohenheim" dynn_Hohenkarpfen:0 "Hohenkarpfen" + dynn_palermo:0 "Palermo" + dynn_ajaccio:0 "Ajaccio" + dynn_bastia:0 "Bastia" diff --git a/N3OW/localization/english/titles_l_english.yml b/N3OW/localization/english/titles_l_english.yml index 0562a939..334f46c0 100644 --- a/N3OW/localization/english/titles_l_english.yml +++ b/N3OW/localization/english/titles_l_english.yml @@ -16580,6 +16580,8 @@ k_italy_adj:0 "Padanian" k_tuscany:0 "Tuscany" k_tuscany_adj:0 "Tuscan" + d_san_marino:0 "San Marino" + d_san_marino_adj:0 "San Marinan" k_san_marino:0 "Italia" k_san_marino_adj:0 "Italian" k_castille_leon:0 "Castileón"