diff --git a/TGC/common/cb_types.txt b/TGC/common/cb_types.txt index 48b8915e2b..016b7698a1 100644 --- a/TGC/common/cb_types.txt +++ b/TGC/common/cb_types.txt @@ -7725,4 +7725,128 @@ rhine_crisis_french = { on_add = {} war_name = WAR_RHINE_CRISIS -} \ No newline at end of file +} + +first_schleswig_war_GER = { + sprite_index = 8 + is_triggered_only = yes + months = 12 + crisis = no + constructing_cb = no + + badboy_factor = 0 + prestige_factor = 2 + peace_cost_factor = 25 + penalty_factor = 20 + + break_truce_prestige_factor = 1 + break_truce_infamy_factor = 1 + break_truce_militancy_factor = 1 + truce_months = 48 + + good_relation_prestige_factor = 1 + good_relation_infamy_factor = 1 + good_relation_militancy_factor = 1 + + always = no + + can_use = { + NOT = { is_our_vassal = THIS } + } + + po_remove_prestige = yes + po_disarmament = yes + po_reparations = yes + po_add_to_sphere = yes + + on_po_accepted = { + SHL = { country_event = 2100000002 } + country_event = 21000000XX + } + + on_add = {} + + war_name = FIRST_SCHLESWIG_WAR +} + +first_schleswig_war_SLH = { + sprite_index = 8 + is_triggered_only = yes + months = 12 + crisis = no + constructing_cb = no + + badboy_factor = 0 + prestige_factor = 2 + peace_cost_factor = 25 + penalty_factor = 20 + + break_truce_prestige_factor = 1 + break_truce_infamy_factor = 1 + break_truce_militancy_factor = 1 + truce_months = 48 + + good_relation_prestige_factor = 1 + good_relation_infamy_factor = 1 + good_relation_militancy_factor = 1 + + always = no + + can_use = { + NOT = { is_our_vassal = THIS } + } + + po_remove_prestige = yes + po_disarmament = yes + po_reparations = yes + po_add_to_sphere = yes + + on_po_accepted = { + country_event = 2100000002 + } + + on_add = {} + + war_name = FIRST_SCHLESWIG_WAR +} + +second_schleswig_war = { + sprite_index = 8 + is_triggered_only = yes + months = 12 + crisis = no + constructing_cb = no + + badboy_factor = 0 + prestige_factor = 2 + peace_cost_factor = 25 + penalty_factor = 20 + + break_truce_prestige_factor = 1 + break_truce_infamy_factor = 1 + break_truce_militancy_factor = 1 + truce_months = 48 + + good_relation_prestige_factor = 1 + good_relation_infamy_factor = 1 + good_relation_militancy_factor = 1 + + always = no + + can_use = { + NOT = { is_our_vassal = THIS } + } + + po_remove_prestige = yes + po_disarmament = yes + po_reparations = yes + po_add_to_sphere = yes + + on_po_accepted = { + country_event = 21000000XX + } + + on_add = {} + + war_name = SECOND_SCHLESWIG_WAR +} diff --git a/TGC/decisions/DenmarkandGermany b/TGC/decisions/DenmarkandGermany new file mode 100644 index 0000000000..12580df28e --- /dev/null +++ b/TGC/decisions/DenmarkandGermany @@ -0,0 +1,40 @@ +political_decisions = { + +treaty_of_Kopenhagen = { + picture = treaty_signing + potential = { + tag = DEN + has_global_flag = first_schleswig_war + + } + + allow = { + NOT = { exists = SLH } + war = no + + } + + effect = { + clr_global_flag = first_schleswig_war + set_global_flag = schleswig_holstein_is_danish + any_owned = { remove_core = SLH remove_core = GER } + } + + ai_will_do = { factor = 1 } +} + + + + + + + + + + + + + + + +} diff --git a/TGC/events/DenmarkandGermany b/TGC/events/DenmarkandGermany new file mode 100644 index 0000000000..db2f075ab9 --- /dev/null +++ b/TGC/events/DenmarkandGermany @@ -0,0 +1,306 @@ +##First Schleswig War## + +##Revolution in Schleswig-Holstein## + +country_event = { + id = 2100000000 + title = "EVTNAME2000000000" + desc = "EVTDESC2000000000" + picture = "german_rhine" + major = yes + + trigger = { + AND = { + OR = { tag = HOL + tag = SCH + tag = LAU} + + OR = { + year = 1848 + AND = { average_militancy = 8 + average_consciousness = 5 + } + } + } + } + mean_time_to_happen = { + months = 3 + } + fire_only_once = yes + option = { + name = "EVTOPTA2000000000" + + HOL = { + inherit = SCH + inherit = LAU + change_tag = SLH + } + political_reform = yes_meeting + political_reform = state_equal_weight + political_reform = free_press + political_reform = gerrymandering + political_reform = jefferson_method + political_reform = universal_weighted_voting + DEN = country_event = { id = 2100000001 days = 2 } + } +} + +##Denmark needs to make a choice## + +country_event = { + id = 2100000001 + title = "EVTNAME2000000001" + desc = "EVTDESC2000000001" + picture = "german_rhine" + + + is_triggered_only = yes + fire_only_once = yes + + option = { + name = "EVTOPTA2000000001" + DEN = { + war = { + target = SLH + attacker_goal = { casus_belli = conquest_any } + defender_goal = { casus_belli = first_schleswig_war_SLH } + call_ally = no + } + PRU = country_event = { id = 2100000003 days 15 } + set_global_flag = first_schleswig_war + } + ai_chance = { factor = 9 } + } + option = { + name = "EVTOPTA2000000001" + SLH = country_event = { id = 2100000002 days = 2 } + prestige = -100 + ai_chance = { factor = 1 } + } + + } + +##Denmark loses Schleswig-Holstein## + + country_event = { + id = 2100000002 + title = "EVTNAME2000000002" + desc = "EVTDESC2000000002" + picture = "german_rhine" + major = yes + + is_triggered_only = yes + fire_only_once = yes + + option = { + name = "EVTOPTA2000000002" + end_war = DEN + PRU = { end_war = DEN } + RUS = { end_war = PRU } + ENG = { end_war = PRU } + any_core = { secede_province = SLH + remove_core = DEN + remove_core = SCH + remove_core = HOL + remove_core = LAU + } + set_global_flag = schleswig_holstein_is_german + + } + } + +##Prussian intervention## + + country_event = { + id = 2100000003 + title = "EVTNAME2000000003" + desc = "EVTDESC2000000003" + picture = "german_rhine" + + + is_triggered_only = yes + fire_only_once = yes + + option = { + name = "EVTOPTA2000000003" + PRU = { + war = { + target = DEN + attacker_goal = { casus_belli = first_schleswig_war_GER } + defender_goal = { casus_belli = cut_down_to_size } + call_ally = yes + } + ENG = country_event = { id = 2100000004 days 90 } + } + ai_chance = { factor = 9 } + } + option = { + name = "EVTOPTA2000000003" + prestige = -20 + ai_chance = { factor = 1 } + } + + } + +##England is asked if she wants to intervene## + + country_event = { + id = 2100000004 + title = "EVTNAME2000000004" + desc = "EVTDESC2000000004" + picture = "german_rhine" + + + is_triggered_only = yes + fire_only_once = yes + + option = { + name = "EVTOPTA2000000004" + PRU = country_event = { id = 2100000005 days 5 } + + ai_chance = { factor = 8 } + } + option = { + name = "EVTOPTA2000000004" + prestige = -5 + ai_chance = { factor = 2 + modifier = { + factor = 100 + war = yes + } + } + } + + } + +##Prussia needs to make a choice## + + country_event = { + id = 2100000005 + title = "EVTNAME2000000005" + desc = "EVTDESC2000000005" + picture = "german_rhine" + + + is_triggered_only = yes + fire_only_once = yes + + option = { + name = "EVTOPTA2000000005" + PRU = country_event = { id = 2100000008 days 5 } + + ai_chance = { factor = 8 } + } + option = { + name = "EVTOPTA2000000005" + ENG = { + war = { + target = PRU + attacker_goal = { casus_belli = cut_down_to_size } + defender_goal = { casus_belli = cut_down_to_size } + call_ally = no + } + RUS = country_event = { id = 2100000006 days 360 } + ai_chance = { factor = 2 } + + } + } +} + +##Russia is asked if she wants to intervene## + + country_event = { + id = 2100000006 + title = "EVTNAME2000000006" + desc = "EVTDESC2000000006" + picture = "german_rhine" + + + is_triggered_only = yes + fire_only_once = yes + + option = { + name = "EVTOPTA2000000006" + PRU = country_event = { id = 2100000007 days 5 } + + + ai_chance = { factor = 8 } + } + option = { + name = "EVTOPTA2000000006" + prestige = -5 + ai_chance = { factor = 2 + modifier = { + factor = 100 + war = yes + } + } + } + + } + +##Prussia needs to make another choice## + + country_event = { + id = 2100000007 + title = "EVTNAME2000000007" + desc = "EVTDESC2000000007" + picture = "german_rhine" + + + is_triggered_only = yes + fire_only_once = yes + + option = { + name = "EVTOPTA2000000007" + PRU = country_event = { id = 2100000008 days 5 } + + ai_chance = { factor = 100 } + } + option = { + name = "EVTOPTA2000000007" + RUS = { + war = { + target = PRU + attacker_goal = { casus_belli = cut_down_to_size } + defender_goal = { casus_belli = cut_down_to_size } + call_ally = no + } + ai_chance = { factor = 1 } + + } + } +} + +##London protocol## + +country_event = { + id = 2100000008 + title = "EVTNAME2000000008" + desc = "EVTDESC2000000008" + picture = "german_rhine" + major = yes + + is_triggered_only = yes + fire_only_once = yes + + option = { + name = "EVTOPTA2000000008" + DEN = { end_war = SLH } + PRU = { end_war = DEN } + RUS = { end_war = PRU } + ENG = { end_war = PRU } + DEN = { inherit = SLH + release = SCH + release = HOL + release = LAU + create_vassal = SCH } + PRU = { diplomatic_influence = { who = SCH value = 800 } + diplomatic_influence = { who = HOL value = 800 } + diplomatic_influence = { who = LAU value = 800 } + } + Prestige = 20 + set_global_flag = london_protocol + + } + } diff --git a/TGC/events/Germany VS Hungary Events.txt b/TGC/events/Germany VS Hungary Events.txt index 79da772a17..01f0a46f31 100644 --- a/TGC/events/Germany VS Hungary Events.txt +++ b/TGC/events/Germany VS Hungary Events.txt @@ -1135,7 +1135,7 @@ option = { name = "EVTOPTA2000000034" - AUS_624 = { add_core = GER secede_province = GER remove_core = HUN } + AUS_624 = { add_core = GER secede_province = GER remove_core = HUN } remove_country_modifier = talk_to_hungary1 set_global_flag = burgenland_resolved } @@ -2760,10 +2760,10 @@ GER = { war = { - target = HUN - attacker_goal = { casus_belli = hungarian_game_escalation1 } - defender_goal = { casus_belli = cut_down_to_size } - call_ally = yes + target = SLH + attacker_goal = { casus_belli = } + defender_goal = { casus_belli = first_schleswig_war_GER } + call_ally = no } set_global_flag = german_hungarian_war1 diff --git a/TGC/history/countries/HOL - Holstein.txt b/TGC/history/countries/HOL - Holstein.txt index 2aac7069d1..bfff8368a0 100644 --- a/TGC/history/countries/HOL - Holstein.txt +++ b/TGC/history/countries/HOL - Holstein.txt @@ -2,7 +2,7 @@ capital = 369 primary_culture = north_german culture = danish religion = protestant -government = absolute_monarchy +government = colonial_company #Danish plurality = 25.0 nationalvalue = nv_order literacy = 0.8 diff --git a/TGC/history/countries/LAU - Lauenburg.txt b/TGC/history/countries/LAU - Lauenburg.txt index 3e80dbef4e..5a59dbaeac 100644 --- a/TGC/history/countries/LAU - Lauenburg.txt +++ b/TGC/history/countries/LAU - Lauenburg.txt @@ -1,7 +1,8 @@ capital = 529 primary_culture = north_german +culture = danish religion = protestant -government = absolute_monarchy +government = colonial_company #Danish plurality = 25.0 nationalvalue = nv_order literacy = 0.8 diff --git a/TGC/history/countries/SCH - Schleswig.txt b/TGC/history/countries/SCH - Schleswig.txt index e9d0cd2ac0..25ffc772d6 100644 --- a/TGC/history/countries/SCH - Schleswig.txt +++ b/TGC/history/countries/SCH - Schleswig.txt @@ -1,13 +1,13 @@ capital = 370 -primary_culture = danish -culture = north_german +primary_culture = north_german +culture = danish religion = protestant -government = absolute_monarchy -plurality = 0.0 +government = colonial_company #Danish +plurality = 25.0 nationalvalue = nv_order literacy = 0.8 civilized = yes - +prestige = 5 # Political reforms slavery = no_slavery upper_house_composition = appointed diff --git a/TGC/history/provinces/germany/3425 - Suesel.txt b/TGC/history/provinces/germany/3425 - Suesel.txt index a00d6649a9..c42746df5c 100644 --- a/TGC/history/provinces/germany/3425 - Suesel.txt +++ b/TGC/history/provinces/germany/3425 - Suesel.txt @@ -1,8 +1,8 @@ -owner = SWH +owner = HOL controller = SWH add_core = SWH add_core = HOL add_core = GER trade_goods = fish life_rating = 40 -#terrain = farmlands \ No newline at end of file +#terrain = farmlands diff --git a/TGC/history/provinces/germany/369 - Kiel.txt b/TGC/history/provinces/germany/369 - Kiel.txt index 0d5a0348ff..e1695516a7 100644 --- a/TGC/history/provinces/germany/369 - Kiel.txt +++ b/TGC/history/provinces/germany/369 - Kiel.txt @@ -1,4 +1,4 @@ -owner = SWH +owner = HOL controller = SWH add_core = SWH add_core = HOL @@ -8,4 +8,4 @@ life_rating = 40 terrain = canal_kiel #terrain = farmlands -naval_base = 1 \ No newline at end of file +naval_base = 1 diff --git a/TGC/history/provinces/germany/529 - Lauenburg.txt b/TGC/history/provinces/germany/529 - Lauenburg.txt index a521f7a250..31a823260d 100644 --- a/TGC/history/provinces/germany/529 - Lauenburg.txt +++ b/TGC/history/provinces/germany/529 - Lauenburg.txt @@ -1,8 +1,8 @@ -owner = SWH +owner = LAU controller = SWH add_core = SWH add_core = LAU add_core = GER trade_goods = grain life_rating = 40 -#terrain = farmlands \ No newline at end of file +#terrain = farmlands diff --git a/TGC/history/provinces/scandinavia/368 - Ribe.txt b/TGC/history/provinces/scandinavia/368 - Ribe.txt index cad6495799..728303bf82 100644 --- a/TGC/history/provinces/scandinavia/368 - Ribe.txt +++ b/TGC/history/provinces/scandinavia/368 - Ribe.txt @@ -1,4 +1,4 @@ -owner = SWH +owner = SCH controller = SWH add_core = SWH add_core = DEN @@ -6,4 +6,4 @@ add_core = SCH trade_goods = fish life_rating = 35 -#terrain = \ No newline at end of file +#terrain = diff --git a/TGC/history/provinces/scandinavia/370 - Flensburg.txt b/TGC/history/provinces/scandinavia/370 - Flensburg.txt index 4f238a4319..d13dbaf99c 100644 --- a/TGC/history/provinces/scandinavia/370 - Flensburg.txt +++ b/TGC/history/provinces/scandinavia/370 - Flensburg.txt @@ -1,4 +1,4 @@ -owner = SWH +owner = SCH controller = SWH add_core = SWH add_core = DEN @@ -8,4 +8,4 @@ trade_goods = wool life_rating = 35 #terrain = -fort = 1 \ No newline at end of file +fort = 1 diff --git a/TGC/history/provinces/scandinavia/371 - Abenra.txt b/TGC/history/provinces/scandinavia/371 - Abenra.txt index a6675311f6..0246ca51b1 100644 --- a/TGC/history/provinces/scandinavia/371 - Abenra.txt +++ b/TGC/history/provinces/scandinavia/371 - Abenra.txt @@ -1,4 +1,4 @@ -owner = SWH +owner = SCH controller = SWH add_core = SWH add_core = GER @@ -6,4 +6,4 @@ add_core = DEN add_core = SCH trade_goods = cattle life_rating = 35 -#terrain = \ No newline at end of file +#terrain = diff --git a/TGC/localisation/00_war-cb.csv b/TGC/localisation/00_war-cb.csv index c393fee498..e95793d076 100644 --- a/TGC/localisation/00_war-cb.csv +++ b/TGC/localisation/00_war-cb.csv @@ -347,3 +347,11 @@ webster_ashburton_cb;Secure the Frontier;;;;;;;;;;;;;x webster_ashburton_cb_desc;Enforce our views on the border between Canada and the United States.;;;;;;;;;;;;;x webster_ashburton_cb_setup;Assert our border with $RECIPIENT$;;;;;;;;;;;;;x webster_ashburton_cb_short;Settle border dispute;;;;;;;;;;;;;x +first_schleswig_war_cb;Support the German Nationalists!;;;;;;;;;;;;;x +first_schleswig_war_cb_setup;Defend the newly formed State of Schleswig-Holstein from Denmark!;;;;;;;;;;;;;x +first_schleswig_war_cb_desc;Defend the newly formed State of Schleswig-Holstein from Denmark!;;;;;;;;;;;;;x +first_schleswig_war_cb_short;Win independence for Schleswig-Holstein.;;;;;;;;;;;;;x +second_schleswig_war_cb;Oppose Denmarks agression!;;;;;;;;;;;;;x +second_schleswig_war_cb_setup;Denmark has no right to encroach on Schleswig like this, we need to act!;;;;;;;;;;;;;x +second_schleswig_war_cb_desc;The past treaties guarantee that Schleswig shall not be annexed into Denmark, the danish seem to force us to back this up militarily.!;;;;;;;;;;;;;x +second_schleswig_war_cb_short;Put Denmark back into its place!;;;;;;;;;;;;;x diff --git a/TGC/localisation/00_war-names.csv b/TGC/localisation/00_war-names.csv index 5a8a595672..26ef41dfa6 100644 --- a/TGC/localisation/00_war-names.csv +++ b/TGC/localisation/00_war-names.csv @@ -438,4 +438,6 @@ NORMAL_WAR_UNIFICATION_NAME_NGF_FRA;$ORDER$Franco NORMAL_WAR_UNIFICATION_NAME_PRU_FRA;$ORDER$Franco–Prussian War;$ORDER$ guerre franco-prussienne;$ORDER$Franco-Preussischer Krieg;;;;;;;;;;;x NORMAL_WAR_UNIFICATION_NAME_SAR_AUS;The $ORDER$Italian War of Independence;;;;;;;;;;;;;x NORMAL_WAR_UNIFICATION_NAME_SAR_KUK;The $ORDER$Italian War of Independence;;;;;;;;;;;;;x -NORMAL_WAR_WEBSTER_ASHBURTON;The Aroostook War;;;;;;;;;;;;;x \ No newline at end of file +NORMAL_WAR_WEBSTER_ASHBURTON;The Aroostook War;;;;;;;;;;;;;x +NORMAL_FIRST_SCHLESWIG_WAR_NAME;The 1st Schleswig War;;;;;;;;;;;;;x +NORMAL_SECOND_SCHLESWIG_WAR_NAME;The 2nd Schleswig War;;;;;;;;;;;;;x