diff --git a/common/decisions/80_major_decisions.txt b/common/decisions/80_major_decisions.txt index e969beaf5..278f1cfc8 100644 --- a/common/decisions/80_major_decisions.txt +++ b/common/decisions/80_major_decisions.txt @@ -2336,11 +2336,64 @@ repay_loan_decision = { } save_scope_as = repaid_loan } - clear_loanee_variables_effect = yes - scope:recipient = { - remove_list_variable = { - name = owes_me_money - target = root + scope:repaid_loan = { repay_and_end_loan_story_effect = yes } # use this effect to show relevant tooltips + } + + widget = { + gui = "decision_view_widget_select_character" + controller = select_scope_object + show_from_start = yes + decision_to_second_step_button = "SELECT" + + setup_items = { + scope:actor = { + every_owned_story = { + limit = { + story_type = story_cycle_loan + exists = var:amount_owed + var:lender ?= { + any_in_list = { + variable = owes_me_money + this = scope:actor + } + } + } + var:lender = { add_to_list = item_list } + } + } + } + + default_item = { + scope:actor = { + ordered_owned_story = { + limit = { + story_type = story_cycle_loan + exists = var:amount_owed + var:lender ?= { + any_in_list = { + variable = owes_me_money + this = scope:actor + } + } + } + order_by = var:years_since + var:lender = { save_scope_as = selected_item } + } + } + } + + is_item_valid = { + save_temporary_scope_as = lender_temp + custom_tooltip = { + text = repay_loan_decision_afford_tt + scope:actor = { + any_owned_story = { + story_type = story_cycle_loan + exists = var:amount_owed + var:lender ?= scope:lender_temp + var:amount_owed <= scope:actor.gold + } + } } } diff --git a/common/decisions/dlc_decisions/gdp/gdp_guelph_ghibelline_decisions.txt b/common/decisions/dlc_decisions/gdp/gdp_guelph_ghibelline_decisions.txt new file mode 100644 index 000000000..ab6c6c963 --- /dev/null +++ b/common/decisions/dlc_decisions/gdp/gdp_guelph_ghibelline_decisions.txt @@ -0,0 +1,1314 @@ +# NEOW: disable Guelph/Ghibelline decisions and their situation-dependent Lombard League decisions. +# Original vanilla content is preserved in comments for easy restoration. +# change_guelph_ghibelline_phase_decision = { +# decision_group_type = guelph_ghibelline +# title = { +# first_valid = { +# triggered_desc = { +# trigger = { +# NOT = { +# situation:guelph_ghibelline ?= { situation_current_phase = repose } +# } +# } +# desc = guelph_ghibelline_peace_decision +# } +# desc = guelph_ghibelline_conflict_decision +# } +# } +# desc = { +# first_valid = { +# triggered_desc = { +# trigger = { +# NOT = { +# situation:guelph_ghibelline ?= { situation_current_phase = repose } +# } +# } +# desc = guelph_ghibelline_peace_desc +# } +# desc = guelph_ghibelline_conflict_desc +# } +# } +# selection_tooltip = { +# first_valid = { +# triggered_desc = { +# trigger = { +# NOT = { +# situation:guelph_ghibelline ?= { situation_current_phase = repose } +# } +# } +# desc = guelph_ghibelline_peace_tooltip +# } +# desc = guelph_ghibelline_conflict_tooltip +# } +# } +# picture = { +# trigger = { +# situation:guelph_ghibelline ?= { situation_current_phase = agitation } +# } +# reference = "gfx/interface/illustrations/decisions/gdp_decision_culture_italian.dds" +# } +# picture = { +# reference = "gfx/interface/illustrations/decisions/decision_siege_warfare.dds" +# } +# is_invisible = yes + +# sort_order = 20 + +# is_shown = { +# has_gdp_dlc_trigger = yes +# gg_phase_is_pre_gg_trigger = no +# is_guelph_or_ghibelline_trigger = yes +# } + +# is_valid_showing_failures_only = { +# is_adult = yes +# is_at_war = no +# trigger_if = { +# limit = { +# situation:guelph_ghibelline ?= { situation_current_phase = ghibelline_advantage } +# } +# custom_tooltip = { +# text = not_ghibelline_advantage_leader_tt +# is_ghibelline_leader_with_advantage_trigger = yes +# } +# } +# trigger_if = { +# limit = { +# situation:guelph_ghibelline ?= { situation_current_phase = guelph_advantage } +# } +# custom_tooltip = { +# text = not_guelph_advantage_leader_tt +# is_guelph_leader_with_advantage_trigger = yes +# } +# } +# trigger_if = { +# limit = { +# situation:guelph_ghibelline ?= { situation_current_phase = agitation } +# } +# custom_tooltip = { +# text = only_hre_peace_privilege_tt +# top_participant_group:guelph_ghibelline ?= { participant_group_type = ghibelline_leader } +# } +# } +# custom_tooltip = { +# text = not_gg_leader_tt +# top_participant_group:guelph_ghibelline ?= { +# OR = { +# participant_group_type = guelph_leader +# participant_group_type = ghibelline_leader +# } +# } +# } +# } + +# cooldown = { years = 20 } + +# cost = { +# prestige = { +# value = major_prestige_value +# } +# } + +# effect = { +# #Change to Repose +# if = { +# limit = { +# NOT = { +# situation:guelph_ghibelline ?= { situation_current_phase = repose } +# } +# } +# add_tyranny = minor_tyranny_loss +# add_character_modifier = { +# modifier = instated_peace_privilege_modifier +# years = 10 +# } +# custom_tooltip = { +# text = change_situation_phase_to_repose_tt +# situation:guelph_ghibelline ?= { +# every_situation_participant = { +# limit = { is_ai = no } +# send_interface_message = { +# type = msg_guelph_ghibelline_repose_neutral_text +# title = repose +# desc = change_situation_phase_to_repose_tt +# } +# } +# every_situation_sub_region = { change_phase = repose } +# } +# } +# } +# else = { +# situation:guelph_ghibelline ?= { +# if = { +# limit = { +# situation_ghibelline_group_score >= situation_score_advantage_threshold +# NOT = { +# situation:guelph_ghibelline ?= { situation_current_phase = ghibelline_advantage } +# } +# } +# custom_tooltip = { +# text = change_situation_phase_to_ghibelline_advantage_tt +# every_situation_participant = { +# limit = { is_ai = no } +# send_interface_message = { +# type = msg_ghibelline_advantage_neutral_text +# title = ghibelline_advantage +# desc = change_situation_phase_to_ghibelline_advantage_tt +# } +# } +# every_situation_sub_region = { change_phase = ghibelline_advantage } +# } +# } +# else_if = { +# limit = { +# situation_guelph_group_score >= situation_score_advantage_threshold +# NOT = { +# situation:guelph_ghibelline ?= { situation_current_phase = guelph_advantage } +# } +# } +# custom_tooltip = { +# text = change_situation_phase_to_guelph_advantage_tt +# every_situation_participant = { +# limit = { is_ai = no } +# send_interface_message = { +# type = msg_guelph_advantage_neutral_text +# title = guelph_advantage +# desc = change_situation_phase_to_guelph_advantage_tt +# } +# } +# every_situation_sub_region = { change_phase = guelph_advantage } +# } +# } +# else = { +# custom_tooltip = { +# text = change_situation_phase_to_agitation_tt +# every_situation_participant = { +# limit = { is_ai = no } +# send_interface_message = { +# type = msg_guelph_ghibelline_agitation_neutral_text +# title = agitation +# desc = change_situation_phase_to_agitation_tt +# } +# } +# every_situation_sub_region = { change_phase = agitation } +# } +# } +# } +# } +# gg_involvement_decision_effect = yes +# } + +# ai_check_interval = 12 + +# #A Ghibelline leader who is not winning a drawn-out Agitation sues for peace +# ai_potential = { +# is_ghibelline_leader_trigger = yes +# situation:guelph_ghibelline ?= { +# situation_current_phase = agitation +# exists = var:gg_agitation_years +# var:gg_agitation_years >= gg_agitation_weariness_years +# } +# } + +# ai_will_do = { +# base = 0 +# modifier = { +# add = 20 +# situation_ghibelline_score_percentage < 50 +# } +# modifier = { +# add = 30 +# situation_ghibelline_score_percentage < 40 +# } +# } +# } + +# become_guelph_ghibelline_leader_decision = { +# decision_group_type = guelph_ghibelline +# title = { +# first_valid = { +# triggered_desc = { +# trigger = { is_guelph_trigger = yes } +# desc = become_guelph_leader_decision +# } +# desc = become_ghibelline_leader_decision +# } +# } +# desc = become_gg_leader_desc +# selection_tooltip = become_guelph_ghibelline_leader_tooltip +# picture = { +# reference = "gfx/interface/illustrations/decisions/decision_castle_view.dds" +# } +# is_invisible = yes + +# sort_order = 20 + +# is_shown = { +# has_gdp_dlc_trigger = yes +# gg_phase_is_pre_gg_trigger = no +# OR = { +# is_guelph_trigger = yes +# is_ghibelline_trigger = yes +# } +# top_participant_group:guelph_ghibelline ?= { +# NOR = { +# participant_group_type = guelph_leader +# participant_group_type = ghibelline_leader +# } +# } +# } + +# is_valid_showing_failures_only = { +# is_adult = yes +# is_landed = yes +# custom_tooltip = { +# text = not_gg_supporter_tt +# top_participant_group:guelph_ghibelline ?= { +# OR = { +# participant_group_type = guelph_member +# participant_group_type = ghibelline_member +# } +# } +# } +# custom_tooltip = { +# text = not_recently_overthrown_gg_leader_tt +# NOT = { exists = var:recently_overthrown_gg_leader } +# } +# custom_tooltip = { +# text = not_recently_stepped_down_gg_leader_tt +# NOR = { +# AND = { +# is_guelph_trigger = yes +# var:stepped_down_gg_leader ?= flag:guelph +# } +# AND = { +# is_ghibelline_trigger = yes +# var:stepped_down_gg_leader ?= flag:ghibelline +# } +# } +# } +# custom_tooltip = { +# text = not_current_leader_at_war_tt +# NOR = { +# AND = { +# is_guelph_trigger = yes +# situation:guelph_ghibelline ?= { +# any_situation_participant = { +# exists = var:guelph_leader +# is_at_war = yes +# } +# } +# } +# AND = { +# is_ghibelline_trigger = yes +# situation:guelph_ghibelline ?= { +# any_situation_participant = { +# exists = var:ghibelline_leader +# is_at_war = yes +# } +# } +# } +# } +# } +# trigger_if = { +# limit = { is_ai = no } +# custom_tooltip = { +# text = enough_involvement_for_leadership_tt +# exists = var:gg_involvement +# var:gg_involvement >= gg_involvement_minimum_leadership_value +# } +# } +# } + +# cooldown = { years = 20 } + +# cost = { +# prestige = { +# value = { +# add = major_prestige_value +# multiply = situation_ghibelline_leader_primary_title_value +# subtract = { +# add = major_prestige_value +# multiply = primary_title.tier +# } +# max = { +# add = massive_prestige_value +# multiply = 2 +# } +# } +# } +# } + +# ai_check_interval_by_tier = { +# barony = 0 +# county = 180 +# duchy = 180 +# kingdom = 180 +# empire = 180 +# hegemony = 0 +# } + +# effect = { +# gg_become_new_leader_effect = { VIA_SCHEME = flag:decision } +# gg_involvement_decision_effect = yes +# } + +# ai_potential = { +# #AI should only ever do this if the current leader is AI +# OR = { +# AND = { +# is_ghibelline_trigger = yes +# situation:guelph_ghibelline ?= { +# any_situation_participant = { +# is_ghibelline_leader_trigger = yes +# is_ai = yes +# } +# } +# } +# AND = { +# is_guelph_trigger = yes +# situation:guelph_ghibelline ?= { +# any_situation_participant = { +# is_guelph_leader_trigger = yes +# is_ai = yes +# } +# } +# } +# } +# } + +# ai_will_do = { +# base = 10 +# #They're the same tier or below us +# modifier = { +# add = 20 +# OR = { +# AND = { +# is_ghibelline_trigger = yes +# situation:guelph_ghibelline ?= { +# any_situation_participant = { +# is_ghibelline_leader_trigger = yes +# primary_title.tier <= root.primary_title.tier +# } +# } +# } +# AND = { +# is_guelph_trigger = yes +# situation:guelph_ghibelline ?= { +# any_situation_participant = { +# is_guelph_leader_trigger = yes +# primary_title.tier <= root.primary_title.tier +# } +# } +# } +# } +# } +# #They're higher tier than us +# modifier = { +# add = -25 +# OR = { +# AND = { +# is_ghibelline_trigger = yes +# situation:guelph_ghibelline ?= { +# any_situation_participant = { +# is_ghibelline_leader_trigger = yes +# primary_title.tier > root.primary_title.tier +# } +# } +# } +# AND = { +# is_guelph_trigger = yes +# situation:guelph_ghibelline ?= { +# any_situation_participant = { +# is_guelph_leader_trigger = yes +# primary_title.tier > root.primary_title.tier +# } +# } +# } +# } +# } +# modifier = { +# exists = var:gg_involvement +# add = var:gg_involvement +# } +# } +# } + +# change_guelph_ghibelline_side_decision = { +# decision_group_type = guelph_ghibelline +# title = { +# first_valid = { +# triggered_desc = { +# trigger = { is_guelph_trigger = yes } +# desc = change_to_ghibelline_decision +# } +# desc = change_to_guelph_decision +# } +# } +# desc = change_to_gg_desc +# selection_tooltip = change_guelph_ghibelline_side_tooltip +# picture = { +# reference = "gfx/interface/illustrations/decisions/ep3_cerimonial_decision.dds" +# } +# is_invisible = yes + +# sort_order = 20 + +# is_shown = { +# has_gdp_dlc_trigger = yes +# is_guelph_or_ghibelline_trigger = yes +# } + +# is_valid_showing_failures_only = { +# is_adult = yes +# is_at_war = no +# custom_tooltip = { +# text = is_guelph_leader_tt +# is_guelph_leader_trigger = no +# } +# custom_tooltip = { +# text = is_ghibelline_leader_tt +# is_ghibelline_leader_trigger = no +# } +# custom_tooltip = { +# text = is_in_lombard_league_tt +# NAND = { +# is_guelph_trigger = yes +# confederation.confederation_type ?= confederation_type:lombard_league +# } +# } +# } + +# cooldown = { years = 20 } + +# cost = { +# prestige = { +# value = { +# add = major_prestige_value +# multiply = primary_title.tier +# } +# } +# } + +# ai_check_interval_by_tier = { +# barony = 0 +# county = 180 +# duchy = 180 +# kingdom = 180 +# empire = 180 +# hegemony = 0 +# } + +# effect = { +# save_scope_value_as = { +# name = gg_change_reason +# value = flag:decision +# } +# if = { +# limit = { is_guelph_trigger = yes } +# gg_change_side_to_ghibelline_effect = { REASON = scope:gg_change_reason } +# } +# else = { +# gg_change_side_to_guelph_effect = { REASON = scope:gg_change_reason } +# } +# gg_involvement_decision_effect = yes +# } + +# ai_potential = { +# OR = { +# AND = { +# is_ghibelline_trigger = yes +# situation:guelph_ghibelline ?= { +# any_situation_participant = { +# is_ghibelline_leader_trigger = yes +# has_relation_rival = root +# } +# } +# situation_ghibelline_group_score < situation_guelph_group_score +# } +# AND = { +# is_guelph_trigger = yes +# situation:guelph_ghibelline ?= { +# any_situation_participant = { +# is_guelph_leader_trigger = yes +# has_relation_rival = root +# } +# } +# situation_guelph_group_score < situation_ghibelline_group_score +# } +# } + +# } + +# ai_will_do = { +# base = 20 +# modifier = { +# has_trait = disloyal +# add = 10 +# } +# modifier = { +# has_trait = loyal +# add = -10 +# } +# } +# } + +# step_down_as_guelph_ghibelline_leader_decision = { +# decision_group_type = guelph_ghibelline +# desc = step_down_as_guelph_ghibelline_leader_decision_desc +# selection_tooltip = step_down_as_guelph_ghibelline_leader_decision_tooltip +# picture = { +# reference = "gfx/interface/illustrations/decisions/decision_castle_view.dds" +# } +# is_invisible = yes + +# sort_order = 20 + +# is_shown = { +# has_gdp_dlc_trigger = yes +# top_participant_group:guelph_ghibelline ?= { +# OR = { +# participant_group_type = guelph_leader +# participant_group_type = ghibelline_leader +# } +# } +# } + +# is_valid_showing_failures_only = { +# is_adult = yes +# is_at_war = no +# custom_tooltip = { +# text = not_gg_in_prelude_phase_tt +# gg_phase_is_pre_gg_trigger = no +# } +# situation:guelph_ghibelline ?= { +# trigger_if = { +# limit = { +# root = { is_guelph_leader_trigger = yes } +# } +# situation_participant_group:guelph_member = { +# any_situation_group_participant = { is_suitable_gg_leader_trigger = yes } +# } +# } +# trigger_else = { +# situation_participant_group:ghibelline_member = { +# any_situation_group_participant = { is_suitable_gg_leader_trigger = yes } +# } +# } +# } +# } + +# cost = { +# prestige = { +# value = { +# add = major_prestige_value +# multiply = situation_guelph_ghibelline_score_diff_factor +# if = { +# limit = { primary_title.tier <= tier_county } +# multiply = 0.2 +# } +# } +# } +# } + +# effect = { +# custom_tooltip = { +# text = new_gg_leader_tt +# if = { +# limit = { is_guelph_trigger = yes } +# remove_variable = guelph_leader +# situation:guelph_ghibelline = { +# situation_participant_group:guelph_member = { +# ordered_situation_group_participant = { +# limit = { is_suitable_gg_leader_trigger = yes } +# order_by = primary_title.tier +# save_scope_as = new_gg_leader +# set_variable = guelph_leader +# recalculate_participant_group = situation:guelph_ghibelline +# } +# } +# } +# set_variable = { +# name = stepped_down_gg_leader +# value = flag:guelph +# years = 20 +# } +# } +# else = { +# remove_variable = ghibelline_leader +# situation:guelph_ghibelline = { +# situation_participant_group:ghibelline_member = { +# ordered_situation_group_participant = { +# limit = { is_suitable_gg_leader_trigger = yes } +# order_by = primary_title.tier +# save_scope_as = new_gg_leader +# set_variable = ghibelline_leader +# recalculate_participant_group = situation:guelph_ghibelline +# } +# } +# } +# set_variable = { +# name = stepped_down_gg_leader +# value = flag:ghibelline +# years = 20 +# } +# } +# } +# custom_tooltip = { +# text = step_down_to_member_tt +# recalculate_participant_group = situation:guelph_ghibelline +# } +# } + +# ai_check_interval_by_tier = { +# barony = 0 +# county = 36 +# duchy = 0 +# kingdom = 0 +# empire = 0 +# hegemony = 0 +# } + +# ai_potential = { +# top_participant_group:guelph_ghibelline ?= { +# OR = { +# participant_group_type = guelph_leader +# participant_group_type = ghibelline_leader +# } +# } +# is_landed = no +# primary_title.tier <= tier_county +# any_held_title = { +# NOR = { +# this = title:k_papal_state +# this = title:e_hre +# } +# } +# has_gdp_dlc_trigger = yes +# } + +# ai_will_do = { +# base = 0 +# modifier = { +# is_landed = no +# add = 100 +# } +# modifier = { +# primary_title.tier <= tier_county +# add = 100 +# } +# } +# } + +# pick_a_guelph_ghibelline_side_decision = { +# decision_group_type = guelph_ghibelline +# desc = pick_a_guelph_ghibelline_side_decision_desc +# selection_tooltip = pick_a_guelph_ghibelline_side_decision_tooltip +# picture = { +# reference = "gfx/interface/illustrations/decisions/ep3_cerimonial_decision.dds" +# } +# is_invisible = yes + +# sort_order = 20 + +# is_shown = { +# has_gdp_dlc_trigger = yes +# top_participant_group:guelph_ghibelline ?= { participant_group_type = undecided } +# } + +# is_valid_showing_failures_only = { +# is_adult = yes +# is_at_war = no +# } + +# ai_check_interval_by_tier = { +# barony = 180 +# county = 180 +# duchy = 180 +# kingdom = 180 +# empire = 180 +# hegemony = 180 +# } + +# widget = { +# gui = "decision_view_widget_option_list_generic" +# controller = decision_option_list_controller +# decision_to_second_step_button = "SELECT_SIDE" +# show_from_start = yes +# #Guelphs +# item = { +# value = guelph_side +# is_shown = {} +# is_valid = { +# custom_tooltip = { +# text = not_former_guelph_tt +# NOT = { has_character_modifier = left_guelphs_modifier } +# } +# } +# localization = pick_a_guelph_ghibelline_side_decision_option_guelph +# icon = "gfx/interface/icons/situations/guelph_ghibelline/guelph_icon.dds" +# ai_chance = { +# value = 100 +# if = { +# limit = { government_has_flag = government_is_theocracy } +# add = 50 +# } +# if = { +# limit = { +# is_independent_ruler = no +# liege ?= { is_ghibelline_trigger = yes } +# } +# multiply = 0 +# } +# } +# } +# #Ghibellines +# item = { +# value = ghibelline_side +# is_shown = {} +# is_valid = { +# custom_tooltip = { +# text = not_former_ghibelline_tt +# NOT = { has_character_modifier = left_ghibellines_modifier } +# } +# custom_tooltip = { +# text = is_in_lombard_league_tt +# NOT = { confederation.confederation_type ?= confederation_type:lombard_league } +# } +# } +# localization = pick_a_guelph_ghibelline_side_decision_option_ghibelline +# icon = "gfx/interface/icons/situations/guelph_ghibelline/ghibelline_icon.dds" +# ai_chance = { +# value = 100 +# if = { +# limit = { +# NOT = { government_has_flag = government_is_theocracy } +# } +# add = 50 +# } +# if = { +# limit = { +# is_independent_ruler = no +# liege ?= { is_guelph_trigger = yes } +# } +# multiply = 0 +# } +# } +# } +# } + +# effect = { +# save_scope_value_as = { +# name = gg_change_reason +# value = flag:decision +# } +# if = { +# limit = { scope:guelph_side = yes } +# gg_change_side_to_guelph_effect = { REASON = scope:gg_change_reason } +# } +# else = { +# gg_change_side_to_ghibelline_effect = { REASON = scope:gg_change_reason } +# } +# gg_involvement_decision_effect = yes +# } + +# ai_potential = { +# is_gg_undecided_trigger = yes +# } + +# ai_will_do = { +# base = 50 +# modifier = { +# has_trait = lazy +# add = -50 +# } +# modifier = { +# has_trait = craven +# add = -50 +# } +# } + +# } + +# #Ending decision/s +# guelph_victory_decision = { +# decision_group_type = guelph_ghibelline +# desc = guelph_victory_decision_desc +# selection_tooltip = guelph_ghibelline_victory_decision_tooltip +# picture = { +# reference = "gfx/interface/illustrations/decisions/decision_pam.dds" +# } +# extra_picture = "gfx/interface/illustrations/struggle_decision_buttons/gdp_guelph_victory.dds" +# is_invisible = yes + +# sort_order = 20 + +# is_shown = { +# has_gdp_dlc_trigger = yes +# } + +# is_valid = { +# is_adult = yes +# is_at_war = no +# situation:guelph_ghibelline ?= { +# custom_tooltip = { +# text = is_guelph_advantage_tt +# situation_current_phase = guelph_advantage +# } +# } +# custom_tooltip = { +# text = is_guelph_leader_tt +# is_guelph_leader_trigger = yes +# } +# custom_tooltip = { +# text = guelph_leader_has_involvement_tt +# has_variable = gg_involvement +# var:gg_involvement >= gg_involvement_minimum_victory_value +# } +# } + +# is_valid_showing_failures_only = { +# custom_tooltip = { +# text = guelphs_are_winning_tt +# NOT = { exists = global_var:processing_guelph_win } +# } +# } + +# cost = { +# prestige = { +# value = { +# add = monumental_prestige_value +# multiply = situation_ghibelline_score_factor +# #The AI spends Prestige too freely to ever save for this, so Involvement alone gates it +# if = { +# limit = { is_ai = yes } +# multiply = 0 +# } +# round_to = 10 +# } +# } +# } + +# ai_check_interval_by_tier = { +# barony = 0 +# county = 0 +# duchy = 180 +# kingdom = 180 +# empire = 180 +# hegemony = 180 +# } + +# effect = { +# show_as_tooltip = { gg_guelph_situation_victory_effect = yes } +# save_scope_as = guelph_win +# #Please don't press the button again while processing... +# set_global_variable = { +# name = processing_guelph_win +# value = root +# days = 3 +# } +# # Trigger a player-facing event +# trigger_event = gdp_guelph_ghibelline.9000 +# situation:guelph_ghibelline = { +# #Notify players about what happened +# every_situation_participant = { +# limit = { +# is_ai = no +# this != root +# } +# trigger_event = gdp_guelph_ghibelline.9010 +# } +# } +# } + +# ai_potential = { +# is_guelph_leader_trigger = yes +# } + +# ai_will_do = { +# base = 200 +# modifier = { +# has_trait = ambitious +# add = 50 +# } +# modifier = { +# exists = var:gg_involvement +# var:gg_involvement >= gg_involvement_massive_value +# add = 100 +# } +# modifier = { +# exists = var:gg_involvement +# var:gg_involvement >= gg_involvement_omega_value +# add = 100 +# } +# modifier = { +# exists = var:gg_involvement +# var:gg_involvement >= gg_involvement_capped_value +# add = 100 +# } +# modifier = { +# exists = var:gg_involvement +# var:gg_involvement < gg_involvement_massive_value +# add = -100 +# } +# modifier = { +# exists = var:gg_involvement +# var:gg_involvement < gg_involvement_major_value +# factor = 0 +# } +# } +# } + +# ghibelline_victory_decision = { +# decision_group_type = guelph_ghibelline +# desc = ghibelline_victory_decision_desc +# selection_tooltip = guelph_ghibelline_victory_decision_tooltip +# picture = { +# reference = "gfx/interface/illustrations/decisions/decision_legitimacy_02.dds" +# } +# extra_picture = "gfx/interface/illustrations/struggle_decision_buttons/gdp_ghibelline_victory.dds" +# is_invisible = yes + +# sort_order = 20 + +# is_shown = { +# has_gdp_dlc_trigger = yes +# } + +# is_valid = { +# is_adult = yes +# is_at_war = no +# situation:guelph_ghibelline ?= { +# custom_tooltip = { +# text = is_ghibelline_advantage_tt +# situation_current_phase = ghibelline_advantage +# } +# } +# custom_tooltip = { +# text = is_ghibelline_leader_tt +# is_ghibelline_leader_trigger = yes +# } +# custom_tooltip = { +# text = ghibelline_leader_has_involvement_tt +# situation:guelph_ghibelline ?= { +# any_situation_participant = { +# has_variable = ghibelline_leader +# has_variable = gg_involvement +# var:gg_involvement >= gg_involvement_minimum_victory_value +# } +# } +# } +# } + +# is_valid_showing_failures_only = { +# custom_tooltip = { +# text = ghibelline_are_winning_tt +# NOT = { exists = global_var:processing_ghibelline_win } +# } +# } + +# cost = { +# prestige = { +# value = { +# add = monumental_prestige_value +# multiply = situation_guelph_score_factor +# if = { +# limit = { is_ai = yes } +# multiply = 0 +# } +# round_to = 10 +# } +# } +# } + +# ai_check_interval_by_tier = { +# barony = 0 +# county = 0 +# duchy = 180 +# kingdom = 180 +# empire = 180 +# hegemony = 180 +# } + +# effect = { +# show_as_tooltip = { gg_ghibelline_situation_victory_effect = yes } +# save_scope_as = ghibelline_win +# #Please don't press the button again while processing... +# set_global_variable = { +# name = processing_ghibelline_win +# value = root +# days = 3 +# } +# # Trigger a player-facing event +# trigger_event = gdp_guelph_ghibelline.9000 +# situation:guelph_ghibelline = { +# #Notify players about what happened +# every_situation_participant = { +# limit = { +# is_ai = no +# this != root +# } +# trigger_event = gdp_guelph_ghibelline.9010 +# } +# } +# } + +# ai_potential = { +# is_ghibelline_leader_trigger = yes +# } + +# ai_will_do = { +# base = 200 +# modifier = { +# has_trait = ambitious +# add = 50 +# } +# modifier = { +# exists = var:gg_involvement +# var:gg_involvement >= gg_involvement_massive_value +# add = 100 +# } +# modifier = { +# exists = var:gg_involvement +# var:gg_involvement >= gg_involvement_omega_value +# add = 100 +# } +# modifier = { +# exists = var:gg_involvement +# var:gg_involvement >= gg_involvement_capped_value +# add = 100 +# } +# modifier = { +# exists = var:gg_involvement +# var:gg_involvement < gg_involvement_massive_value +# add = -100 +# } +# modifier = { +# exists = var:gg_involvement +# var:gg_involvement < gg_involvement_major_value +# factor = 0 +# } +# } +# } + +# form_lombard_league_decision = { +# decision_group_type = guelph_ghibelline +# desc = form_lombard_league_decision_desc +# selection_tooltip = form_lombard_league_decision_tooltip +# picture = { reference = "gfx/interface/illustrations/decisions/decision_realm.dds" } +# is_invisible = yes + +# sort_order = 20 + +# is_shown = { +# has_gdp_dlc_trigger = yes +# gg_phase_is_pre_gg_trigger = no +# situation:guelph_ghibelline ?= { +# any_situation_participant = { this = root } +# } +# has_lombard_league_title_trigger = yes +# #There can only be one +# custom_tooltip = { +# text = lombard_league_never_existed.tt +# NOR = { +# has_global_variable = lombard_league_created +# any_confederation = { confederation_type = confederation_type:lombard_league } +# } +# } +# #The Kaiser needs to exist and be the leader +# custom_tooltip = { +# text = ghibelline_leader_is_hre_kaiser.tt +# situation:guelph_ghibelline ?= { +# any_situation_participant = { +# has_variable = ghibelline_leader +# primary_title = title:e_hre +# } +# } +# } +# NOT = { +# confederation.confederation_type ?= confederation_type:lombard_league +# } +# is_ai = no +# } + +# is_valid_showing_failures_only = { +# is_adult = yes +# is_at_war = no +# custom_tooltip = { +# text = not_be_ghibelline_tt +# is_ghibelline_trigger = no +# } +# #Ghibellines need to have at least 40% +# situation_ghibelline_score_percentage >= 40 +# } + +# cost = { +# gold = major_gold_value +# } + +# effect = { +# if = { +# limit = { +# any_held_title = { this = title:k_venice } +# } +# save_lombard_league_creator_scopes_effect = { FLAG = flag:venice } +# } +# else_if = { +# limit = { +# any_held_title = { this = title:c_verona } +# } +# save_lombard_league_creator_scopes_effect = { FLAG = flag:verona } +# } +# else_if = { +# limit = { +# any_held_title = { this = title:c_padua } +# } +# save_lombard_league_creator_scopes_effect = { FLAG = flag:padua } +# } +# else_if = { +# limit = { +# any_held_title = { this = title:c_treviso } +# } +# save_lombard_league_creator_scopes_effect = { FLAG = flag:treviso } +# } +# else_if = { +# limit = { +# any_held_title = { this = title:c_bologna } +# } +# save_lombard_league_creator_scopes_effect = { FLAG = flag:bologna } +# } +# else_if = { +# limit = { +# any_held_title = { this = title:c_ferrara } +# } +# save_lombard_league_creator_scopes_effect = { FLAG = flag:ferrara } +# } +# else_if = { +# limit = { +# any_held_title = { this = title:c_modena } +# } +# save_lombard_league_creator_scopes_effect = { FLAG = flag:modena } +# } +# else_if = { +# limit = { +# any_held_title = { this = title:c_mantua } +# } +# save_lombard_league_creator_scopes_effect = { FLAG = flag:mantua } +# } +# else_if = { +# limit = { +# any_held_title = { this = title:c_cremona } +# } +# save_lombard_league_creator_scopes_effect = { FLAG = flag:cremona } +# } +# else_if = { +# limit = { +# any_held_title = { this = title:c_novara } +# } +# save_lombard_league_creator_scopes_effect = { FLAG = flag:novara } +# } +# else_if = { +# limit = { +# any_held_title = { this = title:c_piacenza } +# } +# save_lombard_league_creator_scopes_effect = { FLAG = flag:piacenza } +# } +# else_if = { +# limit = { +# any_held_title = { this = title:c_parma } +# } +# save_lombard_league_creator_scopes_effect = { FLAG = flag:parma } +# } +# else_if = { +# limit = { +# any_held_title = { this = title:c_genoa } +# } +# save_lombard_league_creator_scopes_effect = { FLAG = flag:genoa } +# } +# show_as_tooltip = { +# add_character_modifier = lombard_founder_modifier +# #We save the league_creator scope/identifier in the Situation before we call this event +# create_lombard_league_effect = yes +# gg_involvement_decision_effect = yes +# } +# #Yes, this is manual +# display_who_might_join_lombard_league_effect = yes +# trigger_event = gdp_guelph_ghibelline.7000 +# } + +# ai_check_interval = 0 #No AI +# } + +# leave_lombard_league_decision = { +# decision_group_type = guelph_ghibelline +# desc = leave_lombard_league_decision_desc +# selection_tooltip = leave_lombard_league_decision_tooltip +# picture = { reference = "gfx/interface/illustrations/decisions/fractious.dds" } +# is_invisible = yes + +# sort_order = 20 + +# is_shown = { +# confederation.confederation_type ?= confederation_type:lombard_league +# is_ai = no +# } + +# is_valid = { +# custom_tooltip = { +# text = is_in_lombard_league_tt +# confederation.confederation_type ?= confederation_type:lombard_league +# } +# is_at_war = no +# } + +# is_valid_showing_failures_only = { +# is_available = yes +# } + +# cost = { +# prestige = medium_prestige_value +# } + +# effect = { +# set_variable = { +# name = left_lombard_league +# years = 5 +# } +# confederation = { +# every_confederation_member = { +# limit = { +# this != root +# is_ai = yes +# } +# add_to_list = confederation_members +# } +# #Your confederation will survive, it has more members +# if = { +# limit = { +# any_confederation_member = { +# count >= 2 +# this != root +# } +# } +# remove_confederation_member = root +# } +# #Your confederation is toast +# else = { +# disband_confederation = yes +# } +# } +# every_in_list = { +# list = confederation_members +# custom = custom.every_lombard_league_member +# add_opinion = { +# modifier = turncoat_opinion +# target = root +# opinion = -20 +# } +# } +# gg_involvement_decision_effect = yes +# } + +# #The AI should only do this if they get invalidated (i.e. turned Ghibelline) so happens automatically +# ai_check_interval = 0 +# } diff --git a/common/decisions/dlc_decisions/gdp/gdp_hanseatic_decisions.txt b/common/decisions/dlc_decisions/gdp/gdp_hanseatic_decisions.txt new file mode 100644 index 000000000..bd662fe98 --- /dev/null +++ b/common/decisions/dlc_decisions/gdp/gdp_hanseatic_decisions.txt @@ -0,0 +1,110 @@ +# NEOW: Hansa founding is intentionally disabled. Vanilla decision retained as comments. +# found_the_hanseatic_league_decision = { +# picture = { +# reference = "gfx/interface/illustrations/decisions/gdp_republic_trade_ships.dds" +# } +# decision_group_type = major +# sort_order = 100 + +# ai_check_interval_by_tier = { +# barony = 0 +# county = 120 +# duchy = 60 +# kingdom = 30 +# empire = 30 +# hegemony = 30 +# } + +# desc = found_the_hanseatic_league_decision_desc +# selection_tooltip = found_the_hanseatic_league_decision_tooltip +# confirm_text = found_the_hanseatic_league_decision_confirm + +# is_shown = { +# confederation ?= { +# confederation_type = confederation_type:trade_league +# has_leading_title = yes +# leading_title = root.primary_title +# NOT = { has_variable = is_hanseatic_league } +# } +# capital_province ?= { geographical_region = hanseatic_trade_region } +# has_gdp_dlc_trigger = yes +# } + +# is_valid_showing_failures_only = { +# is_at_war = no +# custom_tooltip = { +# text = found_the_hanseatic_league_cohesion_tt +# confederation ?= { +# cohesion >= 95 +# } +# } +# custom_tooltip = { +# text = found_the_hanseatic_league_members_tt +# confederation ?= { +# any_confederation_member = { count >= 4 } +# } +# } +# } + +# cost = { +# gold = massive_gold_value +# prestige = massive_prestige_value +# } + +# effect = { +# save_scope_as = hanse_founder +# primary_title = { save_scope_as = hanse_lead_town } + +# confederation = { +# set_variable = is_hanseatic_league +# set_coa = k_hansa + +# if = { +# limit = { +# NOT = { +# any_confederation = { +# has_variable = hanseatic_baltic_identity +# } +# } +# } +# set_variable = hanseatic_baltic_identity +# set_confederation_name = HANSEATIC_LEAGUE_NAME +# } +# else = { +# set_confederation_name = GENERIC_HANSE_NAME +# } +# } + +# hanseatic_elevate_all_members_effect = { LEAGUE = root.confederation } + +# add_prestige = major_prestige_gain + +# add_achievement_global_variable_effect = { +# VARIABLE = ep5_14_league_of_ledgers_achievement_unlocked +# VALUE = yes +# } + +# hanseatic_ask_personal_monopoly_holders_effect = { LEAGUE = root.confederation } + +# every_player = { +# limit = { +# is_member_of_confederation = root.confederation +# } +# send_interface_message = { +# type = event_generic_good_text +# title = found_the_hanseatic_league_message_title +# desc = found_the_hanseatic_league_message_desc +# left_icon = root +# } +# } +# } + +# ai_potential = { +# is_ai = yes +# is_ruler = yes +# } + +# ai_will_do = { +# base = 100 +# } +# } diff --git a/common/decisions/dlc_decisions/gdp/gdp_republic_decisions.txt b/common/decisions/dlc_decisions/gdp/gdp_republic_decisions.txt new file mode 100644 index 000000000..2eb063b02 --- /dev/null +++ b/common/decisions/dlc_decisions/gdp/gdp_republic_decisions.txt @@ -0,0 +1,5856 @@ +###################### +# REPUBLIC DECISIONS # +###################### + +# Adopt Republican Ideals/Adopt Republic Government +gdp_adopt_republic_government_decision = { + title = gdp_adopt_republic_government_decision + desc = gdp_adopt_republic_government_decision_desc + selection_tooltip = gdp_adopt_republic_government_decision_tooltip + picture = { + reference = "gfx/interface/illustrations/event_story/gdp_republican.dds" + } + + sort_order = 40 + decision_group_type = realm + + cost = { + prestige = { + value = monumental_prestige_value + if = { + limit = { primary_title.tier >= tier_kingdom } + multiply = 4 + } + else_if = { + limit = { primary_title.tier = tier_duchy } + multiply = 2 + } + } + gold = { + value = 200 + if = { + limit = { primary_title.tier >= tier_kingdom } + multiply = 8 + } + else_if = { + limit = { primary_title.tier = tier_duchy } + multiply = 4 + } + } + } + + ai_check_interval_by_tier = { + barony = 0 + county = 240 + duchy = 0 + kingdom = 0 + empire = 0 + hegemony = 0 + } + + is_shown = { + gdp_basic_can_adopt_republic_government_trigger = yes + } + + is_valid = { + save_temporary_scope_as = founding_ruler + prestige_level >= 3 + capital_county = { + popular_opinion >= 20 + } + sub_realm_size < 25 # Large realm should just become admin instead + capital_province = { + province_size_level >= 3 + } + OR = { + is_independent_ruler = yes + trigger_if = { + limit = { + has_variable = has_liege_permission_to_found_republic + var:has_liege_permission_to_found_republic = liege + } + custom_tooltip = { + text = liege_has_granted_city_charter_duration + has_variable = has_liege_permission_to_found_republic + var:has_liege_permission_to_found_republic = liege + } + } + trigger_else = { + custom_tooltip = { + text = liege_has_granted_city_charter + has_variable = has_liege_permission_to_found_republic + var:has_liege_permission_to_found_republic = liege + } + } + } + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + at_war = no + imprisoned = no + incapable = no + } + } + + effect = { + show_as_tooltip = { # Actual effect is applied in follow-up event + gdp_found_a_republic_effect = yes + } + trigger_event = republic_event.0001 + } + + ai_potential = { + # AI rulers will only attempt to become republics if their capital is in an acceptable location + capital_province ?= { + geographical_region = world_europe + } + # And is of a culture we would expect to form republics + culture ?= { + OR = { + # German cities + has_cultural_pillar = heritage_central_germanic + # Visby + has_cultural_pillar = heritage_north_germanic + # Italian city states + has_cultural_tradition = tradition_republican_legacy + } + } + } + + ai_will_do = { + base = 100 + } +} + +# Adopt Republican Ways - tribal equivalent of Adopt Feudal Ways +gdp_adopt_republican_ways_decision = { + title = gdp_adopt_republican_ways_decision + desc = gdp_adopt_republican_ways_decision_desc + selection_tooltip = gdp_adopt_republican_ways_decision_tooltip + picture = { + reference = "gfx/interface/illustrations/event_story/gdp_republican.dds" + } + + sort_order = 100 + decision_group_type = major + + cost = { + prestige = 500 + } + + ai_check_interval_by_tier = { + barony = 0 + county = 120 + duchy = 60 + kingdom = 0 + empire = 0 + hegemony = 0 + } + + is_shown = { + has_gdp_dlc_trigger = yes + government_has_flag = government_is_tribal + is_landed = yes + highest_held_title_tier < tier_kingdom + } + + is_valid = { + save_temporary_scope_as = founding_ruler + custom_description = { + text = faith_is_reformed + subject = root + faith = { NOT = { has_doctrine_parameter = unreformed } } + } + prestige_level >= 2 + capital_county = { + popular_opinion >= 20 + } + highest_held_title_tier < tier_kingdom + capital_province.province_size_level >= 3 + custom_description = { #You need to have 70% of all (non-regional/unique) tribal innovations! + text = has_all_tribal_innovations + subject = root.culture + culture = { + calc_true_if = { + amount >= 10 + has_innovation = innovation_motte + has_innovation = innovation_catapult + has_innovation = innovation_barracks + has_innovation = innovation_mustering_grounds + has_innovation = innovation_bannus + has_innovation = innovation_quilted_armor + has_innovation = innovation_pattern_welding + has_innovation = innovation_gavelkind + has_innovation = innovation_crop_rotation + has_innovation = innovation_city_planning + has_innovation = innovation_casus_belli + has_innovation = innovation_plenary_assemblies + has_innovation = innovation_ledger + has_innovation = innovation_prosperity_01 + has_innovation = innovation_currency_01 + } + } + } + OR = { + is_independent_ruler = yes + trigger_if = { + limit = { + has_variable = has_liege_permission_to_found_republic + var:has_liege_permission_to_found_republic = liege + } + custom_tooltip = { + text = liege_has_granted_city_charter_duration + has_variable = has_liege_permission_to_found_republic + var:has_liege_permission_to_found_republic = liege + } + } + trigger_else = { + custom_tooltip = { + text = liege_has_granted_city_charter + has_variable = has_liege_permission_to_found_republic + var:has_liege_permission_to_found_republic = liege + } + } + } + } + + is_valid_showing_failures_only = { + custom_tooltip = { + text = permafrost_feudal_ban + NOT = { culture = { has_cultural_parameter = permafrost_cannot_become_feudal } } + } + is_available_quick = { + adult = yes + at_war = no + imprisoned = no + incapable = no + } + } + + effect = { + show_as_tooltip = { # Actual effect is applied in follow-up event + custom_tooltip = { + text = gdp_tribal_capital_becomes_city_tt + } + custom_tooltip = { + text = gdp_other_tribal_holdings_become_castles_tt + } + if = { + limit = { + any_vassal_or_below = { + government_has_flag = government_is_tribal + } + } + custom_tooltip = { + text = gdp_tribal_vassals_will_feudalize_tt + } + } + if = { + limit = { + any_sub_realm_county = { + OR = { + has_county_modifier = mpo_siberian_permafrost_modifier + has_county_modifier = mpo_siberian_permafrost_modifier_bad + } + } + } + custom_tooltip = { + text = all_permafrost_will_clear + } + } + gdp_found_a_republic_effect = yes + } + trigger_event = republic_event.0002 + } + + ai_potential = { + is_independent_ruler = yes + NOT = { mpo_has_gok_mongol_empire_trigger = yes } + capital_province ?= { + is_coastal = yes + geographical_region = world_europe + } + culture ?= { + OR = { + has_cultural_pillar = heritage_central_germanic + has_cultural_pillar = heritage_north_germanic + has_cultural_pillar = heritage_east_slavic + has_cultural_tradition = tradition_republican_legacy + } + } + } + + ai_will_do = { + base = 100 + } +} + +# Adopt [ROOT.Char.Custom('GetTribalReformGovernment')|U] Ways +convert_to_feudalism_from_republic_decision = { + picture = { + reference = "gfx/interface/illustrations/decisions/decision_realm.dds" + } + decision_group_type = realm + sort_order = 40 + desc = convert_to_feudalism_from_republic_decision_desc + + is_shown = { + government_has_flag = government_is_republic + highest_liege_matching_rule:uses_assembly = this + } + + is_valid = { + is_independent_ruler = yes + has_realm_law = republican_despot_succession_law + prestige_level >= { # Depends on tier + value = primary_title.tier + subtract = 1 + min = 2 + } + } + + cost = { + prestige = 1000 + treasury = { + value = 1000 + culture = { + if = { + limit = { has_cultural_era_or_later = culture_era_late_medieval } + multiply = 1.75 + } + else_if = { + limit = { has_cultural_era_or_later = culture_era_high_medieval } + multiply = 1.25 + } + else_if = { + limit = { has_cultural_era_or_later = culture_era_early_medieval } + multiply = 1 + } + else = { + multiply = 0.75 + } + } + } + } + + effect = { + convert_to_feudalism_from_republic_effect = yes + save_scope_as = actor + trigger_event = ep3_decisions_event.4070 + hidden_effect = { + every_vassal = { + trigger_event = { + id = ep3_decisions_event.4075 + days = 3 + } + } + } + } + + ai_check_interval = 0 + + ai_potential = { + always = no + } +} + +# Restore the Roman Republic +gdp_restore_roman_republic_decision = { + title = gdp_restore_roman_republic_decision + desc = gdp_restore_roman_republic_decision_desc + picture = { + reference = "gfx/interface/illustrations/decisions/ep3_decision_roman_restoration.dds" + } + + sort_order = 105 + decision_group_type = major + + cost = { + } + + is_shown = { + has_gdp_dlc_trigger = yes + government_has_flag = government_is_republic + # Must have a culture that somehow descends from Rome + culture = { + OR = { + has_cultural_tradition = tradition_republican_legacy + has_cultural_pillar = heritage_latin + any_parent_culture_or_above = { this = culture:roman } + has_cultural_pillar = heritage_romanian + has_cultural_pillar = heritage_italian + has_cultural_pillar = heritage_cisalpine + has_cultural_pillar = heritage_sardic + } + } + # You may only restore it once + NOT = { + is_target_in_global_variable_list = { + name = unavailable_unique_decisions + target = flag:flag_restored_roman_republic + } + } + } + + is_valid = { + is_independent_ruler = yes + has_realm_law = republic_tier_empire + prestige_level >= max_prestige_level + completely_controls = title:d_latium + completely_controls = title:d_toscana + completely_controls = title:d_ancona + completely_controls = title:d_spoleto + completely_controls = title:d_napoli + } + + is_valid_showing_failures_only = { + is_landed = yes + is_capable_adult = yes + is_imprisoned = no + NOR = { + exists = title:h_roman_empire.holder + exists = title:h_NEOW_rome.holder + } + } + + effect = { + show_as_tooltip = { # Actual effect is applied in follow-up event + gdp_restore_the_roman_republic_effect = yes + } + if = { + limit = { + capital_county != title:c_roma + } + custom_tooltip = restore_roman_republic_make_rome_capital_desc + } + trigger_event = republic_event.0100 + + hidden_effect = { + add_to_global_variable_list = { + name = unavailable_unique_decisions + target = flag:flag_restored_roman_republic + } + add_achievement_global_variable_effect = { + VARIABLE = ep5_06_senatus_populusque_romanus_achievement_unlocked + VALUE = yes + } + } + } + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 0 + kingdom = 0 + empire = 36 + hegemony = 0 + } + + ai_potential = { + always = yes + } + + ai_will_do = { + base = 100 + } +} + +# Accept Glorification - Once-per-lifetime decision at 100 popular opinion +gdp_glorification_decision = { + title = gdp_glorification_decision + desc = gdp_glorification_decision_desc + selection_tooltip = gdp_glorification_decision_tooltip + picture = { + reference = "gfx/interface/illustrations/decisions/gdp_republic_assembly.dds" + } + + sort_order = 82 + decision_group_type = republic + + cost = { + prestige = 1000 + } + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 240 + kingdom = 120 + empire = 60 + hegemony = 60 + } + + is_shown = { + has_gdp_dlc_trigger = yes + government_has_flag = government_is_republic + NOT = { has_character_flag = gdp_glorification_taken } + capital_county = { + popular_opinion = 100 + } + } + + is_valid = { + capital_county = { + popular_opinion = 100 + } + gdp_is_assembly_head_trigger = yes + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + imprisoned = no + incapable = no + } + } + + effect = { + send_interface_toast = { + type = event_toast_effect_good + title = gdp_glorification_decision_toast + left_icon = root + + add_character_flag = gdp_glorification_taken + capital_county ?= { + add_popular_opinion = -25 + } + add_character_modifier = gdp_glorification_modifier + dynasty = { add_dynasty_prestige = 500 } + save_scope_as = owner + custom_tooltip = gdp_glorification_artifact_tt + hidden_effect_new_object = { + get_artifact_quality_effect = yes + get_artifact_wealth_effect = yes + scope:owner = { + create_artifact = { + name = gdp_glorification_artifact_name + description = gdp_glorification_artifact_desc + creator = scope:owner + visuals = medallion + type = curio + rarity = illustrious + decaying = no + modifier = artifact_placeholder_modifier + save_scope_as = newly_created_artifact + wealth = scope:wealth + quality = scope:quality + } + } + scope:newly_created_artifact = { + add_scaled_artifact_modifier_prestige_effect = yes + add_scaled_artifact_modifier_dynasty_prestige_effect = yes + remove_artifact_modifier = artifact_placeholder_modifier + } + } + } + } + + ai_potential = { + gdp_is_assembly_head_trigger = yes + } + + ai_will_do = { + base = 10 + modifier = { + has_trait = ambitious + add = 20 + } + modifier = { + has_trait = arrogant + add = 10 + } + } +} + +# Solicit Patrician Patronage - Spend popular opinion to receive gold and gifts from patrician families +gdp_popular_gifts_decision = { + title = gdp_popular_gifts_decision + desc = gdp_popular_gifts_decision_desc + selection_tooltip = gdp_popular_gifts_decision_tooltip + picture = { + reference = "gfx/interface/illustrations/decisions/fp3/cooperative.dds" + } + + sort_order = 60 + decision_group_type = republic + + cooldown = { years = 10 } + + cost = { + prestige = 500 + } + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 240 + kingdom = 120 + empire = 60 + hegemony = 60 + } + + is_shown = { + has_gdp_dlc_trigger = yes + government_has_flag = government_is_republic + gdp_is_assembly_head_trigger = yes + capital_county = { + popular_opinion >= 75 + } + } + + is_valid = { + capital_county = { + popular_opinion >= 75 + } + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + imprisoned = no + incapable = no + } + } + + effect = { + send_interface_toast = { + type = event_toast_effect_good + title = gdp_popular_gifts_decision_toast + left_icon = root + + capital_county ?= { + add_popular_opinion = -25 + } + add_gold = { + value = medium_gold_value + min = 50 + } + custom_tooltip = gdp_popular_gifts_artifact_tt + hidden_effect = { + capital_province = { save_scope_as = creature_location } + random_list = { + 33 = { + create_curio_artifact_effect = { + OWNER = root + CREATOR = root + } + scope:new_trinket ?= { + reforge_transferred_artifact_effect = { RECEIVER = root } + } + } + 33 = { + trigger = { + domicile ?= { is_domicile_type = merchant_company } + } + create_creature_artifact_effect = { + OWNER = root + CREATOR = root + } + } + 33 = { + create_library_artifact_effect = { + OWNER = root + CREATOR = root + SUBJECT = flag:no + TOPIC = flag:no + } + scope:newly_created_artifact ?= { + reforge_transferred_artifact_effect = { RECEIVER = root } + } + } + } + } + } + } + + ai_potential = { + gdp_is_assembly_head_trigger = yes + } + + ai_will_do = { + base = 0 + modifier = { + has_trait = greedy + add = 20 + } + modifier = { + has_trait = ambitious + add = 10 + } + modifier = { + gold < minor_gold_value + add = 20 + } + } +} + +# Call for Popular Support - Spend popular opinion to gain extra vote strength in the next election +gdp_popular_mandate_decision = { + title = gdp_popular_mandate_decision + desc = gdp_popular_mandate_decision_desc + selection_tooltip = gdp_popular_mandate_decision_tooltip + picture = { + reference = "gfx/interface/illustrations/decisions/fp3/concerted.dds" + } + + sort_order = 55 + decision_group_type = republic + + cooldown = { years = 10 } + + cost = { + prestige = 500 + } + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 240 + kingdom = 120 + empire = 60 + hegemony = 60 + } + + is_shown = { + has_gdp_dlc_trigger = yes + government_has_flag = government_is_republic + gdp_is_assembly_head_trigger = yes + capital_county = { + popular_opinion >= 50 + } + } + + is_valid = { + trigger_if = { + limit = { + NOT = { is_decision_on_cooldown = gdp_popular_mandate_decision } + } + custom_tooltip = { + text = gdp_popular_mandate_no_active_mandate_desc + NOT = { has_character_modifier = gdp_popular_mandate_modifier } + } + } + capital_county = { + popular_opinion >= 50 + } + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + imprisoned = no + incapable = no + } + } + + effect = { + send_interface_toast = { + type = event_toast_effect_good + title = gdp_popular_mandate_decision_toast + left_icon = root + + capital_county ?= { + add_popular_opinion = -25 + } + add_character_modifier = gdp_popular_mandate_modifier + } + } + + ai_potential = { + gdp_is_assembly_head_trigger = yes + } + + ai_will_do = { + base = 0 + modifier = { + has_trait = ambitious + add = 20 + } + modifier = { + has_trait = greedy + add = 10 + } + modifier = { + capital_county = { + popular_opinion > 75 + } + add = 10 + } + } +} + +# Direct Civic Labor - Spend popular opinion to gain domicile construction bonuses +gdp_civic_labor_decision = { + title = gdp_civic_labor_decision + desc = gdp_civic_labor_decision_desc + selection_tooltip = gdp_civic_labor_decision_tooltip + picture = { + reference = "gfx/interface/illustrations/decisions/fp3/fractious.dds" + } + + sort_order = 50 + decision_group_type = republic + + cooldown = { years = 10 } + + cost = { + prestige = 500 + } + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 240 + kingdom = 120 + empire = 60 + hegemony = 60 + } + + is_shown = { + has_gdp_dlc_trigger = yes + government_has_flag = government_is_republic + gdp_is_assembly_head_trigger = yes + capital_county = { + popular_opinion >= 25 + } + } + + is_valid = { + capital_county = { + popular_opinion >= 25 + } + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + imprisoned = no + incapable = no + } + } + + effect = { + send_interface_toast = { + type = event_toast_effect_good + title = gdp_civic_labor_decision_toast + left_icon = root + + capital_county ?= { + add_popular_opinion = -25 + } + add_character_modifier = { + modifier = gdp_civic_labor_modifier + years = 10 + } + } + } + + ai_potential = { + gdp_is_assembly_head_trigger = yes + } + + ai_will_do = { + base = 0 + modifier = { + has_trait = diligent + add = 15 + } + modifier = { + has_trait = ambitious + add = 10 + } + modifier = { + capital_county = { + popular_opinion > 50 + } + add = 10 + } + } +} + +### Debase the Coinage ### +debase_the_coinage_decision = { + picture = { + reference = "gfx/interface/illustrations/decisions/decision_spend_money.dds" + } + desc = debase_the_coinage_decision_desc + selection_tooltip = debase_the_coinage_decision_tooltip + decision_group_type = major + + cooldown = { years = 10 } + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 0 + kingdom = 60 + empire = 24 + hegemony = 24 + } + + is_shown = { + is_independent_ruler = yes + is_landed = yes + highest_held_title_tier >= tier_kingdom + NOT = { + government_has_flag = government_is_nomadic + } + OR = { + AND = { + NOT = { + government_has_flag = government_has_treasury + } + debt_level >= 1 + } + AND = { + government_has_flag = government_has_treasury + treasury_debt_level >= 1 + } + } + has_gdp_dlc_trigger = yes + } + + is_valid = { + + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + imprisoned = no + incapable = no + } + } + + cost = { + prestige = massive_prestige_value + } + + effect = { + add_treasury_or_gold = { + value = 0 + every_sub_realm_county = { + add = { + value = 0.37 + if = { + limit = { + prosperity_level > 0 + } + multiply = prosperity_level + } + divide = { + value = root.realm_size + divide = 50 + min = 1 + } + } + } + add = 215 + min = 250 + max = 1500 + } + + every_sub_realm_county = { + custom = debase_the_coinage_decision_county_custom + + change_prosperity_level = -10 + add_county_modifier = { + modifier = debase_coinage_county_modifier + years = 20 + } + } + + add_character_modifier = { + modifier = debase_coinage_ruler_modifier + years = 20 + } + + stress_impact = { + just = major_stress_impact_gain + content = minor_stress_impact_gain + diligent = minor_stress_impact_gain + } + } + + ai_potential = { + is_independent_ruler = yes + highest_held_title_tier >= tier_kingdom + OR = { + AND = { + NOT = { + government_has_flag = government_has_treasury + } + debt_level >= 3 + } + AND = { + government_has_flag = government_has_treasury + treasury_debt_level >= 3 + } + } + NOT = { + any_vassal_or_below = { + is_ai = no # don't economically devastate the vassal player + } + } + } + + ai_will_do = { + base = -20 + modifier = { + add = { + value = 5 + multiply = debt_level + } + } + modifier = { + treasury_debt_level > debt_level + add = { + value = 8 + multiply = treasury_debt_level + } + } + modifier = { + has_trait = greedy + add = 8 + } + modifier = { + has_trait = deceitful + add = 6 + } + modifier = { + has_trait = callous + add = 5 + } + modifier = { + has_trait = arbitrary + add = 4 + } + modifier = { + has_trait = ambitious + add = 4 + } + modifier = { + has_trait = paranoid + add = 3 + } + modifier = { + has_trait = wrathful + add = 2 + } + modifier = { + has_trait = just + add = -12 + } + modifier = { + has_trait = honest + add = -10 + } + modifier = { + has_trait = shrewd + add = -8 + } + modifier = { + has_trait = generous + add = -6 + } + modifier = { + has_trait = compassionate + add = -5 + } + modifier = { + has_trait = content + add = -4 + } + modifier = { + has_trait = diligent + add = -3 + } + modifier = { + stewardship >= 14 + add = -8 + } + modifier = { + stewardship >= 10 + stewardship < 14 + add = -4 + } + modifier = { + stewardship <= 4 + add = 4 + } + } +} + +gdp_banishment_approval_decree_decision = { + title = { + first_valid = { + triggered_desc = { + trigger = { gdp_has_valid_indicted_character_trigger = yes } + desc = gdp_banishment_approval_decree_decision_named + } + desc = gdp_banishment_approval_decree_decision + } + } + desc = gdp_banishment_approval_decree_decision_desc + selection_tooltip = gdp_banishment_approval_decree_decision_tooltip + picture = { + reference = "gfx/interface/illustrations/decisions/gdp_republic_assembly.dds" + } + + sort_order = 20 + decision_group_type = republic_decree + is_invisible = yes + + cooldown = { years = 5 } + + cost = { + prestige = total_republic_decree_prestige_cost + } + + is_shown = { + government_has_flag = government_is_republic + has_realm_law_flag = republic_banishment_approval_required + has_gdp_dlc_trigger = yes + } + + is_valid_showing_failures_only = { + gdp_is_assembly_head_trigger = yes + is_available_quick = { + adult = yes + imprisoned = no + incapable = no + } + gdp_has_valid_indicted_character_trigger = yes + trigger_if = { + limit = { + var:gdp_indicted_character ?= { is_alive = yes } + } + custom_tooltip = { + text = gained_assembly_approval_banishment_desc + NOT = { var:has_assembly_approval_banishment ?= var:gdp_indicted_character } + } + } + # If assembly approval is required, we'll make sure that we are allowed to pass decrees + gdp_assembly_can_pass_decrees_trigger = yes + } + + effect = { + if = { + limit = { + var:gdp_indicted_character ?= { is_alive = yes } + } + var:gdp_indicted_character = { save_scope_as = indicted_character } + custom_tooltip = { + text = gdp_banishment_approval_decree_decision_effect_desc + set_variable = { + name = has_assembly_approval_banishment + value = scope:indicted_character + } + } + } + else = { + custom_tooltip = gdp_banishment_approval_decree_decision_effect_no_indicted_desc + } + gdp_consume_republic_assembly_preparation_effect = yes + gdp_enacted_decree_effect = yes + } + + requires_approve = { always = yes } + + ai_approval = { + value = 0 + if = { + limit = { + liege ?= { + this != root + is_target_in_variable_list = { + name = decree_approvers + target = root + } + } + } + add = { + value = 100 + desc = decree_pledged_support_desc + } + add = ai_decree_approval_indicted_pledged_kin_value + } + else = { + add = republic_assembly_preparation_approval_value + add = republic_caucus_room_approval_value + add = { + value = ai_decree_approval_opinion_value + multiply = 0.25 + desc = DECREE_OPINION_DESC + } + add = { + value = -10 + desc = LAW_BASE_RELUCTANCE_DESC + } + add = ai_decree_approval_punitive_reluctance_value + add = ai_decree_approval_indicted_character_value + add = ai_decree_approval_indicted_grounds_value + } + add = ai_decree_approval_indicted_kin_value + } + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 12 + kingdom = 12 + empire = 12 + hegemony = 12 + } + + ai_potential = { + gdp_is_assembly_head_trigger = yes + prestige >= total_republic_decree_prestige_cost + var:gdp_indicted_character ?= { + imprisoner ?= root + root = { has_banish_reason = prev } + save_temporary_scope_as = indicted_character + } + NOT = { gdp_has_any_punitive_approval_for_trigger = { TARGET = scope:indicted_character } } + } + + ai_will_do = { + base = 0 + modifier = { + var:gdp_indicted_character = { + OR = { + has_relation_rival = root + has_relation_nemesis = root + } + } + add = 25 + } + modifier = { + var:gdp_indicted_character = { save_temporary_scope_as = indicted_character } + house_has_feud_relation_with_trigger = { TARGET = scope:indicted_character } + add = 20 + } + modifier = { + OR = { + gg_first_and_second_are_opposite_sides_trigger = { FIRST = root SECOND = var:gdp_indicted_character } + gg_target_house_head_is_opposite_side_trigger = { + ACTOR = root + TARGET = var:gdp_indicted_character + } + } + add = 20 + } + modifier = { + var:gdp_indicted_character = { has_claim_on = root.primary_title } + add = 15 + } + modifier = { + OR = { + has_trait = ambitious + has_trait = wrathful + has_trait = vengeful + has_trait = callous + has_trait = arbitrary + } + add = 20 + } + modifier = { + has_trait = just + add = 10 + } + modifier = { + OR = { + has_trait = compassionate + has_trait = forgiving + } + add = -25 + } + modifier = { + gdp_is_republican_despot_or_supporter_trigger = yes + add = 20 + } + modifier = { + gdp_character_in_democratic_republic_trigger = yes + add = 10 + } + modifier = { + house ?= { has_house_aspiration_parameter = republic_signorial } + add = 15 + } + modifier = { + house ?= { has_house_aspiration_parameter = republic_agitation } + add = 10 + } + modifier = { + house ?= { has_house_aspiration_parameter = republic_communal } + add = -15 + } + modifier = { + var:gdp_indicted_character = { + OR = { + is_close_family_of = root + is_spouse_of = root + } + } + factor = 0 + } + } +} + +gdp_proscription_approval_decree_decision = { + title = { + first_valid = { + triggered_desc = { + trigger = { gdp_has_valid_indicted_family_trigger = yes } + desc = gdp_proscription_approval_decree_decision_named + } + desc = gdp_proscription_approval_decree_decision + } + } + desc = gdp_proscription_approval_decree_decision_desc + selection_tooltip = gdp_proscription_approval_decree_decision_tooltip + picture = { + reference = "gfx/interface/illustrations/decisions/gdp_republic_assembly.dds" + } + + sort_order = 20 + decision_group_type = republic_decree + is_invisible = yes + + cooldown = { years = 10 } + + cost = { + prestige = total_republic_proscription_decree_prestige_cost + } + + is_shown = { + government_has_flag = government_is_republic + has_realm_law_flag = republic_banishment_approval_required + has_gdp_dlc_trigger = yes + } + + is_valid_showing_failures_only = { + gdp_is_assembly_head_trigger = yes + is_available_quick = { + adult = yes + imprisoned = no + incapable = no + } + gdp_has_valid_indicted_family_trigger = yes + trigger_if = { + limit = { + var:gdp_indicted_character ?= { is_alive = yes } + } + custom_tooltip = { + text = gained_assembly_approval_proscription_desc + NOT = { var:has_assembly_approval_proscription ?= var:gdp_indicted_character } + } + } + # If assembly approval is required, we'll make sure that we are allowed to pass decrees + gdp_assembly_can_pass_decrees_trigger = yes + } + + effect = { + if = { + limit = { + var:gdp_indicted_character ?= { is_alive = yes } + } + var:gdp_indicted_character = { save_scope_as = indicted_character } + custom_tooltip = { + text = gdp_proscription_approval_decree_decision_effect_desc + set_variable = { + name = has_assembly_approval_proscription + value = scope:indicted_character + } + } + } + else = { + custom_tooltip = gdp_proscription_approval_decree_decision_effect_no_indicted_desc + } + gdp_consume_republic_assembly_preparation_effect = yes + gdp_enacted_decree_effect = yes + } + + requires_approve = { always = yes } + + ai_approval = { + value = 0 + if = { + limit = { + liege ?= { + this != root + is_target_in_variable_list = { + name = decree_approvers + target = root + } + } + } + add = { + value = 100 + desc = decree_pledged_support_desc + } + add = ai_decree_approval_indicted_pledged_kin_value + } + else = { + add = republic_assembly_preparation_approval_value + add = republic_caucus_room_approval_value + add = { + value = ai_decree_approval_opinion_value + multiply = 0.25 + desc = DECREE_OPINION_DESC + } + add = { + value = -20 + desc = LAW_BASE_RELUCTANCE_DESC + } + add = ai_decree_approval_punitive_reluctance_value + add = ai_decree_approval_indicted_character_value + add = ai_decree_approval_proscription_grounds_value + } + add = ai_decree_approval_indicted_kin_value + } + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 12 + kingdom = 12 + empire = 12 + hegemony = 12 + } + + ai_potential = { + gdp_is_assembly_head_trigger = yes + prestige >= total_republic_proscription_decree_prestige_cost + gdp_has_valid_indicted_family_trigger = yes + var:gdp_indicted_character = { save_temporary_scope_as = indicted_character } + gdp_has_proscription_grounds_trigger = { TARGET = scope:indicted_character } + NOT = { gdp_has_any_punitive_approval_for_trigger = { TARGET = scope:indicted_character } } + } + + ai_will_do = { + base = 0 + modifier = { + OR = { + gg_first_and_second_are_opposite_sides_trigger = { FIRST = root SECOND = var:gdp_indicted_character } + gg_target_house_head_is_opposite_side_trigger = { + ACTOR = root + TARGET = var:gdp_indicted_character + } + } + add = 25 + } + modifier = { + var:gdp_indicted_character = { + OR = { + has_relation_rival = root + has_relation_nemesis = root + } + } + add = 25 + } + modifier = { + var:gdp_indicted_character = { save_temporary_scope_as = indicted_character } + house_has_feud_relation_with_trigger = { TARGET = scope:indicted_character } + add = 25 + } + modifier = { + OR = { + has_execute_reason = var:gdp_indicted_character + has_banish_reason = var:gdp_indicted_character + } + add = 15 + } + modifier = { + OR = { + has_trait = ambitious + has_trait = wrathful + has_trait = vengeful + has_trait = callous + has_trait = sadistic + } + add = 20 + } + modifier = { + OR = { + has_trait = compassionate + has_trait = forgiving + has_trait = just + } + add = -30 + } + modifier = { + gdp_is_republican_despot_or_supporter_trigger = yes + add = 20 + } + modifier = { + gdp_character_in_democratic_republic_trigger = yes + add = -20 + } + modifier = { + house ?= { + OR = { + has_house_aspiration_parameter = republic_signorial + has_house_aspiration_parameter = republic_agitation + } + } + add = 15 + } + modifier = { + house ?= { has_house_aspiration_parameter = republic_communal } + add = -20 + } + modifier = { + var:gdp_indicted_character = { + OR = { + is_close_family_of = root + is_spouse_of = root + } + } + factor = 0 + } + } +} + +gdp_execution_approval_decree_decision = { + title = { + first_valid = { + triggered_desc = { + trigger = { gdp_has_valid_indicted_character_trigger = yes } + desc = gdp_execution_approval_decree_decision_named + } + desc = gdp_execution_approval_decree_decision + } + } + desc = gdp_execution_approval_decree_decision_desc + selection_tooltip = gdp_execution_approval_decree_decision_tooltip + picture = { + reference = "gfx/interface/illustrations/decisions/gdp_republic_assembly.dds" + } + + sort_order = 20 + decision_group_type = republic_decree + is_invisible = yes + + cooldown = { years = 5 } + + cost = { + prestige = total_republic_decree_prestige_cost + } + + is_shown = { + government_has_flag = government_is_republic + has_realm_law_flag = republic_execution_approval_required + has_gdp_dlc_trigger = yes + } + + is_valid_showing_failures_only = { + gdp_is_assembly_head_trigger = yes + is_available_quick = { + adult = yes + imprisoned = no + incapable = no + } + gdp_has_valid_indicted_character_trigger = yes + trigger_if = { + limit = { + var:gdp_indicted_character ?= { is_alive = yes } + } + custom_tooltip = { + text = gained_assembly_approval_execution_desc + NOT = { var:has_assembly_approval_execution ?= var:gdp_indicted_character } + } + } + # If assembly approval is required, we'll make sure that we are allowed to pass decrees + gdp_assembly_can_pass_decrees_trigger = yes + } + + effect = { + if = { + limit = { + var:gdp_indicted_character ?= { is_alive = yes } + } + var:gdp_indicted_character = { save_scope_as = indicted_character } + custom_tooltip = { + text = gdp_execution_approval_decree_decision_effect_desc + set_variable = { + name = has_assembly_approval_execution + value = scope:indicted_character + } + } + } + else = { + custom_tooltip = gdp_execution_approval_decree_decision_effect_no_indicted_desc + } + gdp_consume_republic_assembly_preparation_effect = yes + gdp_enacted_decree_effect = yes + } + + requires_approve = { always = yes } + + ai_approval = { + value = 0 + if = { + limit = { + liege ?= { + this != root + is_target_in_variable_list = { + name = decree_approvers + target = root + } + } + } + add = { + value = 100 + desc = decree_pledged_support_desc + } + add = ai_decree_approval_indicted_pledged_kin_value + } + else = { + add = republic_assembly_preparation_approval_value + add = republic_caucus_room_approval_value + add = { + value = ai_decree_approval_opinion_value + multiply = 0.25 + desc = DECREE_OPINION_DESC + } + add = { + value = -20 + desc = LAW_BASE_RELUCTANCE_DESC + } + add = ai_decree_approval_punitive_reluctance_value + add = ai_decree_approval_indicted_character_value + add = ai_decree_approval_indicted_grounds_value + } + add = ai_decree_approval_indicted_kin_value + } + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 12 + kingdom = 12 + empire = 12 + hegemony = 12 + } + + ai_potential = { + gdp_is_assembly_head_trigger = yes + prestige >= total_republic_decree_prestige_cost + var:gdp_indicted_character ?= { + is_imprisoned_by = root + root = { has_execute_reason = prev } + save_temporary_scope_as = indicted_character + } + NOT = { gdp_has_any_punitive_approval_for_trigger = { TARGET = scope:indicted_character } } + } + + ai_will_do = { + base = 0 + modifier = { + var:gdp_indicted_character = { + OR = { + has_relation_rival = root + has_relation_nemesis = root + } + } + add = 30 + } + modifier = { + var:gdp_indicted_character = { save_temporary_scope_as = indicted_character } + house_has_feud_relation_with_trigger = { TARGET = scope:indicted_character } + add = 20 + } + modifier = { + OR = { + gg_first_and_second_are_opposite_sides_trigger = { FIRST = root SECOND = var:gdp_indicted_character } + gg_target_house_head_is_opposite_side_trigger = { + ACTOR = root + TARGET = var:gdp_indicted_character + } + } + add = 20 + } + modifier = { + var:gdp_indicted_character = { has_claim_on = root.primary_title } + add = 15 + } + modifier = { + OR = { + has_trait = sadistic + has_trait = vengeful + has_trait = wrathful + has_trait = callous + has_trait = lunatic + } + add = 25 + } + modifier = { + has_trait = ambitious + add = 10 + } + modifier = { + OR = { + has_trait = compassionate + has_trait = forgiving + } + add = -30 + } + modifier = { + has_trait = just + add = -10 + } + modifier = { + gdp_is_republican_despot_or_supporter_trigger = yes + add = 20 + } + modifier = { + gdp_character_in_democratic_republic_trigger = yes + add = -20 + } + modifier = { + house ?= { has_house_aspiration_parameter = republic_signorial } + add = 15 + } + modifier = { + house ?= { has_house_aspiration_parameter = republic_agitation } + add = 15 + } + modifier = { + house ?= { has_house_aspiration_parameter = republic_communal } + add = -20 + } + modifier = { + var:gdp_indicted_character = { + OR = { + is_adult = no + is_close_family_of = root + is_spouse_of = root + } + } + factor = 0 + } + } +} + +# Overthrow Republican Government +gdp_overthrow_government_decision = { + title = gdp_overthrow_government_decision + desc = gdp_overthrow_government_decision_desc + selection_tooltip = gdp_overthrow_government_decision_tooltip + picture = { + reference = "gfx/interface/illustrations/decisions/fractious.dds" + } + + sort_order = 85 + decision_group_type = republic + is_invisible = no + + cooldown = { years = 15 } + + cost = { + gold = { + value = major_gold_value + } + prestige = { + value = major_prestige_value + } + } + + is_shown = { + # You are a republic + government_has_flag = government_is_republic + liege != root + has_gdp_dlc_trigger = yes + } + + is_valid = { + is_landless_ruler = yes + custom_description = { + text = has_patrician_rating_threshold_desc + object = root + value = gdp_patrician_house_score_threshold_3_value + house ?= { + house_power_score >= gdp_patrician_house_score_threshold_3_value + } + } + prestige_level >= 3 + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + at_war = no + imprisoned = no + incapable = no + } + } + + widget = { + gui = "decision_view_widget_generic_multichoice_with_effects" + controller = decision_option_list_controller + decision_to_second_step_button = "SELECT_ACTION" + show_from_start = yes + + item = { # Balanced + value = agent_focus_balance + current_description = overthrow_government_interaction.tt.agent_focus_balance + localization = gdp_overthrow_agent_focus_balance + icon = "gfx/interface/icons/schemes/icon_balanced_approach.dds" + ai_chance = { value = 10 } + } + item = { # Success + value = agent_focus_success + current_description = overthrow_government_interaction.tt.agent_focus_success + localization = gdp_overthrow_agent_focus_success + icon = "gfx/interface/icons/schemes/icon_scheme_success.dds" + ai_chance = { value = 10 } + } + item = { # Speed + value = agent_focus_speed + current_description = overthrow_government_interaction.tt.agent_focus_speed + localization = gdp_overthrow_agent_focus_speed + icon = "gfx/interface/icons/schemes/icon_scheme_speed.dds" + ai_chance = { value = 10 } + } + item = { # Secrecy + value = agent_focus_secrecy + current_description = overthrow_government_interaction.tt.agent_focus_secrecy + localization = gdp_overthrow_agent_focus_secrecy + icon = "gfx/interface/icons/schemes/icon_secrecy.dds" + ai_chance = { value = 10 } + } + } + + effect = { + custom_tooltip = { + text = overthrow_government_effect_tooltip + } + #Guelphs & Ghibellines + gg_potential_catalyst_tooltip_effect = { + ACTOR = root + RECIPIENT = liege + CATALYST = catalyst_gg_coup + } + send_interface_toast = { + type = event_toast_effect_neutral + title = start_overthrow_government_interaction + left_icon = root + right_icon = root.liege + # Success. + if = { + limit = { scope:agent_focus_success = yes } + begin_scheme_with_agents_effect = { + SCHEME_TYPE = overthrow_government + TARGET_TYPE = target_character + TARGET_SCOPE = liege + # Success. + AGENT_1 = agent_conspirator + AGENT_2 = agent_conspirator + AGENT_3 = agent_demagogue + # Speed. + AGENT_4 = agent_financier + # Secrecy. + AGENT_5 = agent_commander + } + } + # Speed. + else_if = { + limit = { scope:agent_focus_speed = yes } + begin_scheme_with_agents_effect = { + SCHEME_TYPE = overthrow_government + TARGET_TYPE = target_character + TARGET_SCOPE = liege + # Speed. + AGENT_1 = agent_financier + AGENT_2 = agent_financier + AGENT_3 = agent_financier + # Success. + AGENT_4 = agent_conspirator + # Secrecy. + AGENT_5 = agent_commander + } + } + # Secrecy. + else_if = { + limit = { scope:agent_focus_secrecy = yes } + begin_scheme_with_agents_effect = { + SCHEME_TYPE = overthrow_government + TARGET_TYPE = target_character + TARGET_SCOPE = liege + # Secrecy. + AGENT_1 = agent_commander + AGENT_2 = agent_commander + AGENT_3 = agent_lookout + # Success. + AGENT_4 = agent_conspirator + # Speed. + AGENT_5 = agent_financier + } + } + # Balanced. + else = { + begin_scheme_with_agents_effect = { + SCHEME_TYPE = overthrow_government + TARGET_TYPE = target_character + TARGET_SCOPE = liege + # Success. + AGENT_1 = agent_conspirator + AGENT_2 = agent_demagogue + # Speed. + AGENT_3 = agent_financier + AGENT_4 = agent_financier + # Secrecy. + AGENT_5 = agent_commander + } + } + } + } + + requires_approve = { always = no } + + ai_approval = { + value = 0 + add = { + value = ai_compassion + desc = player_facing_ai_compassion + } + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_communal } + } + add = { + value = 10 + desc = REPUBLIC_COMMUNAL_AMBITION_DESC + } + } + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_commerce } + } + add = { + value = -10 + desc = REPUBLIC_COMMERCE_AMBITION_DESC + } + } + } + + ai_check_interval_by_tier = { + barony = 0 + county = 60 + duchy = 30 + kingdom = 30 + empire = 30 + hegemony = 0 + } + + ai_potential = { + } + + ai_will_do = { + base = 10 + # Doge have more money + modifier = { + factor = 0.7 + root.gold > root.liege.gold + } + + ## House Relation modifier ## + # Feuding + modifier = { + factor = 2 + exists = root.liege.house + root.house ?= { + has_house_relation_with = root.liege.house + any_house_relation = { + any_relation_house = { root.liege.house ?= this } + has_house_relation_level = feud + } + } + } + # Rivalry + modifier = { + factor = 1.5 + exists = root.liege.house + root.house ?= { + has_house_relation_with = root.liege.house + any_house_relation = { + any_relation_house = { root.liege.house ?= this } + has_house_relation_level = rivalry + } + } + } + # Quarreling + modifier = { + factor = 1.3 + exists = root.liege.house + root.house ?= { + has_house_relation_with = root.liege.house + any_house_relation = { + any_relation_house = { root.liege.house ?= this } + has_house_relation_level = quarrel + } + } + } + # Cordial + modifier = { + factor = 0.5 + exists = root.liege.house + root.house ?= { + has_house_relation_with = root.liege.house + any_house_relation = { + any_relation_house = { root.liege.house ?= this } + has_house_relation_level = cordial + } + } + } + # Friendly + modifier = { + factor = 0.3 + exists = root.liege.house + root.house ?= { + has_house_relation_with = root.liege.house + any_house_relation = { + any_relation_house = { root.liege.house ?= this } + has_house_relation_level = friendly + } + } + } + # Faithful + modifier = { + factor = 0 + exists = root.liege.house + root.house ?= { + has_house_relation_with = root.liege.house + any_house_relation = { + any_relation_house = { root.liege.house ?= this } + has_house_relation_level = amity + } + } + } + + ## Target's inclination towards the Ambition ## + modifier = { + factor = 1.3 + root.house = { + has_house_aspiration_parameter = republic_commerce + } + root.liege = { + OR = { + has_trait = impatient + has_trait = wrathful + has_trait = arbitrary + } + } + } + modifier = { + factor = 1.3 + root.house = { + has_house_aspiration_parameter = republic_aggrandizement + } + root.liege = { + OR = { + has_trait = humble + has_trait = zealous + has_trait = honest + } + } + } + modifier = { + factor = 1.3 + root.house = { + has_house_aspiration_parameter = republic_communal + } + root.liege = { + OR = { + has_trait = arrogant + has_trait = greedy + has_trait = cynical + } + } + } + modifier = { + factor = 1.3 + root.house = { + has_house_aspiration_parameter = republic_signorial + } + root.liege = { + OR = { + has_trait = shy + has_trait = humble + has_trait = content + } + } + } + modifier = { + factor = 1.3 + root.house = { + has_house_aspiration_parameter = republic_agitation + } + root.liege = { + OR = { + has_trait = craven + has_trait = calm + has_trait = content + } + } + } + + ## The Government is unpopular ## + modifier = { + factor = 1.2 + root.liege = { + capital_county = { + popular_opinion = { -50 0 } + } + } + } + + modifier = { + factor = 2 + root.liege = { + capital_county = { + popular_opinion < -50 + } + } + } + + modifier = { + factor = 0.5 + root.liege = { + capital_county = { + popular_opinion = { 25 50 } + } + } + } + + modifier = { + factor = 0.2 + root.liege = { + capital_county = { + popular_opinion > 50 + } + } + } + + ## Control is low in the capital ## + modifier = { + factor = 1.2 + root.liege = { + capital_county = { + county_control < county_control_relative_25 + } + } + } + + modifier = { + factor = 0.50 + root.liege = { + capital_county = { + county_control >= county_control_relative_25 + county_control <= county_control_baseline + } + } + } + modifier = { + factor = 0.2 + root.liege = { + capital_county = { + county_control > county_control_relative_75 + } + } + } + + #The target is quite the GG meddler + modifier = { + add = { + value = 0 + #More weight if they have high involvement, stacking + if = { + limit = { + root.liege = { + exists = var:gg_involvement + var:gg_involvement >= gg_involvement_major_value + } + } + add = 25 + } + if = { + limit = { + root.liege = { + exists = var:gg_involvement + var:gg_involvement >= gg_involvement_massive_value + } + } + add = 25 + } + if = { + limit = { + root.liege = { + exists = var:gg_involvement + var:gg_involvement >= gg_involvement_omega_value + } + } + add = 25 + } + if = { + limit = { + root.liege = { + exists = var:gg_involvement + var:gg_involvement >= gg_involvement_capped_value + } + } + add = 25 + } + #Double that if the target GG ruler banished someone from your side + if = { + limit = { + root.liege = { has_character_modifier = vilified_ruler_modifier } + } + multiply = 2 + } + } + exists = situation:guelph_ghibelline + gg_first_and_second_are_opposite_sides_trigger = { FIRST = root SECOND = root.liege } + } + } +} + +# Renounce Family Title +gdp_renounce_noble_family_title_decision = { + picture = { + reference = "gfx/interface/illustrations/event_scenes/gdp_italian_market.dds" + } + sort_order = 80 + ai_check_interval = 0 + + desc = { + first_valid = { + triggered_desc = { + trigger = { + government_has_flag = government_is_republic + any_held_title = { + is_noble_family_title = yes + exists = current_heir + } + } + desc = gdp_renounce_noble_family_title_decision_republic_desc + } + desc = gdp_renounce_noble_family_title_decision_republic_no_heir_desc + } + } + selection_tooltip = gdp_renounce_noble_family_title_decision_tooltip + decision_group_type = republic + + is_shown = { + any_held_title = { is_noble_family_title = yes } + government_has_flag = government_is_republic + is_independent_ruler = no + is_house_head = yes + is_playable_character = yes + has_gdp_dlc_trigger = yes + } + + is_valid = { + custom_tooltip = { + text = renounce_noble_family_title_decision_tt.title + any_held_title = { is_noble_family_title = yes } + } + custom_tooltip = { + text = renounce_noble_family_title_decision_tt.heir + any_held_title = { + is_noble_family_title = yes + current_heir ?= { is_available_ai_adult = yes } + } + } + is_landed = no + } + + is_valid_showing_failures_only = { + is_available_adult = yes + is_at_war_with_liege = no + } + + effect = { + if = { + limit = { is_ai = no } + random_held_title = { + limit = { is_noble_family_title = yes } + current_heir = { save_scope_as = new_player } + } + } + show_as_tooltip = { + add_character_modifier = { modifier = tgp_western_renounced_estate } + custom_tooltip = renounce_noble_family_title_decision_tt + if = { + limit = { exists = scope:new_player } + house = { set_house_head = scope:new_player } + set_player_character = scope:new_player + } + tgp_step_down_title_recipient_tooltip_effect = yes + } + trigger_event = tgp_dynastic_cycle_decision_event.0101 + close_view = { + view = decisions + player = root + } + } + + cost = { + prestige = minor_prestige_value + } + + ai_potential = { + is_at_war = no + # Don't step down freely if you don't have any other house members holding a noble_family_title or inherit any held noble_family_title + OR = { + house ?= { + any_house_member = { + is_governor = yes + top_liege = root.top_liege + } + } + any_held_title = { + tier = root.highest_held_title_tier + is_noble_family_title = no + current_heir.house = root.house + } + } + } + + ai_will_do = { + base = -10 + modifier = { + add = 10 + has_trait = lazy + } + modifier = { + add = 10 + has_trait = humble + } + modifier = { + add = 10 + has_trait = content + } + modifier = { + add = -100 + OR = { + has_trait = ambitious + has_trait = greedy + has_trait = arrogant + } + } + } +} + +# Change Election Aspirations +change_republican_election_aspirations_decision = { + picture = { + reference = "gfx/interface/illustrations/decisions/ep3_cerimonial_decision.dds" + } + sort_order = 80 + ai_check_interval_by_tier = { + barony = 0 + county = 120 + duchy = 120 + kingdom = 120 + empire = 120 + hegemony = 120 + } + + desc = change_republican_election_aspirations_decision_desc + selection_tooltip = change_republican_election_aspirations_decision_tooltip + decision_group_type = republic + + is_shown = { + government_has_flag = government_is_republic + liege ?= { has_realm_law = republican_elective_succession_law } + is_playable_character = yes + has_gdp_dlc_trigger = yes + } + + is_valid = { + government_has_flag = government_is_republic + trigger_if = { # Unavailable if you are the top liege - Unless if you have either modifier, so you may remove it. + limit = { top_liege = this } + OR = { + has_character_modifier = gdp_republic_renounced_election_personal + house ?= { has_house_modifier = gdp_republic_renounced_election_house } + } + } + trigger_else = { + custom_tooltip = { # The Capitano is your liege + text = admin_confirmation_liege_tt + liege ?= top_liege + liege != root + } + } + liege ?= { has_realm_law = republican_elective_succession_law } + } + + is_valid_showing_failures_only = { + is_available_adult = yes + is_at_war_with_liege = no + NOT = { top_liege ?= root } + } + + widget = { + gui = "decision_view_widget_generic_multichoice_with_effects" + controller = decision_option_list_controller + decision_to_second_step_button = "SELECT_ACTION" + show_from_start = yes + + ### Remove yourself from elections & appointments + item = { + value = republic_renounced_election_personal + is_valid = { + NOR = { + has_character_modifier = gdp_republic_renounced_election_personal + house ?= { has_house_modifier = gdp_republic_renounced_election_house } + } + is_independent_ruler = no + is_diarch = no + } + current_description = republic_renounced_election_personal_desc + localization = republic_renounced_election_personal_name + icon = "gfx/interface/icons/character_interactions/icon_liege.dds" + ai_chance = { + value = 0 + if = { + limit = { has_trait = content } + add = 100 + } + } + } + ### Make yourself available for elections & appointments + item = { + value = republic_desire_election_personal + is_valid = { + has_character_modifier = gdp_republic_renounced_election_personal + } + current_description = republic_desire_election_personal_desc + localization = republic_desire_election_personal_name + icon = "gfx/interface/icons/character_interactions/icon_liege.dds" + ai_chance = { + value = 0 + if = { + limit = { + has_character_modifier = gdp_republic_renounced_election_personal + NOT = { has_trait = content } + } + add = 100 + } + } + } + ### Remove your house from elections & appointments + item = { + value = republic_renounced_election_house + is_valid = { + house ?= { + custom_tooltip = { + text = HOF_INTERACTION_IS_HOUSE_HEAD + house_head ?= root + } + NOT = { has_house_modifier = gdp_republic_renounced_election_house } + } + NOT = { top_liege.house ?= root.house } + } + current_description = republic_renounced_election_house_desc + localization = republic_renounced_election_house_name + icon = "gfx/interface/icons/character_interactions/icon_dynasty.dds" + ai_chance = { + value = 0 + } + } + ### Make your house available for elections & appointments + item = { + value = republic_desire_election_house + is_valid = { + house ?= { + custom_tooltip = { + text = HOF_INTERACTION_IS_HOUSE_HEAD + house_head ?= root + } + has_house_modifier = gdp_republic_renounced_election_house + } + } + current_description = republic_desire_election_house_desc + localization = republic_desire_election_house_name + icon = "gfx/interface/icons/character_interactions/icon_dynasty.dds" + ai_chance = { + value = 0 + if = { + limit = { + house ?= { has_house_modifier = gdp_republic_renounced_election_house } + } + add = 100 + } + } + } + } + + effect = { + if = { + limit = { + scope:republic_renounced_election_personal = yes + } + add_character_modifier = gdp_republic_renounced_election_personal + } + else_if = { + limit = { + scope:republic_desire_election_personal = yes + } + remove_character_modifier = gdp_republic_renounced_election_personal + } + else_if = { + limit = { + scope:republic_renounced_election_house = yes + } + house ?= { + add_house_modifier = gdp_republic_renounced_election_house + } + } + else_if = { + limit = { + scope:republic_desire_election_house = yes + } + house ?= { + remove_house_modifier = gdp_republic_renounced_election_house + } + } + } + + ai_potential = { + OR = { + has_character_modifier = gdp_republic_renounced_election_personal + house ?= { has_house_modifier = gdp_republic_renounced_election_house } + has_trait = content + } + } + + ai_will_do = { + base = 20 + modifier = { + add = 80 + OR = { + has_character_modifier = gdp_republic_renounced_election_personal + house ?= { has_house_modifier = gdp_republic_renounced_election_house } + } + NOT = { has_trait = content } + } + } +} + +# Recruit trader +gdp_republic_recruit_talent_decision = { + title = gdp_republic_recruit_talent_decision + desc = gdp_republic_recruit_talent_decision_desc + selection_tooltip = gdp_republic_recruit_talent_decision_tooltip + picture = { + reference = "gfx/interface/illustrations/decisions/divided.dds" + } + + sort_order = 65 + decision_group_type = republic + + cost = { + prestige = medium_prestige_value + } + + ai_check_interval = 0 + + is_shown = { + is_ai = no # Primarily a player tool + government_has_flag = government_is_republic + has_gdp_dlc_trigger = yes + } + + is_valid = { + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + imprisoned = no + incapable = no + } + } + + widget = { + gui = "decision_view_widget_option_list_generic" + controller = decision_option_list_controller + decision_to_second_step_button = "CHOOSE_NOMAD_COURTIER_DECISION_NEXT_STEP_BUTTON" + show_from_start = yes + + item = { + value = gdp_republic_recruit_trader_competitiveness + is_valid = { + } + current_description = gdp_republic_recruit_trader_competitiveness_desc + localization = gdp_republic_recruit_trader_competitiveness_desc + icon = "gfx/interface/icons/trade/icon_trade_competitiveness.dds" + ai_chance = { + value = 100 + } + } + item = { + value = gdp_republic_recruit_trader_diplomacy + is_valid = { + } + current_description = gdp_republic_recruit_trader_diplomacy_desc + localization = gdp_republic_recruit_trader_diplomacy_desc + icon = "gfx/interface/icons/trade/acumen.dds" + ai_chance = { + value = 100 + } + } + item = { + value = gdp_republic_recruit_trader_capacity + is_valid = { + } + current_description = gdp_republic_recruit_trader_capacity_desc + localization = gdp_republic_recruit_trader_capacity_desc + icon = "gfx/interface/icons/trade/icon_trade_capacity.dds" + ai_chance = { + value = 100 + } + } + } + + effect = { + # Create a trader based on the selected template + if = { + limit = { + scope:gdp_republic_recruit_trader_competitiveness = yes + } + custom_tooltip = { + text = gdp_republic_recruit_trader_competitiveness_effect_desc + create_character = { + template = trader_martial_template + culture = root.culture + faith = root.faith + dynasty = none + location = root.capital_province + save_scope_as = new_trader + } + } + } + else_if = { + limit = { + scope:gdp_republic_recruit_trader_diplomacy = yes + } + custom_tooltip = { + text = gdp_republic_recruit_trader_diplomacy_effect_desc + create_character = { + template = trader_diplomacy_template + culture = root.culture + faith = root.faith + dynasty = none + location = root.capital_province + save_scope_as = new_trader + } + } + } + else_if = { + limit = { + scope:gdp_republic_recruit_trader_capacity = yes + } + custom_tooltip = { + text = gdp_republic_recruit_trader_capacity_effect_desc + create_character = { + template = trader_stewardship_template + culture = root.culture + faith = root.faith + dynasty = none + location = root.capital_province + save_scope_as = new_trader + } + } + } + + # Final additions to the trader, then add the trader to court + if = { + limit = { exists = scope:new_trader } + + if = { + limit = { + domicile ?= { + domicile_location = { + has_building_or_higher = republic_podesta_residence_01 + } + } + } + scope:new_trader = { + if = { + limit = { scope:gdp_republic_recruit_trader_competitiveness = yes } + add_martial_skill = 5 + add_intrigue_skill = 5 + } + else_if = { + limit = { scope:gdp_republic_recruit_trader_diplomacy = yes } + add_diplomacy_skill = 5 + add_learning_skill = 5 + } + else_if = { + limit = { scope:gdp_republic_recruit_trader_capacity = yes } + add_stewardship_skill = 6 + } + rank_up_education_effect = yes + } + } + + send_interface_message = { + type = send_interface_message + title = gdp_republic_recruit_trader_recruited_t + left_icon = scope:new_trader + if = { + limit = { + scope:new_trader = { + NOT = { is_courtier_of = root } + } + } + add_courtier = scope:new_trader + } + } + } + } + + ai_potential = { + } + + ai_will_do = { + base = 0 + } +} + +# Clear the Great Plaza +gdp_republic_clear_great_plaza_decision = { + title = gdp_republic_clear_great_plaza_decision + desc = gdp_republic_clear_great_plaza_decision_desc + selection_tooltip = gdp_republic_clear_great_plaza_decision_tooltip + picture = { + reference = "gfx/interface/illustrations/decisions/gdp_decision_great_plaza.dds" + } + + sort_order = 35 + decision_group_type = republic + + cost = { + } + + is_shown = { + is_ai = no # Primarily a player tool + government_has_flag = government_is_republic + has_gdp_dlc_trigger = yes + capital_province = { + exists = great_district + has_building_or_higher = pb_republic_city_hall_01 + county.holder = root + great_district = { + any_district_building = { + is_primary_building = no + } + } + } + } + + is_valid = { + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + imprisoned = no + incapable = no + } + gdp_is_planning_great_plaza_project_trigger = no + } + + widget = { + gui = "decision_view_widget_select_building" + controller = select_scope_object + decision_to_second_step_button = "CHOOSE_BUILDING_DECISION_NEXT_STEP_BUTTON" + show_from_start = yes + + setup_items = { + scope:actor = { + capital_province = { + great_district = { + every_district_building = { + limit = { is_primary_building = no } + building_type = { + add_to_list = item_list + } + } + } + } + } + } + + default_item = { + scope:actor = { + capital_province = { + great_district = { + random_district_building = { + limit = { is_primary_building = no } + building_type = { + save_scope_as = selected_item + } + } + } + } + } + } + + ai_select_item = { + scope:actor = { + capital_province = { + great_district = { + random_district_building = { + limit = { is_primary_building = no } + building_type = { + save_scope_as = selected_item + } + } + } + } + } + } + } + + effect = { + custom_tooltip = gdp_republic_clear_great_plaza_decision_warning + send_interface_message = { + type = send_interface_message + title = gdp_republic_clear_great_plaza_decision_t + left_icon = capital_county + + capital_province = { + great_district = { + remove_building = scope:selected_item + } + } + } + } + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 0 + kingdom = 0 + empire = 0 + hegemony = 0 + } + + ai_potential = { + } + + ai_will_do = { + base = 0 + } +} + +# Meander through [CapitalName] +gdp_republic_city_stroll_decision = { + picture = { + trigger = { + culture = { has_graphical_east_asia_culture_group_trigger = yes } + } + reference = "gfx/interface/illustrations/event_scenes/tgp_market_asia_crowd.dds" + } + picture = { + trigger = { + culture = { has_graphical_india_culture_group_trigger = yes } + } + reference = "gfx/interface/illustrations/event_scenes/gdp_artisans_street_india_crowd.dds" + } + picture = { + trigger = { + culture = { has_graphical_mena_culture_group_trigger = yes } + } + reference = "gfx/interface/illustrations/event_scenes/gdp_artisans_street_mena_crowd.dds" + } + picture = { + trigger = { + culture = { has_graphical_mediterranean_culture_group_trigger = yes } + capital_province = { province_has_district = republic_great_plaza_district } + } + reference = "gfx/interface/illustrations/decisions/gdp_decision_great_plaza.dds" + } + picture = { + trigger = { + culture = { has_graphical_mediterranean_culture_group_trigger = yes } + } + reference = "gfx/interface/illustrations/event_scenes/gdp_italian_market_crowd.dds" + } + picture = { + trigger = { + culture = { has_graphical_iberian_culture_group_trigger = yes } + } + reference = "gfx/interface/illustrations/event_scenes/market_east_crowd.dds" + } + picture = { + reference = "gfx/interface/illustrations/event_scenes/market_west_crowd.dds" + } + sort_order = 85 + ai_check_interval_by_tier = { + barony = 180 + county = 120 + duchy = 0 + kingdom = 0 + empire = 0 + hegemony = 0 + } + + desc = gdp_republic_city_stroll_decision_desc + selection_tooltip = gdp_republic_city_stroll_decision_tooltip + decision_group_type = republic + + cooldown = { years = 5 } + + is_shown = { + # You are a patrician + government_has_flag = government_is_republic + is_landless_ruler = yes + is_independent_ruler = no + has_gdp_dlc_trigger = yes + } + + is_valid = {} + + is_valid_showing_failures_only = { + is_available_adult = yes + NOT = { + capital_county ?= { + has_province_with_epidemic = { intensity = any } + } + } + } + + effect = { + custom_tooltip = { + text = city_stroll_effect_tooltip + trigger_event = { on_action = patrician_stroll_on_action } + } + add_character_modifier = { + modifier = gdp_out_and_about_modifier + years = 5 + } + } + + ai_potential = { + government_has_flag = government_is_republic + is_landless_ruler = yes + is_independent_ruler = no + is_adult = yes + is_imprisoned = no + } + + ai_will_do = { + base = 10 + modifier = { + factor = 1.3 + root.house = { + has_house_aspiration_parameter = republic_aggrandizement + } + root.liege = { + OR = { + has_trait = humble + has_trait = zealous + has_trait = honest + } + } + } + ## Control is not low in the capital ## + modifier = { + factor = 1.2 + root.liege = { + capital_county = { + county_control < 75 + } + } + } + modifier = { + factor = 0.50 + root.liege = { + capital_county = { + county_control = { 25 50 } + } + } + } + modifier = { + factor = 0.2 + root.liege = { + capital_county = { + county_control > 25 + } + } + } + } +} + +# Leverage Trade Posts in Market +gdp_improve_trade_post_market_decision = { + title = gdp_improve_trade_post_market_decision + desc = gdp_improve_trade_post_market_decision_desc + picture = { + reference = "gfx/interface/illustrations/decisions/fractious.dds" + } + + sort_order = 40 + decision_group_type = trade + + cost = { + prestige = massive_prestige_value + } + + is_shown = { + # You have the needed legacy + dynasty ?= { has_dynasty_perk = gdp_republic_legacy_2 } + + # You have Trade Posts + government_allows = trade_post + + has_gdp_dlc_trigger = yes + } + + is_valid = { + trade_post_count >= 1 + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + at_war = no + imprisoned = no + incapable = no + } + trigger_if = { + limit = { exists = scope:selected_item } + scope:selected_item = { + gdp_can_leverage_trade_posts_in_market_trigger = { CHARACTER = root } + } + } + } + + widget = { + gui = "decision_view_widget_select_trade_market" + controller = select_scope_object + show_from_start = yes + decision_to_second_step_button = "SELECT_TRADE_MARKET" + + setup_items = { + scope:actor = { + if = { + limit = { + trade_post_count > 0 + } + every_owned_trade_post_district = { + district_province = { + barony = { + trade_market = { + if = { + limit = { + NOT = { is_in_list = item_list } + } + add_to_list = item_list + } + } + } + } + } + } + else = { # We add the capital's market as a fallback, so that the effects remains visible even without trade posts + capital_barony.trade_market = { add_to_list = item_list } + } + } + } + + default_item = { + scope:actor = { + ordered_owned_trade_post_district = { + limit = { + district_province.barony.trade_market = { + gdp_can_leverage_trade_posts_in_market_trigger = { CHARACTER = scope:actor } + } + } + district_province.barony.trade_market = { save_scope_as = selected_item } + } + } + } + + is_item_valid = { + gdp_can_leverage_trade_posts_in_market_trigger = { CHARACTER = scope:actor } + } + + ai_select_item = { + scope:actor = { + if = { + limit = { + any_owned_trade_post_district = { + district_province.barony = { + this = scope:actor.capital_barony + trade_market = { + gdp_can_leverage_trade_posts_in_market_trigger = { CHARACTER = scope:actor } + } + } + } + } + capital_barony.trade_market = { save_scope_as = selected_item } + } + else = { + random_owned_trade_post_district = { + limit = { + district_province.barony.trade_market = { + gdp_can_leverage_trade_posts_in_market_trigger = { CHARACTER = scope:actor } + } + } + district_province.barony.trade_market = { save_scope_as = selected_item } + } + } + } + } + } + + effect = { + scope:selected_item = { save_scope_as = selected_trade_market } + + # Save the number of trade posts owned within the trade market + save_scope_value_as = { + name = owned_trade_posts + value = { + value = 0 + every_owned_trade_post_district = { + limit = { + district_province.barony.trade_market = scope:selected_trade_market + } + add = 1 + } + } + } + + # Apply modifier to market + scope:selected_trade_market = { + add_competitiveness_modifier_for_character = { + character = root + modifier = gdp_dominate_market_trade_post_modifier + } + } + custom_tooltip = gdp_improve_trade_post_market_decision_effect_desc + } + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 0 + kingdom = 60 + empire = 60 + hegemony = 60 + } + + ai_potential = { + prestige >= massive_prestige_value + } + + ai_will_do = { + base = 100 + } +} + +# Organize Charity in Trade Posts +gdp_trade_post_charity_decision = { + title = gdp_trade_post_charity_decision + desc = gdp_trade_post_charity_decision_desc + picture = { + reference = "gfx/interface/illustrations/decisions/decision_spend_money.dds" + } + + sort_order = 40 + decision_group_type = trade + + cooldown = { years = 10 } + + cost = { + prestige = massive_prestige_value + } + + is_shown = { + # You have the ambition to gain the decision + house ?= { has_house_aspiration_parameter = ambition_unlock_trade_post_charity_decision } + + # You have Trade Posts + government_allows = trade_post + + has_gdp_dlc_trigger = yes + } + + is_valid = { + trade_post_count >= 1 + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + at_war = no + imprisoned = no + incapable = no + } + } + + effect = { + # Save the number of trade posts we own + save_scope_value_as = { + name = owned_trade_posts + value = trade_post_count + } + + # Apply the modifier + add_character_modifier = { + modifier = gdp_trade_post_charity_modifier + years = 10 + } + + # Gain opinion with county holders where you have trade posts + every_owned_trade_post_district = { + limit = { + district_province = { + county = { + holder = { + this != root + } + } + } + } + custom = every_trade_post_county_holder_tt + district_province.county.holder = { + add_opinion = { + modifier = grateful_opinion + target = root + opinion = 10 + } + } + } + } + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 0 + kingdom = 60 + empire = 60 + hegemony = 60 + } + + ai_potential = { + prestige >= massive_prestige_value + } + + ai_will_do = { + base = 100 + } +} + +# Gather Popular Support +gdp_gather_popular_support_decision = { + title = gdp_gather_popular_support_decision + desc = gdp_gather_popular_support_decision_desc + picture = { + reference = "gfx/interface/illustrations/event_story/gdp_republican.dds" + } + + sort_order = 40 + decision_group_type = republic + + cooldown = { years = 10 } + + cost = { + prestige = massive_prestige_value + } + + is_shown = { + # You have the needed legacy + dynasty ?= { has_dynasty_perk = gdp_republic_legacy_5 } + has_gdp_dlc_trigger = yes + } + + is_valid = { + capital_county ?= { + popular_opinion > 0 + } + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + at_war = no + imprisoned = no + incapable = no + } + } + + effect = { + # Personal modifier + add_character_modifier = { + modifier = gdp_gather_popular_support_modifier + years = 10 + } + + # Clear out any existing modifiers + hidden_effect = { + house ?= { + if = { + limit = { has_house_modifier = gdp_gather_popular_support_house_t3_modifier } + remove_house_modifier = gdp_gather_popular_support_house_t3_modifier + } + if = { + limit = { has_house_modifier = gdp_gather_popular_support_house_t2_modifier } + remove_house_modifier = gdp_gather_popular_support_house_t2_modifier + } + if = { + limit = { has_house_modifier = gdp_gather_popular_support_house_t1_modifier } + remove_house_modifier = gdp_gather_popular_support_house_t1_modifier + } + } + } + + # Add new house modifier + if = { + limit = { + capital_county.popular_opinion >= 80 + } + house ?= { + add_house_modifier = { + modifier = gdp_gather_popular_support_house_t3_modifier + years = 15 + } + } + } + else_if = { + limit = { + capital_county.popular_opinion >= 50 + } + house ?= { + add_house_modifier = { + modifier = gdp_gather_popular_support_house_t2_modifier + years = 15 + } + } + } + else = { + house ?= { + add_house_modifier = { + modifier = gdp_gather_popular_support_house_t1_modifier + years = 15 + } + } + } + } + + ai_check_interval_by_tier = { + barony = 0 + county = 60 + duchy = 60 + kingdom = 60 + empire = 60 + hegemony = 60 + } + + ai_potential = { + gdp_is_patrician_trigger = yes + prestige >= massive_prestige_value + # AI doesn't have to bother until popular opinion is at least somewhat high + capital_county ?= { + popular_opinion > 30 + } + } + + ai_will_do = { + base = 25 + } +} + +# AI ONLY - Decision to get rid of trade posts/patricians a ruler doesn't like in their domain +# Players use oust_trade_post_interaction +gdp_oust_from_trade_post_decision = { + # Since it's AI only, actual loc is not needed - Reuses loc from the interaction + title = oust_trade_post_interaction + desc = oust_trade_post_interaction + selection_tooltip = oust_trade_post_interaction + confirm_text = oust_trade_post_interaction + picture = { + reference = "gfx/interface/illustrations/decisions/gdp_republic_trade_ships.dds" + } + sort_order = 20 + + cost = { + } + + is_shown = { + is_ai = yes + is_landed = yes + any_held_title = { + tier = tier_county + any_county_province = { + exists = trade_post_district + trade_post_owner = { + NOT = { has_hook = root } + OR = { + NOT = { is_vassal_or_below_of = root } + AND = { + is_vassal_or_below_of = root + root = { + can_have_trade_posts = no + has_realm_law_flag = title_revocation_allowed + } + } + } + OR = { + has_relation_rival = root + house ?= { + any_house_relation = { + any_relation_house = { root.house ?= this } + OR = { + has_house_relation_level = feud + has_house_relation_level = rivalry + } + } + } + reverse_opinion = { + target = root + value < -50 + } + } + } + } + } + } + + is_valid = { + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + at_war = no + imprisoned = no + } + } + + effect = { + save_scope_as = actor + random_held_title = { + limit = { + tier = tier_county + any_county_province = { + exists = trade_post_district + trade_post_owner = { + NOT = { has_hook = root } + OR = { + NOT = { is_vassal_or_below_of = root } + AND = { + is_vassal_or_below_of = root + root = { + can_have_trade_posts = no + has_realm_law_flag = title_revocation_allowed + } + } + } + OR = { + has_relation_rival = root + house ?= { + any_house_relation = { + any_relation_house = { root.house ?= this } + OR = { + has_house_relation_level = feud + has_house_relation_level = rivalry + } + } + } + reverse_opinion = { + target = root + value < -50 + } + } + } + save_temporary_scope_as = target_trade_post_province + } + } + scope:target_trade_post_province ?= { + county = { save_scope_as = trade_post_target_county } + trade_post_district = { save_scope_as = target } + show_as_tooltip = { + remove_district_type = trade_post_location_district + } + trade_post_owner = { + save_scope_as = recipient + trigger_event = republic_event.0012 + } + } + } + } + + ai_check_interval_by_tier = { + barony = 0 + county = 60 + duchy = 48 + kingdom = 36 + empire = 36 + hegemony = 36 + } + + ai_potential = { + NOR = { + has_trait = forgiving + AND = { + has_trait = compassionate + has_trait = content + } + } + } + + ai_will_do = { + base = 50 + + ## Traits + modifier = { + has_trait = vengeful + add = 20 + } + modifier = { + has_trait = paranoid + add = 10 + } + modifier = { + has_trait = callous + add = 10 + } + modifier = { + has_trait = stubborn + add = 10 + } + modifier = { + has_trait = trusting + add = -10 + } + modifier = { + has_trait = just + add = -10 + } + modifier = { + has_trait = craven + add = -10 + } + } +} + +### DECREES ### +# Give Alms in Capital - Use treasury funds to give alms to the poor +gdp_fund_alms_decree_decision = { + title = gdp_fund_alms_decree_decision + desc = gdp_fund_alms_decree_decision_desc + selection_tooltip = gdp_fund_alms_decree_decision_tooltip + picture = { + reference = "gfx/interface/illustrations/decisions/decision_spend_money.dds" + } + + sort_order = 20 + decision_group_type = republic_decree + is_invisible = yes # We hide decrees, since they are shown in the Republic UI + + cooldown = { years = 15 } + + cost = { + treasury_or_gold = { + value = total_republic_decree_gold_cost + } + } + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 120 + kingdom = 60 + empire = 60 + hegemony = 60 + } + + is_shown = { + # You are a republic + government_has_flag = government_is_republic + has_gdp_dlc_trigger = yes + } + + is_valid = { + # You are the doge + custom_tooltip = { + text = you_are_republic_leader_desc + this = highest_liege_matching_rule:uses_assembly + } + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + at_war = no + imprisoned = no + incapable = no + } + # If assembly approval is required, we'll make sure that we are allowed to pass decrees + gdp_assembly_can_pass_decrees_trigger = yes + } + + effect = { + capital_province ?= { + add_province_modifier = { + modifier = gdp_fund_alms_decree_modifier + years = 10 + } + } + gdp_consume_republic_assembly_preparation_effect = yes + gdp_enacted_decree_effect = yes + } + + requires_approve = { gdp_assembly_approval_for_decrees_trigger = yes } + + ai_approval = { + value = 0 + if = { # If voter has pledged support, then we only show their approval + limit = { + liege ?= { + this != root + is_target_in_variable_list = { + name = decree_approvers + target = root + } + } + } + add = { + value = 100 + desc = decree_pledged_support_desc + } + } + else = { + add = republic_assembly_preparation_approval_value + add = republic_caucus_room_approval_value + add = { + value = ai_compassion + desc = player_facing_ai_compassion + } + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_communal } + } + add = { + value = 10 + desc = REPUBLIC_COMMUNAL_AMBITION_DESC + } + } + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_commerce } + } + add = { + value = -10 + desc = REPUBLIC_COMMERCE_AMBITION_DESC + } + } + } + } + + ai_potential = { + this = liege # I.e. is independent + treasury > massive_treasury_value + } + + ai_will_do = { + base = 0 + modifier = { + capital_province.county ?= { + popular_opinion < -25 + } + add = 10 + } + modifier = { + capital_province.county ?= { + popular_opinion < -50 + } + add = 10 + } + modifier = { + capital_province.county ?= { + popular_opinion < -75 + } + add = 10 + } + modifier = { + piety_level >= 2 + add = { + value = piety_level + multiply = 4 + } + } + } +} + +# Tax Holiday - Remit city taxes to boost popular opinion +gdp_tax_holiday_decree_decision = { + title = gdp_tax_holiday_decree_decision + desc = gdp_tax_holiday_decree_decision_desc + selection_tooltip = gdp_tax_holiday_decree_decision_tooltip + picture = { + reference = "gfx/interface/illustrations/decisions/ep3_decision_city.dds" + } + + sort_order = 20 + decision_group_type = republic_decree + is_invisible = yes # We hide decrees, since they are shown in the Republic UI + + cooldown = { years = 10 } + + cost = { + prestige = total_republic_decree_prestige_cost + } + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 120 + kingdom = 60 + empire = 60 + hegemony = 60 + } + + is_shown = { + government_has_flag = government_is_republic + has_gdp_dlc_trigger = yes + } + + is_valid = { + custom_tooltip = { + text = you_are_republic_leader_desc + this = highest_liege_matching_rule:uses_assembly + } + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + at_war = no + imprisoned = no + incapable = no + } + # If assembly approval is required, we'll make sure that we are allowed to pass decrees + gdp_assembly_can_pass_decrees_trigger = yes + } + + effect = { + capital_county ?= { + add_county_modifier = { + modifier = gdp_tax_holiday_decree_modifier + years = 10 + } + } + gdp_consume_republic_assembly_preparation_effect = yes + gdp_enacted_decree_effect = yes + } + + requires_approve = { gdp_assembly_approval_for_decrees_trigger = yes } + + ai_approval = { + value = 0 + if = { # If voter has pledged support, then we only show their approval + limit = { + liege ?= { + this != root + is_target_in_variable_list = { + name = decree_approvers + target = root + } + } + } + add = { + value = 100 + desc = decree_pledged_support_desc + } + } + else = { + add = republic_assembly_preparation_approval_value + add = republic_caucus_room_approval_value + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_communal } + } + add = { + value = 15 + desc = REPUBLIC_COMMUNAL_AMBITION_DESC + } + } + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_commerce } + } + add = { + value = -15 + desc = REPUBLIC_COMMERCE_AMBITION_DESC + } + } + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_signorial } + } + add = { + value = -15 + desc = REPUBLIC_SIGNORIAL_AMBITION_DESC + } + } + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_agitation } + } + add = { + value = -10 + desc = REPUBLIC_AGITATION_AMBITION_DESC + } + } + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_aggrandizement } + } + add = { + value = -10 + desc = REPUBLIC_AGGRANDIZEMENT_AMBITION_DESC + } + } + if = { + limit = { has_trait = generous } + add = { + value = 10 + desc = LAW_TRAIT_GENEROUS_DESC + } + } + if = { + limit = { has_trait = greedy } + add = { + value = -10 + desc = LAW_TRAIT_GREEDY_DESC + } + } + } + } + + ai_potential = { + gdp_is_assembly_head_trigger = yes + prestige > major_prestige_value + } + + ai_will_do = { + base = 0 + modifier = { + capital_county ?= { + popular_opinion < -15 + } + add = 15 + } + modifier = { + capital_county ?= { + popular_opinion < -40 + } + add = 20 + } + modifier = { + capital_county ?= { + popular_opinion < -65 + } + add = 20 + } + modifier = { + has_trait = generous + add = 10 + } + modifier = { + has_trait = greedy + factor = 0.3 + } + } +} + +# Debt Forgiveness - Cancel citizen debts to boost popular opinion at the cost of patrician goodwill +gdp_debt_forgiveness_decree_decision = { + title = gdp_debt_forgiveness_decree_decision + desc = gdp_debt_forgiveness_decree_decision_desc + selection_tooltip = gdp_debt_forgiveness_decree_decision_tooltip + picture = { + reference = "gfx/interface/illustrations/decisions/concerted.dds" + } + + sort_order = 20 + decision_group_type = republic_decree + is_invisible = yes # We hide decrees, since they are shown in the Republic UI + + cooldown = { years = 15 } + + cost = { + treasury_or_gold = { + value = total_republic_decree_gold_cost + } + } + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 120 + kingdom = 60 + empire = 60 + hegemony = 60 + } + + is_shown = { + government_has_flag = government_is_republic + has_gdp_dlc_trigger = yes + } + + is_valid = { + custom_tooltip = { + text = you_are_republic_leader_desc + this = highest_liege_matching_rule:uses_assembly + } + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + at_war = no + imprisoned = no + incapable = no + } + # If assembly approval is required, we'll make sure that we are allowed to pass decrees + gdp_assembly_can_pass_decrees_trigger = yes + } + + effect = { + capital_county ?= { + add_popular_opinion = 50 + } + every_vassal = { + custom = gdp_debt_forgiveness_upset_patricians_tt + limit = { + NOT = { + house ?= { has_house_aspiration_parameter = republic_communal } + } + } + add_opinion = { + modifier = wasted_treasury_opinion + target = root + opinion = -20 + } + } + every_vassal = { + custom = gdp_debt_forgiveness_pleased_patricians_tt + limit = { + house ?= { has_house_aspiration_parameter = republic_communal } + } + add_opinion = { + modifier = political_ally_opinion + target = root + opinion = 15 + } + } + gdp_consume_republic_assembly_preparation_effect = yes + gdp_enacted_decree_effect = yes + } + + requires_approve = { gdp_assembly_approval_for_decrees_trigger = yes } + + ai_approval = { + value = 0 + if = { # If voter has pledged support, then we only show their approval + limit = { + liege ?= { + this != root + is_target_in_variable_list = { + name = decree_approvers + target = root + } + } + } + add = { + value = 100 + desc = decree_pledged_support_desc + } + } + else = { + add = republic_assembly_preparation_approval_value + add = republic_caucus_room_approval_value + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_communal } + } + add = { + value = 20 + desc = REPUBLIC_COMMUNAL_AMBITION_DESC + } + } + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_commerce } + } + add = { + value = -15 + desc = REPUBLIC_COMMERCE_AMBITION_DESC + } + } + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_signorial } + } + add = { + value = -20 + desc = REPUBLIC_SIGNORIAL_AMBITION_DESC + } + } + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_aggrandizement } + } + add = { + value = -10 + desc = REPUBLIC_AGGRANDIZEMENT_AMBITION_DESC + } + } + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_agitation } + } + add = { + value = -10 + desc = REPUBLIC_AGITATION_AMBITION_DESC + } + } + if = { + limit = { has_trait = generous } + add = { + value = 10 + desc = LAW_TRAIT_GENEROUS_DESC + } + } + if = { + limit = { has_trait = greedy } + add = { + value = -15 + desc = LAW_TRAIT_GREEDY_DESC + } + } + } + } + + ai_potential = { + gdp_is_assembly_head_trigger = yes + treasury > massive_treasury_value + } + + ai_will_do = { + base = 0 + modifier = { + capital_county ?= { + popular_opinion < -25 + } + add = 15 + } + modifier = { + capital_county ?= { + popular_opinion < -50 + } + add = 20 + } + modifier = { + capital_county ?= { + popular_opinion < -75 + } + add = 20 + } + modifier = { + has_trait = generous + add = 10 + } + modifier = { + has_trait = greedy + factor = 0.2 + } + } +} + +# Finance War Effort +gdp_finance_war_decree_decision = { + title = gdp_finance_war_decree_decision + desc = gdp_finance_war_decree_decision_desc + selection_tooltip = gdp_finance_war_decree_decision_tooltip + picture = { + reference = "gfx/interface/illustrations/decisions/decision_siege_warfare.dds" + } + + sort_order = 21 + decision_group_type = republic_decree + is_invisible = yes # We hide decrees, since they are shown in the Republic UI + + cooldown = { years = 5 } + + cost = { + prestige = total_republic_decree_prestige_cost + } + + ai_check_interval_by_tier = { + barony = 0 + county = 120 + duchy = 120 + kingdom = 120 + empire = 120 + hegemony = 120 + } + + is_shown = { + # You are a republic + government_has_flag = government_is_republic + # You are the doge + OR = { + this = liege + liege = { + NOT = { government_has_flag = government_is_republic } + } + } + has_gdp_dlc_trigger = yes + } + + is_valid = { + is_at_war = yes + treasury <= 0 + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + imprisoned = no + incapable = no + } + # If assembly approval is required, we'll make sure that we are allowed to pass decrees + gdp_assembly_can_pass_decrees_trigger = yes + } + + widget = { + gui = "decision_view_widget_generic_multichoice_with_effects" + controller = decision_option_list_controller + decision_to_second_step_button = "SELECT_ACTION" + show_from_start = yes + + item = { # Patrician Tax + value = finance_war_patrician_tax + + current_description = finance_war_patrician_tax_desc + localization = finance_war_patrician_tax_name + icon = "gfx/interface/icons/government_types/republic_government.dds" + ai_chance = { + value = 10 + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_communal } + } + multiply = 0 + } + } + } + item = { # Citizen Tax + value = finance_war_citizen_tax + + current_description = finance_war_citizen_tax_desc + localization = finance_war_citizen_tax_name + icon = "gfx/interface/icons/character_interactions/loan_money_interaction.dds" + ai_chance = { + value = 10 + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_signorial } + } + multiply = 0 + } + } + } + } + + effect = { + if = { + limit = { + scope:finance_war_patrician_tax = yes + } + every_vassal_or_below = { + custom = every_patrician_tt + limit = { + any_held_title = { + is_noble_family_title = yes + } + } + pay_gold_to_treasury = { + target = root + value = root.medium_gold_value + } + add_opinion = { + modifier = upset_opinion + target = root + opinion = -15 + } + } + show_as_tooltip = { # So that you can see the total gain + add_treasury = { + value = 0 + every_vassal_or_below = { + limit = { + any_held_title = { + is_noble_family_title = yes + } + } + add = root.medium_gold_value + } + } + } + } + else_if = { + limit = { + scope:finance_war_citizen_tax = yes + } + add_treasury = { + value = 0 + every_sub_realm_county = { + add = prosperity_level + } + multiply = 10 + } + every_sub_realm_county = { + custom = every_county + add_county_modifier = { + modifier = gdp_taxed_county_modifier + years = 10 + } + change_prosperity_level = -1 + } + } + gdp_consume_republic_assembly_preparation_effect = yes + gdp_enacted_decree_effect = yes + } + + requires_approve = { gdp_assembly_approval_for_decrees_trigger = yes } + + ai_approval = { + value = 0 + if = { # If voter has pledged support, then we only show their approval + limit = { + liege ?= { + this != root + is_target_in_variable_list = { + name = decree_approvers + target = root + } + } + } + add = { + value = 100 + desc = decree_pledged_support_desc + } + } + else = { + add = republic_assembly_preparation_approval_value + add = republic_caucus_room_approval_value + add = { + value = ai_boldness + desc = player_facing_ai_boldness + } + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_signorial } + } + add = { + value = 10 + desc = REPUBLIC_SIGNORIAL_AMBITION_DESC + } + } + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_aggrandizement } + } + add = { + value = 10 + desc = REPUBLIC_AGGRANDIZEMENT_AMBITION_DESC + } + } + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_commerce } + } + add = { + value = -20 + desc = REPUBLIC_COMMERCE_AMBITION_DESC + } + } + + if = { + limit = { + has_trait = arrogant + } + add = { + value = 20 + desc = LAW_TRAIT_ARROGANT_DESC + } + } + if = { + limit = { + has_trait = arbitrary + } + add = { + value = 20 + desc = LAW_TRAIT_ARBITRARY_DESC + } + } + if = { + limit = { + has_trait = just + } + add = { + value = -20 + desc = LAW_TRAIT_JUST_DESC + } + } + if = { + limit = { + has_trait = greedy + scope:finance_war_patrician_tax = yes + } + add = { + value = -30 + desc = LAW_TRAIT_GREEDY_DESC + } + } + if = { + limit = { + has_trait = compassionate + scope:finance_war_citizen_tax = yes + } + add = { + value = -30 + desc = LAW_TRAIT_COMPASSIONATE_DESC + } + } + } + } + + ai_potential = { + gdp_is_assembly_head_trigger = yes + is_at_war = yes + OR = { + treasury_debt_level >= 2 + AND = { + has_trait = greedy + treasury_debt_level > 0 + } + } + } + + ai_will_do = { + base = 0 + modifier = { + ai_boldness > 0 + add = { + value = ai_boldness + multiply = 0.25 + } + } + modifier = { + ai_rationality < 0 + add = { + value = ai_rationality + multiply = -0.2 + } + } + } +} + +# Request War Approval - Ask the assembly for permission to wage war +gdp_war_approval_decree_decision = { + title = gdp_war_approval_decree_decision + desc = gdp_war_approval_decree_decision_desc + selection_tooltip = gdp_war_approval_decree_decision_tooltip + picture = { + reference = "gfx/interface/illustrations/decisions/gdp_republic_assembly.dds" + } + + sort_order = 20 + decision_group_type = republic_decree + is_invisible = yes # We hide decrees, since they are shown in the Republic UI + + cooldown = { years = 5 } + + cost = { + treasury_or_gold = { + value = total_republic_decree_gold_cost + } + } + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 120 + kingdom = 60 + empire = 60 + hegemony = 60 + } + + is_shown = { + # You are a republic + government_has_flag = government_is_republic + # Permission from the assembly is required by law + has_realm_law_flag = republic_war_approval_required + has_gdp_dlc_trigger = yes + } + + is_valid = { + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + at_war = no + imprisoned = no + incapable = no + } + custom_tooltip = { + text = gained_assembly_approval_declare_war_desc + NOT = { has_variable = has_assembly_approval_declare_war } + } + # If assembly approval is required, we'll make sure that we are allowed to pass decrees + gdp_assembly_can_pass_decrees_trigger = yes + } + + effect = { + custom_tooltip = { + text = gdp_war_approval_decree_decision_effect_desc + set_variable = { + name = has_assembly_approval_declare_war + value = yes + } + } + gdp_consume_republic_assembly_preparation_effect = yes + gdp_enacted_decree_effect = yes + } + + requires_approve = { always = yes } + + ai_approval = { + value = 0 + if = { # If voter has pledged support, then we only show their approval + limit = { + liege ?= { + this != root + is_target_in_variable_list = { + name = decree_approvers + target = root + } + } + } + add = { + value = 100 + desc = decree_pledged_support_desc + } + } + else = { + add = republic_caucus_room_approval_value + add = { + value = ai_decree_approval_opinion_value + multiply = 0.25 + desc = DECREE_OPINION_DESC + } + + # House relation + add = { + value = ai_decree_approval_house_relation_value + multiply = 0.5 + desc = DECREE_HOUSE_RELATION_DESC + } + + # House ambitions + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_commerce } + } + add = { + value = -20 + desc = REPUBLIC_COMMERCE_AMBITION_DESC + } + } + + # Vassal stances + if = { + limit = { + is_ruler = yes + liege != this + has_vassal_stance = glory_hound + } + add = { + value = 20 + desc = LAW_VASSAL_STANCE_DESC + } + } + if = { + limit = { + is_ruler = yes + liege != this + has_vassal_stance = belligerent + } + add = { + value = 10 + desc = LAW_VASSAL_STANCE_DESC + } + } + if = { + limit = { + is_ruler = yes + liege != this + has_vassal_stance = parochial + } + add = { + value = -20 + desc = LAW_VASSAL_STANCE_DESC + } + } + } + } + + ai_potential = { + this = liege # I.e. is independent + treasury > massive_treasury_value + ai_has_cautious_personality = no + } + + ai_will_do = { + base = 10 + modifier = { + OR = { + has_trait = ambitious + has_trait = brave + has_trait = greedy + has_trait = wrathful + } + add = 20 + } + modifier = { + ai_has_warlike_personality = yes + add = 20 + } + } +} + +# Quarantine Ships decree +gdp_quarantine_ship_decree_decision = { + title = gdp_quarantine_ship_decree_decision + desc = gdp_quarantine_ship_decree_decision_desc + selection_tooltip = gdp_quarantine_ship_decree_decision_tooltip + picture = { + trigger = { + culture = { + OR = { + has_graphical_african_culture_group_trigger = yes + has_graphical_iranian_culture_group_trigger = yes + has_graphical_mena_culture_group_trigger = yes + } + } + } + reference = "gfx/interface/illustrations/decisions/ep3_decision_city.dds" + } + picture = { + trigger = { + culture = { + OR = { + has_graphical_chinese_culture_group_trigger = yes + has_graphical_japanese_culture_group_trigger = yes + } + } + } + reference = "gfx/interface/illustrations/decisions/tgp_great_project.dds" + } + picture = { + trigger = { + culture = { + OR = { + has_graphical_india_culture_group_trigger = yes + has_graphical_east_asia_or_southeast_asia_group_trigger = yes + } + } + } + reference = "gfx/interface/illustrations/decisions/tgp_decision_mandala.dds" + } + picture = { + reference = "gfx/interface/illustrations/decisions/gdp_republic_trade_ships.dds" + } + sort_order = 20 + decision_group_type = republic_decree + is_invisible = yes # We hide decrees, since they are shown in the Republic UI + + cooldown = { years = 5 } + + cost = { + treasury_or_gold = { + value = total_republic_decree_gold_cost + } + } + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 120 + kingdom = 60 + empire = 60 + hegemony = 60 + } + + is_shown = { + # You are a republic + government_has_flag = government_is_republic + has_gdp_dlc_trigger = yes + } + + is_valid = { + # You are the doge + custom_tooltip = { + text = you_are_republic_leader_desc + this = highest_liege_matching_rule:uses_assembly + } + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + at_war = no + imprisoned = no + incapable = no + } + # If assembly approval is required, we'll make sure that we are allowed to pass decrees + gdp_assembly_can_pass_decrees_trigger = yes + } + + effect = { + capital_county ?= { + add_county_modifier = { + modifier = gdp_trentina_quarantine_county_modifier + years = 5 + } + } + capital_barony ?= { + trade_market = { + every_trade_route_in_market = { + custom = gdp_quarantine_modifier_desc + trade_route_owner = { + add_character_modifier = { + modifier = gdp_trentina_quarantine_character_modifier + years = 5 + } + } + } + } + } + gdp_consume_republic_assembly_preparation_effect = yes + gdp_enacted_decree_effect = yes + } + + requires_approve = { gdp_assembly_approval_for_decrees_trigger = yes } + + ai_approval = { + value = 0 + if = { # If voter has pledged support, then we only show their approval + limit = { + highest_liege_matching_rule:uses_assembly ?= { + this != root + is_target_in_variable_list = { + name = decree_approvers + target = root + } + } + } + add = { + value = 100 + desc = decree_pledged_support_desc + } + } + else = { + add = republic_caucus_room_approval_value + add = { + value = ai_decree_approval_opinion_value + multiply = 0.25 + desc = DECREE_OPINION_DESC + } + + # House relation + add = { + value = ai_decree_approval_house_relation_value + multiply = 0.5 + desc = DECREE_HOUSE_RELATION_DESC + } + + if = { + limit = { + any_realm_county = { + any_county_province_epidemic = { + outbreak_intensity = apocalyptic + } + } + } + add = { + value = 25 + desc = DECREE_PLAGUE_APOCALYPTIC_DESC + } + } + else_if = { + limit = { + any_realm_county = { + any_county_province_epidemic = { + outbreak_intensity = major + } + } + } + add = { + value = 10 + desc = DECREE_PLAGUE_MAJOR_DESC + } + } + else_if = { + limit = { + any_realm_county = { + any_county_province_epidemic = { + outbreak_intensity = minor + } + } + } + add = { + value = 5 + desc = DECREE_PLAGUE_MINOR_DESC + } + } + else = { + add = { + value = -30 + desc = DECREE_PLAGUE_NONE_DESC + } + } + } + } + + ai_potential = { + gdp_is_assembly_head_trigger = yes + treasury > massive_treasury_value + } + + ai_will_do = { + base = 0 + ## how resistant is the capital already? + modifier = { + capital_province = { + epidemic_resistance >= 6 + } + factor = 0.5 + } + ## Decease is threatening the republic + modifier = { + any_sub_realm_county = { + any_county_province_epidemic = { + outbreak_intensity = apocalyptic + } + } + add = 80 + } + + modifier = { + any_sub_realm_county = { + any_county_province_epidemic = { + outbreak_intensity = major + } + } + add = 40 + } + + modifier = { + any_sub_realm_county = { + any_county_province_epidemic = { + outbreak_intensity = major + } + } + add = 20 + } + ## Traits + modifier = { + has_trait = paranoid + factor = 1.5 + + } + modifier = { + has_trait = lifestyle_herbalist + factor = 1.3 + } + modifier = { + has_trait = lifestyle_physician + factor = 1.6 + } + modifier = { + has_trait = greedy + factor = 0.8 + } + } +} + +# Enforce Curfew decree +gdp_enforce_curfew_decree_decision = { + title = gdp_enforce_curfew_decree_decision + desc = gdp_enforce_curfew_decree_decision_desc + selection_tooltip = gdp_enforce_curfew_decree_decision_tooltip + picture = { + trigger = { + culture = { + OR = { + has_graphical_african_culture_group_trigger = yes + has_graphical_iranian_culture_group_trigger = yes + has_graphical_mena_culture_group_trigger = yes + } + } + } + reference = "gfx/interface/illustrations/decisions/ep3_decision_city.dds" + } + picture = { + trigger = { + culture = { + OR = { + has_graphical_chinese_culture_group_trigger = yes + has_graphical_japanese_culture_group_trigger = yes + } + } + } + reference = "gfx/interface/illustrations/decisions/tgp_great_project.dds" + } + picture = { + trigger = { + culture = { + OR = { + has_graphical_india_culture_group_trigger = yes + has_graphical_east_asia_or_southeast_asia_group_trigger = yes + } + } + } + reference = "gfx/interface/illustrations/decisions/tgp_decision_mandala.dds" + } + picture = { + reference = "gfx/interface/illustrations/decisions/decision_prison.dds" + } + sort_order = 20 + decision_group_type = republic_decree + is_invisible = yes # We hide decrees, since they are shown in the Republic UI + + cooldown = { years = 5 } + + cost = { + prestige = total_republic_decree_prestige_cost + treasury_or_gold = { + value = total_republic_decree_gold_cost + } + } + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 120 + kingdom = 60 + empire = 60 + hegemony = 60 + } + + is_shown = { + # You are a republic + government_has_flag = government_is_republic + has_gdp_dlc_trigger = yes + } + + is_valid = { + # You are the doge + custom_tooltip = { + text = you_are_republic_leader_desc + this = highest_liege_matching_rule:uses_assembly + } + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + at_war = no + imprisoned = no + incapable = no + } + # If assembly approval is required, we'll make sure that we are allowed to pass decrees + gdp_assembly_can_pass_decrees_trigger = yes + } + + effect = { + add_character_modifier = { + modifier = gdp_curfew_character_modifier + years = 5 + } + every_vassal = { + limit = { + capital_county = root.capital_county + } + custom = gdp_republic_curfew_desc + add_character_modifier = { + modifier = gdp_curfew_character_modifier + years = 5 + } + } + capital_county = { + change_county_control = 10 + } + gdp_consume_republic_assembly_preparation_effect = yes + gdp_enacted_decree_effect = yes + } + + requires_approve = { gdp_assembly_approval_for_decrees_trigger = yes } + + ai_approval = { + value = 0 + if = { # If voter has pledged support, then we only show their approval + limit = { + highest_liege_matching_rule:uses_assembly ?= { + this != root + is_target_in_variable_list = { + name = decree_approvers + target = root + } + } + } + add = { + value = 100 + desc = decree_pledged_support_desc + } + } + else = { + add = republic_caucus_room_approval_value + add = { + value = ai_decree_approval_opinion_value + multiply = 0.25 + desc = DECREE_OPINION_DESC + } + + # House relation + add = { + value = ai_decree_approval_house_relation_value + multiply = 0.5 + desc = DECREE_HOUSE_RELATION_DESC + } + } + } + + ai_potential = { + gdp_is_assembly_head_trigger = yes + treasury > major_treasury_value + prestige > major_prestige_value + } + + ai_will_do = { + base = 10 + ## Order in the city + modifier = { + capital_county = { + county_control < county_control_baseline + } + add = 40 + } + ## Traits + modifier = { + has_trait = diligent + factor = 1.4 + } + modifier = { + has_trait = paranoid + factor = 2 + } + modifier = { + has_trait = zealous + factor = 1.5 + } + modifier = { + OR = { + has_trait = deceitful + has_trait = lustful + } + factor = 0.5 + } + } +} + +# Sponsor Craft Guilds to boost prosperity +gdp_sponsor_craft_guild_decision = { + title = gdp_sponsor_craft_guild_decision + desc = gdp_sponsor_craft_guild_decision_desc + selection_tooltip = gdp_sponsor_craft_guild_decision_tooltip + picture = { + trigger = { + culture = { + OR = { + has_graphical_african_culture_group_trigger = yes + has_graphical_iranian_culture_group_trigger = yes + has_graphical_mena_culture_group_trigger = yes + } + } + } + reference = "gfx/interface/illustrations/decisions/ep3_decision_city.dds" + } + picture = { + trigger = { + culture = { + OR = { + has_graphical_chinese_culture_group_trigger = yes + has_graphical_japanese_culture_group_trigger = yes + } + } + } + reference = "gfx/interface/illustrations/decisions/tgp_great_project.dds" + } + picture = { + trigger = { + culture = { + OR = { + has_graphical_india_culture_group_trigger = yes + has_graphical_east_asia_or_southeast_asia_group_trigger = yes + } + } + } + reference = "gfx/interface/illustrations/decisions/tgp_decision_mandala.dds" + } + picture = { + reference = "gfx/interface/illustrations/decisions/cooperative.dds" + } + sort_order = 20 + decision_group_type = republic_decree + is_invisible = yes # We hide decrees, since they are shown in the Republic UI + + cooldown = { years = 10 } + + cost = { + prestige = total_republic_decree_prestige_cost + treasury_or_gold = { + value = total_republic_decree_gold_cost + } + } + + ai_check_interval_by_tier = { + barony = 0 + county = 150 + duchy = 120 + kingdom = 0 + empire = 0 + hegemony = 0 + } + + is_shown = { + # You are a republic + government_has_flag = government_is_republic + has_gdp_dlc_trigger = yes + } + + is_valid = { + # You are not the doge + custom_tooltip = { + text = you_are_not_republic_leader_desc + this != highest_liege_matching_rule:uses_assembly + } + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + at_war = no + imprisoned = no + incapable = no + } + # If assembly approval is required, we'll make sure that we are allowed to pass decrees + gdp_assembly_can_pass_decrees_trigger = yes + } + + effect = { + capital_province.county = { + add_county_modifier = { + modifier = gdp_sponsored_guild_modifier + years = 5 + } + } + house ?= { + add_house_modifier = { + modifier = gdp_guild_sponsor_house_modifier + years = 10 + } + } + } + + requires_approve = { gdp_assembly_approval_for_decrees_trigger = yes } + + ai_approval = { + value = 0 + if = { # If voter has pledged support, then we only show their approval + limit = { + scope:enactor ?= { + this != root + is_target_in_variable_list = { + name = decree_approvers + target = root + } + } + } + add = { + value = 100 + desc = decree_pledged_support_desc + } + } + else = { + add = republic_caucus_room_approval_value + add = { + value = ai_decree_approval_opinion_value + multiply = 0.25 + desc = DECREE_OPINION_DESC + } + + # House relation + add = { + value = ai_decree_approval_house_relation_value + multiply = 0.5 + desc = DECREE_HOUSE_RELATION_DESC + } + + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_commerce } + } + add = { + value = 10 + desc = REPUBLIC_COMMERCE_AMBITION_DESC + } + } + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_communal } + } + add = { + value = 5 + desc = REPUBLIC_COMMUNAL_AMBITION_DESC + } + } + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_agitation } + } + add = { + value = -20 + desc = REPUBLIC_AGITATION_AMBITION_DESC + } + } + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_signorial } + } + add = { + value = -5 + desc = REPUBLIC_SIGNORIAL_AMBITION_DESC + } + } + if = { + limit = { + house ?= { has_house_aspiration_parameter = republic_aggrandizement } + } + add = { + value = -15 + desc = REPUBLIC_AGGRANDIZEMENT_AMBITION_DESC + } + } + if = { + limit = { has_trait = education_stewardship } + add = { + value = 50 + desc = gdp_stewardship_education_approval_desc + } + } + } + } + + ai_potential = { + gdp_is_assembly_head_trigger = no + treasury > major_treasury_value + prestige > major_prestige_value + } + + ai_will_do = { + base = 10 + ## Traits + modifier = { + has_trait = diligent + factor = 1.5 + } + modifier = { + has_trait = ambitious + factor = 1.5 + } + modifier = { + has_lifestyle = stewardship_lifestyle + factor = 2 + } + } +} + +# Request a Noble Magistracy for your heir +gdp_request_noble_magistracy_decision = { + title = gdp_request_noble_magistracy_decision + desc = gdp_request_noble_magistracy_decision_desc + selection_tooltip = gdp_request_noble_magistracy_decision_tooltip + picture = { + trigger = { + culture = { + OR = { + has_graphical_african_culture_group_trigger = yes + has_graphical_iranian_culture_group_trigger = yes + has_graphical_mena_culture_group_trigger = yes + } + } + } + reference = "gfx/interface/illustrations/decisions/ep3_decision_city.dds" + } + picture = { + trigger = { + culture = { + OR = { + has_graphical_chinese_culture_group_trigger = yes + has_graphical_japanese_culture_group_trigger = yes + } + } + } + reference = "gfx/interface/illustrations/decisions/tgp_house_fief.dds" + } + picture = { + trigger = { + culture = { + OR = { + has_graphical_india_culture_group_trigger = yes + has_graphical_east_asia_or_southeast_asia_group_trigger = yes + } + } + } + reference = "gfx/interface/illustrations/decisions/tgp_decision_mandala.dds" + } + picture = { + reference = "gfx/interface/illustrations/decisions/concerted.dds" + } + sort_order = 20 + decision_group_type = republic_decree + is_invisible = yes # We hide decrees, since they are shown in the Republic UI + + cooldown = { years = 6 } + + cost = { + prestige = total_republic_decree_prestige_cost + treasury_or_gold = { + value = total_republic_decree_gold_cost + } + } + + ai_check_interval_by_tier = { + barony = 0 + county = 150 + duchy = 120 + kingdom = 0 + empire = 0 + hegemony = 0 + } + + is_shown = { + # You are a republic + government_has_flag = government_is_republic + has_gdp_dlc_trigger = yes + } + + is_valid = { + # You are the doge + custom_tooltip = { + text = you_are_not_republic_leader_desc + this != highest_liege_matching_rule:uses_assembly + } + custom_tooltip = { + text = you_have_and_adult_heir_desc + any_held_title = { + is_noble_family_title = yes + current_heir ?= { + is_available_quick = { + adult = yes + at_war = no + imprisoned = no + incapable = no + } + } + } + } + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + at_war = no + imprisoned = no + incapable = no + } + # If assembly approval is required, we'll make sure that we are allowed to pass decrees + gdp_assembly_can_pass_decrees_trigger = yes + } + + effect = { + random_held_title = { + limit = { is_noble_family_title = yes } + current_heir = { + add_character_modifier = { + modifier = gdp_noble_magistrate_modifier + years = 5 + } + } + } + gdp_enacted_decree_effect = yes + } + + requires_approve = { gdp_assembly_approval_for_decrees_trigger = yes } + + ai_approval = { + value = 0 + if = { # If voter has pledged support, then we only show their approval + limit = { + scope:enactor ?= { + this != root + is_target_in_variable_list = { + name = decree_approvers + target = root + } + } + } + add = { + value = 100 + desc = decree_pledged_support_desc + } + } + else = { + add = republic_caucus_room_approval_value + add = { + value = ai_decree_approval_opinion_value + multiply = 0.25 + desc = DECREE_OPINION_DESC + } + + # House relation + add = { + value = ai_decree_approval_house_relation_value + multiply = 0.5 + desc = DECREE_HOUSE_RELATION_DESC + } + + if = { + limit = { + exists = scope:enactor.player_heir + NOT = { this = scope:enactor.player_heir } + } + add = { + value = "opinion(scope:enactor.player_heir)" + desc = gdp_noble_heir_opinion_approval_desc + } + } + } + } + + ai_potential = { + gdp_is_assembly_head_trigger = no + treasury > major_treasury_value + prestige > major_prestige_value + } + + ai_will_do = { + base = 10 + ## Order in the city + modifier = { + capital_county = { + county_control < county_control_baseline + } + add = 40 + } + ## Traits + modifier = { + has_trait = diligent + factor = 1.4 + } + modifier = { + has_trait = paranoid + factor = 2 + } + modifier = { + has_trait = zealous + factor = 1.5 + } + modifier = { + OR = { + has_trait = deceitful + has_trait = lustful + } + factor = 0.5 + } + } +} + +# Request that your private debt be paid through the treasury +gdp_request_relief_from_bankruptcy_decision = { + title = gdp_request_relief_from_bankruptcy_decision + desc = gdp_request_relief_from_bankruptcy_decision_desc + selection_tooltip = gdp_request_relief_from_bankruptcy_decision_tooltip + picture = { + trigger = { + culture = { + OR = { + has_graphical_african_culture_group_trigger = yes + has_graphical_iranian_culture_group_trigger = yes + has_graphical_mena_culture_group_trigger = yes + } + } + } + reference = "gfx/interface/illustrations/decisions/ep3_decision_city.dds" + } + picture = { + trigger = { + culture = { + OR = { + has_graphical_chinese_culture_group_trigger = yes + has_graphical_japanese_culture_group_trigger = yes + } + } + } + reference = "gfx/interface/illustrations/decisions/tgp_debate.dds" + } + picture = { + trigger = { + culture = { + OR = { + has_graphical_india_culture_group_trigger = yes + has_graphical_east_asia_or_southeast_asia_group_trigger = yes + } + } + } + reference = "gfx/interface/illustrations/decisions/tgp_decision_mandala.dds" + } + picture = { + reference = "gfx/interface/illustrations/decisions/independent.dds" + } + sort_order = 20 + decision_group_type = republic_decree + is_invisible = yes # We hide decrees, since they are shown in the Republic UI + + cooldown = { years = 5 } + + cost = { + prestige = total_republic_decree_prestige_cost + } + + ai_check_interval_by_tier = { + barony = 0 + county = 150 + duchy = 120 + kingdom = 60 + empire = 60 + hegemony = 60 + } + + is_shown = { + # You are a republic + government_has_flag = government_is_republic + has_gdp_dlc_trigger = yes + } + + is_valid = { + # Personal gold is negative. Use gold, not short_term_gold. + custom_tooltip = { + text = negative_gold_balance_desc + gold < 0 + } + # You are not the doge + custom_tooltip = { + text = you_are_not_republic_leader_desc + this != highest_liege_matching_rule:uses_assembly + } + custom_tooltip = { + text = the_treasury_can_cover_your_debt_desc + highest_liege_matching_rule:uses_assembly = { + gdp_is_assembly_head_trigger = yes + treasury >= { + value = root.gold + multiply = -1 + } + } + } + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + at_war = no + imprisoned = no + incapable = no + } + # If assembly approval is required, we'll make sure that we are allowed to pass decrees + gdp_assembly_can_pass_decrees_trigger = yes + } + + effect = { + gdp_save_patrician_liege_effect = yes + if = { + limit = { + gold < 0 + exists = highest_liege_matching_rule:uses_assembly + NOT = { this = highest_liege_matching_rule:uses_assembly } + highest_liege_matching_rule:uses_assembly = { + treasury >= { + value = root.gold + multiply = -1 + } + } + } + # One positive snapshot, shared by both sides + save_scope_value_as = { + name = bankruptcy_relief + value = { + value = 0 + subtract = gold + min = 0 + } + } + scope:patrician_liege = { + remove_short_term_treasury = scope:bankruptcy_relief + } + add_gold = scope:bankruptcy_relief + } + gdp_enacted_decree_effect = yes + } + + requires_approve = { gdp_assembly_approval_for_decrees_trigger = yes } + + ai_approval = { + value = 0 + if = { # If voter has pledged support, then we only show their approval + limit = { + scope:enactor ?= { + this != root + is_target_in_variable_list = { + name = decree_approvers + target = root + } + } + } + add = { + value = 100 + desc = decree_pledged_support_desc + } + } + else = { + add = republic_caucus_room_approval_value + add = { + value = ai_decree_approval_opinion_value + multiply = 0.25 + desc = DECREE_OPINION_DESC + } + + # House relation + add = { + value = ai_decree_approval_house_relation_value + multiply = 0.5 + desc = DECREE_HOUSE_RELATION_DESC + } + + if = { + limit = { + has_trait = education_stewardship_1 + } + add = { + value = -5 + desc = gdp_decree_indulgent_wastrel_approval_desc + } + } + if = { + limit = { + has_trait = profligate + } + add = { + value = -5 + desc = gdp_decree_profligate_approval_desc + } + } + } + } + + ai_potential = { + gdp_is_assembly_head_trigger = no + treasury > major_treasury_value + prestige > major_prestige_value + } + + ai_will_do = { + base = 10 + ## Order in the city + modifier = { + capital_county = { + county_control < county_control_baseline + } + add = 40 + } + ## Traits + modifier = { + has_trait = diligent + factor = 1.4 + } + modifier = { + has_trait = paranoid + factor = 2 + } + modifier = { + has_trait = zealous + factor = 1.5 + } + modifier = { + OR = { + has_trait = deceitful + has_trait = lustful + } + factor = 0.5 + } + } +} + +# Petition the state for protection +gdp_petition_for_state_protection_decision = { + title = gdp_petition_for_state_protection_decision + desc = gdp_petition_for_state_protection_decision_desc + selection_tooltip = gdp_petition_for_state_protection_decision_tooltip + picture = { + trigger = { + culture = { + OR = { + has_graphical_african_culture_group_trigger = yes + has_graphical_iranian_culture_group_trigger = yes + has_graphical_mena_culture_group_trigger = yes + } + } + } + reference = "gfx/interface/illustrations/decisions/ep3_decision_city.dds" + } + picture = { + trigger = { + culture = { + OR = { + has_graphical_chinese_culture_group_trigger = yes + has_graphical_japanese_culture_group_trigger = yes + } + } + } + reference = "gfx/interface/illustrations/decisions/tgp_retire.dds" + } + picture = { + trigger = { + culture = { + OR = { + has_graphical_india_culture_group_trigger = yes + has_graphical_east_asia_or_southeast_asia_group_trigger = yes + } + } + } + reference = "gfx/interface/illustrations/decisions/tgp_decision_mandala.dds" + } + picture = { + reference = "gfx/interface/illustrations/decisions/gdp_republic_assembly.dds" + } + sort_order = 20 + decision_group_type = republic_decree + is_invisible = yes # We hide decrees, since they are shown in the Republic UI + + cooldown = { years = 6 } + + cost = { + prestige = total_republic_decree_prestige_cost + treasury_or_gold = { + value = total_republic_decree_gold_cost + } + } + + ai_check_interval_by_tier = { + barony = 0 + county = 150 + duchy = 120 + kingdom = 60 + empire = 60 + hegemony = 60 + } + + is_shown = { + # You are a republic + government_has_flag = government_is_republic + has_gdp_dlc_trigger = yes + } + + is_valid = { + } + + is_valid_showing_failures_only = { + is_available_quick = { + adult = yes + at_war = no + imprisoned = no + incapable = no + } + # If assembly approval is required, we'll make sure that we are allowed to pass decrees + gdp_assembly_can_pass_decrees_trigger = yes + } + + effect = { + add_character_modifier = { + modifier = gdp_state_protection_modifier + years = 5 + } + gdp_enacted_decree_effect = yes + } + + requires_approve = { gdp_assembly_approval_for_decrees_trigger = yes } + + ai_approval = { + value = 0 + if = { # If voter has pledged support, then we only show their approval + limit = { + scope:enactor ?= { + this != root + is_target_in_variable_list = { + name = decree_approvers + target = root + } + } + } + add = { + value = 100 + desc = decree_pledged_support_desc + } + } + else = { + add = republic_caucus_room_approval_value + add = { + value = ai_decree_approval_opinion_value + multiply = 0.25 + desc = DECREE_OPINION_DESC + } + + # House relation + add = { + value = ai_decree_approval_house_relation_value + multiply = 0.5 + desc = DECREE_HOUSE_RELATION_DESC + } + + if = { + limit = { + scope:enactor ?= { + any_targeting_scheme = { + count >= 2 + hostile_scheme_trigger = yes + } + } + } + add = { + value = 7 + desc = gdp_multiple_hostile_schemes_approval_desc + } + } + if = { + limit = { + scope:enactor ?= { + any_targeting_scheme = { + scheme_type = murder + is_scheme_exposed = yes + } + } + } + add = { + value = 10 + desc = gdp_known_murder_scheme_approval_desc + } + } + if = { + limit = { has_trait = brave } + value = { + value = 0.7 + } + } + if = { + limit = { has_trait = paranoid } + value = { + value = 0.7 + } + } + if = { + limit = { has_trait = callous } + value = { + value = 0.5 + } + } + if = { + limit = { has_trait = craven } + value = { + value = 1.5 + } + } + if = { + limit = { has_trait = cynical } + value = { + value = 0.9 + } + } + } + } + + ai_potential = { + treasury > major_treasury_value + prestige > major_prestige_value + } + + ai_will_do = { + base = 10 + ## Order in the city + modifier = { + capital_county = { + county_control < county_control_baseline + } + add = 40 + } + ## Traits + modifier = { + has_trait = diligent + factor = 1.4 + } + modifier = { + has_trait = paranoid + factor = 2 + } + modifier = { + has_trait = zealous + factor = 1.5 + } + modifier = { + OR = { + has_trait = deceitful + has_trait = lustful + } + factor = 0.5 + } + } +} + diff --git a/common/landed_titles/debug_titles.txt b/common/landed_titles/debug_titles.txt index 29e311572..43b04333a 100644 --- a/common/landed_titles/debug_titles.txt +++ b/common/landed_titles/debug_titles.txt @@ -10,10 +10,7 @@ h_china = { capital = c_thessalonika color = { 230 180 10 } } - e_minister_chancellor = { - capital = c_thessalonika - color = { 230 180 10 } - } + e_minister_censor = { capital = c_thessalonika color = { 230 180 10 } @@ -96,3 +93,18 @@ e_hre = { } } } + +h_roman_republic = { + color = { 201 12 0 } + capital = c_roma + definite_form = yes + can_be_named_after_dynasty = no + can_create = { + rule_title_creation_imperial_power_projection_title_creation_trigger = yes + } +} + +# k_hansa = { +# color = { 142 142 142 } +# capital = c_lubeck +# } diff --git a/common/scripted_effects/NEOW_historical_artifacts_creation_effect.txt b/common/scripted_effects/NEOW_historical_artifacts_creation_effect.txt index d9e03dd74..806919cca 100644 --- a/common/scripted_effects/NEOW_historical_artifacts_creation_effect.txt +++ b/common/scripted_effects/NEOW_historical_artifacts_creation_effect.txt @@ -1,31 +1,4 @@ -create_artifact_excalibur_effect = { - # Get the character the artifact is being made for. - $OWNER$ = { save_scope_as = owner } - # Not really used, but if we don't set the scopes we get errors in the feature selection - set_artifact_rarity_common = yes - - # Create the artifact - create_artifact = { - name = excalibur_name - description = excalibur_description - type = pedestal - visuals = excalibur - wealth = scope:wealth - quality = scope:quality - history = { - type = created_before_history - } - modifier = excalibur_modifier - save_scope_as = newly_created_artifact - decaying = no - } - - scope:newly_created_artifact = { - set_variable = { name = historical_unique_artifact value = yes } - set_variable = excalibur - save_scope_as = epic - } -} + create_artifact_crown_wenceslas_effect = { # Crown of Saint Wenceslas # Get the character the artifact is being made for. diff --git a/common/scripted_triggers/10_tgp_japan_triggers.txt b/common/scripted_triggers/10_tgp_japan_triggers.txt index f8e914a33..3d2fc0b01 100644 --- a/common/scripted_triggers/10_tgp_japan_triggers.txt +++ b/common/scripted_triggers/10_tgp_japan_triggers.txt @@ -335,19 +335,7 @@ tgp_blocked_action_against_king_emperor_trigger = { } } -tgp_blocked_ruler_against_ceremonial_action_trigger = { - custom_description = { - text = tgp_blocked_ruler_against_ceremonial_action_trigger - NAND = { - $british_monarch$ = { has_title = title:k_royal_household} - $REGENT$ = $british_monarch$.liege - } - } - trigger_else = { always = yes } - NOT = { - is_target_in_variable_list = { name = japanese_house_names target = $FLAG$ } - } -} + #japan_house_name_county_trigger = { # exists = $TITLE$ diff --git a/common/situation/situations/gdp_guelph_ghibelline_situation.txt b/common/situation/situations/gdp_guelph_ghibelline_situation.txt new file mode 100644 index 000000000..ffa51c302 --- /dev/null +++ b/common/situation/situations/gdp_guelph_ghibelline_situation.txt @@ -0,0 +1,2248 @@ +# NEOW: historical Guelph/Ghibelline system disabled for NEOW. +# Original vanilla content is preserved in comments for easy restoration. +# guelph_ghibelline = { +# situation_group_type = minor +# is_unique = yes +# keep_full_history = yes +# map_mode = participant_groups_inside_realm + +# ################################################## +# # Regions +# ################################################## + +# sub_regions = { +# core = { +# icon = "gfx/interface/icons/situation_types/guelph_ghibelline.dds" +# } +# } + +# ################################################## +# # On Actions +# ################################################## + +# on_start = { +# root.situation_sub_region:core = { +# add_geographical_region = gdp_guelph_ghibelline_region +# } +# #Hand out the GG story to relevant parties +# if = { +# limit = { game_start_date = 1178.10.1 } #AI Heinrich & Pope has other things to tend to +# random_situation_participant = { +# limit = { +# has_variable = ghibelline_leader +# is_ai = yes +# } +# create_story = story_guelph_ghibelline +# } +# random_situation_participant = { +# limit = { +# has_variable = guelph_leader +# is_ai = yes +# } +# create_story = story_guelph_ghibelline +# } +# } +# else = { +# set_global_variable = { +# name = active_guelph_ghibelline +# value = 0 +# } +# } +# #8~ members (4 Guelph, 4 Ghibelline) in 1178, 10 in 1066 +# while = { +# limit = { +# exists = global_var:active_guelph_ghibelline +# trigger_if = { +# limit = { game_start_date = 1178.10.1 } +# global_var:active_guelph_ghibelline < 6 #2 leaders + 4 Ghibellines +# } +# trigger_else = { global_var:active_guelph_ghibelline < 5 } # 0 leaders + 5 Ghibellines +# } +# random_situation_participant = { +# limit = { +# is_available_quick = { +# ai = yes +# adult = yes +# } +# top_participant_group:guelph_ghibelline ?= { participant_group_type = ghibelline_member } +# } +# weight = { +# base = 10 +# modifier = { +# save_temporary_scope_as = temp_check +# add = scope:temp_check.intrigue +# } +# } +# create_story = story_guelph_ghibelline +# } +# } +# while = { +# limit = { +# exists = global_var:active_guelph_ghibelline +# global_var:active_guelph_ghibelline < 10 +# } +# random_situation_participant = { +# limit = { +# is_available_quick = { +# ai = yes +# adult = yes +# } +# top_participant_group:guelph_ghibelline ?= { participant_group_type = guelph_member } +# } +# weight = { +# base = 10 +# modifier = { +# save_temporary_scope_as = temp_check +# add = scope:temp_check.intrigue +# } +# } +# create_story = story_guelph_ghibelline +# } +# } +# #The Lombard League in 1178! +# if = { +# limit = { game_start_date = 1178.10.1 } +# character:213600 = { #Venice +# add_character_modifier = lombard_founder_modifier +# create_confederation = { +# name = lombard_league_name +# type = confederation_type:lombard_league +# } +# scope:new_confederation ?= { set_coa = lombard_league } +# add_to_list = lombard_league_member_list +# } +# character:cisalpine0204 = { add_to_list = lombard_league_member_list } #Verona +# character:223597 = { add_to_list = lombard_league_member_list } #Padua / Polesine +# character:cisalpine0208 = { add_to_list = lombard_league_member_list } #Treviso +# character:asinelli_1 = { add_to_list = lombard_league_member_list } #Bologna +# character:cisalpine0153 = { add_to_list = lombard_league_member_list } #Ferrara +# character:cisalpine0158 = { add_to_list = lombard_league_member_list } #Modena +# character:bonacolsi_1 = { add_to_list = lombard_league_member_list } #Mantua / Guastalla +# character:carpineto_1 = { add_to_list = lombard_league_member_list } #Cremona +# character:osa_1 = { add_to_list = lombard_league_member_list } #Brescia +# character:71264 = { add_to_list = lombard_league_member_list } #Novara +# character:beccaria_1 = { add_to_list = lombard_league_member_list } #Tortona +# character:cisalpine0778 = { add_to_list = lombard_league_member_list } #Parma / Piacenza +# character:91416 = { add_to_list = lombard_league_member_list } #Genoa +# character:213007 = { add_to_list = lombard_league_member_list } #Milano +# every_in_list = { +# list = lombard_league_member_list +# save_temporary_scope_as = temp_ll_member +# scope:new_confederation = { +# if = { +# limit = { +# NOT = { +# any_confederation_member = { this = scope:temp_ll_member } +# } +# } +# add_confederation_member = scope:temp_ll_member +# } +# } +# #Lombard Leaguers get a truce with the HRE Kaiser up until 1183 +# add_truce_both_ways = { +# character = character:212501 +# years = 5 +# name = TRUCE_TREATY_OF_VENICE +# result = victory +# } +# } +# set_global_variable = { +# name = lombard_league_created +# value = character:213600 #The founder +# } +# } +# if = { +# limit = { game_start_date = 1066.9.15 } +# character:7804 ?= { add_to_list = gg_starting_involvement_list } #Vitale Faliero +# character:7757 ?= { add_to_list = gg_starting_involvement_list } #Matilda of Canossa +# character:11030 ?= { add_to_list = gg_starting_involvement_list } #Godfrey the Bearded +# character:1118 ?= { add_to_list = gg_starting_involvement_list } #Azzo II d'Este +# character:1530 ?= { add_to_list = gg_starting_involvement_list } #Welf IV +# character:112600 ?= { add_to_list = gg_starting_involvement_list } #Otto of Nordheim +# character:1610 ?= { add_to_list = gg_starting_involvement_list } #Berthold of Zahringen +# } +# else_if = { +# limit = { game_start_date = 1178.10.1 } +# character:213110 ?= { add_to_list = gg_starting_involvement_list } #Humbert III of Savoy +# character:guidi_1 ?= { add_to_list = gg_starting_involvement_list } #Guido Guerra III +# character:dalesmanni_1 ?= { add_to_list = gg_starting_involvement_list } #Speronella Dalesmanni +# character:213100 ?= { add_to_list = gg_starting_involvement_list } #Konrad von Urslingen +# character:71810 ?= { add_to_list = gg_starting_involvement_list } #Pope Alexander III +# character:212600 ?= { add_to_list = gg_starting_involvement_list } #Henry the Lion +# character:213520 ?= { add_to_list = gg_starting_involvement_list } #William V of Montferrat +# character:212960 ?= { add_to_list = gg_starting_involvement_list } #Otto I of Wittelsbach +# character:223597 ?= { add_to_list = gg_starting_involvement_list } #Obizzo I d'Este +# character:cisalpine0208 ?= { add_to_list = gg_starting_involvement_list } #Ezzelino I da Romano +# character:213600 ?= { add_to_list = gg_starting_involvement_list } #Doge Orio Mastropiero +# } +# every_situation_participant = { +# limit = { +# has_variable = gg_involvement +# OR = { +# has_variable = guelph_leader +# has_variable = ghibelline_leader +# } +# } +# gg_add_involvement_effect = { AMOUNT = gg_involvement_minor_value } +# } +# every_situation_participant = { +# limit = { +# has_variable = gg_involvement +# is_in_list = gg_starting_involvement_list +# NOR = { +# has_variable = guelph_leader +# has_variable = ghibelline_leader +# } +# } +# gg_add_involvement_effect = { AMOUNT = gg_involvement_miniscule_value } +# } +# #Splash screen +# every_situation_participant = { +# if = { +# limit = { +# is_ai = no +# OR = { +# has_variable = ghibelline_leader +# has_variable = guelph_leader +# any_held_title = { +# OR = { +# this = title:k_venice +# title_province = { geographical_region = gdp_guelph_ghibelline_northern_italy_region } +# } +# } +# top_overlord ?= { +# any_held_title = { +# OR = { +# this = title:k_venice +# title_province = { geographical_region = gdp_guelph_ghibelline_northern_italy_region } +# } +# } +# } +# } +# } +# trigger_event = gdp_guelph_ghibelline.0500 # Introduction to the Guelphs & Ghibellines +# } +# } +# } + +# on_end = { +# every_situation_participant = { +# remove_variable = guelph_leader +# remove_variable = ghibelline_leader +# remove_variable = ghibelline_member_override +# remove_variable = guelph_member_override +# remove_variable = changed_to_ghibelline +# remove_variable = changed_to_guelph +# remove_variable = schemed_to_ghibelline +# remove_variable = schemed_to_guelph +# remove_variable = undecided_override +# remove_variable = gg_involvement +# } +# } + +# on_monthly = { +# ###Historical stuff +# #1075 Investiture Crisis / Dictatus Papae +# if = { +# limit = { +# situation_current_phase = in_nomine_domini +# current_year = 1075 +# NOT = { situation_current_phase = dictatus_papae } +# } +# situation:guelph_ghibelline = { +# if = { +# limit = { +# NOT = { situation_current_phase = dictatus_papae } +# } +# every_situation_participant = { +# limit = { is_ai = no } +# send_interface_message = { +# type = msg_guelph_ghibelline_dictatus_papae_neutral_text +# title = dictatus_papae +# desc = change_situation_phase_to_dictatus_papae_tt +# } +# } +# situation_top_sub_region = { change_phase = dictatus_papae } +# } +# } +# } +# #1123 Concordat of Worms +# if = { +# limit = { +# situation_current_phase = dictatus_papae +# NOT = { has_variable = had_concordat_of_worms } +# current_year >= 1123 +# } +# random_list = { +# 50 = { +# trigger = { +# trigger_if = { +# limit = { has_variable = concordat_of_worms_chance_var } +# var:concordat_of_worms_chance_var < 3 +# } +# trigger_else = { always = yes } +# } +# increment_variable_effect = { +# VAR = concordat_of_worms_chance_var +# VAL = 1 +# } +# } +# 50 = { +# #Uh-oh, at least one leader is a player +# if = { +# limit = { +# any_situation_participant = { +# OR = { +# has_variable = guelph_leader +# has_variable = ghibelline_leader +# } +# is_ai = no +# } +# } +# if = { +# limit = { +# any_situation_participant = { +# has_variable = guelph_leader +# is_ai = no +# } +# } +# #Guelphs decide +# random_situation_participant = { +# limit = { has_variable = guelph_leader } +# trigger_event = gdp_guelph_ghibelline.6500 +# } +# } +# else = { +# #Ghibellines decide +# random_situation_participant = { +# limit = { has_variable = ghibelline_leader } +# trigger_event = gdp_guelph_ghibelline.6505 +# } +# } +# } +# else = { +# #Are any of the leaders at war with someone from the other side? +# if = { +# limit = { +# OR = { +# any_situation_participant = { +# has_variable = guelph_leader +# save_temporary_scope_as = guelph_leader_check +# any_character_war = { +# OR = { +# AND = { +# any_war_attacker = { this = scope:guelph_leader_check } +# any_war_defender = { is_ghibelline_trigger = yes } +# } +# AND = { +# any_war_attacker = { is_ghibelline_trigger = yes } +# any_war_defender = { this = scope:guelph_leader_check } +# } +# } +# } +# } +# any_situation_participant = { +# has_variable = ghibelline_leader +# save_temporary_scope_as = ghibelline_leader_check +# any_character_war = { +# OR = { +# AND = { +# any_war_attacker = { this = scope:ghibelline_leader_check } +# any_war_defender = { is_guelph_trigger = yes } +# } +# AND = { +# any_war_attacker = { is_guelph_trigger = yes } +# any_war_defender = { this = scope:ghibelline_leader_check } +# } +# } +# } +# } +# } +# } +# fulfill_concordat_of_worms_effect = { NEW_PHASE = agitation } +# } +# else = { +# fulfill_concordat_of_worms_effect = { NEW_PHASE = repose } +# } +# set_variable = had_concordat_of_worms +# } +# } +# } +# } +# #1167 The Lombard league forms +# if = { +# limit = { +# NOT = { has_global_variable = lombard_league_created } +# current_year >= 1167 +# #The Kaiser needs to exist and be the leader +# any_situation_participant = { +# has_variable = ghibelline_leader +# primary_title = title:e_hre +# } +# } +# random_list = { +# 50 = { +# trigger = { +# trigger_if = { +# limit = { has_variable = lombard_league_chance_var } +# var:lombard_league_chance_var < 5 +# } +# trigger_else = { always = yes } +# } +# increment_variable_effect = { +# VAR = lombard_league_chance_var +# VAL = 1 +# } +# } +# 50 = { +# #Checks'n'balances - start looking for the first-hand Lombard leader - Venice +# if = { +# limit = { +# title:k_venice ?= { +# holder ?= { +# is_either_hre_vassal_or_independent_king_trigger = yes +# is_ai = yes +# } +# } +# } +# title:k_venice.holder ?= { +# save_scope_as = league_creator +# save_scope_value_as = { +# name = league_creator_title +# value = flag:venice +# } +# if = { +# limit = { scope:league_creator_title = flag:venice } +# #Error Suppressant +# } +# #AI gets set up automatically +# create_lombard_league_effect = yes +# gg_involvement_decision_effect = yes +# } +# } +# #Alright, no Venice - Verona? +# if = { +# limit = { +# NOR = { +# has_global_variable = lombard_league_created +# exists = scope:new_confederation +# } +# } +# try_to_set_up_lombard_league_with_effect = { TITLE = title:c_verona } +# } +# #Ok, no Verona - what about Padua? +# if = { +# limit = { +# NOR = { +# has_global_variable = lombard_league_created +# exists = scope:new_confederation +# } +# } +# try_to_set_up_lombard_league_with_effect = { TITLE = title:c_padua } +# } +# #Treviso? +# if = { +# limit = { +# NOR = { +# has_global_variable = lombard_league_created +# exists = scope:new_confederation +# } +# } +# try_to_set_up_lombard_league_with_effect = { TITLE = title:c_treviso } +# } +# #Bologna? +# if = { +# limit = { +# NOR = { +# has_global_variable = lombard_league_created +# exists = scope:new_confederation +# } +# } +# try_to_set_up_lombard_league_with_effect = { TITLE = title:c_bologna } +# } +# #Ferrara? +# if = { +# limit = { +# NOR = { +# has_global_variable = lombard_league_created +# exists = scope:new_confederation +# } +# } +# try_to_set_up_lombard_league_with_effect = { TITLE = title:c_ferrara } +# } +# #Modena? +# if = { +# limit = { +# NOR = { +# has_global_variable = lombard_league_created +# exists = scope:new_confederation +# } +# } +# try_to_set_up_lombard_league_with_effect = { TITLE = title:c_modena } +# } +# #Mantua? +# if = { +# limit = { +# NOR = { +# has_global_variable = lombard_league_created +# exists = scope:new_confederation +# } +# } +# try_to_set_up_lombard_league_with_effect = { TITLE = title:c_mantua } +# } +# #Cremona? +# if = { +# limit = { +# NOR = { +# has_global_variable = lombard_league_created +# exists = scope:new_confederation +# } +# } +# try_to_set_up_lombard_league_with_effect = { TITLE = title:c_cremona } +# } +# #Brescia? +# if = { +# limit = { +# NOR = { +# has_global_variable = lombard_league_created +# exists = scope:new_confederation +# } +# } +# try_to_set_up_lombard_league_with_effect = { TITLE = title:c_brescia } +# } +# #Novara? +# if = { +# limit = { +# NOR = { +# has_global_variable = lombard_league_created +# exists = scope:new_confederation +# } +# } +# try_to_set_up_lombard_league_with_effect = { TITLE = title:c_novara } +# } +# #Tortona? +# if = { +# limit = { +# NOR = { +# has_global_variable = lombard_league_created +# exists = scope:new_confederation +# } +# } +# try_to_set_up_lombard_league_with_effect = { TITLE = title:c_tortona } +# } +# #Piacenza? +# if = { +# limit = { +# NOR = { +# has_global_variable = lombard_league_created +# exists = scope:new_confederation +# } +# } +# try_to_set_up_lombard_league_with_effect = { TITLE = title:c_piacenza } +# } +# #Parma? +# if = { +# limit = { +# NOR = { +# has_global_variable = lombard_league_created +# exists = scope:new_confederation +# } +# } +# try_to_set_up_lombard_league_with_effect = { TITLE = title:c_parma } +# } +# #Genoa? +# if = { +# limit = { +# NOR = { +# has_global_variable = lombard_league_created +# exists = scope:new_confederation +# } +# } +# try_to_set_up_lombard_league_with_effect = { TITLE = title:c_genoa } +# } +# ##To avoid the bordergore exclaves +# #Guastalla +# if = { +# limit = { +# NOR = { +# has_global_variable = lombard_league_created +# exists = scope:new_confederation +# } +# } +# try_to_set_up_lombard_league_with_effect = { TITLE = title:c_guastalla } +# } +# #Polesine +# if = { +# limit = { +# NOR = { +# has_global_variable = lombard_league_created +# exists = scope:new_confederation +# } +# } +# try_to_set_up_lombard_league_with_effect = { TITLE = title:c_polesine } +# } +# #County of Lombardia (Pavia is the capital of the Duchy of Lombardia) +# if = { +# limit = { +# NOR = { +# has_global_variable = lombard_league_created +# exists = scope:new_confederation +# } +# } +# try_to_set_up_lombard_league_with_effect = { TITLE = title:c_lombardia } +# } +# } +# } +# } + + +# ###Maintenance +# #A leader can drop out of the struggle without dying or losing their land +# if = { +# limit = { +# gg_phase_is_pre_gg_trigger = no +# NOT = { +# any_situation_participant = { has_variable = guelph_leader } +# } +# situation_participant_group:guelph_member = { +# any_situation_group_participant = { +# NOT = { +# any_held_title = { this = title:k_papal_state } +# } +# } +# } +# } +# every_ruler = { +# limit = { has_variable = guelph_leader } +# remove_variable = guelph_leader +# } +# situation_participant_group:guelph_member = { +# ordered_situation_group_participant = { +# limit = { +# NOT = { +# any_held_title = { this = title:k_papal_state } +# } +# } +# order_by = primary_title.tier +# set_variable = guelph_leader +# recalculate_participant_group = situation:guelph_ghibelline +# } +# } +# } +# if = { +# limit = { +# gg_phase_is_pre_gg_trigger = no +# NOT = { +# any_situation_participant = { has_variable = ghibelline_leader } +# } +# situation_participant_group:ghibelline_member = { +# any_situation_group_participant = { count >= 1 } +# } +# } +# every_ruler = { +# limit = { has_variable = ghibelline_leader } +# remove_variable = ghibelline_leader +# } +# situation_participant_group:ghibelline_member = { +# ordered_situation_group_participant = { +# order_by = primary_title.tier +# set_variable = ghibelline_leader +# recalculate_participant_group = situation:guelph_ghibelline +# } +# } +# } +# #Is the Situation still valid? +# if = { +# limit = { +# any_situation_participant = { has_variable = guelph_leader } +# any_situation_participant = { has_variable = ghibelline_leader } +# exists = title:e_hre.holder +# exists = title:k_papal_state.holder +# title:e_hre.holder != title:k_papal_state.holder +# NOT = { +# any_situation_participant = { +# has_variable = guelph_leader +# has_variable = ghibelline_leader +# } +# } +# #If we start in 1066, the Ghibelline leader must be the HRE and the Guelph leader must be the Pope on the Concordat of Worms, otherwise we end the situation +# trigger_if = { +# limit = { gg_phase_is_pre_gg_trigger = yes } +# title:e_hre.holder = { +# has_variable = ghibelline_leader +# #And the Pope should be the Kaiser's head of faith +# faith.religious_head = title:k_papal_state.holder +# } +# title:k_papal_state.holder = { has_variable = guelph_leader } +# } +# } +# #Carry on +# } +# else = { +# if = { +# limit = { +# OR = { +# title:e_hre.holder ?= title:k_papal_state.holder +# any_situation_participant = { +# has_variable = guelph_leader +# has_variable = ghibelline_leader +# } +# } +# } +# save_scope_value_as = { +# name = missing_leader +# value = flag:pope_is_emperor +# } +# } +# else_if = { +# limit = { +# NOT = { +# any_situation_participant = { has_variable = guelph_leader } +# } +# } +# save_scope_value_as = { +# name = missing_leader +# value = flag:guelph +# } +# gg_invalidation_missing_leader_message_effect = { MISSING_LEADER = scope:missing_leader } +# } +# else_if = { +# limit = { +# NOT = { +# any_situation_participant = { has_variable = ghibelline_leader } +# } +# } +# save_scope_value_as = { +# name = missing_leader +# value = flag:ghibelline +# } +# gg_invalidation_missing_leader_message_effect = { MISSING_LEADER = scope:missing_leader } +# } +# else_if = { +# limit = { +# NOT = { exists = title:e_hre.holder } +# } +# save_scope_value_as = { +# name = missing_leader +# value = flag:hre +# } +# } +# else_if = { +# limit = { +# game_start_date = 1066.9.15 +# current_date <= 1122.9.23 +# NOT = { +# title:e_hre.holder = { has_variable = ghibelline_leader } +# } +# } +# save_scope_value_as = { +# name = missing_leader +# value = flag:1066_hre_not_leader +# } +# } +# else_if = { +# limit = { +# game_start_date = 1066.9.15 +# current_date <= 1122.9.23 +# NOT = { +# title:k_papal_state.holder = { has_variable = guelph_leader } +# } +# } +# save_scope_value_as = { +# name = missing_leader +# value = flag:1066_pope_not_leader +# } +# } +# else = { +# save_scope_value_as = { +# name = missing_leader +# value = flag:pope +# } +# } +# gg_invalidation_missing_leader_message_effect = { MISSING_LEADER = scope:missing_leader } +# end_situation = yes +# } +# #Change the phase? +# if = { +# limit = { situation_current_phase = agitation } +# #Ghibelline Advantage +# if = { +# limit = { +# NOT = { situation_current_phase = ghibelline_advantage } +# situation_ghibelline_group_score >= situation_score_advantage_threshold +# } +# every_situation_participant = { +# limit = { is_ai = no } +# send_interface_message = { +# type = msg_ghibelline_advantage_neutral_text +# title = ghibelline_advantage +# desc = change_situation_phase_to_ghibelline_advantage_tt +# } +# } +# every_situation_sub_region = { change_phase = ghibelline_advantage } +# } +# #Guelph Advantage +# if = { +# limit = { +# NOT = { situation_current_phase = guelph_advantage } +# situation_guelph_group_score >= situation_score_advantage_threshold +# } +# every_situation_participant = { +# limit = { is_ai = no } +# send_interface_message = { +# type = msg_guelph_advantage_neutral_text +# title = guelph_advantage +# desc = change_situation_phase_to_guelph_advantage_tt +# } +# } +# every_situation_sub_region = { change_phase = guelph_advantage } +# } +# } +# #Swap from Ghibelline Advantage to either Guelph Advantage or decay into Agitation +# if = { +# limit = { +# situation_current_phase = ghibelline_advantage +# OR = { +# situation_ghibelline_group_score < situation_score_advantage_keep_threshold +# situation_guelph_group_score >= situation_score_advantage_threshold +# } +# } +# if = { +# limit = { situation_guelph_group_score >= situation_score_advantage_threshold } +# every_situation_participant = { +# limit = { is_ai = no } +# send_interface_message = { +# type = msg_guelph_advantage_neutral_text +# title = ghibelline_advantage +# desc = change_situation_phase_to_guelph_advantage_tt +# } +# } +# every_situation_sub_region = { change_phase = guelph_advantage } +# } +# else = { +# every_situation_participant = { +# limit = { is_ai = no } +# send_interface_message = { +# type = msg_guelph_ghibelline_agitation_neutral_text +# title = agitation +# desc = change_situation_phase_to_agitation_tt +# } +# } +# every_situation_sub_region = { change_phase = agitation } +# } +# } +# #Swap from Guelph Advantage to either Ghibelline Advantage or decay into Agitation +# if = { +# limit = { +# situation_current_phase = guelph_advantage +# OR = { +# situation_guelph_group_score < situation_score_advantage_keep_threshold +# situation_ghibelline_group_score >= situation_score_advantage_threshold +# } +# } +# if = { +# limit = { situation_ghibelline_group_score >= situation_score_advantage_threshold } +# every_situation_participant = { +# limit = { is_ai = no } +# send_interface_message = { +# type = msg_ghibelline_advantage_neutral_text +# title = guelph_advantage +# desc = change_situation_phase_to_guelph_advantage_tt +# } +# } +# every_situation_sub_region = { change_phase = ghibelline_advantage } +# } +# else = { +# every_situation_participant = { +# limit = { is_ai = no } +# send_interface_message = { +# type = msg_guelph_ghibelline_agitation_neutral_text +# title = agitation +# desc = change_situation_phase_to_agitation_tt +# } +# } +# every_situation_sub_region = { change_phase = agitation } +# } +# } +# #Characters who become participants by gaining a title skip on_join +# every_situation_participant = { +# limit = { +# NOT = { has_variable = gg_involvement } +# } +# set_variable = { +# name = gg_involvement +# value = gg_involvement_base_value +# } +# } +# #AI leaders get the struggle story once the struggle proper begins +# if = { +# limit = { gg_phase_is_pre_gg_trigger = no } +# every_situation_participant = { +# limit = { +# OR = { +# has_variable = guelph_leader +# has_variable = ghibelline_leader +# } +# is_ai = yes +# NOT = { +# any_owned_story = { type = story_guelph_ghibelline } +# } +# } +# create_story = story_guelph_ghibelline +# } +# } +# #Do we need more AI Story holders? +# if = { +# limit = { +# exists = global_var:active_guelph_ghibelline +# global_var:active_guelph_ghibelline < 10 +# } +# #Make it random who becomes active +# random_list = { +# 50 = { +# #But balance it if there are more AI Guelphs than AI Ghibellines etc +# trigger = { +# any_situation_participant = { +# count < 5 +# is_ghibelline_trigger = yes +# any_owned_story = { type = story_guelph_ghibelline } +# } +# } +# random_situation_participant = { +# limit = { +# is_available_quick = { +# ai = yes +# adult = yes +# } +# top_participant_group:guelph_ghibelline ?= { participant_group_type = ghibelline_member } +# } +# create_story = story_guelph_ghibelline +# } +# } +# 50 = { +# trigger = { +# any_situation_participant = { +# count < 5 +# is_guelph_trigger = yes +# any_owned_story = { type = story_guelph_ghibelline } +# } +# } +# random_situation_participant = { +# limit = { +# is_available_quick = { +# ai = yes +# adult = yes +# } +# top_participant_group:guelph_ghibelline ?= { participant_group_type = guelph_member } +# } +# create_story = story_guelph_ghibelline +# } +# } +# } +# } + +# ###Flavor +# #Did you do good? +# every_situation_participant = { +# limit = { +# NOR = { +# exists = var:guelph_leader +# exists = var:ghibelline_leader +# } +# OR = { +# AND = { +# situation:guelph_ghibelline ?= { +# any_situation_participant = { +# is_guelph_leader_trigger = yes +# is_ai = yes +# } +# } +# is_guelph_trigger = yes +# exists = var:recruited_guelphs_num +# var:recruited_guelphs_num >= gg_recruited_characters_goal +# } +# AND = { +# situation:guelph_ghibelline ?= { +# any_situation_participant = { +# is_ghibelline_leader_trigger = yes +# is_ai = yes +# } +# } +# is_ghibelline_trigger = yes +# exists = var:recruited_ghibelline_num +# var:recruited_ghibelline_num >= gg_recruited_characters_goal +# } +# } +# } +# trigger_event = { +# id = gdp_guelph_ghibelline.1000 +# days = { 1 5 } +# } +# } +# } + +# on_yearly = { +# #Hostility only decays after a full year without a hostile catalyst +# if = { +# limit = { NOT = { has_variable = gg_recent_hostility } } +# if = { +# limit = { +# situation_current_phase = in_nomine_domini +# situation_top_has_catalyst = catalyst_hostility_decay +# situation_top_sub_region = { phase_takeover_points:dictatus_papae > 0 } +# } +# trigger_situation_catalyst = catalyst_hostility_decay +# } +# if = { +# limit = { +# situation_current_phase = dictatus_papae +# situation_top_has_catalyst = catalyst_hostility_decay +# situation_top_sub_region = { phase_takeover_points:ad_interim > 0 } +# } +# trigger_situation_catalyst = catalyst_hostility_decay +# } +# if = { +# limit = { +# situation_current_phase = repose +# situation_top_has_catalyst = catalyst_hostility_decay +# situation_top_sub_region = { phase_takeover_points:agitation > 0 } +# } +# trigger_situation_catalyst = catalyst_hostility_decay +# } +# } +# if = { +# limit = { situation_current_phase = agitation } +# increment_variable_effect = { +# VAR = gg_agitation_years +# VAL = 1 +# } +# } +# if = { +# limit = { +# OR = { +# situation_current_phase = ghibelline_advantage +# situation_current_phase = guelph_advantage +# } +# } +# increment_variable_effect = { +# VAR = gg_advantage_years +# VAL = 1 +# } +# } +# #The leader of the side with the Advantage gains Involvement every year +# if = { +# limit = { situation_current_phase = ghibelline_advantage } +# every_situation_participant = { +# limit = { has_variable = ghibelline_leader } +# gg_involvement_interaction_effect = yes +# } +# } +# if = { +# limit = { situation_current_phase = guelph_advantage } +# every_situation_participant = { +# limit = { has_variable = guelph_leader } +# gg_involvement_interaction_effect = yes +# } +# } +# #An AI Pope may excommunicate the Emperor +# if = { +# limit = { situation_current_phase = dictatus_papae } +# random_situation_participant = { +# limit = { +# has_variable = guelph_leader +# is_ai = yes +# } +# save_scope_as = gg_excommunicator +# } +# random_situation_participant = { +# limit = { has_variable = ghibelline_leader } +# save_scope_as = gg_excommunication_target +# } +# if = { +# limit = { +# exists = scope:gg_excommunicator +# scope:gg_excommunication_target ?= { +# is_adult = yes +# faith.religious_head ?= scope:gg_excommunicator +# } +# scope:gg_excommunicator = { +# is_character_interaction_valid = { +# recipient = scope:gg_excommunication_target +# interaction = excommunicate_interaction +# } +# } +# } +# random = { +# chance = gg_pope_excommunicates_emperor_chance_value +# run_interaction = { +# interaction = excommunicate_interaction +# actor = scope:gg_excommunicator +# recipient = scope:gg_excommunication_target +# send_threshold = maybe +# } +# } +# } +# } +# } + +# on_join = { +# set_variable = { +# name = gg_involvement +# value = gg_involvement_base_value +# } + +# } + +# on_leave = { +# if = { +# limit = { +# is_alive = yes +# has_variable = gg_involvement +# } +# remove_variable = gg_involvement +# } +# } + +# ################################################## +# # Groups +# ################################################## +# participant_groups = { +# # read order is first valid +# ghibelline_leader = { +# icon = "gfx/interface/icons/situations/guelph_ghibelline/ghibelline_leader_group.dds" +# require_realm_in_sub_region = yes +# map_color = { 250 125 0 } + +# opposite_participant_group = { +# guelph_member guelph_leader +# } +# opposite_participant_group_opinion = -30 + +# is_character_valid = { +# OR = { +# is_landed = yes +# government_has_flag = government_is_merchant +# government_has_flag = government_is_republic +# } +# has_variable = ghibelline_leader +# } +# on_join = { +# gg_clean_up_participant_groups_effect = yes +# if = { +# limit = { +# any_confederation = { +# has_variable = is_lombard_league +# save_temporary_scope_as = the_lombard_league +# } +# is_member_of_confederation = scope:the_lombard_league +# } +# scope:the_lombard_league = { remove_confederation_member = prev } +# } +# gg_should_give_splash_screen_effect = yes +# } +# on_leave = { +# remove_variable = recruited_ghibelline_num +# } +# } +# guelph_leader = { +# icon = "gfx/interface/icons/situations/guelph_ghibelline/guelph_leader_group.dds" +# require_realm_in_sub_region = yes +# map_color = { 0 75 150 } + +# opposite_participant_group = { +# ghibelline_member ghibelline_leader +# } +# opposite_participant_group_opinion = -30 + +# is_character_valid = { +# OR = { +# is_landed = yes +# government_has_flag = government_is_merchant +# government_has_flag = government_is_republic +# } +# has_variable = guelph_leader +# } +# on_join = { +# gg_clean_up_participant_groups_effect = yes +# gg_should_give_splash_screen_effect = yes +# } +# on_leave = { +# remove_variable = recruited_guelphs_num +# } +# } +# ghibelline_member = { +# icon = "gfx/interface/icons/situations/guelph_ghibelline/ghibelline_member_group.dds" +# require_realm_in_sub_region = yes +# require_domicile_in_sub_region = yes +# map_color = { 350 225 0 } + +# opposite_participant_group = { +# guelph_member guelph_leader +# } +# opposite_participant_group_opinion = -30 + +# is_character_valid = { +# trigger_if = { +# limit = { has_variable = undecided_override } +# always = no +# } +# trigger_else_if = { +# limit = { has_variable = ghibelline_member_override } +# always = yes +# } +# #1178 +# trigger_else_if = { +# limit = { game_start_date = 1178.10.1 } +# OR = { +# 1178_house_or_dynasty_should_be_ghibelline_trigger = yes +# 1178_titles_should_be_ghibelline_trigger = yes +# top_liege = title:e_hre.holder +# } +# 1178_house_or_dynasty_should_be_guelph_trigger = no +# 1178_house_or_dynasty_variable_allegiance_trigger = no +# 1178_variable_allegiance_titles_trigger = no +# NOR = { +# has_variable = guelph_member_override +# this = title:k_france.holder +# this = title:k_denmark.holder +# this = title:k_venice.holder +# government_has_flag = government_is_landless_adventurer +# government_has_flag = government_is_ecclesiastical +# has_relation_rival = title:e_hre.holder +# } +# } +# #1066 +# trigger_else = { +# OR = { +# 1066_house_or_dynasty_should_be_ghibelline_trigger = yes +# 1066_titles_should_be_ghibelline_trigger = yes +# top_liege = title:e_hre.holder +# } +# 1066_house_or_dynasty_should_be_guelph_trigger = no +# 1066_titles_should_be_guelph_trigger = no +# 1066_variable_allegiance_titles_trigger = no +# NOR = { +# has_variable = guelph_member_override +# this = title:k_france.holder +# this = title:k_denmark.holder +# this = title:k_venice.holder +# government_has_flag = government_is_landless_adventurer +# government_has_flag = government_is_ecclesiastical +# has_relation_rival = title:e_hre.holder +# } +# } +# } +# on_join = { +# gg_clean_up_participant_groups_effect = yes +# if = { +# limit = { +# any_confederation = { +# has_variable = is_lombard_league +# save_temporary_scope_as = the_lombard_league +# } +# is_member_of_confederation = scope:the_lombard_league +# } +# scope:the_lombard_league = { remove_confederation_member = prev } +# } +# gg_should_give_splash_screen_effect = yes +# } +# on_leave = { +# if = { +# limit = { +# is_alive = yes +# has_variable = changed_to_ghibelline +# } +# remove_variable = changed_to_ghibelline +# } +# if = { +# limit = { +# is_alive = yes +# has_variable = recruited_ghibelline_num +# } +# remove_variable = recruited_ghibelline_num +# } +# } +# } +# guelph_member = { +# icon = "gfx/interface/icons/situations/guelph_ghibelline/guelph_member_group.dds" +# require_realm_in_sub_region = yes +# require_domicile_in_sub_region = yes +# map_color = { 0 175 250 } + +# opposite_participant_group = { +# ghibelline_member ghibelline_leader +# } +# opposite_participant_group_opinion = -30 + +# is_character_valid = { +# trigger_if = { +# limit = { has_variable = undecided_override } +# always = no +# } +# trigger_else_if = { +# limit = { has_variable = guelph_member_override } +# always = yes +# } +# #1178 +# trigger_else_if = { +# limit = { game_start_date = 1178.10.1 } +# OR = { +# 1178_house_or_dynasty_should_be_guelph_trigger = yes +# 1178_titles_should_be_guelph_trigger = yes +# government_has_flag = government_is_ecclesiastical +# has_relation_rival = title:e_hre.holder +# } +# 1178_house_or_dynasty_variable_allegiance_trigger = no +# 1178_variable_allegiance_titles_trigger = no +# NOR = { +# this = title:k_france.holder +# this = title:k_denmark.holder +# this = title:k_sicily.holder +# this = title:k_venice.holder +# government_has_flag = government_is_landless_adventurer +# } +# } +# #1066 +# trigger_else = { +# OR = { +# government_has_flag = government_is_ecclesiastical +# has_relation_rival = title:e_hre.holder +# 1066_house_or_dynasty_should_be_guelph_trigger = yes +# 1066_titles_should_be_guelph_trigger = yes +# } +# 1066_variable_allegiance_titles_trigger = no +# NOR = { +# this = title:k_france.holder +# this = title:k_denmark.holder +# this = title:k_sicily.holder +# government_has_flag = government_is_landless_adventurer +# } +# } +# } +# on_join = { +# gg_clean_up_participant_groups_effect = yes +# gg_should_give_splash_screen_effect = yes +# } +# on_leave = { +# remove_variable = changed_to_guelph +# remove_variable = recruited_guelphs_num +# } +# } +# #Relevant people who are on the fence +# undecided = { +# icon = "gfx/interface/icons/flat_icons/election_preference_over_my_candidate.dds" +# require_realm_in_sub_region = yes +# require_domicile_in_sub_region = yes +# map_color = { 255 100 100 } +# is_character_valid = { +# trigger_if = { +# limit = { has_variable = undecided_override } +# always = yes +# } +# #1178 +# trigger_else_if = { +# limit = { game_start_date = 1178.10.1 } +# NOR = { +# government_has_flag = government_is_landless_adventurer +# this = title:k_france.holder +# this = title:k_denmark.holder +# this = title:k_sicily.holder +# } +# } +# #1066 +# trigger_else = { +# NOR = { +# government_has_flag = government_is_landless_adventurer +# this = title:k_france.holder +# this = title:k_denmark.holder +# this = title:k_sicily.holder +# } +# } +# } +# on_join = { +# gg_clean_up_participant_groups_effect = yes +# gg_should_give_splash_screen_effect = yes +# } +# on_leave = { +# remove_variable = undecided_override +# remove_variable = force_undecided +# } +# } +# #The rest +# outsider = { +# icon = "gfx/interface/icons/situations/guelph_ghibelline/outsider_group.dds" +# require_realm_in_sub_region = yes +# require_domicile_in_sub_region = yes +# map_color = { 50 50 50 } #Not currently used +# is_character_valid = { +# government_has_flag = government_is_landless_adventurer +# NOR = { +# this = title:k_france.holder +# this = title:k_denmark.holder +# this = title:k_sicily.holder +# } +# } +# on_join = { +# gg_clean_up_participant_groups_effect = yes +# } +# } +# } + +# ################################################## +# # Phases +# ################################################## +# start_phase = in_nomine_domini + +# phases = { +# #1059-1075 Phase (to guarantee that Alexander II is the pope in the Situation) +# in_nomine_domini = { +# icon = "gfx/interface/icons/situations/guelph_ghibelline/guelph_ghibelline_in_nomine_domini.dds" +# illustration = "gfx/interface/illustrations/event_scenes/pam_cathedral_construction.dds" +# on_start = { + +# } +# parameters = { +# gg_precursor_phase = yes +# gg_excommunicating_leader_is_negative = yes +# gg_hre_infringed_north_italian_liege_rights = yes +# gg_hre_may_not_create_north_italian_titles = yes +# gg_may_not_gain_involvement = yes +# } +# modifier_sets = { +# guelph_ghibelline_character_effects = { +# icon = "gfx/interface/icons/situations/situation_modifier_character.dds" +# guelph_member = { +# character_modifier = { +# religious_head_opinion = 5 +# } +# } +# ghibelline_member = { +# character_modifier = { +# religious_head_opinion = -5 +# religious_tax_mult = -0.05 +# } +# } +# } +# in_nomine_domini_effects = { +# icon = "gfx/interface/icons/situations/guelph_ghibelline/situation_modifier_in_nomine_domini.dds" +# all = { +# parameters = { +# gg_excommunicating_leader_is_negative = yes +# gg_hre_infringed_north_italian_liege_rights = yes +# gg_hre_may_not_create_north_italian_titles = yes +# gg_may_not_gain_involvement = yes +# } +# } + +# } +# } +# future_phases = { +# dictatus_papae = { +# takeover_type = points +# takeover_points = 40 +# catalysts = { +# #Ecclesiastical +# catalyst_gg_antipope_declared = 5 +# catalyst_gg_emperor_crowned_by_antipope = 5 +# catalyst_excommunicated_hre = 3 +# catalyst_gg_anointment_refused = 2 +# catalyst_excommunicated_ghibellines = 1 +# #Leadership relations +# catalyst_nemesis_hre_pope = 5 +# catalyst_rival_hre_pope = 3 +# catalyst_grudge_hre_pope = 1 +# #Political +# catalyst_gg_coup = 3 +# catalyst_gg_ruler_displaced = 3 +# catalyst_gg_imperial_overreach = 2 +# catalyst_gg_title_revoked_from_opposite_party = 2 +# catalyst_gg_house_feud = 2 +# catalyst_gg_partisan_poached = 2 +# catalyst_gg_undecided_aligned = 1 +# catalyst_gg_hostile_scheme_discovered = 1 +# #Warfare +# catalyst_gg_rome_occupied = 3 +# catalyst_gg_war_won_against_opposite_party = 2 +# catalyst_gg_war_declared_on_opposite_party = 1 +# #Personal violence +# catalyst_gg_leader_imprisoned = 3 +# catalyst_execute_opposite_party = 3 +# catalyst_attempt_murder_opposite_party = 2 +# catalyst_maim_opposite_party = 2 +# catalyst_banish_opposite_party = 2 +# catalyst_torture_opposite_party = 1 +# catalyst_attempt_imprison_opposite_party = 1 +# catalyst_attempt_abduct_opposite_party = 1 +# #De-escalation +# catalyst_gg_antipope_removed = -3 +# catalyst_gg_excommunication_lifted = -3 +# catalyst_gg_emperor_crowned_by_pope = -3 +# catalyst_gg_emperor_took_the_cross = -2 +# catalyst_gg_cross_party_alliance = -2 +# catalyst_gg_cross_party_marriage = -1 +# catalyst_hostility_decay = -1 +# } + +# dlc_catalysts = { +# dlc_feature = by_god_alone + +# dlc_enabled_catalysts = { +# #Ecclesiastical +# catalyst_gg_lay_investiture = 4 +# #De-escalation +# catalyst_gg_submission_to_pope = -2 +# } + +# fallback_catalysts = {} +# } +# } +# } +# } +# #1075-1122 Phase +# dictatus_papae = { +# icon = "gfx/interface/icons/situations/guelph_ghibelline/guelph_ghibelline_dictatus_papae.dds" +# illustration = "gfx/interface/illustrations/event_scenes/pam_gothic_cathedral_interior.dds" +# on_start = { +# situation:guelph_ghibelline = { +# if = { +# limit = { +# trigger_if = { +# limit = { exists = var:gg_last_phase } +# var:gg_last_phase != flag:dictatus_papae +# } +# trigger_else = { always = yes } +# } +# record_situation_special_event = { +# key = situation_gg_dictatus_papae_situation_phase_entry +# phase = dictatus_papae +# } +# set_variable = { +# name = gg_last_phase +# value = flag:dictatus_papae +# } +# } +# } +# } +# parameters = { +# gg_precursor_phase = yes +# gg_excommunicating_leader_is_negative = yes +# gg_hre_infringed_north_italian_liege_rights = yes +# gg_hre_may_not_create_north_italian_titles = yes +# gg_involvement_gain_is_half = yes +# } +# modifier_sets = { +# guelph_ghibelline_military_effects = { +# icon = "gfx/interface/icons/situations/situation_modifier_military.dds" +# all = { +# parameters = { +# guelph_ghibelline_cheaper_wars_against_opposite_party = yes +# } +# character_modifier = { +# mercenary_hire_cost_mult = -0.25 +# } +# } +# } +# guelph_ghibelline_character_effects = { +# icon = "gfx/interface/icons/situations/situation_modifier_character.dds" +# all = { +# character_modifier = { +# max_hostile_schemes_add = 1 +# } +# } +# guelph_member = { +# character_modifier = { +# religious_head_opinion = 10 +# liege_opinion = 10 +# } +# } +# ghibelline_member = { +# character_modifier = { +# religious_head_opinion = -10 +# religious_tax_mult = -0.1 +# } +# } +# } +# dictatus_papae_effects = { +# icon = "gfx/interface/icons/situations/guelph_ghibelline/situation_modifier_dictatus_papae.dds" +# all = { +# parameters = { +# gg_excommunicating_leader_is_negative = yes +# gg_hre_infringed_north_italian_liege_rights = yes +# gg_hre_may_not_create_north_italian_titles = yes +# gg_involvement_gain_is_half = yes +# } +# } +# } +# } +# future_phases = { +# ad_interim = { +# takeover_type = points +# takeover_points = 75 +# catalysts = { +# #Ecclesiastical +# catalyst_gg_antipope_declared = 5 +# catalyst_gg_emperor_crowned_by_antipope = 5 +# catalyst_excommunicated_hre = 4 +# catalyst_gg_anointment_refused = 3 +# catalyst_excommunicated_ghibellines = 1 +# #Leadership relations +# catalyst_nemesis_hre_pope = 4 +# catalyst_rival_hre_pope = 3 +# catalyst_grudge_hre_pope = 1 +# #Political +# catalyst_gg_coup = 2 +# catalyst_gg_ruler_displaced = 2 +# catalyst_gg_house_feud = 2 +# catalyst_gg_imperial_overreach = 1 +# catalyst_gg_title_revoked_from_opposite_party = 1 +# catalyst_gg_partisan_poached = 1 +# catalyst_gg_undecided_aligned = 1 +# catalyst_gg_hostile_scheme_discovered = 1 +# #Warfare +# catalyst_gg_rome_occupied = 3 +# catalyst_gg_war_won_against_opposite_party = 1 +# catalyst_gg_war_declared_on_opposite_party = 1 +# #Personal violence +# catalyst_gg_leader_imprisoned = 3 +# catalyst_torture_opposite_party = 1 +# catalyst_maim_opposite_party = 1 +# catalyst_attempt_imprison_opposite_party = 1 +# catalyst_attempt_abduct_opposite_party = 1 +# catalyst_execute_opposite_party = 1 +# catalyst_attempt_murder_opposite_party = 1 +# catalyst_banish_opposite_party = 1 +# #De-escalation +# catalyst_gg_antipope_removed = -2 +# catalyst_gg_excommunication_lifted = -2 +# catalyst_gg_emperor_crowned_by_pope = -3 +# catalyst_gg_emperor_took_the_cross = -2 +# catalyst_gg_cross_party_alliance = -2 +# catalyst_gg_cross_party_marriage = -1 +# catalyst_hostility_decay = -1 +# } + +# dlc_catalysts = { +# dlc_feature = by_god_alone + +# dlc_enabled_catalysts = { +# #Ecclesiastical +# catalyst_gg_investiture_council_settled = 15 +# catalyst_gg_lay_investiture = 2 +# catalyst_gg_papal_election_interference = 2 +# #De-escalation +# catalyst_gg_submission_to_pope = -2 +# } + +# fallback_catalysts = {} +# } +# } +# } +# } +# #Interim phase for those players who want to progress 1066 quicker - pick Repose or Agitation +# ad_interim = { +# icon = "gfx/interface/icons/situation_types/guelph_ghibelline.dds" +# illustration = "gfx/interface/illustrations/event_scenes/ep3_constantinople_riot.dds" +# on_start = { +# situation:guelph_ghibelline = { +# #Uh-oh, at least one leader is a player +# if = { +# limit = { +# any_situation_participant = { +# OR = { +# has_variable = guelph_leader +# has_variable = ghibelline_leader +# } +# is_ai = no +# } +# } +# if = { +# limit = { +# any_situation_participant = { +# has_variable = guelph_leader +# is_ai = no +# } +# } +# #Guelphs decide +# random_situation_participant = { +# limit = { has_variable = guelph_leader } +# trigger_event = gdp_guelph_ghibelline.6500 +# } +# } +# else = { +# #Ghibellines decide +# random_situation_participant = { +# limit = { has_variable = ghibelline_leader } +# trigger_event = gdp_guelph_ghibelline.6505 +# } +# } +# } +# else = { +# #Are any of the leaders at war with someone from the other side? +# if = { +# limit = { +# OR = { +# any_situation_participant = { +# has_variable = guelph_leader +# save_temporary_scope_as = guelph_leader_check +# any_character_war = { +# OR = { +# AND = { +# any_war_attacker = { this = scope:guelph_leader_check } +# any_war_defender = { is_ghibelline_trigger = yes } +# } +# AND = { +# any_war_attacker = { is_ghibelline_trigger = yes } +# any_war_defender = { this = scope:guelph_leader_check } +# } +# } +# } +# } +# any_situation_participant = { +# has_variable = ghibelline_leader +# save_temporary_scope_as = ghibelline_leader_check +# any_character_war = { +# OR = { +# AND = { +# any_war_attacker = { this = scope:ghibelline_leader_check } +# any_war_defender = { is_guelph_trigger = yes } +# } +# AND = { +# any_war_attacker = { is_guelph_trigger = yes } +# any_war_defender = { this = scope:ghibelline_leader_check } +# } +# } +# } +# } +# } +# } +# fulfill_concordat_of_worms_effect = { NEW_PHASE = agitation } +# } +# else = { +# fulfill_concordat_of_worms_effect = { NEW_PHASE = repose } +# } +# set_variable = had_concordat_of_worms +# } +# } +# } +# parameters = { +# gg_precursor_phase = yes +# gg_excommunicating_leader_is_negative = yes +# gg_hre_infringed_north_italian_liege_rights = yes +# gg_hre_may_not_create_north_italian_titles = yes +# gg_involvement_gain_is_half = yes +# } +# modifier_sets = { +# guelph_ghibelline_military_effects = { +# icon = "gfx/interface/icons/situations/situation_modifier_military.dds" +# all = { +# parameters = { +# guelph_ghibelline_cheaper_wars_against_opposite_party = yes +# } +# character_modifier = { +# mercenary_hire_cost_mult = -0.25 +# } +# } +# } +# guelph_ghibelline_character_effects = { +# icon = "gfx/interface/icons/situations/situation_modifier_character.dds" +# all = { +# character_modifier = { +# max_hostile_schemes_add = 1 +# } +# } +# guelph_member = { +# character_modifier = { +# religious_head_opinion = 10 +# } +# } +# ghibelline_member = { +# character_modifier = { +# religious_head_opinion = -10 +# religious_tax_mult = -0.1 +# } +# } +# } +# dictatus_papae_effects = { +# icon = "gfx/interface/icons/situations/guelph_ghibelline/situation_modifier_dictatus_papae.dds" +# all = { +# parameters = { +# gg_excommunicating_leader_is_negative = yes +# gg_hre_infringed_north_italian_liege_rights = yes +# gg_hre_may_not_create_north_italian_titles = yes +# gg_involvement_gain_is_half = yes +# } +# } +# } +# } +# future_phases = { +# repose = {} #None - reached historically via the Concordat of Worms +# agitation = { +# takeover_type = points +# takeover_points = 75 +# catalysts = { +# #Warfare +# catalyst_gg_war_won_against_opposite_party = 5 +# catalyst_gg_rome_occupied = 4 +# catalyst_gg_war_declared_on_opposite_party = 3 +# #Ecclesiastical +# catalyst_gg_antipope_declared = 4 +# catalyst_gg_emperor_crowned_by_antipope = 4 +# catalyst_gg_anointment_refused = 2 +# #Political +# catalyst_gg_coup = 3 +# catalyst_gg_ruler_displaced = 3 +# catalyst_gg_title_revoked_from_opposite_party = 3 +# catalyst_gg_imperial_overreach = 3 +# catalyst_gg_house_feud = 2 +# catalyst_gg_partisan_poached = 2 +# catalyst_gg_undecided_aligned = 1 +# catalyst_gg_hostile_scheme_discovered = 1 +# #Personal violence +# catalyst_execute_opposite_party = 4 +# catalyst_gg_leader_imprisoned = 3 +# catalyst_attempt_murder_opposite_party = 3 +# catalyst_maim_opposite_party = 3 +# catalyst_banish_opposite_party = 2 +# catalyst_torture_opposite_party = 2 +# catalyst_attempt_imprison_opposite_party = 1 +# catalyst_attempt_abduct_opposite_party = 1 +# #De-escalation +# catalyst_gg_antipope_removed = -3 +# catalyst_gg_emperor_crowned_by_pope = -3 +# catalyst_gg_emperor_took_the_cross = -3 +# catalyst_gg_cross_party_alliance = -3 +# catalyst_gg_cross_party_marriage = -2 +# catalyst_hostility_decay = -1 +# } + +# dlc_catalysts = { +# dlc_feature = by_god_alone + +# dlc_enabled_catalysts = { +# #Ecclesiastical +# catalyst_gg_lay_investiture = 2 +# #De-escalation +# catalyst_gg_submission_to_pope = -2 +# } + +# fallback_catalysts = {} +# } +# } +# } +# } +# #WAR Phase - easier to start wars +# agitation = { +# icon = "gfx/interface/icons/situations/guelph_ghibelline/guelph_ghibelline_agitation.dds" +# illustration = "gfx/interface/illustrations/event_scenes/ep3_constantinople_riot.dds" +# on_start = { +# situation:guelph_ghibelline = { +# if = { +# limit = { +# trigger_if = { +# limit = { exists = var:gg_last_phase } +# var:gg_last_phase != flag:agitation +# } +# trigger_else = { always = yes } +# } +# record_situation_special_event = { +# key = situation_gg_agitation_situation_phase_entry +# phase = agitation +# } +# set_variable = { +# name = gg_last_phase +# value = flag:agitation +# } +# } +# } +# } +# parameters = { +# gg_hre_infringed_north_italian_liege_rights = yes +# gg_hre_may_not_create_north_italian_titles = yes +# gg_involvement_gain_is_double = yes +# } +# modifier_sets = { +# guelph_ghibelline_military_effects = { +# icon = "gfx/interface/icons/situations/situation_modifier_military.dds" +# all = { +# parameters = { +# guelph_ghibelline_cheaper_wars_against_opposite_party = yes +# } +# character_modifier = { +# mercenary_hire_cost_mult = -0.5 +# army_maintenance_mult = -0.1 +# } +# } +# } +# guelph_ghibelline_character_effects = { +# icon = "gfx/interface/icons/situations/situation_modifier_character.dds" +# all = { +# character_modifier = { +# prosperity_growth_factor = -0.1 +# max_hostile_schemes_add = 1 +# } +# } +# } +# agitation_effects = { +# icon = "gfx/interface/icons/situations/guelph_ghibelline/situation_modifier_agitation.dds" +# all = { +# parameters = { +# gg_hre_infringed_north_italian_liege_rights = yes +# gg_hre_may_not_create_north_italian_titles = yes +# gg_involvement_gain_is_double = yes +# } +# } +# } +# } +# future_phases = { +# guelph_advantage = {} #None +# ghibelline_advantage = {} #None +# repose = {} #None +# } +# } +# #Guelph Advantage Phase - bonuses to the Guelphs +# guelph_advantage = { +# icon = "gfx/interface/icons/situations/guelph_ghibelline/guelph_advantage.dds" +# illustration = "gfx/interface/illustrations/event_scenes/pam_gothic_cathedral_interior.dds" +# on_start = { +# situation:guelph_ghibelline = { +# if = { +# limit = { +# trigger_if = { +# limit = { exists = var:gg_last_phase } +# var:gg_last_phase != flag:guelph_advantage +# } +# trigger_else = { always = yes } +# } +# record_situation_special_event = { +# key = situation_gg_guelph_advantage_situation_phase_entry +# phase = guelph_advantage +# } +# set_variable = { +# name = gg_last_phase +# value = flag:guelph_advantage +# } +# } +# remove_variable = gg_advantage_years +# remove_variable = gg_agitation_years +# } +# } +# parameters = { +# gg_hre_infringed_north_italian_liege_rights = yes +# gg_hre_may_not_create_north_italian_titles = yes +# gg_involvement_gain_is_double = yes +# } +# modifier_sets = { +# guelph_ghibelline_military_effects = { +# icon = "gfx/interface/icons/situations/situation_modifier_military.dds" +# ghibelline_leader = { +# parameters = { +# guelph_ghibelline_cheaper_wars_against_guelphs = yes +# } +# character_modifier = { +# mercenary_hire_cost_mult = 0.25 +# } +# } +# ghibelline_member = { +# parameters = { +# guelph_ghibelline_cheaper_wars_against_guelphs = yes +# } +# character_modifier = { +# mercenary_hire_cost_mult = 0.25 +# } +# } +# } +# guelph_ghibelline_character_effects = { +# icon = "gfx/interface/icons/situations/situation_modifier_character.dds" +# guelph_leader = { +# character_modifier = { +# monthly_dynasty_prestige_mult = 0.1 +# prosperity_growth = 0.15 +# monthly_control_change = 0.1 +# religious_head_opinion = 20 +# character_spiritual_fulfillment_gain_mult = 0.1 +# } +# } +# guelph_member = { +# character_modifier = { +# monthly_prestige_gain_mult = 0.1 +# prosperity_growth = 0.1 +# religious_head_opinion = 10 +# character_spiritual_fulfillment_gain_mult = 0.05 +# } +# } +# ghibelline_leader = { +# character_modifier = { +# max_hostile_schemes_add = 1 +# } +# } +# ghibelline_member = { +# character_modifier = { +# max_hostile_schemes_add = 1 +# } +# } +# } +# guelph_advantage_effects = { +# icon = "gfx/interface/icons/situations/guelph_ghibelline/situation_modifier_guelph_advantage.dds" +# all = { +# parameters = { +# gg_hre_infringed_north_italian_liege_rights = yes +# gg_hre_may_not_create_north_italian_titles = yes +# gg_involvement_gain_is_double = yes +# } +# } +# } +# } +# future_phases = { +# agitation = {} #None +# ghibelline_advantage = {} #None +# repose = {} #None +# } +# } +# #Ghibelline Advantage Phase - bonuses to the Ghibellines +# ghibelline_advantage = { +# icon = "gfx/interface/icons/situations/guelph_ghibelline/ghibelline_advantage.dds" +# illustration = "gfx/interface/illustrations/event_scenes/throneroom_west.dds" +# on_start = { +# situation:guelph_ghibelline = { +# if = { +# limit = { +# trigger_if = { +# limit = { exists = var:gg_last_phase } +# var:gg_last_phase != flag:ghibelline_advantage +# } +# trigger_else = { always = yes } +# } +# record_situation_special_event = { +# key = situation_gg_ghibelline_advantage_situation_phase_entry +# phase = ghibelline_advantage +# } +# set_variable = { +# name = gg_last_phase +# value = flag:ghibelline_advantage +# } +# } +# remove_variable = gg_advantage_years +# remove_variable = gg_agitation_years +# } +# } +# parameters = { +# gg_hre_may_not_create_north_italian_titles = yes +# gg_involvement_gain_is_double = yes +# } +# modifier_sets = { +# guelph_ghibelline_military_effects = { +# icon = "gfx/interface/icons/situations/situation_modifier_military.dds" +# guelph_leader = { +# parameters = { +# guelph_ghibelline_cheaper_wars_against_ghibellines = yes +# } +# character_modifier = { +# mercenary_hire_cost_mult = 0.25 +# } +# } +# guelph_member = { +# parameters = { +# guelph_ghibelline_cheaper_wars_against_ghibellines = yes +# } +# character_modifier = { +# mercenary_hire_cost_mult = 0.25 +# } +# } +# } +# guelph_ghibelline_character_effects = { +# icon = "gfx/interface/icons/situations/situation_modifier_character.dds" +# ghibelline_leader = { +# character_modifier = { +# monthly_dynasty_prestige_mult = 0.1 +# prosperity_growth = 0.15 +# monthly_control_change = 0.1 +# court_grandeur_baseline_add = 5 +# } +# } +# ghibelline_member = { +# character_modifier = { +# monthly_prestige_gain_mult = 0.1 +# prosperity_growth = 0.1 +# trade_capacity_mult = 0.05 +# } +# } +# guelph_leader = { +# character_modifier = { +# max_hostile_schemes_add = 1 +# } +# } +# guelph_member = { +# character_modifier = { +# max_hostile_schemes_add = 1 +# } +# } +# } +# ghibelline_advantage_effects = { +# icon = "gfx/interface/icons/situations/guelph_ghibelline/situation_modifier_ghibelline_advantage.dds" +# all = { +# parameters = { +# gg_hre_may_not_create_north_italian_titles = yes +# gg_involvement_gain_is_double = yes +# } +# } +# } +# } +# future_phases = { +# agitation = {} #None +# guelph_advantage = {} #None +# repose = {} #None +# } +# } +# #PEACE Phase - more difficult to start wars +# repose = { +# icon = "gfx/interface/icons/situations/guelph_ghibelline/guelph_ghibelline_repose.dds" +# illustration = "gfx/interface/illustrations/event_scenes/gdp_italian_market.dds" +# on_start = { +# situation:guelph_ghibelline = { +# if = { +# limit = { +# trigger_if = { +# limit = { exists = var:gg_last_phase } +# var:gg_last_phase != flag:repose +# } +# trigger_else = { always = yes } +# } +# record_situation_special_event = { +# key = situation_gg_repose_situation_phase_entry +# phase = repose +# } +# set_variable = { +# name = gg_last_phase +# value = flag:repose +# } +# } +# remove_variable = gg_agitation_years +# } +# } +# parameters = { +# guelph_ghibelline_no_wars_against_opposite_party = yes +# gg_hre_infringed_north_italian_liege_rights = yes +# gg_hre_may_not_create_north_italian_titles = yes +# gg_involvement_gain = yes +# } +# modifier_sets = { +# guelph_ghibelline_military_effects = { +# icon = "gfx/interface/icons/situations/situation_modifier_military.dds" +# all = { +# character_modifier = { +# mercenary_hire_cost_mult = 1 +# army_maintenance_mult = 0.1 +# } +# } +# } +# guelph_ghibelline_character_effects = { +# icon = "gfx/interface/icons/situations/situation_modifier_character.dds" +# all = { +# character_modifier = { +# prosperity_growth = 0.2 +# zealot_opinion = -10 +# } +# } +# ghibelline_leader = { +# character_modifier = { +# max_political_schemes_add = 1 +# civic_tax_mult = 0.15 +# urban_tax_mult = 0.15 +# trade_capacity_add = 1 +# } +# } +# ghibelline_member = { +# character_modifier = { +# civic_tax_mult = 0.1 +# urban_tax_mult = 0.1 +# trade_capacity_add = 1 +# trade_capacity_mult = 0.05 +# } +# } +# guelph_leader = { +# character_modifier = { +# max_personal_schemes_add = 1 +# monthly_control_change = 0.10 +# religious_tax_mult = 0.2 +# } +# } +# guelph_member = { +# character_modifier = { +# monthly_control_change = 0.15 +# religious_tax_mult = 0.1 +# } +# } +# } +# repose_effects = { +# icon = "gfx/interface/icons/situations/guelph_ghibelline/situation_modifier_repose.dds" +# all = { +# parameters = { +# guelph_ghibelline_no_wars_against_opposite_party = yes +# gg_hre_infringed_north_italian_liege_rights = yes +# gg_hre_may_not_create_north_italian_titles = yes +# gg_involvement_gain = yes +# } +# } +# } +# } +# future_phases = { +# agitation = { +# takeover_type = points +# takeover_points = 15 +# catalysts = { +# #Personal violence +# catalyst_gg_leader_imprisoned = 2 +# catalyst_torture_opposite_party = 1 +# catalyst_maim_opposite_party = 1 +# catalyst_attempt_imprison_opposite_party = 1 +# catalyst_execute_opposite_party = 1 +# catalyst_attempt_abduct_opposite_party = 1 +# catalyst_attempt_murder_opposite_party = 1 +# catalyst_banish_opposite_party = 1 +# #Ecclesiastical +# catalyst_gg_antipope_declared = 3 +# catalyst_gg_emperor_crowned_by_antipope = 3 +# catalyst_gg_anointment_refused = 2 +# #Warfare +# catalyst_gg_rome_occupied = 3 +# #Political +# catalyst_gg_coup = 2 +# catalyst_gg_ruler_displaced = 2 +# catalyst_gg_house_feud = 2 +# catalyst_gg_imperial_overreach = 1 +# catalyst_gg_title_revoked_from_opposite_party = 1 +# catalyst_gg_partisan_poached = 1 +# catalyst_gg_undecided_aligned = 1 +# catalyst_gg_hostile_scheme_discovered = 1 +# #De-escalation +# catalyst_gg_antipope_removed = -2 +# catalyst_gg_emperor_crowned_by_pope = -2 +# catalyst_gg_emperor_took_the_cross = -2 +# catalyst_gg_cross_party_alliance = -2 +# catalyst_gg_cross_party_marriage = -1 +# catalyst_hostility_decay = -1 +# } +# } +# } +# } +# } + +# ending_decisions = { +# guelph_victory_decision +# ghibelline_victory_decision +# } +# situation_decisions = { +# change_guelph_ghibelline_phase_decision +# become_guelph_ghibelline_leader_decision +# change_guelph_ghibelline_side_decision +# step_down_as_guelph_ghibelline_leader_decision +# pick_a_guelph_ghibelline_side_decision +# form_lombard_league_decision +# leave_lombard_league_decision +# } + +# ################################################## +# # GUI +# ################################################## +# gui_window_name = window_gdp_guelph_ghibelline +# } diff --git a/common/story_cycles/gdp_story_cycle_guelph_ghibelline.txt b/common/story_cycles/gdp_story_cycle_guelph_ghibelline.txt new file mode 100644 index 000000000..94d6ae6b3 --- /dev/null +++ b/common/story_cycles/gdp_story_cycle_guelph_ghibelline.txt @@ -0,0 +1,1129 @@ +# NEOW: historical Guelph/Ghibelline system disabled for NEOW. +# Original vanilla content is preserved in comments for easy restoration. +# story_guelph_ghibelline = { + +# on_setup = { +# if = { +# limit = { +# NOT = { exists = global_var:active_guelph_ghibelline } +# } +# set_global_variable = { +# name = active_guelph_ghibelline +# value = 1 +# } +# } +# else = { +# change_global_variable = { +# name = active_guelph_ghibelline +# add = 1 +# } +# } +# story_owner = { +# set_variable = striving_guelph_ghibelline +# } + +# } + +# on_end = { +# if = { +# limit = { exists = global_var:active_guelph_ghibelline } +# change_global_variable = { +# name = active_guelph_ghibelline +# add = -1 +# } +# } +# story_owner = { +# if = { +# limit = { is_alive = yes } +# remove_variable = striving_guelph_ghibelline +# } +# } +# } + +# on_owner_death = { +# end_story = yes +# } + +# #Validity checks +# effect_group = { +# days = 30 +# triggered_effect = { +# trigger = { +# NOR = { +# exists = situation:guelph_ghibelline +# story_owner = { +# is_ai = yes +# any_character_situation = { this ?= situation:guelph_ghibelline } +# } +# } +# } +# effect = { +# end_story = yes +# } +# } +# } + + +# #Monthly checks, handles the AI behavior +# effect_group = { +# days = { 30 60 } + +# triggered_effect = { +# trigger = { +# story_owner = { +# is_ai = yes +# any_character_situation = { this ?= situation:guelph_ghibelline } +# } +# } +# effect = { +# story_owner = { +# save_scope_as = sgg_root_scope +# ### DECISIONS + +# #Do I have enough Involvement so that I want to end the Situation? +# if = { +# limit = { +# can_execute_decision = ghibelline_victory_decision +# exists = var:gg_involvement +# var:gg_involvement >= gg_involvement_major_value +# situation:guelph_ghibelline ?= { +# exists = var:gg_advantage_years +# var:gg_advantage_years >= gg_advantage_ai_victory_years +# } +# } +# execute_decision = ghibelline_victory_decision +# } +# if = { +# limit = { +# can_execute_decision = guelph_victory_decision +# exists = var:gg_involvement +# var:gg_involvement >= gg_involvement_major_value +# situation:guelph_ghibelline ?= { +# exists = var:gg_advantage_years +# var:gg_advantage_years >= gg_advantage_ai_victory_years +# } +# } +# execute_decision = guelph_victory_decision +# } + +# #“I can’t deal with this anymore argghh” Random chance to flip side (very low random chance, also gated behind personality traits) +# if = { +# limit = { +# OR = { +# AND = { +# is_ghibelline_trigger = yes +# situation:guelph_ghibelline ?= { situation_current_phase = guelph_advantage } +# } +# AND = { +# is_guelph_trigger = yes +# situation:guelph_ghibelline ?= { situation_current_phase = ghibelline_advantage } +# } +# } +# trigger_if = { +# limit = { game_start_date = 1066.9.15 } +# NOR = { +# has_variable = guelph_leader +# has_variable = ghibelline_leader +# } +# } +# trigger_else = { always = yes } +# NOT = { +# has_trait = loyal +# } +# } +# random = { +# chance = { +# value = 10 +# #Is there anyone more impressive on the other side? +# if = { +# limit = { +# situation:guelph_ghibelline ?= { +# any_situation_participant = { +# exists = var:gg_involvement +# var:gg_involvement >= 20 +# save_temporary_scope_as = involvement_char_check +# gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:involvement_char_check SECOND = scope:sgg_root_scope } +# } +# } +# } +# add = 5 +# } +# if = { +# limit = { +# situation:guelph_ghibelline ?= { +# any_situation_participant = { +# exists = var:gg_involvement +# var:gg_involvement >= 30 +# save_temporary_scope_as = involvement_char_check +# gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:involvement_char_check SECOND = scope:sgg_root_scope } +# } +# } +# } +# add = 5 +# } +# if = { +# limit = { +# situation:guelph_ghibelline ?= { +# any_situation_participant = { +# exists = var:gg_involvement +# var:gg_involvement >= 40 +# save_temporary_scope_as = involvement_char_check +# gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:involvement_char_check SECOND = scope:sgg_root_scope } +# } +# } +# } +# add = 10 +# } +# if = { +# limit = { +# situation:guelph_ghibelline ?= { +# any_situation_participant = { +# exists = var:gg_involvement +# var:gg_involvement >= 50 +# save_temporary_scope_as = involvement_char_check +# gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:involvement_char_check SECOND = scope:sgg_root_scope } +# } +# } +# } +# add = 10 +# } +# if = { +# limit = { has_variable = sgg_slated_for_turncoat } +# add = 90 +# } +# } +# #Leaders do it in two increments, first is step down, then they flip +# if = { +# limit = { +# OR = { +# has_variable = guelph_leader +# has_variable = ghibelline_leader +# } +# } +# #Step down +# if = { +# limit = { can_execute_decision = step_down_as_guelph_ghibelline_leader_decision } +# execute_decision = step_down_as_guelph_ghibelline_leader_decision +# } +# #Flag 'em +# set_variable = sgg_slated_for_turncoat +# } +# else = { +# remove_variable = sgg_slated_for_turncoat +# #Flip +# if = { +# limit = { can_execute_decision = change_guelph_ghibelline_side_decision } +# execute_decision = change_guelph_ghibelline_side_decision +# } +# } +# } +# } + +# #Invite exiled rulers (if we can start wars) +# if = { +# limit = { +# is_at_war = no +# government_has_flag = government_is_republic +# has_realm_law = republic_war_declaration_2_unlimited +# war_chest_gold >= war_chest_gold_maximum +# } +# #Guelph +# if = { +# limit = { +# is_guelph_trigger = yes +# gg_available_displaced_guelph_rulers_exist = yes +# } +# run_interaction = { +# interaction = gg_invite_guelph_exiles_interaction +# actor = scope:sgg_root_scope +# recipient = scope:sgg_root_scope +# send_threshold = maybe +# } +# ai_start_best_war = { +# cb = { +# reinstate_guelph_ghibelline_ruler_cb +# } +# is_valid = { +# scope:target_character = { +# current_military_strength < scope:sgg_root_scope.current_military_strength +# OR = { +# gold < scope:sgg_root_scope.gold +# current_military_strength <= scope:sgg_root_scope.fifty_percent_of_current_military_strength +# } +# } +# } +# } +# } +# #Ghibelline +# if = { +# limit = { +# is_ghibelline_trigger = yes +# gg_available_displaced_ghibelline_rulers_exist = yes +# } +# run_interaction = { +# interaction = gg_invite_ghibelline_exiles_interaction +# actor = scope:sgg_root_scope +# recipient = scope:sgg_root_scope +# send_threshold = maybe +# } +# ai_start_best_war = { +# cb = { +# reinstate_guelph_ghibelline_ruler_cb +# } +# is_valid = { +# scope:target_character = { +# current_military_strength < scope:sgg_root_scope.current_military_strength +# OR = { +# gold < scope:sgg_root_scope.gold +# current_military_strength <= scope:sgg_root_scope.fifty_percent_of_current_military_strength +# } +# } +# } +# } +# } +# } + +# #Is the current leader fit to rule? What’s their involvement? +# if = { +# limit = { +# OR = { +# AND = { +# top_participant_group:guelph_ghibelline ?= { participant_group_type = ghibelline_member } +# situation:guelph_ghibelline = { +# any_situation_participant = { +# top_participant_group:guelph_ghibelline ?= { participant_group_type = ghibelline_leader } +# #Only consider replacing the ruler if it ain't the HRE Kaiser +# NOT = { +# any_held_title = { this = title:e_hre } +# } +# is_ai = yes +# exists = var:gg_involvement +# var:gg_involvement < gg_involvement_minimum_leadership_value +# } +# } +# } +# AND = { +# top_participant_group:guelph_ghibelline ?= { participant_group_type = guelph_member } +# situation:guelph_ghibelline = { +# any_situation_participant = { +# top_participant_group:guelph_ghibelline ?= { participant_group_type = guelph_leader } +# #Nor the Pope +# NOT = { +# any_held_title = { this = title:k_papal_state } +# } +# is_ai = yes +# exists = var:gg_involvement +# var:gg_involvement < gg_involvement_minimum_leadership_value +# } +# } +# } +# } +# can_execute_decision = become_guelph_ghibelline_leader_decision +# } +# execute_decision = become_guelph_ghibelline_leader_decision +# } + + +# ### INTERACTIONS + +# #Can we ask someone to join our side? +# situation:guelph_ghibelline ?= { +# every_situation_participant = { +# limit = { +# trigger_if = { +# limit = { +# scope:sgg_root_scope = { is_guelph_trigger = yes } +# } +# is_guelph_trigger = no +# } +# trigger_if = { +# limit = { +# scope:sgg_root_scope = { is_ghibelline_trigger = yes } +# } +# is_ghibelline_trigger = no +# } +# save_temporary_scope_as = partisan_check +# # Below this opinion they never accept, even with a strong hook +# opinion = { +# target = scope:sgg_root_scope +# value >= 10 +# } +# scope:sgg_root_scope = { +# NOT = { +# any_in_list = { +# variable = recently_attempted_partisans +# this = scope:partisan_check +# } +# } +# is_character_interaction_potentially_accepted = { +# recipient = scope:partisan_check +# interaction = gg_recruit_partisan_interaction +# ai_accept = 50 +# } +# } +# } +# add_to_list = potential_partisan_targets +# } +# } +# if = { +# limit = { list_size:potential_partisan_targets > 0 } +# random_in_list = { +# list = potential_partisan_targets +# weight = { +# base = 10 +# modifier = { +# is_gg_undecided_trigger = yes +# NOT = { exists = var:force_undecided } +# add = 20 +# } +# } +# save_scope_as = partisan_target +# #Put cooldown on, esp if target is player +# scope:sgg_root_scope = { +# add_to_variable_list = { +# name = recently_attempted_partisans +# target = scope:partisan_target +# years = 10 +# } +# } +# } +# run_interaction = { +# interaction = gg_recruit_partisan_interaction +# actor = scope:sgg_root_scope +# recipient = scope:partisan_target +# send_threshold = maybe +# } +# } + +# #Exile family – very rare +# random = { +# chance = 10 #Make it rare +# situation:guelph_ghibelline ?= { +# every_situation_participant = { +# limit = { +# is_available_quick = { +# ai = yes +# adult = yes +# } +# save_temporary_scope_as = banish_check +# gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:banish_check SECOND = scope:sgg_root_scope } +# has_minor_negative_or_below_house_relations_with_target_trigger = { +# FIRST = scope:banish_check +# SECOND = scope:sgg_root_scope +# } +# scope:sgg_root_scope = { +# is_character_interaction_valid = { +# recipient = scope:banish_check +# interaction = gg_banish_guelph_ghibelline_family_interaction +# } +# } +# } +# add_to_list = potential_banish_targets +# } +# } +# if = { +# limit = { list_size:potential_banish_targets > 0 } +# random_in_list = { +# list = potential_banish_targets +# save_scope_as = banish_target +# } +# run_interaction = { +# interaction = gg_banish_guelph_ghibelline_family_interaction +# actor = scope:sgg_root_scope +# recipient = scope:banish_target +# send_threshold = maybe +# } +# } +# } + + +# ### SCHEMES + +# ##Personal + +# #Befriend/Sway +# if = { +# limit = { +# OR = { +# NOT = { +# any_scheme = { +# OR = { +# scheme_type = befriend +# scheme_type = sway +# scheme_type = seduce +# scheme_type = courting +# scheme_type = elope +# scheme_type = learn_language +# } +# } +# } +# AND = { +# OR = { +# dynasty ?= { has_dynasty_perk = glory_legacy_5 } +# AND = { +# has_royal_court = yes +# has_dlc_feature = royal_court +# has_court_type = court_diplomatic +# court_grandeur_current_level >= 10 +# } +# } +# any_scheme = { +# count < 2 +# OR = { +# scheme_type = befriend +# scheme_type = sway +# scheme_type = seduce +# scheme_type = courting +# scheme_type = elope +# scheme_type = learn_language +# } +# } +# } +# AND = { +# dynasty ?= { has_dynasty_perk = glory_legacy_5 } +# has_royal_court = yes +# has_dlc_feature = royal_court +# has_court_type = court_diplomatic +# court_grandeur_current_level >= 10 +# any_scheme = { +# count < 3 +# OR = { +# scheme_type = befriend +# scheme_type = sway +# scheme_type = seduce +# scheme_type = courting +# scheme_type = elope +# scheme_type = learn_language +# } +# } +# } +# } +# } +# every_courtier = { +# limit = { +# has_council_position = councillor_spymaster +# opinion = { +# target = scope:sgg_root_scope +# value < 100 +# } +# save_temporary_scope_as = courtier_check +# scope:sgg_root_scope = { +# OR = { +# can_start_scheme = { +# type = befriend +# target_character = scope:courtier_check +# } +# can_start_scheme = { +# type = sway +# target_character = scope:courtier_check +# } +# } +# } +# } +# add_to_list = befriend_targets +# } + +# situation:guelph_ghibelline ?= { +# every_situation_participant = { +# limit = { +# save_temporary_scope_as = potential_befriend_target +# NOR = { +# has_variable = force_undecided +# scope:sgg_root_scope = { +# any_scheme = { scheme_target_character ?= scope:potential_befriend_target } #Don't Sway _and_ Murder your target +# } +# } +# gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:potential_befriend_target SECOND = scope:sgg_root_scope } +# scope:sgg_root_scope = { +# OR = { +# can_start_scheme = { +# type = befriend +# target_character = scope:potential_befriend_target +# } +# can_start_scheme = { +# type = sway +# target_character = scope:potential_befriend_target +# } +# } +# } +# } +# add_to_list = befriend_targets +# } +# } +# random_in_list = { +# list = befriend_targets +# weight = { +# base = 10 +# modifier = { +# trait_compatibility = { +# target = scope:sgg_root_scope +# value >= neutral_trait_compatibility +# } +# add = 50 +# } +# modifier = { +# is_courtier_of = scope:sgg_root_scope +# has_council_position = councillor_spymaster +# add = 50 +# } +# modifier = { +# has_council_position = councillor_spymaster +# add = 10 +# } +# modifier = { +# is_gg_undecided_trigger = yes +# factor = 2 +# } +# modifier = { +# save_temporary_scope_as = potential_befriend_target +# gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:potential_befriend_target SECOND = scope:sgg_root_scope } +# add = 20 +# } +# } +# save_scope_as = befriend_target +# } +# if = { +# limit = { exists = scope:befriend_target } +# if = { +# limit = { +# can_start_scheme = { +# type = befriend +# target_character = scope:befriend_target +# } +# } +# start_scheme = { +# type = befriend +# target_character = scope:befriend_target +# } +# } +# else = { +# start_scheme = { +# type = sway +# target_character = scope:befriend_target +# } +# } +# } +# } + + +# ##Political + +# #Is there anyone we can align to our side +# if = { +# limit = { +# NOT = { +# any_scheme = { +# OR = { +# scheme_type = gg_align_undecided +# scheme_type = gg_switch_sides +# scheme_type = gg_replace_ruler +# } +# } +# } +# } +# situation:guelph_ghibelline ?= { +# every_situation_participant = { +# limit = { +# is_gg_undecided_trigger = yes +# save_temporary_scope_as = potential_align_undecided_target +# NOR = { +# has_variable = force_undecided +# any_targeting_scheme = { scheme_type = gg_align_undecided } +# scope:sgg_root_scope = { +# any_scheme = { scheme_target_character ?= scope:potential_align_undecided_target } #Don't Sway _and_ Murder your target +# } +# } +# scope:sgg_root_scope = { +# can_start_scheme = { +# type = gg_align_undecided +# target_character = scope:potential_align_undecided_target +# } +# } +# } +# add_to_list = align_targets +# } +# } +# random_in_list = { +# list = align_targets +# weight = { +# base = 10 +# modifier = { +# trait_compatibility = { +# target = scope:sgg_root_scope +# value >= neutral_trait_compatibility +# } +# add = 50 +# } +# modifier = { +# add = "opinion(scope:sgg_root_scope)" +# } +# modifier = { +# has_relation_lover = scope:sgg_root_scope +# factor = 2 +# } +# modifier = { +# has_relation_friend = scope:sgg_root_scope +# factor = 2 +# } +# } +# save_scope_as = align_undecided_target +# } +# if = { +# limit = { exists = scope:align_undecided_target } +# start_scheme = { +# type = gg_align_undecided +# target_character = scope:align_undecided_target +# } +# } +# } + +# #Is there anyone we can flip from the other side +# if = { +# limit = { +# NOT = { +# any_scheme = { +# OR = { +# scheme_type = gg_align_undecided +# scheme_type = gg_switch_sides +# scheme_type = gg_replace_ruler +# } +# } +# } +# } +# situation:guelph_ghibelline ?= { +# every_situation_participant = { +# limit = { +# save_temporary_scope_as = potential_switch_sides_target +# NOR = { +# has_variable = changed_to_ghibelline +# has_variable = schemed_to_ghibelline +# has_variable = ghibelline_leader +# has_variable = changed_to_guelph +# has_variable = schemed_to_guelph +# has_variable = guelph_leader +# any_targeting_scheme = { scheme_type = gg_switch_sides } +# scope:sgg_root_scope = { +# any_scheme = { scheme_target_character ?= scope:potential_switch_sides_target } #Don't Sway _and_ Murder your target +# } +# #Not the Pope or the Kaiser +# any_held_title = { this = title:k_papal_state } +# any_held_title = { this = title:e_hre } +# } +# scope:sgg_root_scope = { +# can_start_scheme = { +# type = gg_switch_sides +# target_character = scope:potential_switch_sides_target +# } +# } +# } +# add_to_list = switch_sides_targets +# } +# } +# random_in_list = { +# list = switch_sides_targets +# weight = { +# base = 10 +# modifier = { +# trait_compatibility = { +# target = scope:sgg_root_scope +# value >= neutral_trait_compatibility +# } +# add = 50 +# } +# modifier = { +# add = "opinion(scope:sgg_root_scope)" +# } +# modifier = { +# has_relation_lover = scope:sgg_root_scope +# factor = 2 +# } +# modifier = { +# has_relation_friend = scope:sgg_root_scope +# factor = 2 +# } +# } +# save_scope_as = switch_sides_target +# } +# if = { +# limit = { exists = scope:switch_sides_target } +# start_scheme = { +# type = gg_switch_sides +# target_character = scope:switch_sides_target +# } +# } +# } + +# #End replacement schemes that are useless +# if = { +# limit = { +# any_scheme = { +# type = gg_replace_ruler +# is_scheme_exposed = yes +# } +# } +# every_scheme = { +# type = gg_replace_ruler +# limit = { is_scheme_exposed = yes } +# end_scheme = yes +# } +# } +# #Is there anyone we can replace +# random = { +# chance = 25 #Make it rare +# if = { +# limit = { +# NOT = { +# any_scheme = { +# OR = { +# scheme_type = gg_align_undecided +# scheme_type = gg_switch_sides +# scheme_type = gg_replace_ruler +# } +# } +# } +# } +# situation:guelph_ghibelline ?= { +# every_situation_participant = { +# limit = { +# save_temporary_scope_as = potential_replace_ruler_target +# NOR = { +# has_variable = changed_to_ghibelline +# has_variable = schemed_to_ghibelline +# has_variable = changed_to_guelph +# has_variable = schemed_to_guelph +# any_targeting_scheme = { scheme_type = gg_replace_ruler } +# scope:sgg_root_scope = { +# any_scheme = { scheme_target_character ?= scope:potential_replace_ruler_target } #Don't Sway _and_ Murder your target +# } +# } +# scope:sgg_root_scope = { +# can_start_scheme = { +# type = gg_replace_ruler +# target_character = scope:potential_replace_ruler_target +# } +# } +# } +# add_to_list = replace_ruler_targets +# } +# } +# random_in_list = { +# list = replace_ruler_targets +# weight = { +# base = 10 +# modifier = { +# exists = var:gg_involvement +# add = var:gg_involvement +# } +# modifier = { +# add = { +# value = "opinion(scope:sgg_root_scope)" +# multiply = -1 +# } +# } +# modifier = { +# has_character_modifier = vilified_ruler_modifier +# factor = 2 +# } +# modifier = { +# has_relation_rival = scope:sgg_root_scope +# factor = 2 +# } +# modifier = { +# save_temporary_scope_as = temp_replace_ruler_target +# has_minor_negative_or_below_house_relations_with_target_trigger = { +# FIRST = scope:temp_replace_ruler_target +# SECOND = scope:sgg_root_scope +# } +# factor = 2 +# } +# } +# save_scope_as = replace_ruler_target +# } +# if = { +# limit = { exists = scope:replace_ruler_target } +# start_scheme = { +# type = gg_replace_ruler +# target_character = scope:replace_ruler_target +# } +# } +# } +# } + + +# ##Hostile + +# # End murder schemes that are useless +# if = { +# limit = { +# any_scheme = { +# type = murder +# is_scheme_exposed = yes +# } +# } +# every_scheme = { +# type = murder +# limit = { is_scheme_exposed = yes } +# end_scheme = yes +# } +# } +# #Can I murder someone relevant/who did bad things to me (vilified ruler weight^) in the Situation? +# if = { +# limit = { +# NOT = { ai_honor >= high_positive_ai_value } # Really honorable characters do not stoop this low, ever +# OR = { +# NOT = { +# any_scheme = { +# OR = { +# scheme_type = murder +# scheme_type = abduct +# scheme_type = claim_throne +# scheme_type = fabricate_hook +# } +# } +# } +# AND = { +# has_perk = twice_schemed_perk +# any_scheme = { +# count < 2 +# NOT = { scheme_type = fabricate_hook } #Diversify! +# } +# } +# } +# } +# situation:guelph_ghibelline ?= { +# every_situation_participant = { +# limit = { +# save_temporary_scope_as = potential_murder_target +# NOR = { +# is_allied_to = scope:sgg_root_scope +# has_relation_friend = scope:sgg_root_scope +# has_relation_lover = scope:sgg_root_scope +# } +# gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:potential_murder_target SECOND = scope:sgg_root_scope } +# scope:sgg_root_scope = { +# can_start_scheme = { +# type = murder +# target_character = scope:potential_murder_target +# } +# } +# } +# add_to_list = murder_targets +# } +# } +# random_in_list = { +# list = murder_targets +# weight = { +# base = 10 +# modifier = { +# add = { +# value = "opinion(scope:sgg_root_scope)" +# multiply = -1 +# } +# } +# #Consider high Involvement characters +# modifier = { +# is_ai = yes +# exists = var:gg_involvement +# add = var:gg_involvement +# } +# #Especially consider Players (:stab:) +# modifier = { +# is_ai = no +# exists = var:gg_involvement +# add = { +# value = var:gg_involvement +# multiply = 2 +# } +# } +# #And vilified rulers +# modifier = { +# has_character_modifier = vilified_ruler_modifier +# factor = 2 +# } +# modifier = { +# has_relation_rival = scope:sgg_root_scope +# factor = 2 +# } +# modifier = { +# save_temporary_scope_as = temp_murder_target +# has_minor_negative_or_below_house_relations_with_target_trigger = { +# FIRST = scope:temp_murder_target +# SECOND = scope:sgg_root_scope +# } +# factor = 2 +# } +# } +# save_scope_as = murder_target +# } +# if = { +# limit = { exists = scope:murder_target } +# start_scheme = { +# type = murder +# target_character = scope:murder_target +# } +# } +# } + +# # End hook schemes that are useless +# if = { +# limit = { +# any_scheme = { +# type = fabricate_hook +# is_scheme_exposed = yes +# } +# } +# every_scheme = { +# type = fabricate_hook +# limit = { is_scheme_exposed = yes } +# end_scheme = yes +# } +# } +# #Fabricate Hook? +# if = { +# limit = { +# has_perk = truth_is_relative_perk +# OR = { +# NOT = { +# any_scheme = { +# OR = { +# scheme_type = murder +# scheme_type = abduct +# scheme_type = claim_throne +# scheme_type = fabricate_hook +# } +# } +# } +# AND = { +# has_perk = twice_schemed_perk +# any_scheme = { +# count < 2 +# NOT = { scheme_type = fabricate_hook } #Diversify! +# } +# } +# } +# } +# situation:guelph_ghibelline ?= { +# every_situation_participant = { +# limit = { +# save_temporary_scope_as = potential_hook_target +# NOR = { +# is_allied_to = scope:sgg_root_scope +# has_relation_friend = scope:sgg_root_scope +# has_relation_lover = scope:sgg_root_scope +# } +# gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:potential_hook_target SECOND = scope:sgg_root_scope } +# scope:sgg_root_scope = { +# can_start_scheme = { +# type = fabricate_hook +# target_character = scope:potential_hook_target +# } +# } +# } +# add_to_list = hook_targets +# } +# } +# random_in_list = { +# list = hook_targets +# weight = { +# base = 10 +# modifier = { +# add = { +# value = "opinion(scope:sgg_root_scope)" +# multiply = -1 +# } +# } +# #Consider high Involvement characters +# modifier = { +# is_ai = yes +# exists = var:gg_involvement +# add = var:gg_involvement +# } +# #Especially consider Players (:stab:) +# modifier = { +# is_ai = no +# exists = var:gg_involvement +# add = { +# value = var:gg_involvement +# multiply = 2 +# } +# } +# #And vilified rulers +# modifier = { +# has_character_modifier = vilified_ruler_modifier +# factor = 2 +# } +# modifier = { +# has_relation_rival = scope:sgg_root_scope +# factor = 2 +# } +# modifier = { +# save_temporary_scope_as = temp_hook_target +# has_minor_negative_or_below_house_relations_with_target_trigger = { +# FIRST = scope:temp_hook_target +# SECOND = scope:sgg_root_scope +# } +# factor = 2 +# } +# } +# save_scope_as = hook_target +# } +# if = { +# limit = { exists = scope:hook_target } +# start_scheme = { +# type = fabricate_hook +# target_character = scope:hook_target +# } +# } +# } +# } +# } +# } +# } + +# #Yearly check +# effect_group = { +# days = { 260 460 } + +# triggered_effect = { +# trigger = { +# story_owner = { +# is_available_quick = { +# ai = yes +# adult = yes +# } +# top_liege = this +# is_landed = yes +# is_at_war = no +# } +# } +# effect = { +# story_owner = { +# save_scope_as = y_sgg_root_scope +# ####### WAR +# #Displace someone? +# if = { +# limit = { +# government_has_flag = government_is_republic +# has_realm_law = republic_war_declaration_2_unlimited +# war_chest_gold >= war_chest_gold_maximum +# } +# ai_start_best_war = { +# cb = { +# displace_guelph_ghibelline_ruler_cb +# } +# is_valid = { +# scope:target_character = { +# current_military_strength < scope:y_sgg_root_scope.current_military_strength +# OR = { +# gold < scope:y_sgg_root_scope.gold +# current_military_strength <= scope:y_sgg_root_scope.fifty_percent_of_current_military_strength +# } +# } +# } +# } +# } +# } +# } +# } +# } +# } diff --git a/common/trade/county_potential_trade_goods/county_potential_trade_goods.txt b/common/trade/county_potential_trade_goods/county_potential_trade_goods.txt index ea79e00f0..131f2a1cf 100644 --- a/common/trade/county_potential_trade_goods/county_potential_trade_goods.txt +++ b/common/trade/county_potential_trade_goods/county_potential_trade_goods.txt @@ -35,7 +35,7 @@ trade_good_gems = { counties = { c_hradec c_badakhshan c_shahre-babak c_caslav c trade_good_gold = { counties = { c_allaqi c_trenscen c_praha c_hvosno c_chalkidike c_legnica c_qus c_feher c_medina c_nysa c_limousin c_maragha c_najran c_gemer } } -trade_good_grain = { counties = { c_merida c_buckinghamshire c_dortmund c_skane c_armagnac c_bahriya c_upper_khabur c_calarasi c_aeolis c_asyut c_salerno c_raqqa c_ditmarschen c_ushmun c_orhei c_niebla c_batiha c_orleans c_qurta c_hewes c_bethen c_vienna c_kaiserslautern c_cologne c_angouleme c_surrey c_gnieznienska c_torun c_aachen c_ahvaz c_stendal c_polesine c_kujawy c_khachen c_wasit c_essex c_juwain c_kalabsha c_urmiya c_poszony c_cremona c_anbar c_kurdistan c_sjaelland c_szekesfehervar c_constanta c_kerak c_soroca c_eu c_clermont c_kent c_hadithat-ana c_mora c_shirvan c_al-gharbiya c_sabzevar c_magdeburg c_nasibin c_craiova c_yaroslavl c_ninive c_lubelska c_piacenza c_farafra c_amida c_tib c_munchen c_nikopolis c_sinjar c_praha c_keve c_mandab c_veria c_west-tokharestan c_bahnasa c_aran c_baranya c_ratibor c_wschowska c_cordoba c_rusafa c_qus c_sardan c_moskva c_mayyafariqin c_taizz c_nantes c_zemigalians c_hulwan c_kharga c_shaki c_wittenberg c_ferrara c_dausar c_olomouc c_mosul c_zutphen c_vladimir c_cadiz c_gostyninska c_qasr_ibrim c_tus c_brie_francaise c_lincolnshire c_saumur c_zeeland c_branicevo c_akhadid c_toledo c_stade c_benevento c_tourraine c_mantua c_talish c_gyor c_bakharz c_hamburg c_waqisa c_maastricht c_qadisiya c_iskaf c_damietta c_moura c_litomerice c_bailaqan c_berkshire c_bacs c_east-tokharestan c_brno c_hertfordshire c_fayyum c_samarra c_tall_basma c_sevilla c_beja c_kufa c_radomska c_elvas c_calafat c_suzdal c_ubulla c_anjou c_komarom c_agenais c_czerska c_danzig c_cleves c_safata c_dakhla c_rahba c_regensburg c_irbil c_erbach c_herat c_samaiqan c_zirkuh c_visegrad c_khabur c_poznanska c_evreux c_besancon c_al-haditha c_giza c_dawraq c_jerusalem c_shahrazur c_giurgiu c_irbid c_szabolcs c_dole c_hohenau c_east_riding c_arad c_cieszyn c_marburg c_oxfordshire c_balkh c_luneburg c_dessau c_nizhny_novgorod c_al-buhaira c_baihaq c_aswan c_baghdad c_kirkuk c_tolna c_vratsa c_turnovo c_krems c_feher c_beaumont c_cetatea_alba c_tikhvin c_sancerre c_mugan c_prerov c_holland c_lapusna c_lycia c_badaraya c_suenik c_damghan c_ile_de_france c_ionia c_malbork c_temes c_bordeaux c_faro c_palermo c_toulouse c_alexandria c_hampton c_dijon c_sharkiya c_znojmo c_karbala c_seleucia c_takrit c_tiberias c_caceres c_lombardia c_viterbo c_pavia c_hayk c_maragha c_vanand c_jaffa c_napoli c_tabriz c_madrid c_verona c_zatec c_frankfurt c_negev c_badajoz c_krakowska c_siwa c_dvin c_bagrewand c_beograd c_vidin c_zollern c_roma c_gurgan c_brysis c_poitiers c_maine c_serres c_hainaut c_malagon c_opole c_langres c_sieradzka c_siena c_zhytomyr c_landsberg c_vogtland c_sundgau c_neufchateau c_strassburg c_sacz c_westfriesland c_issoudun c_achaia c_arezzo c_gorlitz c_plzen c_hont c_brabant c_krasso c_saarbrucken c_lucca c_trier c_nyitra c_borsod c_passau c_hohenlohe c_fyn c_lolland_falster c_antwerpen c_lille c_halland c_catania c_siracusa c_messina c_lothian c_fife c_dunbar c_mearns c_dublin c_leinster c_ossory c_norfolk c_moray c_rugen c_pila c_skara c_narke c_gutland c_oland c_finland c_hauran c_baalbek c_kartli c_kakheti c_volodymyr c_nicosia c_anglesey c_kherson c_valladolid c_gent c_schwerin c_edessa c_hama c_nikaea c_lydia c_thessalia c_kokenois } } +trade_good_grain = { counties = { c_merida c_buckinghamshire c_dortmund c_skane c_armagnac c_bahriya c_upper_khabur c_calarasi c_aeolis c_asyut c_salerno c_raqqa c_ditmarschen c_ushmun c_orhei c_niebla c_batiha c_orleans c_qurta c_hewes c_bethen c_vienna c_kaiserslautern c_cologne c_angouleme c_surrey c_gnieznienska c_torun c_aachen c_ahvaz c_stendal c_polesine c_kujawy c_khachen c_wasit c_essex c_juwain c_kalabsha c_urmiya c_poszony c_cremona c_anbar c_kurdistan c_sjaelland c_szekesfehervar c_constanta c_kerak c_soroca c_eu c_clermont c_kent c_hadithat-ana c_mora c_shirvan c_al-gharbiya c_sabzevar c_magdeburg c_nasibin c_craiova c_yaroslavl c_ninive c_lubelska c_piacenza c_farafra c_amida c_tib c_munchen c_nikopolis c_sinjar c_praha c_keve c_mandab c_veria c_west-tokharestan c_bahnasa c_aran c_baranya c_ratibor c_wschowska c_cordoba c_rusafa c_qus c_sardan c_moskva c_mayyafariqin c_taizz c_nantes c_zemigalians c_hulwan c_kharga c_shaki c_wittenberg c_ferrara c_dausar c_olomouc c_mosul c_zutphen c_vladimir c_cadiz c_gostyninska c_qasr_ibrim c_tus c_brie_francaise c_lincolnshire c_saumur c_zeeland c_branicevo c_akhadid c_toledo c_stade c_benevento c_tourraine c_mantua c_talish c_gyor c_bakharz c_hamburg c_waqisa c_maastricht c_qadisiya c_iskaf c_damietta c_moura c_litomerice c_bailaqan c_berkshire c_bacs c_east-tokharestan c_brno c_hertfordshire c_fayyum c_samarra c_tall_basma c_sevilla c_beja c_kufa c_radomska c_elvas c_calafat c_suzdal c_ubulla c_anjou c_komarom c_agenais c_czerska c_danzig c_cleves c_safata c_dakhla c_rahba c_regensburg c_irbil c_erbach c_herat c_samaiqan c_zirkuh c_visegrad c_khabur c_poznanska c_evreux c_besancon c_al-haditha c_giza c_dawraq c_jerusalem c_shahrazur c_giurgiu c_irbid c_szabolcs c_dole c_hohenau c_east_riding c_arad c_cieszyn c_marburg c_oxfordshire c_balkh c_luneburg c_dessau c_nizhny_novgorod c_al-buhaira c_baihaq c_aswan c_baghdad c_kirkuk c_tolna c_vratsa c_turnovo c_krems c_feher c_beaumont c_cetatea_alba c_tikhvin c_sancerre c_mugan c_prerov c_holland c_lapusna c_lycia c_badaraya c_suenik c_damghan c_ile_de_france c_ionia c_malbork c_temes c_bordeaux c_faro c_palermo c_toulouse c_alexandria c_hampton c_dijon c_sharkiya c_znojmo c_karbala c_seleucia c_takrit c_tiberias c_caceres c_lombardia c_viterbo c_pavia c_hayk c_maragha c_vanand c_jaffa c_napoli c_tabriz c_madrid c_verona c_zatec c_frankfurt c_negev c_badajoz c_krakowska c_siwa c_dvin c_bagrewand c_beograd c_vidin c_zollern c_roma c_gurgan c_brysis c_poitiers c_maine c_serres c_hainaut c_malagon c_opole c_langres c_sieradzka c_siena c_zhytomyr c_landsberg c_vogtland c_sundgau c_neufchateau c_strassburg c_sacz c_westfriesland c_issoudun c_achaia c_arezzo c_gorlitz c_plzen c_hont c_brabant c_krasso c_saarbrucken c_lucca c_trier c_nyitra c_borsod c_passau c_hohenlohe c_fyn c_lolland_falster c_antwerpen c_lille c_halland c_catania c_siracusa c_messina c_lothian c_fife c_dunbar c_mearns c_dublin c_leinster c_ossory c_norfolk c_moray c_rugen c_pila c_skara c_narke c_gutland c_oland c_finland c_hauran c_baalbek c_kartli c_kakheti c_volodymyr c_nicosia c_anglesey c_kherson c_valladolid c_gent c_schwerin c_edessa c_hama c_nikaea c_lydia c_thessalia c_kokenois c_autun c_beaune c_creil c_eure_et_loir c_finistere c_gibraltar c_libourne c_loir_et_cher c_nievre c_saint_malo c_somme c_tarn c_tarn-et-garonne c_yvelines } } trade_good_hemp = { counties = { c_brie_francaise c_namur c_arnsberg c_dijon c_aluksne c_syrrusafa c_fife c_cordoba c_toledo c_guines c_murcia c_bern c_innsbruck c_regensburg c_baghdad c_sevede c_quercy c_onega c_brugge c_gent c_viipuri c_marash c_jaligny c_cuenca c_clermont c_amida c_berent c_oland c_gostyninska c_beaumont c_dortmund c_alencon c_gowrie c_berestye c_plzen c_madrid c_linz c_wasit c_bethen c_armagnac c_clermont_sur_allier c_besancon c_niebla c_qaryatan c_madeira c_malbork c_skane c_briey c_metz c_dausar c_znojmo c_allenstein c_aintab c_reims c_palanga c_kufa c_issoudun c_chalons c_baalbek c_limousin c_angus c_neufchateau c_njudung c_fayyum c_ubulla c_alarcon c_lothian c_batiha c_la_marche c_montaigu c_agenais c_cleves c_lille c_lviv c_sable c_mora c_jihlava c_bayeux c_suriya c_blekinge c_bar c_sandomierska c_bellac c_iskaf c_dole c_tib c_bouillon c_kaliska c_andujar c_brno c_bornholm c_zemigalians c_kolobrzeg c_hradec c_thouars c_lanarkshire c_radomska c_atholl c_hama c_trier c_ratibor c_langres c_berlin c_sieradzka c_ile_de_france c_farafra c_berry c_stezycka c_granada c_damietta c_nancy c_natangia c_takrit c_samarra c_auvergne c_vermandois c_liege c_wschowska c_kujawy c_malaga c_thiers c_ravensburg c_graz c_almeria c_kontupohja c_livs c_badaraya } } @@ -61,15 +61,15 @@ trade_good_silver = { counties = { c_qus c_bamian c_bethen c_medina c_caslav c_g trade_good_spices = { counties = { c_baihaq c_juwain c_nishapur c_samaiqan c_tus c_hamadan c_qom } } -trade_good_stone = { counties = { c_ablastha c_acampse c_achaia c_aetolia c_aintab c_ajaccio c_al_aqabah c_alcaraz c_alexandretta c_alto_aragon c_ancona c_anjou c_antiocheia c_antipatreia c_aosta c_ardabil c_argyll c_astorga c_augsburg c_avlonas c_aytos c_badakhshan c_baduspan c_baghdad c_bagrewand c_bamian c_bampur c_barcasag c_bern c_beszterce c_bigorre c_bisha c_bothin c_cabardinia c_calatrava c_campulung c_carcassonne c_cherkassy c_colonea c_cuellar c_damghan c_debar c_dvin c_east_riding c_eystridalir c_firdafylki c_fogaras c_fyn c_gauldala c_geneva c_gilan c_gorz c_gostyninska c_granada c_grisons c_groningen c_gudbrandsdalir c_hadramawt c_harjadalen c_hertfordshire c_hordalandi c_hradec c_innsbruck c_isauria c_jahkamakke c_jamtfir c_jiruft c_kakheti c_kerch c_klarjeti c_krasso c_laconia c_leczycka c_leon c_lienz c_lika c_lipto c_luki c_luni c_luristan c_lycia c_macva c_marash c_mecca c_mesopotamia c_messenia c_monterrei c_mosul c_munjan c_naissus c_namdalfylki c_nancy c_nedenes c_norwegian_more c_nysa c_ohrid c_olmedo c_opole c_orava c_padua c_pallas c_peremyshl c_pite c_plzen c_podrinje c_polovragi c_pompeiopolis c_porto c_praha c_qazwin c_ramhurmuz c_rashka c_rayy c_rounala c_ruyan c_salzburg c_samosata c_sankt_polten c_sardan c_satala c_selge c_sirjan c_skopje c_sogn c_strumica c_sumadija c_svaneti c_tabriz c_taif c_takrit c_tall_hamid c_targu_jiu c_teruel c_theodosiopolis c_trandheim c_trenscen c_trent c_turnovo c_turov c_turuberan c_tustar c_ubmejeiednuo c_uraltau c_vanand c_vannes c_velbazhd c_villach c_viseu c_vogtland c_vorbasse c_wakhan c_west_riding c_yatvyagi c_yazd c_zatec c_zichia c_zlatibor c_zurich c_suenik c_urgell c_trebizond c_lydia c_chania c_caernarfonshire c_abruzzi c_treviso c_marmaros c_szekelyfold c_severin c_bihar c_veria c_soria c_zadar c_molina c_odishi c_neamnt c_sacz c_chandax c_litomerice c_zela c_telemark c_navarra c_pisidia c_hunyad c_lombardia c_chios c_ljubljana c_bearn c_azysia c_pravia c_asturias_de_oviedo c_suceava c_rogalandi c_vratsa c_vaspurakan c_helenopontus c_schmalkalden c_derbent c_rama c_teramo c_arbanon c_vestfold c_boeotia c_nikopolis c_spoleto c_urbino c_casentino c_bastia c_monferrato c_fermo c_parma c_genoa c_naxos c_isle_of_wight } } +trade_good_stone = { counties = { c_ablastha c_acampse c_achaia c_aetolia c_aintab c_ajaccio c_al_aqabah c_alcaraz c_alexandretta c_alto_aragon c_ancona c_anjou c_antiocheia c_antipatreia c_aosta c_ardabil c_argyll c_astorga c_augsburg c_avlonas c_aytos c_badakhshan c_baduspan c_baghdad c_bagrewand c_bamian c_bampur c_barcasag c_bern c_beszterce c_bigorre c_bisha c_bothin c_cabardinia c_calatrava c_campulung c_carcassonne c_cherkassy c_colonea c_cuellar c_damghan c_debar c_dvin c_east_riding c_eystridalir c_firdafylki c_fogaras c_fyn c_gauldala c_geneva c_gilan c_gorz c_gostyninska c_granada c_grisons c_groningen c_gudbrandsdalir c_hadramawt c_harjadalen c_hertfordshire c_hordalandi c_hradec c_innsbruck c_isauria c_jahkamakke c_jamtfir c_jiruft c_kakheti c_kerch c_klarjeti c_krasso c_laconia c_leczycka c_leon c_lienz c_lika c_lipto c_luki c_luni c_luristan c_lycia c_macva c_marash c_mecca c_mesopotamia c_messenia c_monterrei c_mosul c_munjan c_naissus c_namdalfylki c_nancy c_nedenes c_norwegian_more c_nysa c_ohrid c_olmedo c_opole c_orava c_padua c_pallas c_peremyshl c_pite c_plzen c_podrinje c_polovragi c_pompeiopolis c_porto c_praha c_qazwin c_ramhurmuz c_rashka c_rayy c_rounala c_ruyan c_salzburg c_samosata c_sankt_polten c_sardan c_satala c_selge c_sirjan c_skopje c_sogn c_strumica c_sumadija c_svaneti c_tabriz c_taif c_takrit c_tall_hamid c_targu_jiu c_teruel c_theodosiopolis c_trandheim c_trenscen c_trent c_turnovo c_turov c_turuberan c_tustar c_ubmejeiednuo c_uraltau c_vanand c_vannes c_velbazhd c_villach c_viseu c_vogtland c_vorbasse c_wakhan c_west_riding c_yatvyagi c_yazd c_zatec c_zichia c_zlatibor c_zurich c_suenik c_urgell c_trebizond c_lydia c_chania c_caernarfonshire c_abruzzi c_treviso c_marmaros c_szekelyfold c_severin c_bihar c_veria c_soria c_zadar c_molina c_odishi c_neamnt c_sacz c_chandax c_litomerice c_zela c_telemark c_navarra c_pisidia c_hunyad c_lombardia c_chios c_ljubljana c_bearn c_azysia c_pravia c_asturias_de_oviedo c_suceava c_rogalandi c_vratsa c_vaspurakan c_helenopontus c_schmalkalden c_derbent c_rama c_teramo c_arbanon c_vestfold c_boeotia c_nikopolis c_spoleto c_urbino c_casentino c_bastia c_monferrato c_fermo c_parma c_genoa c_naxos c_isle_of_wight c_ardeche c_ponferrada } } trade_good_sugar = { counties = { c_asyut c_ushmun c_al-gharbiya c_batiha c_giza c_akhadid c_madeira c_canarias c_iskaf c_al-buhaira c_kufa c_fuerteventura c_alcaraz c_dakhla c_teruel c_granada c_tripoli c_alexandria c_wasit c_dawraq c_kerak c_ahvaz c_mosul c_kharga c_samarra } } trade_good_wine = { counties = { c_caceres c_hamadan c_murzzuschlag c_reims c_alcaraz c_attica c_medellin c_dakhla c_chios c_pozega c_badajoz c_abkhazia c_campulung c_besancon c_torda c_coimbra c_wurzburg c_malta c_porto c_namur c_vienna c_langres c_coulommiers c_shirvan c_thessalonika c_teruel c_kakheti c_puttlingen c_tbilisi c_zamora c_galati c_tarragona c_shaki c_modena c_graz c_siena c_mora c_aquileia c_alarcon c_aosta c_mainz c_dole c_urgell c_najera c_kartli c_veria c_friuli c_ferrara c_herat c_capua c_bost c_viseu c_hereti c_albret c_bahriya c_bearn c_shiraz c_toulouse c_dvin c_agenais c_valladolid c_dinawar c_istakhr c_aran c_castelo_branco c_hayk c_lisboa c_chania c_sens c_hvosno c_ancona c_metz c_farafra c_kolon c_nancy c_erbach c_iasi c_macon c_lesbos c_sundgau c_armagnac c_neufchateau c_keve c_liege c_odishi c_siracusa c_bologna c_hohenau c_nantes c_strassburg c_canarias c_saarbrucken c_konstanz c_somogy c_farah c_rethel c_philomelium c_bamberg c_trent c_genoa c_znojmo c_charsianon c_napoli c_guria c_barcelona c_teramo c_rashka c_casentino c_abruzzi c_verona c_dresden c_bari c_qazwin c_breisgau c_merida c_firenze c_bigorre c_trier c_luni c_lleida c_ravenna c_treviso c_auxerre c_monterrei c_visegrad c_madeira c_astorga c_saumur c_frankfurt c_marsan c_taranto c_navarra c_anjou c_chalons c_euboea c_komarom c_fermo c_tourraine c_geneva c_calatayud c_troyes c_carcassonne c_perigord } } -trade_good_wood = { counties = { c_onega_BJA c_carmarthenshire c_riga c_wurzburg c_gorlitz c_rusa c_koutajoki c_kolon c_cerasus c_vitebsk c_braslau c_varend c_csongrad c_cambridgeshire c_east_kiilt c_konigsberg c_ostergotland c_bouillon c_buzau c_caithness c_hedmork c_votkinsk c_mainz c_morarna c_kaiserslautern c_pskov c_nedenes c_ubmejeiednuo c_surrey c_hordalandi c_thiers c_bedford c_shenkursk c_novogrudok c_plzen c_tecklenburg c_bugurslan c_slupsk c_totma c_nordmark c_viena c_kujawy c_vanemane c_ulm c_viipuri c_tarsos c_jahkamakke c_vastvag c_serdosk c_landsberg c_passau c_korosten c_gevaudan c_cheshire c_dresden c_honorias c_huntingdonshire c_vastergotland c_aviovara c_krajna c_vingulmork c_kittila c_livs c_matya c_cheboksary c_kinda c_karasjohka c_angermanland c_babruysk c_ter c_kernave c_saran c_clermont c_dalarna c_waldeck c_sir_faesyfed c_salinis c_ryazan c_lachyk-uba c_szekelyfold c_jovvkuj c_sundgau c_sebezh c_bezichi c_magdeburg c_helgum c_sevsk c_bihar c_more c_kozlov c_issoudun c_kakisalmi c_lubelska c_skara c_siauliai c_perigord c_novgorod_seversky c_onega c_praha c_keve c_warwickshire c_selpils c_zagorje c_tula c_ufa c_marsan c_palanga c_rouen c_cottbus c_satakunta c_skolt c_aluksne c_mari-turek c_munchen c_opava c_choklema c_strassburg c_cumberland c_allenstein c_perm c_pila c_bithynia c_breisgau c_stezycka c_glazov c_mozhaysk c_wittenberg c_kokenois c_siun c_tver c_raseiniai c_velsk c_wiek c_kargopol c_odoyev c_salavat c_finland c_julevadno c_plocka c_slesvig c_onsthia c_gnezdovo c_troyes c_povenets c_kazan c_sebur c_glamorgan c_toledo c_berlin c_wolgast c_jaligny c_tourraine c_penza c_aarhus c_plasencia c_novosil c_varmland c_kainuu c_inari c_graz c_halsingland c_petrovsk c_sevede c_bar c_arnsberg c_ural c_balachev c_bucuresti c_viborg c_wiltshire c_zaragoza c_njudung c_jihlava c_murom c_memel c_saratov c_radomska c_czerska c_oulu c_somerset c_uiska c_albret c_belebey c_agdeside c_knittelfeld c_aalborg c_gloucestershire c_maldwyn c_ustyug c_yatvyagi c_macon c_pudozh c_berent c_faereyar c_yar-calli c_bekes c_nyland c_kletsk c_ruyan c_alcacer_do_sal c_gastrikland c_rethel c_jalmat c_starodub c_paderborn c_lyubim c_polotsk c_narke c_sieradzka c_torne c_vermandois c_beziers c_tambov c_ingolstadt c_cieszyn c_akkel c_marburg c_voronezh c_luneburg c_ailech c_lomzynska c_ungvar c_amaya c_clermont_sur_allier c_rennes c_sortavala c_lippe c_nottinghamshire c_elabuga c_kontupohja c_oldenburg c_vologda c_torda c_kirillov c_novgorod c_guria c_hradec c_luki c_upland c_schwerin c_breslau c_birsk c_kursk c_chornobyl c_natangia c_kassel c_mamadych c_lysva c_yoshkar-ola c_sinope c_badajoz c_helenopontus c_smolensk c_galati c_teviotdale c_beszterce c_barcasag c_berkshire c_mazandaran c_annandale c_temes c_coruna c_bothin c_kent c_eystridalir c_harjadalen c_pite c_hertfordshire c_desmond c_yaroslavl c_shropshire c_zemplen c_essex c_jamtfir c_moray c_reggio_calabria c_sogn c_tolna c_buchan c_raniriki c_regensburg c_neufchateau c_north_riding c_peremyshl c_somogy c_norwegian_more c_litomerice c_rugen c_orleans c_durham c_minsk c_telemark c_sutherland c_fogaras c_westmorland c_limousin c_feher c_hereford c_stendal c_hont c_la_marche c_lancashire c_cornwall c_zatec c_torun c_rogalandi c_brno c_hewes c_nizhny_novgorod c_denbighshire c_szabolcs c_poznanska c_breifne c_northumberland c_zemigalians c_arnhem c_messina c_auvergne c_devon c_veszprem c_quercy c_buckinghamshire c_zichia c_fraga c_namur c_luxembourg c_aargau c_abauj c_ablastha c_acampse c_adrianopolis c_ahqaf c_ajaccio c_akhadid c_al-asa c_al-haditha c_aland c_aleppo c_amstetten c_angerburg c_anglesey c_angouleme c_angus c_anket c_ansbach c_antipatreia c_apahunik c_arad c_aran c_argyll c_arrajan c_astrakhan c_atholl c_atyrau c_aunis c_auxerre c_avlonas c_aydhab c_ayrshire c_aytos c_azov c_bacs c_baduspan c_bailaqan c_balkh c_bamberg c_baranya c_basagha c_behabad c_bellac c_benevento c_bereg c_berestye c_berry c_besinada c_bisha c_boulogne c_brabant c_branicevo c_brecknockshire c_bremen c_verden c_brie_francaise c_briey c_brunswick c_burgas c_burgos c_cabardinia c_calafat c_calarasi c_campulung c_cardiganshire c_cephalonia c_chalons c_charsianon c_cherven c_chonae c_cleves c_coburg c_connacht c_constanta c_cosenza c_coulommiers c_craiova c_cuellar c_dal c_damascus c_danzig c_darmashan c_debar c_derby c_dessau c_dnipro c_dorohoi c_dorset c_dortmund c_dunbar c_dyrrachion c_edessa c_ennis c_evreux c_farama c_fife c_firaun c_firdafylki c_french_leon c_frisia c_fulda c_galloway c_gauldala c_geneva c_ghazna c_ghur c_giurgiu c_gnieznienska c_golden_hills c_gowrie c_grisons c_grodno c_grunberg c_gudbrandsdalir c_gutland c_hadithat-ana c_hainaut c_hamadan c_hamburg c_harrat_rahat c_hauran c_hereti c_hildesheim c_hohenlohe c_homs c_hormuz c_hulwan c_inner_hebrides c_inverness c_irahistan c_irbil c_isfahan c_isle_of_man c_jabal_quzlum c_jawf-al-yamani c_jerusalem c_jiruft c_juwair c_kabul c_kaisereia c_kalat c_kaliska c_kartli c_kermanshah c_khachen c_khaybar c_khumar c_khuwar c_kirkuk c_klarjeti c_kozelsk c_kranj c_kurdistan c_kyzistra c_lanarkshire c_lapusna c_lar c_legnica c_leicestershire c_leinster c_lennox c_liebnitz c_lienz c_lika c_lincolnshire c_lipto c_lothian c_lozova c_lubeck c_kiel c_luristan c_lviv c_lydia c_maastricht c_mafaza c_maine c_malagon c_mandestan c_mantua c_marash c_masabadhan c_mayo c_mayyafariqin c_mecca c_medellin c_melitene c_metz c_miliez c_monmouthshire c_monterrei c_moskva c_mugan c_munster c_mysia c_naissus c_nancy c_nasibin c_nassau c_norfolk c_northamptonshire c_nurnberg c_odessa c_ohrid c_olmedo c_opole c_orava c_orenburg c_orhei c_ormond c_osnabruck c_ossory c_ostfriesland c_outer_hebrides c_oxfordshire c_pallas c_pembrokeshire c_penthievre c_piacenza c_pinsk c_podrinje c_polesine c_polovragi c_pompeiopolis c_poszony c_puttlingen c_qadisiya c_qinnasrin c_qusayr c_rahba c_rama c_rashka c_ratibor c_reims c_rhodos c_ribe c_ross c_rostock c_rouergue c_rounala c_rukhaj c_sabzevar c_safata c_saimara c_salamanca c_salzburg c_samander c_samar c_samiran c_samosata c_sancerre c_sankt_polten c_sarkel c_satala c_sens c_serres c_severin c_shahrazur c_shaki c_shetland c_shirvan c_sibi c_sif-i-umara c_sinai c_sinjar c_skopje c_sodermannaland c_soli c_soroca c_spis c_spoleto c_spreewald c_staffordshire c_strathearn c_strumica c_suceava c_suffolk c_sukhna c_sullum c_sumadija c_szekesfehervar c_targu_jiu c_theodosiopolis c_thouars c_thyatira c_tigheci c_tihama c_tun c_turov c_uman c_upper_ghur c_upper_khabur c_uraltau c_urbino c_urgun c_valladolid c_velay c_velbazhd c_vidin c_villach c_viseu c_volodymyr c_vrbas c_wabar c_waqisa c_west_riding c_worcestershire c_wschowska c_zabulistan c_zamindawar c_zanjan c_zhytomyr c_zirkuh c_zlatibor c_zollern c_zolyom c_zutphen c_beirut c_tripoli c_mesopotamia } } +trade_good_wood = { counties = { c_onega_BJA c_carmarthenshire c_riga c_wurzburg c_gorlitz c_rusa c_koutajoki c_kolon c_cerasus c_vitebsk c_braslau c_varend c_csongrad c_cambridgeshire c_east_kiilt c_konigsberg c_ostergotland c_bouillon c_buzau c_caithness c_hedmork c_votkinsk c_mainz c_morarna c_kaiserslautern c_pskov c_nedenes c_ubmejeiednuo c_surrey c_hordalandi c_thiers c_bedford c_shenkursk c_novogrudok c_plzen c_tecklenburg c_bugurslan c_slupsk c_totma c_nordmark c_viena c_kujawy c_vanemane c_ulm c_viipuri c_tarsos c_jahkamakke c_vastvag c_serdosk c_landsberg c_passau c_korosten c_gevaudan c_cheshire c_dresden c_honorias c_huntingdonshire c_vastergotland c_aviovara c_krajna c_vingulmork c_kittila c_livs c_matya c_cheboksary c_kinda c_karasjohka c_angermanland c_babruysk c_ter c_kernave c_saran c_clermont c_dalarna c_waldeck c_sir_faesyfed c_salinis c_ryazan c_lachyk-uba c_szekelyfold c_jovvkuj c_sundgau c_sebezh c_bezichi c_magdeburg c_helgum c_sevsk c_bihar c_more c_kozlov c_issoudun c_kakisalmi c_lubelska c_skara c_siauliai c_perigord c_novgorod_seversky c_onega c_praha c_keve c_warwickshire c_selpils c_zagorje c_tula c_ufa c_marsan c_palanga c_rouen c_cottbus c_satakunta c_skolt c_aluksne c_mari-turek c_munchen c_opava c_choklema c_strassburg c_cumberland c_allenstein c_perm c_pila c_bithynia c_breisgau c_stezycka c_glazov c_mozhaysk c_wittenberg c_kokenois c_siun c_tver c_raseiniai c_velsk c_wiek c_kargopol c_odoyev c_salavat c_finland c_julevadno c_plocka c_slesvig c_onsthia c_gnezdovo c_troyes c_povenets c_kazan c_sebur c_glamorgan c_toledo c_berlin c_wolgast c_jaligny c_tourraine c_penza c_aarhus c_plasencia c_novosil c_varmland c_kainuu c_inari c_graz c_halsingland c_petrovsk c_sevede c_bar c_arnsberg c_ural c_balachev c_bucuresti c_viborg c_wiltshire c_zaragoza c_njudung c_jihlava c_murom c_memel c_saratov c_radomska c_czerska c_oulu c_somerset c_uiska c_albret c_belebey c_agdeside c_knittelfeld c_aalborg c_gloucestershire c_maldwyn c_ustyug c_yatvyagi c_macon c_pudozh c_berent c_faereyar c_yar-calli c_bekes c_nyland c_kletsk c_ruyan c_alcacer_do_sal c_gastrikland c_rethel c_jalmat c_starodub c_paderborn c_lyubim c_polotsk c_narke c_sieradzka c_torne c_vermandois c_beziers c_tambov c_ingolstadt c_cieszyn c_akkel c_marburg c_voronezh c_luneburg c_ailech c_lomzynska c_ungvar c_amaya c_clermont_sur_allier c_rennes c_sortavala c_lippe c_nottinghamshire c_elabuga c_kontupohja c_oldenburg c_vologda c_torda c_kirillov c_novgorod c_guria c_hradec c_luki c_upland c_schwerin c_breslau c_birsk c_kursk c_chornobyl c_natangia c_kassel c_mamadych c_lysva c_yoshkar-ola c_sinope c_badajoz c_helenopontus c_smolensk c_galati c_teviotdale c_beszterce c_barcasag c_berkshire c_mazandaran c_annandale c_temes c_coruna c_bothin c_kent c_eystridalir c_harjadalen c_pite c_hertfordshire c_desmond c_yaroslavl c_shropshire c_zemplen c_essex c_jamtfir c_moray c_reggio_calabria c_sogn c_tolna c_buchan c_raniriki c_regensburg c_neufchateau c_north_riding c_peremyshl c_somogy c_norwegian_more c_litomerice c_rugen c_orleans c_durham c_minsk c_telemark c_sutherland c_fogaras c_westmorland c_limousin c_feher c_hereford c_stendal c_hont c_la_marche c_lancashire c_cornwall c_zatec c_torun c_rogalandi c_brno c_hewes c_nizhny_novgorod c_denbighshire c_szabolcs c_poznanska c_breifne c_northumberland c_zemigalians c_arnhem c_messina c_auvergne c_devon c_veszprem c_quercy c_buckinghamshire c_zichia c_fraga c_namur c_luxembourg c_aargau c_abauj c_ablastha c_acampse c_adrianopolis c_ahqaf c_ajaccio c_akhadid c_al-asa c_al-haditha c_aland c_aleppo c_amstetten c_angerburg c_anglesey c_angouleme c_angus c_anket c_ansbach c_antipatreia c_apahunik c_arad c_aran c_argyll c_arrajan c_astrakhan c_atholl c_atyrau c_aunis c_auxerre c_avlonas c_aydhab c_ayrshire c_aytos c_azov c_bacs c_baduspan c_bailaqan c_balkh c_bamberg c_baranya c_basagha c_behabad c_bellac c_benevento c_bereg c_berestye c_berry c_besinada c_bisha c_boulogne c_brabant c_branicevo c_brecknockshire c_bremen c_verden c_brie_francaise c_briey c_brunswick c_burgas c_burgos c_cabardinia c_calafat c_calarasi c_campulung c_cardiganshire c_cephalonia c_chalons c_charsianon c_cherven c_chonae c_cleves c_coburg c_connacht c_constanta c_cosenza c_coulommiers c_craiova c_cuellar c_dal c_damascus c_danzig c_darmashan c_debar c_derby c_dessau c_dnipro c_dorohoi c_dorset c_dortmund c_dunbar c_dyrrachion c_edessa c_ennis c_evreux c_farama c_fife c_firaun c_firdafylki c_french_leon c_frisia c_fulda c_galloway c_gauldala c_geneva c_ghazna c_ghur c_giurgiu c_gnieznienska c_golden_hills c_gowrie c_grisons c_grodno c_grunberg c_gudbrandsdalir c_gutland c_hadithat-ana c_hainaut c_hamadan c_hamburg c_harrat_rahat c_hauran c_hereti c_hildesheim c_hohenlohe c_homs c_hormuz c_hulwan c_inner_hebrides c_inverness c_irahistan c_irbil c_isfahan c_isle_of_man c_jabal_quzlum c_jawf-al-yamani c_jerusalem c_jiruft c_juwair c_kabul c_kaisereia c_kalat c_kaliska c_kartli c_kermanshah c_khachen c_khaybar c_khumar c_khuwar c_kirkuk c_klarjeti c_kozelsk c_kranj c_kurdistan c_kyzistra c_lanarkshire c_lapusna c_lar c_legnica c_leicestershire c_leinster c_lennox c_liebnitz c_lienz c_lika c_lincolnshire c_lipto c_lothian c_lozova c_lubeck c_kiel c_luristan c_lviv c_lydia c_maastricht c_mafaza c_maine c_malagon c_mandestan c_mantua c_marash c_masabadhan c_mayo c_mayyafariqin c_mecca c_medellin c_melitene c_metz c_miliez c_monmouthshire c_monterrei c_moskva c_mugan c_munster c_mysia c_naissus c_nancy c_nasibin c_nassau c_norfolk c_northamptonshire c_nurnberg c_odessa c_ohrid c_olmedo c_opole c_orava c_orenburg c_orhei c_ormond c_osnabruck c_ossory c_ostfriesland c_outer_hebrides c_oxfordshire c_pallas c_pembrokeshire c_penthievre c_piacenza c_pinsk c_podrinje c_polesine c_polovragi c_pompeiopolis c_poszony c_puttlingen c_qadisiya c_qinnasrin c_qusayr c_rahba c_rama c_rashka c_ratibor c_reims c_rhodos c_ribe c_ross c_rostock c_rouergue c_rounala c_rukhaj c_sabzevar c_safata c_saimara c_salamanca c_salzburg c_samander c_samar c_samiran c_samosata c_sancerre c_sankt_polten c_sarkel c_satala c_sens c_serres c_severin c_shahrazur c_shaki c_shetland c_shirvan c_sibi c_sif-i-umara c_sinai c_sinjar c_skopje c_sodermannaland c_soli c_soroca c_spis c_spoleto c_spreewald c_staffordshire c_strathearn c_strumica c_suceava c_suffolk c_sukhna c_sullum c_sumadija c_szekesfehervar c_targu_jiu c_theodosiopolis c_thouars c_thyatira c_tigheci c_tihama c_tun c_turov c_uman c_upper_ghur c_upper_khabur c_uraltau c_urbino c_urgun c_valladolid c_velay c_velbazhd c_vidin c_villach c_viseu c_volodymyr c_vrbas c_wabar c_waqisa c_west_riding c_worcestershire c_wschowska c_zabulistan c_zamindawar c_zanjan c_zhytomyr c_zirkuh c_zlatibor c_zollern c_zolyom c_zutphen c_beirut c_tripoli c_mesopotamia c_loir_et_cher c_tarn } } -trade_good_wool = { counties = { c_podrinje c_theodosiopolis c_lipto c_csongrad c_castelo_branco c_orhei c_burgas c_farah c_atholl c_bari c_apahunik c_shropshire c_yanbu c_aland c_sarkel c_isle_of_wight c_kiz c_innsbruck c_soria c_bugurslan c_volodymyr c_grodno c_chonae c_uqayr c_qaryatan c_alexandretta c_annandale c_khumar c_honorias c_vastergotland c_leicestershire c_buchan c_kurdistan c_mafaza c_tarragona c_sukhna c_augsburg c_sakmara c_capua c_bam c_gorz c_nizwa c_yamama c_alencon c_allaqi c_west-tokharestan c_serres c_ribe c_lower_galatia c_cherkassy c_calatrava c_behabad c_bamian c_najera c_sanij c_abkhazia c_bithynia c_palmyra c_turuberan c_zutphen c_hotin c_severin c_anket c_groningen c_zeeland c_orkney c_zolyom c_gyor c_aarhus c_blekinge c_khaybar c_waqisa c_bacs c_vaspurakan c_mahra c_hertfordshire c_wiltshire c_nikaea c_sirjan c_cherven c_novara c_norfolk c_riqan c_kartli c_darabjerd c_arnhem c_safata c_aalborg c_salzburg c_naissus c_vorbasse c_al-haditha c_al_aqabah c_kozelsk c_hohenau c_firaun c_rudbar c_ingolstadt c_fyn c_cuenca c_zichia c_nizhny_novgorod c_fraga c_ungvar c_iasi c_luki c_upland c_cetatea_alba c_valencia c_linz c_falaj c_holland c_qasim c_calarasi c_lapusna c_carmarthenshire c_rogalandi c_northamptonshire c_hail c_arbanon c_batina c_ostergotland c_casentino c_panjgur c_ossory c_zlatibor c_dnipro c_samiran c_raniriki c_tarsos c_cheshire c_north_riding c_charsianon c_denbighshire c_al-hasa c_lancashire c_szekesfehervar c_lothian c_sandomierska c_lolland_falster c_teramo c_pallas c_sacz c_murzzuschlag c_nikopolis c_warwickshire c_tbilisi c_dokkum c_cordoba c_sullum c_dal c_dhafra c_dyrrachion c_zamora c_modena c_nysa c_caernarfonshire c_sanaa c_suriya c_orava c_juwair c_vladimir c_salavat c_oversticht c_burgos c_slesvig c_wajh c_darmashan c_al_jawf c_coimbra c_abruzzi c_glamorgan c_la_marche c_khuwar c_nihawand c_bakharz c_fife c_balachev c_thomond c_elvas c_calafat c_lleida c_barcasag c_derby c_kermanshah c_campulung c_staffordshire c_aintab c_dakhla c_alicante c_maldwyn c_rhodos c_duqm c_herat c_urgell c_giurgiu c_sankt_polten c_cherso c_kherson c_amaya c_nih c_urgun c_guria c_thalabiya c_kranj c_asturias_de_santillana c_asturias_de_oviedo c_luristan c_tmutarakan c_fogaras c_bahriya c_socotra c_bost c_kakheti c_thessalia c_bornholm c_shahre-babak c_asir c_hewes c_zadar c_isle_of_man c_marmaros c_bedford c_menorca c_galatia c_qain c_dinawar c_basagha c_taif c_padua c_baisary c_aqiq c_vastmanland c_medina c_thyatira c_smolensk c_vingulmork c_mysia c_soroca c_coruna c_sir_faesyfed c_hadithat-ana c_silves c_qinnasrin c_sabzevar c_jawf-al-yamani c_al-arid c_aetolia c_samman c_borsod c_mearns c_krasso c_kyzistra c_munchen c_velay c_wabar c_phrygia c_zaranj c_sibi c_westmorland c_adrianopolis c_ravensburg c_frisia c_abydos c_prusa c_uwal c_vas c_maan c_sodermannaland c_samosata c_maghas c_teviotdale c_yazd c_debar c_medelpad c_galloway c_oland c_kalat c_qadisiya c_moura c_farama c_trebizond c_kabul c_bucuresti c_sirhan c_damascus c_lar c_ayrshire c_galatia_salutaris c_balqa c_liebnitz c_somerset c_aosta c_dorset c_desmond c_zemplen c_agdeside c_rahba c_gloucestershire c_dunbar c_alarcon c_nyland c_alcacer_do_sal c_worcestershire c_szabolcs c_vestfold c_lydia c_arad c_satala c_oxfordshire c_ailech c_kerch c_friuli c_guzgan c_vratsa c_lozova c_chandax c_lucca c_pisidia c_halland c_girona c_aydhab c_kolon c_ringkobing c_pembrokeshire c_cephalonia c_ghazna c_golden_hills c_lanarkshire c_besinada c_shaqiq c_dublin c_tihama c_mallorca c_surrey c_edessa c_tabuk c_kinda_sakun c_jilat c_spis c_zagreb c_turan c_yabrin c_passau c_quercy c_pozega c_gutland c_anbar c_aquileia c_angermanland c_hereford c_euchaita c_jabal_quzlum c_sharaf c_szekelyfold c_zamindawar c_nyitra c_kakisalmi c_syrrusafa c_azov c_canarias c_keve c_tigheci c_az-dhahira c_baranya c_alto_aragon c_aleppo c_hauran c_peremyshl c_al-asa c_lienz c_qatif c_ghur c_muscat c_westfriesland c_kharga c_orenburg c_uman c_upper_ghur c_shiraz c_finland c_ljubljana c_viseu c_sinai c_tun c_tayma c_cabardinia c_monterrei c_antipatreia c_plasencia c_graz c_odessa c_maab c_julfar c_berkshire c_bisha c_svaneti c_spoleto c_east-tokharestan c_klarjeti c_saratov c_veszprem c_fuerteventura c_hama c_hereti c_anglesey c_ahqaf c_amstetten c_surrah c_masabadhan c_trandheim c_rivsharan c_galati c_subay c_zabulistan c_northumberland c_shahrazur c_kalliopolis c_khawr c_qusayr c_harrat_rahat c_oriel c_ostfriesland c_telemark c_medellin c_bigorre c_najran c_tolna c_lviv c_krems c_poitiers c_ormond c_suffolk c_samar c_tikhvin c_ardestan c_caceres c_suceava c_hunyad c_suenik c_sumadija c_abauj c_inverness c_skopje c_valladolid c_lennox c_inner_hebrides c_vidin c_ross c_urbino c_malagon c_rama c_craiova c_targu_jiu c_rashka c_karbala c_aytos c_geneva c_rukhaj c_uraltau c_gudbrandsdalir c_munjan c_gauldala c_gnezdovo c_cardiganshire c_badakhshan c_jamtfir c_balkh c_kaisereia c_beszterce c_melitene c_porto c_moray c_feher c_argyll c_brecknockshire c_moskva c_firdafylki c_helenopontus c_sogn c_bearn c_vrbas c_azysia c_dorohoi c_homs c_parma c_baduspan c_strathearn c_chania c_samander c_branicevo c_atyrau c_sinope c_molina c_lika c_eystridalir c_derbent c_messina c_neamnt c_harjadalen c_olmedo c_grisons c_genoa c_wakhan c_salamanca c_astrakhan c_velbazhd c_monferrato c_bereg c_polovragi c_rounala c_buckinghamshire c_durham c_astorga c_minsk c_pompeiopolis c_villach c_sutherland c_soli c_acampse c_calatayud c_west_riding c_osnabruck c_hohenlohe c_hannover c_spreewald c_kassel c_bremen c_verden c_brunswick c_stendal c_coburg c_ansbach c_nurnberg c_munster c_bamberg c_nassau c_fulda c_farafra c_landsberg c_gent } } +trade_good_wool = { counties = { c_podrinje c_theodosiopolis c_lipto c_csongrad c_castelo_branco c_orhei c_burgas c_farah c_atholl c_bari c_apahunik c_shropshire c_yanbu c_aland c_sarkel c_isle_of_wight c_kiz c_innsbruck c_soria c_bugurslan c_volodymyr c_grodno c_chonae c_uqayr c_qaryatan c_alexandretta c_annandale c_khumar c_honorias c_vastergotland c_leicestershire c_buchan c_kurdistan c_mafaza c_tarragona c_sukhna c_augsburg c_sakmara c_capua c_bam c_gorz c_nizwa c_yamama c_alencon c_allaqi c_west-tokharestan c_serres c_ribe c_lower_galatia c_cherkassy c_calatrava c_behabad c_bamian c_najera c_sanij c_abkhazia c_bithynia c_palmyra c_turuberan c_zutphen c_hotin c_severin c_anket c_groningen c_zeeland c_orkney c_zolyom c_gyor c_aarhus c_blekinge c_khaybar c_waqisa c_bacs c_vaspurakan c_mahra c_hertfordshire c_wiltshire c_nikaea c_sirjan c_cherven c_novara c_norfolk c_riqan c_kartli c_darabjerd c_arnhem c_safata c_aalborg c_salzburg c_naissus c_vorbasse c_al-haditha c_al_aqabah c_kozelsk c_hohenau c_firaun c_rudbar c_ingolstadt c_fyn c_cuenca c_zichia c_nizhny_novgorod c_fraga c_ungvar c_iasi c_luki c_upland c_cetatea_alba c_valencia c_linz c_falaj c_holland c_qasim c_calarasi c_lapusna c_carmarthenshire c_rogalandi c_northamptonshire c_hail c_arbanon c_batina c_ostergotland c_casentino c_panjgur c_ossory c_zlatibor c_dnipro c_samiran c_raniriki c_tarsos c_cheshire c_north_riding c_charsianon c_denbighshire c_al-hasa c_lancashire c_szekesfehervar c_lothian c_sandomierska c_lolland_falster c_teramo c_pallas c_sacz c_murzzuschlag c_nikopolis c_warwickshire c_tbilisi c_dokkum c_cordoba c_sullum c_dal c_dhafra c_dyrrachion c_zamora c_modena c_nysa c_caernarfonshire c_sanaa c_suriya c_orava c_juwair c_vladimir c_salavat c_oversticht c_burgos c_slesvig c_wajh c_darmashan c_al_jawf c_coimbra c_abruzzi c_glamorgan c_la_marche c_khuwar c_nihawand c_bakharz c_fife c_balachev c_thomond c_elvas c_calafat c_lleida c_barcasag c_derby c_kermanshah c_campulung c_staffordshire c_aintab c_dakhla c_alicante c_maldwyn c_rhodos c_duqm c_herat c_urgell c_giurgiu c_sankt_polten c_cherso c_kherson c_amaya c_nih c_urgun c_guria c_thalabiya c_kranj c_asturias_de_santillana c_asturias_de_oviedo c_luristan c_tmutarakan c_fogaras c_bahriya c_socotra c_bost c_kakheti c_thessalia c_bornholm c_shahre-babak c_asir c_hewes c_zadar c_isle_of_man c_marmaros c_bedford c_menorca c_galatia c_qain c_dinawar c_basagha c_taif c_padua c_baisary c_aqiq c_vastmanland c_medina c_thyatira c_smolensk c_vingulmork c_mysia c_soroca c_coruna c_sir_faesyfed c_hadithat-ana c_silves c_qinnasrin c_sabzevar c_jawf-al-yamani c_al-arid c_aetolia c_samman c_borsod c_mearns c_krasso c_kyzistra c_munchen c_velay c_wabar c_phrygia c_zaranj c_sibi c_westmorland c_adrianopolis c_ravensburg c_frisia c_abydos c_prusa c_uwal c_vas c_maan c_sodermannaland c_samosata c_maghas c_teviotdale c_yazd c_debar c_medelpad c_galloway c_oland c_kalat c_qadisiya c_moura c_farama c_trebizond c_kabul c_bucuresti c_sirhan c_damascus c_lar c_ayrshire c_galatia_salutaris c_balqa c_liebnitz c_somerset c_aosta c_dorset c_desmond c_zemplen c_agdeside c_rahba c_gloucestershire c_dunbar c_alarcon c_nyland c_alcacer_do_sal c_worcestershire c_szabolcs c_vestfold c_lydia c_arad c_satala c_oxfordshire c_ailech c_kerch c_friuli c_guzgan c_vratsa c_lozova c_chandax c_lucca c_pisidia c_halland c_girona c_aydhab c_kolon c_ringkobing c_pembrokeshire c_cephalonia c_ghazna c_golden_hills c_lanarkshire c_besinada c_shaqiq c_dublin c_tihama c_mallorca c_surrey c_edessa c_tabuk c_kinda_sakun c_jilat c_spis c_zagreb c_turan c_yabrin c_passau c_quercy c_pozega c_gutland c_anbar c_aquileia c_angermanland c_hereford c_euchaita c_jabal_quzlum c_sharaf c_szekelyfold c_zamindawar c_nyitra c_kakisalmi c_syrrusafa c_azov c_canarias c_keve c_tigheci c_az-dhahira c_baranya c_alto_aragon c_aleppo c_hauran c_peremyshl c_al-asa c_lienz c_qatif c_ghur c_muscat c_westfriesland c_kharga c_orenburg c_uman c_upper_ghur c_shiraz c_finland c_ljubljana c_viseu c_sinai c_tun c_tayma c_cabardinia c_monterrei c_antipatreia c_plasencia c_graz c_odessa c_maab c_julfar c_berkshire c_bisha c_svaneti c_spoleto c_east-tokharestan c_klarjeti c_saratov c_veszprem c_fuerteventura c_hama c_hereti c_anglesey c_ahqaf c_amstetten c_surrah c_masabadhan c_trandheim c_rivsharan c_galati c_subay c_zabulistan c_northumberland c_shahrazur c_kalliopolis c_khawr c_qusayr c_harrat_rahat c_oriel c_ostfriesland c_telemark c_medellin c_bigorre c_najran c_tolna c_lviv c_krems c_poitiers c_ormond c_suffolk c_samar c_tikhvin c_ardestan c_caceres c_suceava c_hunyad c_suenik c_sumadija c_abauj c_inverness c_skopje c_valladolid c_lennox c_inner_hebrides c_vidin c_ross c_urbino c_malagon c_rama c_craiova c_targu_jiu c_rashka c_karbala c_aytos c_geneva c_rukhaj c_uraltau c_gudbrandsdalir c_munjan c_gauldala c_gnezdovo c_cardiganshire c_badakhshan c_jamtfir c_balkh c_kaisereia c_beszterce c_melitene c_porto c_moray c_feher c_argyll c_brecknockshire c_moskva c_firdafylki c_helenopontus c_sogn c_bearn c_vrbas c_azysia c_dorohoi c_homs c_parma c_baduspan c_strathearn c_chania c_samander c_branicevo c_atyrau c_sinope c_molina c_lika c_eystridalir c_derbent c_messina c_neamnt c_harjadalen c_olmedo c_grisons c_genoa c_wakhan c_salamanca c_astrakhan c_velbazhd c_monferrato c_bereg c_polovragi c_rounala c_buckinghamshire c_durham c_astorga c_minsk c_pompeiopolis c_villach c_sutherland c_soli c_acampse c_calatayud c_west_riding c_osnabruck c_hohenlohe c_hannover c_spreewald c_kassel c_bremen c_verden c_brunswick c_stendal c_coburg c_ansbach c_nurnberg c_munster c_bamberg c_nassau c_fulda c_farafra c_landsberg c_gent c_ponferrada c_saint_malo } } trade_good_tea = { counties = { } } trade_good_ceramics = { diff --git a/history/provinces/e_france.txt b/history/provinces/e_france.txt index 689b80009..ab776765c 100644 --- a/history/provinces/e_france.txt +++ b/history/provinces/e_france.txt @@ -8,13 +8,37 @@ holding = castle_holding 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = flax_district + level = 1 + } + } +} } 2278 = { holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } ###c_tregor 2161 = { @@ -35,19 +59,55 @@ holding = castle_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 8802 = { holding = church_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2158 = { holding = city_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 8803 = { holding = none @@ -59,7 +119,19 @@ holding = castle_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = flax_district + level = 1 + } + } +} } 2160 = { holding = none @@ -68,7 +140,19 @@ holding = city_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = stone_district + level = 1 + } + } +} } ##d_upper_brittany ###c_rennes @@ -77,7 +161,8 @@ rite = romanticist_rite holding = castle_holding 1066.1.1 = { - districts = { + + districts = { district = { type = castle_holding_district level = 1 @@ -97,22 +182,72 @@ } } } - } +} 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + district = { + type = walls_district + level = 1 + buildings = { + ramparts_1 + } + } + district = { + type = villages_district + level = 1 + buildings = { + village_hunter_1 + } + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 2282 = { holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = honey_district + level = 1 + } + } +} } 9740 = { holding = church_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } ###c_nantes 2152 = { @@ -131,21 +266,61 @@ } } } - 2555.1.1 = { +2555.1.1 = { province_size = 6 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + district = { + type = chateau_bretagne_01_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2153 = { holding = church_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wine_district + level = 1 + } + } +} } 2166 = { holding = city_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = flax_district + level = 1 + } + } +} } 2151 = { holding = none @@ -160,13 +335,37 @@ rite = romanticist_rite 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 3222 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wool_district + level = 1 + } + } +} } ###c_penthievre 2162 = { @@ -175,7 +374,19 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = flax_district + level = 1 + } + } +} } 2163 = { holding = none @@ -189,7 +400,7 @@ rite = romanticist_rite holding = castle_holding 769.1.1 = { - districts = { + districts = { district = { type = castle_holding_district level = 1 @@ -199,9 +410,10 @@ level = 1 } } - } +} 867.1.1 = { - districts = { + + districts = { district = { type = castle_holding_district level = 1 @@ -232,9 +444,10 @@ } } } - } +} 1066.1.1 = { - districts = { + + districts = { district = { type = castle_holding_district level = 2 @@ -265,14 +478,14 @@ } } } - } +} 2555.1.1 = { province_size = 8 } } 2335 = { holding = castle_holding - 1.1.1 = { + 1.1.1 = { districts = { district = { type = castle_holding_district @@ -284,21 +497,61 @@ } } } - 2555.1.1 = { +2555.1.1 = { province_size = 7 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + district = { + type = napoleon_line_01_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2356 = { holding = city_holding 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = cattle_district + level = 1 + } + } +} } 2354 = { holding = castle_holding 2555.1.1 = { province_size = 6 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = dyes_district + level = 1 + } + } +} } ###c_coulommiers 2359 = { @@ -307,7 +560,19 @@ holding = castle_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = cattle_district + level = 1 + } + } +} } 2364 = { culture = metropolitain @@ -315,20 +580,44 @@ holding = city_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = horses_district + level = 1 + } + } +} } 2361 = { holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wine_district + level = 1 + } + } +} } ###c_yvelines 2334 = { culture = metropolitain rite = romanticist_rite holding = castle_holding - 1.1.1 = { + 1.1.1 = { districts = { district = { type = castle_holding_district @@ -340,15 +629,43 @@ } } } - 2555.1.1 = { +2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + district = { + type = palace_versailles_01_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2336 = { holding = city_holding 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2332 = { holding = none @@ -360,21 +677,46 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2357 = { holding = church_holding 867.1.1 = { - districts = { + + districts = { district = { type = temple_holding_district level = 2 } } - } +} 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = temple_holding_district + level = 2 + } + # Silk & Silver resource district + district = { + type = dyes_district + level = 1 + } + } +} } ###c_brie_francaise 2353 = { @@ -383,32 +725,62 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } -} -2337 = { - holding = city_holding - 1120.1.1 = { + districts = { district = { - type = city_holding_district + type = castle_holding_district level = 1 } + # Silk & Silver resource district district = { - type = palace_fontainebleau_01_district + type = grain_district level = 1 } } +} +} +2337 = { + holding = none + 1120.1.1 = { + holding = city_holding + districts = { + district = { + type = city_holding_district + level = 1 + } + district = { + type = palace_fontainebleau_01_district + level = 1 + } } +} 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + district = { + type = palace_fontainebleau_01_district + level = 1 + } + # Silk & Silver resource district + district = { + type = hemp_district + level = 1 + } + } +} } 2363 = { culture = metropolitain rite = romanticist_rite holding = castle_holding 1066.1.1 = { - districts = { + + districts = { district = { type = castle_holding_district level = 2 @@ -425,7 +797,7 @@ } } } - } +} 2555.1.1 = { province_size = 3 } @@ -434,7 +806,19 @@ holding = church_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } ##d_valois ###c_somme @@ -444,19 +828,55 @@ holding = castle_holding 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2185 = { holding = castle_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2137 = { holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2136 = { holding = church_holding @@ -468,7 +888,19 @@ holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } ###c_creil 2358 = { @@ -477,19 +909,55 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2360 = { holding = city_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2362 = { holding = city_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } ###c_clermont 2183 = { @@ -498,19 +966,55 @@ holding = castle_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2189 = { holding = church_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = horses_district + level = 1 + } + } +} } 2190 = { holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = hemp_district + level = 1 + } + } +} } ##d_pas_de_calais ###c_guines @@ -518,7 +1022,7 @@ culture = angler rite = trenchsinger_rite holding = castle_holding - 1.1.1 = { + 1.1.1 = { districts = { district = { type = castle_holding_district @@ -530,40 +1034,86 @@ } } } - 2555.1.1 = { +2555.1.1 = { province_size = 6 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + district = { + type = channel_tunnel_01_district + level = 1 + } + # Silk & Silver resource district + district = { + type = flax_district + level = 1 + } + } +} } 2129 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = hemp_district + level = 1 + } + } +} } 2133 = { holding = city_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = fruit_district + level = 1 + } + } +} } 2131 = { holding = city_holding 2555.1.1 = { province_size = 4 + districts = { district = { - type = large_port_01_district + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = fish_district level = 1 } } - } +} } ###c_boulogne 2134 = { culture = picard rite = trenchsinger_rite holding = castle_holding - 1.1.1 = { + 1.1.1 = { districts = { district = { type = castle_holding_district @@ -575,15 +1125,43 @@ } } } - 2555.1.1 = { +2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + district = { + type = zone_rouge_01_district + level = 1 + } + # Silk & Silver resource district + district = { + type = flax_district + level = 1 + } + } +} } 2132 = { holding = city_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = fruit_district + level = 1 + } + } +} } 2135 = { holding = church_holding @@ -599,7 +1177,19 @@ holding = church_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2311 = { holding = none @@ -614,7 +1204,19 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 2280 = { holding = city_holding @@ -626,13 +1228,37 @@ holding = city_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = cattle_district + level = 1 + } + } +} } 2279 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = horses_district + level = 1 + } + } +} } ###c_sancerre 2315 = { @@ -641,13 +1267,37 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 2314 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2313 = { holding = none @@ -658,7 +1308,8 @@ rite = romanticist_rite holding = castle_holding 1066.1.1 = { - districts = { + + districts = { district = { type = castle_holding_district level = 1 @@ -675,7 +1326,7 @@ } } } - } +} 2555.1.1 = { province_size = 4 } @@ -687,13 +1338,37 @@ holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2275 = { holding = church_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 2269 = { holding = none @@ -702,7 +1377,19 @@ holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = furs_district + level = 1 + } + } +} } ##d_anjou ###c_anjou @@ -712,13 +1399,37 @@ holding = castle_holding 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2263 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = fruit_district + level = 1 + } + } +} } 2268 = { holding = city_holding @@ -733,13 +1444,37 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2260 = { holding = city_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = horses_district + level = 1 + } + } +} } ###c_maine 2270 = { @@ -748,7 +1483,19 @@ holding = castle_holding 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2272 = { holding = city_holding @@ -763,7 +1510,19 @@ holding = castle_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = fruit_district + level = 1 + } + } +} } ###c_sable 2266 = { @@ -772,13 +1531,37 @@ holding = castle_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = cattle_district + level = 1 + } + } +} } 2265 = { holding = city_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = horses_district + level = 1 + } + } +} } 2262 = { holding = none @@ -793,11 +1576,8 @@ rite = romanticist_rite holding = castle_holding 1066.1.1 = { - districts = { - district = { - type = small_port_01_district - level = 1 - } + + districts = { district = { type = castle_holding_district level = 2 @@ -817,20 +1597,58 @@ } } } - } +} 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = castle_holding_district + level = 2 + } + district = { + type = walls_district + level = 1 + buildings = { + ramparts_1 + } + } + district = { + type = military_district + level = 1 + buildings = { + mustering_grounds_1 + } + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 2180 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = flax_district + level = 1 + } + } +} } 2176 = { holding = city_holding - 1.1.1 = { + 1.1.1 = { districts = { district = { type = city_holding_district @@ -842,9 +1660,25 @@ } } } - 2555.1.1 = { +2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + district = { + type = port_of_liverpool_01_district + level = 1 + } + # Silk & Silver resource district + district = { + type = fruit_district + level = 1 + } + } +} } ###c_eu 2178 = { @@ -853,7 +1687,19 @@ rite = romanticist_rite 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2177 = { holding = city_holding @@ -861,7 +1707,19 @@ rite = romanticist_rite 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = flax_district + level = 1 + } + } +} } 2182 = { holding = church_holding @@ -876,13 +1734,37 @@ holding = castle_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2330 = { holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = flax_district + level = 1 + } + } +} } 2327 = { holding = none @@ -891,25 +1773,61 @@ holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } ###c_bayeux 2172 = { culture = normaund rite = romanticist_rite holding = castle_holding - 1.1.1 = { + 1.1.1 = { special_district_slot = generic_university_district } - 2555.1.1 = { +2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = flax_district + level = 1 + } + } +} } 2170 = { holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = fruit_district + level = 1 + } + } +} } 2173 = { holding = none @@ -921,7 +1839,19 @@ holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = fish_district + level = 1 + } + } +} } ###c_avranches 2168 = { @@ -930,11 +1860,23 @@ holding = castle_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = flax_district + level = 1 + } + } +} } 2167 = { holding = church_holding - 1.1.1 = { + 1.1.1 = { districts = { district = { type = temple_holding_district @@ -946,7 +1888,7 @@ } } } - 2555.1.1 = { +2555.1.1 = { province_size = 2 } } @@ -954,7 +1896,19 @@ holding = city_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = fruit_district + level = 1 + } + } +} } ###c_alencon 2325 = { @@ -963,19 +1917,55 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wool_district + level = 1 + } + } +} } 2171 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = mine_district + level = 1 + } + } +} } 2326 = { holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = honey_district + level = 1 + } + } +} } 2324 = { holding = none @@ -992,25 +1982,26 @@ culture = metropolitain rite = romanticist_rite holding = castle_holding - 1066.1.1 = { - districts = { - district = { - type = castle_holding_district - level = 1 - } - district = { - type = manor_houses_district - level = 1 - buildings = { - manor_reeves_office_1 + 1066.1.1 = { + + districts = { + district = { + type = castle_holding_district + level = 1 + } + district = { + type = manor_houses_district + level = 1 + buildings = { + manor_reeves_office_1 + } + } + district = { + type = grain_district + level = 2 } } - district = { - type = grain_district - level = 2 - } - } - } +} 2555.1.1 = { province_size = 5 } @@ -1019,13 +2010,37 @@ holding = castle_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 2340 = { holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2339 = { holding = none @@ -1037,7 +2052,19 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2323 = { holding = city_holding @@ -1049,13 +2076,37 @@ holding = church_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2321 = { holding = castle_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2320 = { holding = none @@ -1067,13 +2118,37 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 2283 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2318 = { holding = none @@ -1082,7 +2157,19 @@ holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } ##d_champagne ###c_chalons @@ -1092,13 +2179,37 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = cattle_district + level = 1 + } + } +} } 2389 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = hemp_district + level = 1 + } + } +} } 9749 = { holding = none @@ -1109,7 +2220,8 @@ rite = romanticist_rite holding = church_holding 867.1.1 = { - districts = { + + districts = { district = { type = temple_holding_district level = 1 @@ -1122,9 +2234,10 @@ } } } - } +} 1066.1.1 = { - districts = { + + districts = { district = { type = temple_holding_district level = 1 @@ -1144,16 +2257,54 @@ } } } - } +} 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + district = { + type = religious_community_district + level = 2 + buildings = { + religious_school_2 + } + } + district = { + type = villages_district + level = 1 + buildings = { + village_hunter_1 + } + } + # Silk & Silver resource district + district = { + type = horses_district + level = 1 + } + } +} } 2366 = { holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = hemp_district + level = 1 + } + } +} } 2367 = { holding = none @@ -1164,7 +2315,8 @@ rite = ascensionist_rite holding = castle_holding 1066.1.1 = { - districts = { + + districts = { district = { type = castle_holding_district level = 1 @@ -1181,7 +2333,7 @@ } } } - } +} 2555.1.1 = { province_size = 4 } @@ -1211,7 +2363,19 @@ holding = castle_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 9750 = { holding = church_holding @@ -1229,7 +2393,19 @@ holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = cattle_district + level = 1 + } + } +} } 2385 = { holding = none @@ -1242,7 +2418,19 @@ holding = castle_holding 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2375 = { holding = city_holding @@ -1266,7 +2454,19 @@ holding = castle_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2304 = { holding = none @@ -1290,13 +2490,37 @@ holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2377 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } ###c_macon 2302 = { @@ -1305,13 +2529,37 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wine_district + level = 1 + } + } +} } 2348 = { holding = city_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 2458 = { holding = none @@ -1323,7 +2571,19 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = cattle_district + level = 1 + } + } +} } 2350 = { holding = church_holding @@ -1339,7 +2599,7 @@ culture = metropolitain rite = romanticist_rite holding = castle_holding - 1.1.1 = { + 1.1.1 = { districts = { district = { type = castle_holding_district @@ -1351,9 +2611,25 @@ } } } - 2555.1.1 = { +2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + district = { + type = academie_labsurde_01_district + level = 1 + } + # Silk & Silver resource district + district = { + type = cattle_district + level = 1 + } + } +} } 2342 = { holding = church_holding @@ -1371,7 +2647,19 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2344 = { holding = church_holding @@ -1383,7 +2671,19 @@ holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2349 = { holding = castle_holding @@ -1406,37 +2706,76 @@ 1.1.1 = { special_district_slot = generic_university_district } - 1066.1.1 = { - districts = { - district = { - type = castle_holding_district - level = 1 - } - district = { - type = walls_district - level = 1 - buildings = { - outer_walls_1 - } - } - district = { - type = military_district - level = 1 - buildings = { - militia_camps_1 - } - } - } - } +1066.1.1 = { + + districts = { + district = { + type = castle_holding_district + level = 1 + } + district = { + type = walls_district + level = 1 + buildings = { + outer_walls_1 + } + } + district = { + type = military_district + level = 1 + buildings = { + militia_camps_1 + } + } + } +} 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + district = { + type = walls_district + level = 1 + buildings = { + outer_walls_1 + } + } + district = { + type = military_district + level = 1 + buildings = { + militia_camps_1 + } + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2253 = { holding = city_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = cattle_district + level = 1 + } + } +} } 2256 = { holding = church_holding @@ -1454,25 +2793,73 @@ holding = castle_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = horses_district + level = 1 + } + } +} } 2150 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = millet_district + level = 1 + } + } +} } 2149 = { holding = city_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = hemp_district + level = 1 + } + } +} } 2148 = { holding = castle_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = fish_district + level = 1 + } + } +} } 2259 = { holding = none @@ -1484,19 +2871,55 @@ holding = castle_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 2255 = { holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = salt_district + level = 1 + } + } +} } 2257 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = hemp_district + level = 1 + } + } +} } ##d_charentes ###c_angouleme @@ -1506,7 +2929,19 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2245 = { holding = church_holding @@ -1518,7 +2953,19 @@ holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 2251 = { holding = none @@ -1536,7 +2983,19 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = horses_district + level = 1 + } + } +} } 2241 = { holding = none @@ -1552,18 +3011,42 @@ culture = poitevin rite = soleil_royal_rite holding = castle_holding - 1.1.1 = { - special_district_slot = small_port_01_district + 1.1.1 = { + special_district_slot = port_of_la_rochelle_01_district } 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = cattle_district + level = 1 + } + } +} } 2146 = { holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = millet_district + level = 1 + } + } +} } 2243 = { holding = none @@ -1578,7 +3061,19 @@ holding = castle_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2204 = { holding = city_holding @@ -1596,13 +3091,37 @@ holding = castle_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = cattle_district + level = 1 + } + } +} } 2011 = { holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wool_district + level = 1 + } + } +} } ###c_bigorre 2010 = { @@ -1611,7 +3130,19 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = stone_district + level = 1 + } + } +} } 2009 = { holding = castle_holding @@ -1626,19 +3157,55 @@ holding = castle_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 2139 = { holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wine_district + level = 1 + } + } +} } 2138 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = fish_district + level = 1 + } + } +} } 2196 = { holding = none @@ -1650,7 +3217,19 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 2200 = { holding = church_holding @@ -1667,7 +3246,7 @@ culture = gascon rite = ascensionist_rite holding = castle_holding - 1.1.1 = { + 1.1.1 = { districts = { district = { type = castle_holding_district @@ -1679,8 +3258,9 @@ } } } - 867.1.1 = { - districts = { +867.1.1 = { + + districts = { district = { type = castle_holding_district level = 1 @@ -1697,9 +3277,10 @@ } } } - } +} 1066.1.1 = { - districts = { + + districts = { district = { type = castle_holding_district level = 1 @@ -1723,10 +3304,40 @@ } } } - } +} 2555.1.1 = { province_size = 7 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + district = { + type = fort_de_bordeaux_01_district + level = 1 + } + district = { + type = villages_district + level = 1 + buildings = { + village_hunter_1 + } + } + district = { + type = border_forts_district + level = 1 + buildings = { + scout_camps_1 + } + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2141 = { holding = none @@ -1735,7 +3346,19 @@ holding = city_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = honey_district + level = 1 + } + } +} } 2197 = { holding = church_holding @@ -1750,7 +3373,19 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2143 = { holding = none @@ -1762,13 +3397,37 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2235 = { holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = horses_district + level = 1 + } + } +} } ###c_perigord 2237 = { @@ -1777,7 +3436,19 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 2239 = { holding = none @@ -1792,7 +3463,19 @@ holding = city_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = honey_district + level = 1 + } + } +} } 2203 = { holding = none @@ -1805,13 +3488,37 @@ holding = castle_holding 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 2284 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = hemp_district + level = 1 + } + } +} } 2246 = { holding = none @@ -1823,7 +3530,19 @@ holding = castle_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wool_district + level = 1 + } + } +} } 2287 = { holding = none @@ -1838,13 +3557,37 @@ holding = castle_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 2240 = { holding = city_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = honey_district + level = 1 + } + } +} } 2193 = { holding = church_holding @@ -1861,7 +3604,7 @@ culture = axiton rite = carolingian_rite holding = castle_holding - 1.1.1 = { + 1.1.1 = { districts = { district = { type = castle_holding_district @@ -1873,15 +3616,43 @@ } } } - 2555.1.1 = { +2555.1.1 = { province_size = 6 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + district = { + type = montpellier_university_01_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 2013 = { holding = city_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = horses_district + level = 1 + } + } +} } 2014 = { holding = church_holding @@ -1905,19 +3676,55 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = cattle_district + level = 1 + } + } +} } 2005 = { holding = city_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = salt_district + level = 1 + } + } +} } 2212 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wine_district + level = 1 + } + } +} } 2007 = { holding = none @@ -1938,7 +3745,19 @@ holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = mine_district + level = 1 + } + } +} } ###c_gevaudan 2223 = { @@ -1947,7 +3766,19 @@ holding = castle_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 2221 = { holding = none @@ -1959,25 +3790,55 @@ holding = castle_holding 2555.1.1 = { province_size = 5 + districts = { district = { - type = small_port_01_district + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = horses_district level = 1 } } - } +} } 2216 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = salt_district + level = 1 + } + } +} } 2227 = { holding = city_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = mine_district + level = 1 + } + } +} } ###c_ardeche 2063 = { @@ -1992,13 +3853,37 @@ holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = stone_district + level = 1 + } + } +} } 3258 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = stone_district + level = 1 + } + } +} } 13279 = { holding = none @@ -2009,7 +3894,7 @@ culture = axiton rite = carolingian_rite holding = castle_holding - 1.1.1 = { + 1.1.1 = { districts = { district = { type = castle_holding_district @@ -2021,8 +3906,9 @@ } } } - 1066.1.1 = { - districts = { +1066.1.1 = { + + districts = { district = { type = castle_holding_district level = 1 @@ -2043,7 +3929,7 @@ } } } - } +} 2555.1.1 = { province_size = 7 } @@ -2052,7 +3938,19 @@ holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2202 = { holding = none @@ -2061,7 +3959,19 @@ holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = dyes_district + level = 1 + } + } +} } ###c_quercy 2231 = { @@ -2078,7 +3988,19 @@ rite = carolingian_rite 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 2234 = { holding = church_holding @@ -2093,7 +4015,19 @@ holding = castle_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2208 = { holding = none @@ -2102,7 +4036,19 @@ holding = castle_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } ###c_rouergue 2226 = { @@ -2111,19 +4057,55 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = cattle_district + level = 1 + } + } +} } 2228 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = millet_district + level = 1 + } + } +} } 2222 = { holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 2220 = { holding = none @@ -2135,13 +4117,37 @@ holding = castle_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 2229 = { holding = city_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 2205 = { holding = none @@ -2155,12 +4161,24 @@ culture = axiton rite = carolingian_rite holding = castle_holding - 1.1.1 = { + 1.1.1 = { special_district_slot = generic_university_district } - 2555.1.1 = { +2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = cattle_district + level = 1 + } + } +} } 2288 = { holding = none @@ -2169,7 +4187,19 @@ holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } ###c_auvergne 2294 = { @@ -2178,7 +4208,19 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 2292 = { holding = church_holding @@ -2199,7 +4241,19 @@ holding = castle_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = cattle_district + level = 1 + } + } +} } 2295 = { holding = none @@ -2211,7 +4265,19 @@ holding = castle_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wool_district + level = 1 + } + } +} } 2296 = { holding = church_holding @@ -2235,19 +4301,55 @@ holding = castle_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 2310 = { holding = city_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = furs_district + level = 1 + } + } +} } 2306 = { holding = church_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = millet_district + level = 1 + } + } +} } 2309 = { holding = none diff --git a/history/provinces/e_iberia.txt b/history/provinces/e_iberia.txt index 6dbaed837..06409c959 100644 --- a/history/provinces/e_iberia.txt +++ b/history/provinces/e_iberia.txt @@ -6,7 +6,7 @@ rite = penitente_rite holding = castle_holding culture = NEOW_andalusian - 1.1.1 = { + 1.1.1 = { districts = { district = { type = castle_holding_district @@ -18,8 +18,9 @@ } } } - 867.1.1 = { - districts = { +867.1.1 = { + + districts = { district = { type = castle_holding_district level = 1 @@ -40,9 +41,10 @@ level = 1 } } - } +} 1066.1.1 = { - districts = { + + districts = { district = { type = castle_holding_district level = 2 @@ -66,16 +68,58 @@ } } } - } +} 2555.1.1 = { province_size = 6 - } + + districts = { + district = { + type = castle_holding_district + level = 2 + } + district = { + type = cathedral_mosque_cordoba_01_district + level = 1 + } + district = { + type = walls_district + level = 1 + buildings = { + outer_walls_1 + } + } + district = { + type = manor_houses_district + level = 2 + buildings = { + manor_reeves_office_2 + } + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 1988 = { holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wool_district + level = 1 + } + } +} } 1979 = { holding = castle_holding @@ -87,7 +131,19 @@ holding = church_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = hemp_district + level = 1 + } + } +} } 1986 = { holding = none @@ -99,19 +155,55 @@ holding = castle_holding 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = cattle_district + level = 1 + } + } +} } 1985 = { holding = church_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = fruit_district + level = 1 + } + } +} } 2004 = { holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = dyes_district + level = 1 + } + } +} } 1976 = { holding = none @@ -122,24 +214,60 @@ rite = compostelan_rite culture = NEOW_andalusian holding = castle_holding - 1.1.1 = { + 1.1.1 = { special_district_slot = generic_university_district } - 2555.1.1 = { +2555.1.1 = { province_size = 6 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = fruit_district + level = 1 + } + } +} } 1851 = { holding = city_holding 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = fish_district + level = 1 + } + } +} } 1850 = { holding = church_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = mine_district + level = 1 + } + } +} } 1970 = { holding = none @@ -148,7 +276,19 @@ holding = church_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = honey_district + level = 1 + } + } +} } ###c_alcaraz 1968 = { @@ -157,7 +297,19 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = honey_district + level = 1 + } + } +} } 1973 = { holding = church_holding @@ -171,7 +323,7 @@ culture = NEOW_andalusian rite = compostelan_rite holding = castle_holding - 1.1.1 = { + 1.1.1 = { districts = { district = { type = castle_holding_district @@ -183,8 +335,9 @@ } } } - 867.1.1 = { - districts = { +867.1.1 = { + + districts = { district = { type = castle_holding_district level = 1 @@ -201,9 +354,10 @@ } } } - } +} 1066.1.1 = { - districts = { + + districts = { district = { type = castle_holding_district level = 1 @@ -224,7 +378,7 @@ level = 1 } } - } +} 2555.1.1 = { province_size = 5 } @@ -233,26 +387,62 @@ holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = stone_district + level = 1 + } + } +} } 1848 = { holding = church_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = oil_district + level = 1 + } + } +} } 1974 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = hemp_district + level = 1 + } + } +} } ###c_almeria 1849 = { culture = cale rite = compostelan_rite holding = castle_holding - 1.1.1 = { + 1.1.1 = { districts = { district = { type = castle_holding_district @@ -264,8 +454,9 @@ } } } - 1066.1.1 = { - districts = { +1066.1.1 = { + + districts = { district = { type = castle_holding_district level = 1 @@ -286,34 +477,97 @@ } } } - } +} 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + district = { + type = almeria_castle_01_district + level = 1 + } + district = { + type = port_district + level = 2 + } + district = { + type = border_forts_district + level = 2 + buildings = { + marcher_garrisons_2 + } + } + # Silk & Silver resource district + district = { + type = mine_district + level = 1 + } + } +} } 1972 = { holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = dyes_district + level = 1 + } + } +} } ###c_malaga 1846 = { culture = NEOW_andalusian rite = penitente_rite holding = castle_holding - 1.1.1 = { - special_district_slot = fortified_port_01_district + 1.1.1 = { + special_district_slot = fortified_port_of_malaga_01_district } - 2555.1.1 = { +2555.1.1 = { province_size = 7 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = dyes_district + level = 1 + } + } +} } 1847 = { holding = city_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = ceramics_district + level = 1 + } + } +} } 1845 = { rite = compostelan_rite @@ -321,7 +575,19 @@ holding = castle_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = horses_district + level = 1 + } + } +} } ##d_sevilla ###c_sevilla @@ -329,7 +595,7 @@ rite = penitente_rite culture = NEOW_andalusian holding = castle_holding - 1.1.1 = { + 1.1.1 = { districts = { district = { type = castle_holding_district @@ -341,8 +607,9 @@ } } } - 867.1.1 = { - districts = { +867.1.1 = { + + districts = { district = { type = castle_holding_district level = 1 @@ -366,9 +633,10 @@ } } } - } +} 1066.1.1 = { - districts = { + + districts = { district = { type = castle_holding_district level = 1 @@ -392,16 +660,58 @@ } } } - } +} 2555.1.1 = { province_size = 7 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + district = { + type = cathedral_seville_01_district + level = 1 + } + district = { + type = manor_houses_district + level = 1 + buildings = { + manor_reeves_office_1 + } + } + district = { + type = walls_district + level = 1 + buildings = { + outer_walls_1 + } + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 1841 = { holding = city_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = fruit_district + level = 1 + } + } +} } 1994 = { holding = none @@ -410,19 +720,55 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = dyes_district + level = 1 + } + } +} } 1980 = { holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = horses_district + level = 1 + } + } +} } 1983 = { holding = church_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = fruit_district + level = 1 + } + } +} } ###c_cadiz 1843 = { @@ -431,37 +777,89 @@ culture = NEOW_andalusian 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 1844 = { holding = city_holding - 1.1.1 = { + 1.1.1 = { districts = { district = { type = city_holding_district level = 1 } district = { - type = large_port_01_district + type = port_of_liverpool_01_district level = 1 } } } - 2555.1.1 = { +2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + district = { + type = port_of_liverpool_01_district + level = 1 + } + # Silk & Silver resource district + district = { + type = cattle_district + level = 1 + } + } +} } 1842 = { holding = city_holding 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = fruit_district + level = 1 + } + } +} } 1982 = { holding = church_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = oil_district + level = 1 + } + } +} } ###c_niebla 1840 = { @@ -470,17 +868,41 @@ rite = iberian_rite 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 1839 = { holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = hemp_district + level = 1 + } + } +} } 1991 = { holding = church_holding - 1.1.1 = { + 1.1.1 = { districts = { district = { type = temple_holding_district @@ -492,7 +914,7 @@ } } } - 2555.1.1 = { +2555.1.1 = { province_size = 2 } } @@ -505,7 +927,7 @@ holding = castle_holding culture = llanito rite = jack_tar_rite - 1.1.1 = { + 1.1.1 = { districts = { district = { type = castle_holding_district @@ -517,10 +939,27 @@ } } } - 2555.1.1 = { +2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + district = { + type = fortress_of_gibraltar_01_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } } +} + #k_castille_leon ##d_castilla ###c_valladolid @@ -530,13 +969,37 @@ holding = castle_holding 2555.1.1 = { province_size = 6 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 1896 = { holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wool_district + level = 1 + } + } +} } 1911 = { holding = none @@ -548,7 +1011,19 @@ holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = millet_district + level = 1 + } + } +} } ###c_burgos 1906 = { @@ -556,7 +1031,8 @@ holding = castle_holding culture = castilian 1066.1.1 = { - districts = { + + districts = { district = { type = castle_holding_district level = 1 @@ -576,10 +1052,36 @@ } } } - } +} 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + district = { + type = walls_district + level = 1 + buildings = { + outer_walls_1 + } + } + district = { + type = military_district + level = 1 + buildings = { + militia_camps_1 + } + } + # Silk & Silver resource district + district = { + type = wool_district + level = 1 + } + } +} } 1907 = { holding = none @@ -588,7 +1090,19 @@ holding = church_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 1812 = { holding = none @@ -603,7 +1117,19 @@ culture = castilian 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wool_district + level = 1 + } + } +} } 1814 = { holding = city_holding @@ -630,7 +1156,19 @@ rite = compostelan_rite 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = stone_district + level = 1 + } + } +} } 1901 = { holding = city_holding @@ -652,7 +1190,7 @@ rite = compostelan_rite culture = castilian holding = castle_holding - 1.1.1 = { + 1.1.1 = { districts = { district = { type = castle_holding_district @@ -664,9 +1202,25 @@ } } } - 2555.1.1 = { +2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + district = { + type = alcazar_of_segovia_01_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 1925 = { holding = church_holding @@ -684,7 +1238,19 @@ holding = castle_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = stone_district + level = 1 + } + } +} } 1915 = { holding = city_holding @@ -702,7 +1268,8 @@ rite = compostelan_rite holding = castle_holding 1066.1.1 = { - districts = { + + districts = { district = { type = castle_holding_district level = 1 @@ -722,10 +1289,36 @@ } } } - } +} 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + district = { + type = villages_district + level = 1 + buildings = { + meadowlands_pastures_1 + } + } + district = { + type = military_district + level = 1 + buildings = { + mustering_grounds_1 + } + } + # Silk & Silver resource district + district = { + type = cattle_district + level = 1 + } + } +} } 1817 = { holding = none @@ -743,19 +1336,55 @@ rite = compostelan_rite 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wool_district + level = 1 + } + } +} } 1824 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wool_district + level = 1 + } + } +} } 1822 = { holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = stone_district + level = 1 + } + } +} } ###c_zamora 1894 = { @@ -764,7 +1393,19 @@ holding = castle_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wool_district + level = 1 + } + } +} } 1910 = { holding = city_holding @@ -776,7 +1417,19 @@ holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = horses_district + level = 1 + } + } +} } 1827 = { holding = none @@ -791,7 +1444,19 @@ culture = castilian 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = cattle_district + level = 1 + } + } +} } 1829 = { holding = none @@ -800,13 +1465,37 @@ holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wool_district + level = 1 + } + } +} } 1914 = { holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } ##d_toledo ###c_madrid @@ -814,7 +1503,7 @@ rite = compostelan_rite culture = castilian holding = castle_holding - 1.1.1 = { + 1.1.1 = { districts = { district = { type = castle_holding_district @@ -826,22 +1515,50 @@ } } } - 2555.1.1 = { +2555.1.1 = { province_size = 8 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + district = { + type = madrid_university_01_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 1928 = { holding = church_holding 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = cattle_district + level = 1 + } + } +} } ###c_toledo 1919 = { rite = compostelan_rite culture = castilian holding = castle_holding - 1.1.1 = { + 1.1.1 = { districts = { district = { type = castle_holding_district @@ -853,8 +1570,9 @@ } } } - 867.1.1 = { - districts = { +867.1.1 = { + + districts = { district = { type = castle_holding_district level = 1 @@ -875,9 +1593,10 @@ } } } - } +} 1066.1.1 = { - districts = { + + districts = { district = { type = castle_holding_district level = 1 @@ -905,7 +1624,7 @@ } } } - } +} 2555.1.1 = { province_size = 4 } @@ -914,13 +1633,37 @@ holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 1918 = { holding = city_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = hemp_district + level = 1 + } + } +} } ###c_malagon 1962 = { @@ -929,7 +1672,19 @@ holding = castle_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wool_district + level = 1 + } + } +} } 1961 = { holding = none @@ -938,7 +1693,19 @@ holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 1960 = { holding = church_holding @@ -953,7 +1720,19 @@ culture = castilian 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wool_district + level = 1 + } + } +} } 1935 = { holding = castle_holding @@ -968,7 +1747,19 @@ holding = city_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = stone_district + level = 1 + } + } +} } 1951 = { holding = none @@ -980,7 +1771,19 @@ rite = compostelan_rite 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wool_district + level = 1 + } + } +} } 1945 = { holding = none @@ -1002,13 +1805,37 @@ rite = compostelan_rite 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wool_district + level = 1 + } + } +} } 1949 = { holding = church_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = horses_district + level = 1 + } + } +} } 1967 = { holding = none @@ -1017,7 +1844,19 @@ holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = millet_district + level = 1 + } + } +} } ###c_calatrava 1963 = { @@ -1026,13 +1865,37 @@ holding = castle_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wool_district + level = 1 + } + } +} } 1965 = { holding = city_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = millet_district + level = 1 + } + } +} } 1966 = { holding = none @@ -1050,19 +1913,55 @@ holding = castle_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 1953 = { holding = castle_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = cattle_district + level = 1 + } + } +} } 1959 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = hemp_district + level = 1 + } + } +} } 1946 = { holding = none @@ -1081,7 +1980,19 @@ holding = castle_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 1833 = { holding = none @@ -1093,19 +2004,55 @@ holding = castle_holding 2555.1.1 = { province_size = 5 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 1836 = { holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 1990 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wine_district + level = 1 + } + } +} } 1997 = { holding = none @@ -1114,7 +2061,19 @@ holding = church_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = millet_district + level = 1 + } + } +} } ###c_plasencia 1831 = { @@ -1123,19 +2082,55 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wool_district + level = 1 + } + } +} } 1830 = { holding = city_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = city_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = horses_district + level = 1 + } + } +} } 1917 = { holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 1916 = { holding = none @@ -1147,7 +2142,19 @@ holding = castle_holding 2555.1.1 = { province_size = 4 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = grain_district + level = 1 + } + } +} } 1832 = { holding = church_holding @@ -1171,7 +2178,19 @@ holding = castle_holding 2555.1.1 = { province_size = 3 - } + + districts = { + district = { + type = castle_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = wool_district + level = 1 + } + } +} } 1996 = { holding = church_holding @@ -1185,6 +2204,7 @@ 1957 = { holding = none } + #k_aragon ##d_aragon ###c_zaragoza @@ -1192,11 +2212,12 @@ rite = compostelan_rite culture = aragonese holding = castle_holding - 1.1.1 = { + 1.1.1 = { special_district_slot = aljaferia_palace_01_district } - 1066.1.1 = { - districts = { +1066.1.1 = { + + districts = { district = { type = castle_holding_district level = 1 @@ -1217,7 +2238,7 @@ level = 2 } } - } +} 2555.1.1 = { province_size = 7 } @@ -1226,7 +2247,19 @@ holding = church_holding 2555.1.1 = { province_size = 2 - } + + districts = { + district = { + type = temple_holding_district + level = 1 + } + # Silk & Silver resource district + district = { + type = forestry_district + level = 1 + } + } +} } 1885 = { holding = none @@ -1245,217 +2278,220 @@ culture = aragonese rite = compostelan_rite holding = castle_holding - 2555.1.1 = { - province_size = 3 - } } 1943 = { holding = city_holding - 2555.1.1 = { - province_size = 1 - } } 1892 = { - holding = church_holding - 2555.1.1 = { - province_size = 2 + rite = compostelan_rite + holding = castle_holding + 800.1.1 = { culture = NEOW_andalusian} + 939.1.1 = { rite = compostelan_rite } + 1259.1.1 = { + culture = aragonese + rite = compostelan_rite } } 1936 = { - holding = none + rite = compostelan_rite + holding = castle_holding + 800.1.1 = { culture = NEOW_andalusian} + 939.1.1 = { rite = compostelan_rite } + 1235.1.1 = { + culture = castilian + rite = compostelan_rite + } } 1942 = { - holding = none + holding = church_holding } ###c_alto_aragon 1873 = { - culture = aragonese + culture = basque rite = iberian_rite holding = castle_holding - 1066.1.1 = { - buildings = { - hill_forts_02 - military_camps_01 - } - } - 2555.1.1 = { - province_size = 4 - } + 1035.10.18 = { culture = aragonese } } 1807 = { + culture = basque + rite = compostelan_rite holding = castle_holding + 1035.10.18 = { culture = aragonese } 1066.1.1 = { + districts = { - district = { - type = castle_holding_district - level = 1 + district = { + type = castle_holding_district + level = 1 + } + district = { + type = border_forts_district + level = 2 + buildings = { + marcher_garrisons_2 } - district = { - type = border_forts_district - level = 2 - buildings = { - marcher_garrisons_2 - } - } - district = { - type = military_district - level = 1 - buildings = { - militia_camps_1 - } + } + district = { + type = military_district + level = 1 + buildings = { + militia_camps_1 } } } - 2555.1.1 = { - province_size = 2 - } +} } 1872 = { - holding = none + culture = basque + rite = compostelan_rite + holding = castle_holding + 1035.10.18 = { culture = aragonese } } 8794 = { + holding = none + 1066.1.1 = { holding = church_holding - 2555.1.1 = { - province_size = 1 } } ###c_calatayud 1932 = { rite = compostelan_rite holding = castle_holding - culture = aragonese - 2555.1.1 = { - province_size = 2 - } + 800.1.1 = { culture = NEOW_andalusian} + 1178.1.1 = { culture = aragonese } } 1934 = { - holding = none + holding = city_holding } 3221 = { holding = city_holding - 2555.1.1 = { - province_size = 2 - } } 8793 = { holding = church_holding - 2555.1.1 = { - province_size = 2 - } } 1886 = { holding = church_holding - 2555.1.1 = { - province_size = 1 - } } ###c_fraga 8795 = { - culture = aragonese + culture = basque rite = iberian_rite holding = castle_holding - 2555.1.1 = { - province_size = 2 - } + 1035.10.18 = { culture = aragonese } } 1882 = { holding = city_holding - 2555.1.1 = { - province_size = 2 - } } 1874 = { - holding = church_holding - 2555.1.1 = { - province_size = 1 - } + holding = city_holding } 1871 = { - holding = none + holding = city_holding } ##d_valencia ###c_valencia 1855 = { - culture = valencian rite = compostelan_rite holding = castle_holding - 1.1.1 = { - special_district_slot = small_port_01_district + 1.1.1 = { + special_district_slot = port_of_valencia_01_district } - 2555.1.1 = { - province_size = 7 +800.1.1 = { culture = NEOW_andalusian} + 812.1.1 = { rite = compostelan_rite } + 1259.1.1 = { + culture = valencian + rite = compostelan_rite } } 1969 = { + holding = none + 1066.1.1 = { holding = city_holding - 2555.1.1 = { - province_size = 4 } } 1856 = { holding = city_holding - 2555.1.1 = { - province_size = 3 - } } 1938 = { - holding = none + holding = church_holding } 1939 = { - holding = church_holding - 2555.1.1 = { - province_size = 2 - } + holding = none } ###c_castellon 1857 = { rite = compostelan_rite - culture = valencian holding = castle_holding - 2555.1.1 = { - province_size = 5 + 800.1.1 = { culture = NEOW_andalusian} + 939.1.1 = { rite = compostelan_rite } + 1259.1.1 = { + culture = valencian + rite = compostelan_rite } } 1941 = { holding = church_holding - 2555.1.1 = { - province_size = 2 - } } 1883 = { + holding = none + 1066.1.1 = { holding = city_holding - 2555.1.1 = { - province_size = 3 } } ###c_alicante 1853 = { - culture = valencian rite = compostelan_rite holding = castle_holding - 2555.1.1 = { - province_size = 6 + 800.1.1 = { culture = NEOW_andalusian} + 812.1.1 = { rite = compostelan_rite } + 1259.1.1 = { + culture = valencian + rite = compostelan_rite } } 1940 = { holding = church_holding - 2555.1.1 = { - province_size = 4 - } } 1854 = { - holding = city_holding - 2555.1.1 = { - province_size = 4 + rite = compostelan_rite + holding = castle_holding + 800.1.1 = { culture = NEOW_andalusian} + 812.1.1 = { rite = compostelan_rite } + 1259.1.1 = { + culture = valencian + rite = compostelan_rite } } ##d_barcelona +###c_lleida +1881 = { + rite = iberian_rite + holding = castle_holding + 1.1.1 = { + special_district_slot = generic_university_district + } +800.1.1 = { culture = catalan } +} +8796 = { + holding = church_holding +} +1878 = { + culture = catalan + rite = iberian_rite + holding = castle_holding + 800.1.1 = { culture = catalan } +} +1879 = { + holding = none + 1066.1.1 = { + holding = city_holding + } +} ###c_barcelona 1862 = { rite = iberian_rite - culture = catalan holding = castle_holding - 1.1.1 = { + 1.1.1 = { districts = { district = { type = castle_holding_district @@ -1467,162 +2503,158 @@ } } } +800.1.1 = { culture = catalan } 1066.1.1 = { + districts = { - district = { - type = castle_holding_district - level = 1 - } - district = { - type = sagrada_familia_01_district - level = 1 - } - district = { - type = port_district - level = 1 - } - district = { - type = military_district - level = 1 - buildings = { - mustering_grounds_1 - } + district = { + type = castle_holding_district + level = 1 + } + district = { + type = sagrada_familia_01_district + level = 1 + } + district = { + type = port_district + level = 1 + } + district = { + type = military_district + level = 1 + buildings = { + mustering_grounds_1 } } } - 2555.1.1 = { - province_size = 8 - } +} } 1861 = { holding = church_holding - 2555.1.1 = { - province_size = 6 - } } 1877 = { + holding = city_holding + 1178.1.1 = { holding = castle_holding - 2555.1.1 = { - province_size = 4 } } 1875 = { - holding = city_holding - 2555.1.1 = { - province_size = 5 - } + holding = none } 1876 = { holding = none } -###c_lleida -1881 = { - rite = iberian_rite - culture = catalan - holding = castle_holding - 1.1.1 = { - special_district_slot = generic_university_district - } - 2555.1.1 = { - province_size = 5 - } -} -8796 = { - holding = church_holding - 2555.1.1 = { - province_size = 2 - } -} -1878 = { - holding = castle_holding - 2555.1.1 = { - province_size = 1 - } -} -1879 = { - holding = city_holding - 2555.1.1 = { - province_size = 2 - } -} ###c_perpignan 1866 = { - culture = catalan rite = iberian_rite holding = castle_holding - 2555.1.1 = { - province_size = 5 - } + 800.1.1 = { culture = catalan } } 8798 = { - holding = city_holding - 2555.1.1 = { - province_size = 1 - } + culture = catalan + rite = compostelan_rite + holding = castle_holding } 2447 = { holding = church_holding - 2555.1.1 = { - province_size = 1 - } } ###c_girona 1864 = { rite = iberian_rite - culture = catalan holding = castle_holding - 2555.1.1 = { - province_size = 5 - } + 800.1.1 = { culture = catalan } } 1863 = { holding = church_holding - 2555.1.1 = { - province_size = 3 - } } 1867 = { holding = city_holding - 2555.1.1 = { - province_size = 3 - } } 1865 = { holding = city_holding - 2555.1.1 = { - province_size = 2 - } } 8797 = { - holding = none + holding = city_holding } ###c_tarragona 1860 = { rite = compostelan_rite holding = castle_holding - culture = catalan - 2555.1.1 = { - province_size = 5 - } + 800.1.1 = { culture = catalan } } 1859 = { holding = church_holding - 2555.1.1 = { - province_size = 3 - } } 1858 = { holding = city_holding - 2555.1.1 = { - province_size = 2 - } } 1880 = { + holding = none + 1066.1.1 = { holding = city_holding - 2555.1.1 = { - province_size = 3 } } +##d_andorra +###c_andorra +1869 = { + culture = andorra + rite = iberian_rite + holding = church_holding + 1.1.1 = { + districts = { + district = { + type = temple_holding_district + level = 1 + } + district = { + type = fortress_andorra_01_district + level = 1 + } + } + } +2554.1.1 ={ + + districts = { + district = { + type = temple_holding_district + level = 2 + } + district = { + type = fortress_andorra_01_district + level = 1 + } + } +} +} +###c_urgell +8801 = { + culture = andorra + rite = iberian_rite + holding = church_holding + 800.1.1 = { culture = andorra } +} +1868 = { + holding = castle_holding +} +1884 = { + holding = none +} +###c_pallas +8799 = { + culture = occitan + rite = iberian_rite + holding = castle_holding +} +8800 = { + holding = none + 1066.1.1 = { + holding = city_holding + } +} +1870 = { + holding = castle_holding +} + #k_navarra ##d_navarra ###c_navarra @@ -1642,79 +2674,51 @@ } } } - 2555.1.1 = { - province_size = 5 - } } 1889 = { holding = city_holding - 2555.1.1 = { - province_size = 2 - } } 1809 = { holding = church_holding - 2555.1.1 = { - province_size = 2 - } } 1804 = { holding = church_holding - 2555.1.1 = { - province_size = 1 - } } ###c_najera 1810 = { - culture = castilian + culture = basque rite = compostelan_rite holding = castle_holding - 2555.1.1 = { - province_size = 5 - } } 1811 = { holding = city_holding - 2555.1.1 = { - province_size = 2 - } } 1903 = { holding = church_holding - 2555.1.1 = { - province_size = 3 - } } 1890 = { - holding = none + holding = city_holding } ###c_viscaya 1803 = { culture = basque rite = compostelan_rite holding = castle_holding - 2555.1.1 = { - province_size = 6 - } } 1808 = { holding = city_holding - 2555.1.1 = { - province_size = 6 - } } 1805 = { - holding = church_holding - 2555.1.1 = { - province_size = 5 - } + culture = basque + rite = compostelan_rite + holding = castle_holding } ###c_bayonne 2012 = { culture = basque rite = compostelan_rite holding = castle_holding - 1.1.1 = { + 1.1.1 = { districts = { district = { type = castle_holding_district @@ -1726,83 +2730,40 @@ } } } - 1066.1.1 = { +1066.1.1 = { + districts = { - district = { - type = castle_holding_district - level = 1 - } - district = { - type = statue_clorinda_01_district - level = 1 - } - district = { - type = border_forts_district - level = 1 - buildings = { - marcher_garrisons_1 - } - } - district = { - type = port_district - level = 1 + district = { + type = castle_holding_district + level = 1 + } + district = { + type = statue_clorinda_01_district + level = 1 + } + district = { + type = border_forts_district + level = 1 + buildings = { + marcher_garrisons_1 } } - } - 2555.1.1 = { - province_size = 4 + district = { + type = port_district + level = 1 + } } } +} + +#k_asturias + #k_spanish_galicia ##d_galicia ###c_coruna -1785 = { +1787 = { rite = compostelan_rite culture = galician - holding = church_holding - 1.1.1 = { - districts = { - district = { - type = temple_holding_district - level = 1 - } - district = { - type = holy_site_basilica_santiago_01_district - level = 1 - } - } - } - 1066.1.1 = { - districts = { - district = { - type = temple_holding_district - level = 1 - } - district = { - type = holy_site_basilica_santiago_01_district - level = 1 - } - district = { - type = border_forts_district - level = 1 - buildings = { - marcher_garrisons_1 - } - } - district = { - type = villages_district - level = 1 - buildings = { - farming_fields_1 - } - } - } - } - 2555.1.1 = { - province_size = 5 - } -} -1787 = { holding = castle_holding 1.1.1 = { districts = { @@ -1816,114 +2777,119 @@ } } } - 2555.1.1 = { - province_size = 6 - } } 1788 = { holding = city_holding - 2555.1.1 = { - province_size = 4 - } } 1790 = { holding = none } +1785 = { + rite = compostelan_rite + holding = church_holding + 1.1.1 = { + districts = { + district = { + type = temple_holding_district + level = 1 + } + district = { + type = holy_site_basilica_santiago_01_district + level = 1 + } + } + } +800.1.1 = { culture = galician } + 1066.1.1 = { + + districts = { + district = { + type = temple_holding_district + level = 1 + } + district = { + type = holy_site_basilica_santiago_01_district + level = 1 + } + district = { + type = border_forts_district + level = 1 + buildings = { + marcher_garrisons_1 + } + } + district = { + type = villages_district + level = 1 + buildings = { + farming_fields_1 + } + } + } +} +} 1786 = { holding = city_holding - 2555.1.1 = { - province_size = 3 - } } ###c_tui 1782 = { rite = compostelan_rite holding = castle_holding culture = galician - 2555.1.1 = { - province_size = 4 - } } 1781 = { holding = city_holding - 2555.1.1 = { - province_size = 6 - } } 1783 = { holding = church_holding - 2555.1.1 = { - province_size = 2 - } } ###c_astorga 1792 = { rite = compostelan_rite holding = castle_holding - culture = galician 276.1.1 = { districts = { - district = { - type = castle_holding_district - level = 1 - } - district = { - type = roman_wall_of_lugo_01_district - level = 1 - } + district = { + type = castle_holding_district + level = 1 + } + district = { + type = roman_wall_of_lugo_01_district + level = 1 } } - 2555.1.1 = { - province_size = 5 - } +} + culture = galician } 1821 = { - holding = none + holding = city_holding } 1819 = { - holding = city_holding - 2555.1.1 = { - province_size = 2 - } + holding = none } 1789 = { + holding = none + 1066.1.1 = { holding = church_holding - 2555.1.1 = { - province_size = 1 } } 1791 = { holding = church_holding - 2555.1.1 = { - province_size = 2 - } } ###c_monterrei 1800 = { culture = galician rite = compostelan_rite holding = castle_holding - 2555.1.1 = { - province_size = 5 - } } 1818 = { holding = city_holding - 2555.1.1 = { - province_size = 2 - } } 1799 = { holding = church_holding - 2555.1.1 = { - province_size = 2 - } } 1784 = { holding = castle_holding - 2555.1.1 = { - province_size = 2 - } } ##d_asturias ###c_asturias_de_oviedo @@ -1931,33 +2897,21 @@ rite = compostelan_rite holding = castle_holding culture = asturleonese - 2555.1.1 = { - province_size = 4 - } } 1798 = { holding = none } 1796 = { holding = city_holding - 2555.1.1 = { - province_size = 2 - } } ###c_pravia 1795 = { rite = compostelan_rite holding = castle_holding - culture = asturleonese - 2555.1.1 = { - province_size = 6 - } + 800.1.1 = { culture = asturleonese } } 1794 = { holding = church_holding - 2555.1.1 = { - province_size = 6 - } } 1823 = { holding = none @@ -1969,22 +2923,17 @@ 1.1.1 = { special_district_slot = generic_university_district } - 2555.1.1 = { - province_size = 5 - } } 1801 = { holding = city_holding - 2555.1.1 = { - province_size = 3 - } } 1815 = { + holding = none + 1066.1.1 = { holding = church_holding - 2555.1.1 = { - province_size = 4 } } + #k_portugal ##d_porto ###c_porto @@ -1999,7 +2948,7 @@ level = 1 } district = { - type = fortified_port_01_district + type = fortified_port_of_porto_01_district level = 1 } } @@ -2117,12 +3066,15 @@ 1780 = { holding = city_holding 1.1.1 = { - special_district_slot = small_port_01_district districts = { district = { type = city_holding_district level = 1 } + district = { + type = port_of_liverpool_01_district + level = 1 + } } } } @@ -2252,64 +3204,3 @@ 8715 = { holding = city_holding } - -##d_andorra -###c_andorra -1869 = { - culture = andorra - rite = iberian_rite - holding = church_holding - 1.1.1 = { - districts = { - district = { - type = temple_holding_district - level = 1 - } - district = { - type = fortress_andorra_01_district - level = 1 - } - } - } -2554.1.1 ={ - - districts = { - district = { - type = temple_holding_district - level = 2 - } - district = { - type = fortress_andorra_01_district - level = 1 - } - } -} -} -###c_urgell -8801 = { - culture = andorra - rite = iberian_rite - holding = church_holding - 800.1.1 = { culture = andorra } -} -1868 = { - holding = castle_holding -} -1884 = { - holding = none -} -###c_pallas -8799 = { - culture = occitan - rite = iberian_rite - holding = castle_holding -} -8800 = { - holding = none - 1066.1.1 = { - holding = city_holding - } -} -1870 = { - holding = castle_holding -}