From 25a51fd2217223c007eeaf7b07ea5e09fc610318 Mon Sep 17 00:00:00 2001 From: pixelaes Date: Sun, 28 Jul 2024 16:30:25 -1000 Subject: [PATCH 1/7] Added chunnel event chain Added decisions+events for channel tunnel project --- TGC/common/event_modifiers.txt | 4 + TGC/decisions/2_Canals.txt | 91 ++ TGC/events/Canals Construction.txt | 1115 ++++++++++++++++++ TGC/gfx/pictures/decisions/build_chunnel.dds | Bin 0 -> 4736 bytes TGC/localisation/00_decisions.csv | 4 + TGC/localisation/00_events_0030000.csv | 69 ++ TGC/map/adjacencies.csv | 1 + 7 files changed, 1284 insertions(+) create mode 100644 TGC/gfx/pictures/decisions/build_chunnel.dds diff --git a/TGC/common/event_modifiers.txt b/TGC/common/event_modifiers.txt index 0dd1bb573d..2f90049a83 100644 --- a/TGC/common/event_modifiers.txt +++ b/TGC/common/event_modifiers.txt @@ -767,6 +767,10 @@ the_big_ben = { icon = 11 } + chunnel_construction = { + icon = 11 + } + small_immigration_boom_country = { global_immigrant_attract = 0.25 icon = 31 diff --git a/TGC/decisions/2_Canals.txt b/TGC/decisions/2_Canals.txt index 9b392c160a..9386e10fc3 100644 --- a/TGC/decisions/2_Canals.txt +++ b/TGC/decisions/2_Canals.txt @@ -588,4 +588,95 @@ political_decisions = { } } } + +### Channel ### + + #Build the Tunnel + build_channel_tunnel = { + picture = build_chunnel + news = no + + potential = { + NOT = { is_canal_enabled = 12 } + NOT = { has_global_flag = chunnel_under_construction } + NOT = { has_global_flag = chunnel_under_discussion } + NOT = { has_global_flag = chunnel_failed } + is_greater_power = yes + interchangeable_parts = 1 + OR = { + AND = { + owns = 301 + NOT = { owns = 401 } + } + AND = { + owns = 401 + NOT = { owns = 301 } + } + } + } + + allow = { + invention = machine_tools + invention = nitroglycerin + iron_steamers = 1 + money = 1000000 + } + + effect = { + set_global_flag = chunnel_under_discussion + country_event = 36988 + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + OR = { + war = yes + NOT = { money = 1000000 } + } + } + } + } + + #Build the Tunnel - Both Sides + build_channel_tunnel_both = { + picture = build_chunnel + news = no + + potential = { + NOT = { is_canal_enabled = 12 } + NOT = { has_global_flag = chunnel_under_construction } + NOT = { has_global_flag = chunnel_under_discussion } + NOT = { has_global_flag = chunnel_failed } + is_greater_power = yes + interchangeable_parts = 1 + owns = 301 + owns = 401 + } + + allow = { + invention = machine_tools + invention = nitroglycerin + iron_steamers = 1 + money = 1000000 + } + + effect = { + set_global_flag = chunnel_under_discussion + set_country_flag = chunnel_proposer + country_event = 36999 + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + OR = { + war = yes + NOT = { money = 1000000 } + } + } + } + } } diff --git a/TGC/events/Canals Construction.txt b/TGC/events/Canals Construction.txt index 130bf5f983..9d0fdf1af0 100644 --- a/TGC/events/Canals Construction.txt +++ b/TGC/events/Canals Construction.txt @@ -1045,3 +1045,1118 @@ country_event = { 840 = { set_province_flag = corinth_canal } } } + +# Channel Tunnel + + # Channel Tunnel Proposal + country_event = { + id = 36988 + title = "EVTNAME36988" + desc = "EVTDESC36988" + picture = "Suez3" + + is_triggered_only = yes + + option = { + name = "EVTOPTA36988" + prestige = 5 + any_country = { + limit = { + OR = { + owns = 301 + owns = 401 + } + NOT = { tag = THIS } + } + country_event = 36989 + } + } + } + + # Channel Tunnel Proposal Reciever + country_event = { + id = 36989 + title = "EVTNAME36989" + desc = "EVTDESC36989" + picture = "Suez3" + + is_triggered_only = yes + + option = { + name = "EVTOPTA36989" + prestige = 5 + FROM = { + country_event = 36990 + } + + ai_chance = { + factor = 100 + } + } + + option = { + name = "EVTOPTB36989" + prestige = -5 + FROM = { + country_event = 36991 + } + + ai_chance = { + factor = 0 + } + } + } + + # Channel Tunnel Proposal Accepted - Financing Original Country + country_event = { + id = 36990 + title = "EVTNAME36990" + desc = "EVTDESC36990" + picture = "Suez3" + + is_triggered_only = yes + + option = { + name = "EVTOPTA36990" + prestige = 25 + FROM = { + country_event = 36993 + } + + ai_chance = { + factor = 50 + modifier = { factor = 0 NOT = { money = 500000 } money = 1000000 } + modifier = { factor = 100 money = 500000 } + } + } + + option = { + name = "EVTOPTB36990" + prestige = 55 + country_event = 36999 + ai_chance = { + factor = 40 + modifier = { factor = 0 NOT = { money = 1000000 } } + modifier = { factor = 100 money = 1000000 } + } + } + + option = { + name = "EVTOPTC36990" + prestige = -100 + FROM = { + country_event = 36998 + } + + ai_chance = { + factor = 10 + modifier = { factor = 100 NOT = { money = 500000} } + modifier = { factor = 0 money = 500000 } + } + + } + } + + # Channel Tunnel Proposal Declined + country_event = { + id = 36991 + title = "EVTNAME36991" + desc = "EVTDESC36991" + picture = "Suez3" + + is_triggered_only = yes + + option = { + name = "EVTOPTA36991" + prestige = -10 + set_global_flag = chunnel_failed + clr_global_flag = chunnel_under_discussion + } + } + + # Channel Tunnel Reset + country_event = { + id = 36992 + title = "EVTNAME36992" + desc = "EVTDESC36992" + picture = "Suez3" + + trigger = { + tag = JAN + has_global_flag = chunnel_failed + } + + mean_time_to_happen = { + years = 5 + } + + option = { + name = "EVTOPTA36992" + clr_global_flag = chunnel_failed + } + } + + # Channel Tunnel Proposal Accepted - Financing Reciever Country + country_event = { + id = 36993 + title = "EVTNAME36993" + desc = "EVTDESC36993" + picture = "Suez3" + + is_triggered_only = yes + + option = { + name = "EVTOPTA36993" + + prestige = 20 + FROM = { country_event = 36994 } + + ai_chance = { + factor = 90 + } + } + + option = { + name = "EVTOPTB36993" + + prestige = -15 + FROM = { country_event = 36997 } + + ai_chance = { + factor = 10 + } + } + } + + # Funding for Chunnel - Half Original + country_event = { + id = 36994 + title = "EVTNAME36994" + desc = "EVTDESC36994" + picture = "Suez3" + + is_triggered_only = yes + + option = { + name = "EVTOPTA36994" + + treasury = -1000000 + set_variable = { + which = trigger_tag_chunnel_contribution + value = 10 + } + FROM = { country_event = 36995 } + + ai_chance = { + factor = 20 + modifier = { factor = 0 NOT = { money = 1001000 } } + modifier = { factor = 100 money = 1001000 } + } + } + + option = { + name = "EVTOPTB36994" + + treasury = -900000 + set_variable = { + which = trigger_tag_chunnel_contribution + value = 9 + } + FROM = { country_event = 36995 } + + ai_chance = { + factor = 20 + modifier = { factor = 0 NOT = { money = 901000 } } + modifier = { factor = 100 NOT = { money = 1001000 } money = 901000 } + } + } + + option = { + name = "EVTOPTC36994" + + treasury = -800000 + set_variable = { + which = trigger_tag_chunnel_contribution + value = 8 + } + FROM = { country_event = 36995 } + + ai_chance = { + factor = 20 + modifier = { factor = 0 NOT = { money = 801000 } } + modifier = { factor = 100 NOT = { money = 901000 } money = 801000 } + } + } + + option = { + name = "EVTOPTD36994" + + treasury = -700000 + set_variable = { + which = trigger_tag_chunnel_contribution + value = 7 + } + FROM = { country_event = 36995 } + + ai_chance = { + factor = 20 + modifier = { factor = 0 NOT = { money = 701000 } } + modifier = { factor = 100 NOT = { money = 801000 } money = 701000 } + } + } + + option = { + name = "EVTOPTE36994" + + treasury = -600000 + set_variable = { + which = trigger_tag_chunnel_contribution + value = 6 + } + FROM = { country_event = 36995 } + + ai_chance = { + factor = 20 + modifier = { factor = 0 NOT = { money = 601000 } } + modifier = { factor = 100 NOT = { money = 701000 } money = 601000 } + } + } + + option = { + name = "EVTOPTF36994" + + treasury = -500000 + set_variable = { + which = trigger_tag_chunnel_contribution + value = 5 + } + FROM = { country_event = 36995 } + + ai_chance = { + factor = 20 + modifier = { factor = 0 NOT = { money = 501000 } } + modifier = { factor = 100 NOT = { money = 601000 } money = 501000 } + } + } + } + + # Funding for Chunnel - Half Reciever + country_event = { + id = 36995 + title = "EVTNAME36995" + desc = "EVTDESC36995" + picture = "Suez3" + + is_triggered_only = yes + + option = { + name = "EVTOPTA36995" + + treasury = -1000000 + set_variable = { + which = reciever_tag_chunnel_contribution + value = 10 + } + JAN = { country_event = 36996 } + + ai_chance = { + factor = 20 + modifier = { factor = 0 NOT = { money = 1001000 } } + modifier = { factor = 100 money = 1001000 } + } + } + + option = { + name = "EVTOPTB36995" + + treasury = -900000 + set_variable = { + which = reciever_tag_chunnel_contribution + value = 9 + } + JAN = { country_event = 36996 } + + ai_chance = { + factor = 20 + modifier = { factor = 0 NOT = { money = 901000 } } + modifier = { factor = 100 NOT = { money = 1001000 } money = 901000 } + } + } + + option = { + name = "EVTOPTC36995" + + treasury = -800000 + set_variable = { + which = reciever_tag_chunnel_contribution + value = 8 + } + JAN = { country_event = 36996 } + + ai_chance = { + factor = 20 + modifier = { factor = 0 NOT = { money = 801000 } } + modifier = { factor = 100 NOT = { money = 901000 } money = 801000 } + } + } + + option = { + name = "EVTOPTD36995" + + treasury = -700000 + set_variable = { + which = reciever_tag_chunnel_contribution + value = 7 + } + JAN = { country_event = 36996 } + + ai_chance = { + factor = 20 + modifier = { factor = 0 NOT = { money = 701000 } } + modifier = { factor = 100 NOT = { money = 801000 } money = 701000 } + } + } + + option = { + name = "EVTOPTE36995" + + treasury = -600000 + set_variable = { + which = reciever_tag_chunnel_contribution + value = 6 + } + JAN = { country_event = 36996 } + + ai_chance = { + factor = 20 + modifier = { factor = 0 NOT = { money = 601000 } } + modifier = { factor = 100 NOT = { money = 701000 } money = 601000 } + } + } + + option = { + name = "EVTOPTF36995" + + treasury = -500000 + set_variable = { + which = reciever_tag_chunnel_contribution + value = 5 + } + JAN = { country_event = 36996 } + + ai_chance = { + factor = 20 + modifier = { factor = 0 NOT = { money = 501000 } } + modifier = { factor = 100 NOT = { money = 601000 } money = 501000 } + } + } + } + + # Half-Half Channel Construction + country_event = { + id = 36996 + title = "EVTNAME36996" + desc = "EVTNAME36996" + picture = "Suez3" + + is_triggered_only = yes + + immediate = { + set_variable = { + which = total_chunnel_contribution + value = trigger_tag_chunnel_contribution + reciever_tag_chunnel_contribution + } + } + + option = { + name = "EVTOPTA36996" + + 301 = { add_province_modifier = { name = chunnel_construction duration = 1825 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 1825 } } + + set_global_flag = chunnel_under_construction + clr_global_flag = chunnel_under_discussion + + ai_chance = { + factor = 12 + modifier = { + factor = 0 + NOT = { + check_variable = { + which = total_chunnel_contribution + value = 20 + } + } + } + modifier = { + factor = 100 + check_variable = { + which = total_chunnel_contribution + value = 20 + } + } + } + } + + option = { + name = "EVTOPTB36996" + + 301 = { add_province_modifier = { name = chunnel_construction duration = 2190 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 2190 } } + + set_global_flag = chunnel_under_construction + clr_global_flag = chunnel_under_discussion + + ai_chance = { + factor = 12 + modifier = { + factor = 0 + NOT = { + check_variable = { + which = total_chunnel_contribution + value = 19 + } + } + } + modifier = { + factor = 100 + check_variable = { + which = total_chunnel_contribution + value = 19 + } + NOT = { + check_variable = { + which = total_chunnel_contribution + value = 20 + } + } + } + } + } + + option = { + name = "EVTOPTC36996" + + 301 = { add_province_modifier = { name = chunnel_construction duration = 2555 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 2555 } } + + set_global_flag = chunnel_under_construction + clr_global_flag = chunnel_under_discussion + + ai_chance = { + factor = 12 + modifier = { + factor = 0 + NOT = { + check_variable = { + which = total_chunnel_contribution + value = 18 + } + } + } + modifier = { + factor = 100 + check_variable = { + which = total_chunnel_contribution + value = 18 + } + NOT = { + check_variable = { + which = total_chunnel_contribution + value = 19 + } + } + } + } + } + + option = { + name = "EVTOPTD36996" + + 301 = { add_province_modifier = { name = chunnel_construction duration = 2920 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 2920 } } + + set_global_flag = chunnel_under_construction + clr_global_flag = chunnel_under_discussion + + ai_chance = { + factor = 12 + modifier = { + factor = 0 + NOT = { + check_variable = { + which = total_chunnel_contribution + value = 17 + } + } + } + modifier = { + factor = 100 + check_variable = { + which = total_chunnel_contribution + value = 17 + } + NOT = { + check_variable = { + which = total_chunnel_contribution + value = 18 + } + } + } + } + } + + option = { + name = "EVTOPTE36996" + + 301 = { add_province_modifier = { name = chunnel_construction duration = 3285 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 3285 } } + + set_global_flag = chunnel_under_construction + clr_global_flag = chunnel_under_discussion + + ai_chance = { + factor = 12 + modifier = { + factor = 0 + NOT = { + check_variable = { + which = total_chunnel_contribution + value = 16 + } + } + } + modifier = { + factor = 100 + check_variable = { + which = total_chunnel_contribution + value = 16 + } + NOT = { + check_variable = { + which = total_chunnel_contribution + value = 17 + } + } + } + } + } + + option = { + name = "EVTOPTF36996" + + 301 = { add_province_modifier = { name = chunnel_construction duration = 3650 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 3650 } } + + set_global_flag = chunnel_under_construction + clr_global_flag = chunnel_under_discussion + + ai_chance = { + factor = 12 + modifier = { + factor = 0 + NOT = { + check_variable = { + which = total_chunnel_contribution + value = 15 + } + } + } + modifier = { + factor = 100 + check_variable = { + which = total_chunnel_contribution + value = 15 + } + NOT = { + check_variable = { + which = total_chunnel_contribution + value = 16 + } + } + } + } + } + + option = { + name = "EVTOPTG36996" + + 301 = { add_province_modifier = { name = chunnel_construction duration = 4015 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 4015 } } + + set_global_flag = chunnel_under_construction + clr_global_flag = chunnel_under_discussion + + ai_chance = { + factor = 12 + modifier = { + factor = 0 + NOT = { + check_variable = { + which = total_chunnel_contribution + value = 14 + } + } + } + modifier = { + factor = 100 + check_variable = { + which = total_chunnel_contribution + value = 14 + } + NOT = { + check_variable = { + which = total_chunnel_contribution + value = 15 + } + } + } + } + } + + option = { + name = "EVTOPTH36996" + + 301 = { add_province_modifier = { name = chunnel_construction duration = 4380 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 4380 } } + + set_global_flag = chunnel_under_construction + clr_global_flag = chunnel_under_discussion + + ai_chance = { + factor = 12 + modifier = { + factor = 0 + NOT = { + check_variable = { + which = total_chunnel_contribution + value = 13 + } + } + } + modifier = { + factor = 100 + check_variable = { + which = total_chunnel_contribution + value = 13 + } + NOT = { + check_variable = { + which = total_chunnel_contribution + value = 14 + } + } + } + } + } + + option = { + name = "EVTOPTI36996" + + 301 = { add_province_modifier = { name = chunnel_construction duration = 4745 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 4745 } } + + set_global_flag = chunnel_under_construction + clr_global_flag = chunnel_under_discussion + + ai_chance = { + factor = 12 + modifier = { + factor = 0 + NOT = { + check_variable = { + which = total_chunnel_contribution + value = 12 + } + } + } + modifier = { + factor = 100 + check_variable = { + which = total_chunnel_contribution + value = 12 + } + NOT = { + check_variable = { + which = total_chunnel_contribution + value = 13 + } + } + } + } + } + + option = { + name = "EVTOPTJ36996" + + 301 = { add_province_modifier = { name = chunnel_construction duration = 5110 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 5110 } } + + set_global_flag = chunnel_under_construction + clr_global_flag = chunnel_under_discussion + + ai_chance = { + factor = 12 + modifier = { + factor = 0 + NOT = { + check_variable = { + which = total_chunnel_contribution + value = 11 + } + } + } + modifier = { + factor = 100 + check_variable = { + which = total_chunnel_contribution + value = 11 + } + NOT = { + check_variable = { + which = total_chunnel_contribution + value = 12 + } + } + } + } + } + + option = { + name = "EVTOPTK36996" + + 301 = { add_province_modifier = { name = chunnel_construction duration = 5475 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 5475 } } + + set_global_flag = chunnel_under_construction + clr_global_flag = chunnel_under_discussion + + ai_chance = { + factor = 12 + modifier = { + factor = 0 + } + modifier = { + factor = 100 + check_variable = { + which = total_chunnel_contribution + value = 10 + } + NOT = { + check_variable = { + which = total_chunnel_contribution + value = 11 + } + } + } + } + } + } + + # Channel Tunnel Proposal Accepted - Financing Original Country - Half-Half Declined + country_event = { + id = 36997 + title = "EVTNAME36997" + desc = "EVTDESC36997" + picture = "Suez3" + + is_triggered_only = yes + + option = { + name = "EVTOPTA36997" + + prestige = -15 + country_event = { id = 36999 } + + ai_chance = { + factor = 50 + modifier = { factor = 0 NOT = { money = 1000000 } } + modifier = { factor = 100 money = 1000000} + } + } + + option = { + name = "EVTOPTB36997" + + prestige = -10 + set_global_flag = chunnel_failed + clr_global_flag = chunnel_under_discussion + + ai_chance = { + factor = 50 + modifier = { factor = 100 NOT = { money = 1000000 } } + } + } + } + + # Chunnel Tunnel Proposal Accepted - Financing Reciever Country - Half-Half and Whole Declined + country_event = { + id = 36998 + title = "EVTNAME36998" + desc = "EVTDESC36998" + picture = "Suez3" + + is_triggered_only = yes + + option = { + name = "EVTOPTA36998" + + prestige = -20 + country_event = { id = 36999 } + + ai_chance = { + factor = 50 + modifier = { factor = 0 NOT = { money = 1000000 } } + modifier = { factor = 100 money = 1000000} + } + } + + option = { + name = "EVTOPTB36998" + + prestige = 5 + set_global_flag = chunnel_failed + clr_global_flag = chunnel_under_discussion + + ai_chance = { + factor = 50 + modifier = { factor = 100 NOT = { money = 1000000 } } + } + } + } + + # Funding for Chunnel - Whole + country_event = { + id = 36999 + title = "EVTNAME36999" + desc = "EVTDESC36999" + picture = "Suez3" + + is_triggered_only = yes + + option = { + name = "EVTOPTA36999" + + treasury = -2000000 + set_global_flag = chunnel_under_construction + clr_global_flag = chunnel_under_discussion + random_list = { + 35 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 2190 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 2190 } } + } + 30 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 2555 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 2555 } } + } + 25 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 2920 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 2920 } } + } + 5 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 3285 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 3285 } } + } + 5 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 3650 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 3650 } } + } + } + + ai_chance = { + factor = 20 + modifier = { factor = 0 NOT = { money = 2001000 } } + modifier = { factor = 100 money = 2001000 } + } + } + + option = { + name = "EVTOPTB36999" + + treasury = -1750000 + set_global_flag = chunnel_under_construction + clr_country_flag = chunnel_under_discussion + random_list = { + 30 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 2190 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 2190 } } + } + 25 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 2555 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 2555 } } + } + 25 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 2920 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 2920 } } + } + 10 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 3285 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 3285 } } + } + 10 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 3650 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 3650 } } + } + } + + ai_chance = { + factor = 20 + modifier = { factor = 0 NOT = { money = 1751000 } } + modifier = { factor = 100 NOT = { money = 2001000 } money = 1751000 } + } + } + + option = { + name = "EVTOPTC36999" + + treasury = -1500000 + set_global_flag = chunnel_under_construction + clr_country_flag = chunnel_under_discussion + random_list = { + 40 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 3285 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 3285 } } + } + 15 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 3650 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 3650 } } + } + 15 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 2555 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 2555 } } + } + 15 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 2920 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 2920 } } + } + 15 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 2190 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 2190 } } + } + } + + ai_chance = { + factor = 20 + modifier = { factor = 0 NOT = { money = 1501000 } } + modifier = { factor = 100 NOT = { money = 1751000 } money = 3015010001000 } + } + } + + option = { + name = "EVTOPTD36999" + + treasury = -1250000 + set_global_flag = chunnel_under_construction + clr_country_flag = chunnel_under_discussion + random_list = { + 30 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 2920 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 2920 } } + } + 20 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 3285 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 3285 } } + } + 20 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 2555 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 2555 } } + } + 20 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 3650 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 3650 } } + } + 10 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 2190 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 2190 } } + } + } + + ai_chance = { + factor = 20 + modifier = { factor = 0 NOT = { money = 1251000 } } + modifier = { factor = 100 NOT = { money = 1501000 } money = 1251000 } + } + } + + option = { + name = "EVTOPTE36999" + + treasury = -1000000 + set_global_flag = chunnel_under_construction + clr_country_flag = chunnel_under_discussion + random_list = { + 40 = { 1755 = { add_province_modifier = { name = chunnel_construction duration = 3285 } } } + 35 = { 1755 = { add_province_modifier = { name = chunnel_construction duration = 2920 } } } + 15 = { 1755 = { add_province_modifier = { name = chunnel_construction duration = 3650 } } } + 5 = { 1755 = { add_province_modifier = { name = chunnel_construction duration = 2190 } } } + 5 = { 1755 = { add_province_modifier = { name = chunnel_construction duration = 2555 } } } + + 40 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 3285 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 3285 } } + } + 35 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 2920 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 2920 } } + } + 15 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 3650 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 3650 } } + } + 5 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 2190 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 2190 } } + } + 5 = { + 301 = { add_province_modifier = { name = chunnel_construction duration = 2555 } } + 401 = { add_province_modifier = { name = chunnel_construction duration = 2555 } } + } + } + + ai_chance = { + factor = 20 + modifier = { factor = 0 money = 1001000 } + } + } + } + + #Chunnel is Finished + country_event = { + id = 37000 + title = "EVTNAME37000" + desc = "EVTDESC37000" + picture = "panama_canal_finished" + + trigger = { + has_country_flag = chunnel_proposer + OR = { + owns = 301 + owns = 401 + } + has_global_flag = chunnel_construction + NOT = { + 301 = { has_province_modifier = chunnel_construction } + 401 = { has_province_modifier = chunnel_construction } + is_canal_enabled = 12 + } + } + + mean_time_to_happen = { days = 5 } + + fire_only_once = yes + + option = { + name = "EVTOPTA37000" + enable_canal = 12 + prestige = 100 + clr_global_flag = chunnel_construction + 301 = { + trade_goods = precious_goods + set_province_flag = channel_tunnel + } + 401 = { + trade_goods = precious_goods + set_province_flag = channel_tunnel + } + } + } \ No newline at end of file diff --git a/TGC/gfx/pictures/decisions/build_chunnel.dds b/TGC/gfx/pictures/decisions/build_chunnel.dds new file mode 100644 index 0000000000000000000000000000000000000000..c319a8c8474f7f02dcd3183c35a68c2022c0384b GIT binary patch literal 4736 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 NbjrVG?2vyi|8J$_%(DOh literal 0 HcmV?d00001 diff --git a/TGC/localisation/00_decisions.csv b/TGC/localisation/00_decisions.csv index 9f849fc13a..304235e02f 100644 --- a/TGC/localisation/00_decisions.csv +++ b/TGC/localisation/00_decisions.csv @@ -559,6 +559,10 @@ build_niavaran_desc;The old imperial palaces of Persia all date to Qajar rule, a build_niavaran_title;Build Niavaran Palace;;;;;;;;;;;;;x build_nicaragua_canal_desc;Currently, cargo traveling between the Atlatic and the Pacific oceans must be taken onto land on one side of Central America, transfered by rail to the other, and then loaded into a seperate ship. While this is a functional system, it can be sped up greatly by the construction of a canal extending the San Juan river in Nicaragua. This canal would remain under our direct control, and has the added benefit of letting us control the transfer of military vessals between the two great oceans during wartime.;;;;;;;;;;;;x build_nicaragua_canal_title;Build Nicaragua Canal;;;;;;;;;;;;x +build_channel_tunnel_desc;Currently, the British Isles remain seperated from the Continent by the English Channel. Whilst this has proven to be to our advantage in the past, allowing us to parry foreign attacks with ease, the advent of industry and the modern era has rendered this state of affairs unsustainable in the long term. Although a bridge connecting France and the United Kingdom would be both costly and impractical, a tunnel linking the two would be feasible by present standards. Plus, in the case of war with a Continental power, the Channel Tunnel could easily be rendered unusable to our enemies.;;;;;;;;;;;;;x +build_channel_tunnel_title;Build the Channel Tunnel;;;;;;;;;;;;;x +build_channel_tunnel_both_desc;Currently, the British Isles remain seperated from the Continent by the English Channel. Whilst this has proven to be to our advantage in the past, allowing us to parry foreign attacks with ease, the advent of industry and the modern era has rendered this state of affairs unsustainable in the long term. Although a bridge connecting France and the United Kingdom would be both costly and impractical, a tunnel linking the two would be feasible by present standards. Plus, in the case of war with a Continental power, the Channel Tunnel could easily be rendered unusable to our enemies.;;;;;;;;;;;;;x +build_channel_tunnel_both_title;Build the Channel Tunnel;;;;;;;;;;;;;x build_corinth_canal_desc;Efforts to dig a canal through the Isthmus of Corinth date back to the tyrant Periander of Corinth. Since then, three Roman emperors have attempted such a project, however all three met violent deaths before it could be completed. Many superstitions have therefore arisen about the canal forecasting doom and death. We can safely ignore this nonsense and harness modern technology to dig out a quicker route between the Ionian and Aegean Sea.;;;;;;;;;;;;x build_corinth_canal_title;Dig Corinth Canal;;;;;;;;;;;;x build_corinth_canal_widen_desc;The Corinth Canal has been less utilized than expected. Its high currents and narrowness have left many ships preferring to sail around the Peloponnese peninsula rather than through the canal. To make matters worse, the canal often must be closed to remove debris from landslides. We could embark on a project to widen the canal; however, this would be an expensive endeavor. ;;;;;;;;;;;;x diff --git a/TGC/localisation/00_events_0030000.csv b/TGC/localisation/00_events_0030000.csv index 46dca654c1..02bf33353e 100644 --- a/TGC/localisation/00_events_0030000.csv +++ b/TGC/localisation/00_events_0030000.csv @@ -975,6 +975,75 @@ EVTOPTB36986;Nationalize the damn canal and widen it so two dreadnaughts can pas EVTDESC36987;On this quiet morning, people across the world asked one question: "Is the Peloponnese a peninsula or an island?"\n Yiorgos, staring down at the 60 meter wide chasm from a bridge above, certainly sided with the latter view. He carefully lifted his son above the railing so that he could admire the cargo ships passing below. Yiorgos, himself was only a boy when construction begun, recalled the disappointment he felt when news would come of delays after delays on the project. Yet long after he had given up hope, it was finally finished. Yiorgos chuckled, thinking that the Greeks finally had the ability to brag about a feat of engineering that wasn't several centuries old.;;;;;;;;;;;;;x EVTNAME36987;The widening of the Corinth Canal;;;;;;;;;;;;;x EVTOPTA36987;"Look at what men can achieve when they don't give up";;;;;;;;;;;;;x +EVTDESC36988;Ever since the the lands known as Doggerland fell below the sea, the British Isles have remained separated by the English Channel from the Continent. This has proven to be to $COUNTRY$'s benefit on countless occasions, protecting us from the threat on land that was posed by our Continental rivals. However, with the advent of modern industry and especially, the network of railroads binding the world together, it may be to $COUNTRY$'s advantage that this missing link be replaced, and our lands be tied to those of our contemporaries.\n Thankfully for us, several individuals have already expressed interest in the idea, and have conducted multiple surveys assessing the feasibility of such a project. While all agree that the project will be difficult and expensive, the benefits to $COUNTRY$ would undoubtedly be immense, and once finished, it would be possibly the greatest feat of human engineering to date.;;;;;;;;;;;;;x +EVTNAME36988;The Channel Tunnel Proposal;;;;;;;;;;;;;x +EVTOPTA36988;Let us contact our friends across the Channel;;;;;;;;;;;;;x +EVTDESC36989;We have recieved an interesting proposal from $FROMCOUNTRY$ about the construction of a tunnel underneath the channel connecting our two nations. While the project will clearly be quite expensive, and $FROMCOUNTRY$ will likely recieve the lion's share of the benefits, it is not as if $COUNTRY$ does not stand to gain as well. The increased trade and commerce conducted within our nation, the creation of an entirely new sector that will undoubtedly be highly profitable to both us and the locals near the tunnel, and of course the prestige from having participated in such a grand and difficult project./n However, this 'Channel Tunnel' may very well also be used by $FROMCOUNTRY$, or any other hostile nation for that matter, to strike at the heart of $COUNTRY$. A number of our top military and intelligence officials advise that we reject this proposal on the grounds of security, and it is undeniable that our relations with $FROMCOUNTRY$ have often been less than friendly./n Ultimately, it falls on us to consider whether the economic benefits are worth the vulnerabilities that would be created by a 'Channel Tunnel.';;;;;;;;;;;;;x +EVTNAME36989;A Proposal from Across the Channel?;;;;;;;;;;;;;x +EVTOPTA36989;Accept it. The economic benefits to $COUNTRY$ outweigh the potential security implications.;;;;;;;;;;;;;x +EVTOPTB36989;Reject it. A 'Channel Tunnel' poses far too great a risk to $COUNTRY$.;;;;;;;;;;;;;x +EVTDESC36990;Thankfully, $FROMCOUNTRY$ agreed to our proposal to construct a tunnel underneath the Channel connecting our two countries. However, the issue of funding this great project still remains on the table, and with its scale, is sure to be a significant amount.;;;;;;;;;;;;;x +EVTNAME36990;Financing the Channel Tunnel;;;;;;;;;;;;;x +EVTOPTA36990;Let us pay our half and no more. §RRequires £500000-1000000;;;;;;;;;;;;;x +EVTOPTB36990;We don't need $FROMCOUNTRY$. We can pay everything. §RRequires £1000000-2000000;;;;;;;;;;;;;x +EVTOPTC36990;We cannot afford such a grand undertaking.;;;;;;;;;;;;;x +EVTDESC36991;It seems that on the grounds of 'security,' financial concerns, or some other excuse, $FROMCOUNTRY$ has refused to agree to the construction of a tunnel connecting our two nations. While they may be more amiable to such a proposal in a few years, it seems that we will be unable to proceed with our plans for the near future.;;;;;;;;;;;;;x +EVTNAME36991;Channel Tunnel Proposal Declined;;;;;;;;;;;;;x +EVTOPTA36991;Unfortunate.;;;;;;;;;;;;;x +EVTDESC36992;Resets the flag chunnel_declined every 5 years;;;;;;;;;;;;;x +EVTNAME36992;chunnel_declined Reset;;;;;;;;;;;;;x +EVTOPTA36992;Clear flag chunnel_declined;;;;;;;;;;;;;x +EVTDESC36993;$FROMCOUNTRY has proposed that we split the cost of financing the Chunnel Tunnel, and has already committed themselves to paying half of the costs for the project.;;;;;;;;;;;;;x +EVTNAME36993;Financing the Chunnel Tunnel;;;;;;;;;;;;;x +EVTOPTA36993;We shall pay our half, as well.;;;;;;;;;;;;;x +EVTOPTB36993;If they want a 'Chunnel' so much, they can pay for it themselves.;;;;;;;;;;;;;x +EVTDESC36994;$FROMCOUNTRY$ has agreed to our proposal that each country pay half of the costs of the Channel Tunnel. Now the only question that remains is the exact amount to be paid by both countries. While a certain amount of funds will be absolutely essential, additional funds and resources will likely speed up the construction of the Channel Tunnel.;;;;;;;;;;;;;x +EVTNAME36994;Construction of the Channel Tunnel;;;;;;;;;;;;;x +EVTOPTA36994;Allow them to have as much money as they need.;;;;;;;;;;;;;x +EVTOPTB36994;Give them a moderate surplus.;;;;;;;;;;;;;x +EVTOPTC36994;Invest a little more than they asked for.;;;;;;;;;;;;;x +EVTOPTD36994;Give them as much as they asked for.;;;;;;;;;;;;;x +EVTOPTE36994;Invest a little less than they asked for.;;;;;;;;;;;;;x +EVTOPTF36994;Invest the minimum amount.;;;;;;;;;;;;;x +EVTDESC36995;Having been approved by both sides, $FROMCOUNTRY$ has already set aside their half of the funding for the Channel Tunnel. The only question that remains is the exact amount to be paid by both countries. While a certain amount of funds will be absolutely essential, additional funds and resources will likely speed up the construction of the Channel Tunnel.;;;;;;;;;;;;;x +EVTNAME36995;Construction of the Channel Tunnel;;;;;;;;;;;;;x +EVTOPTA36995;Allow them to have as much money as they need.;;;;;;;;;;;;;x +EVTOPTB36995;Give them a moderate surplus.;;;;;;;;;;;;;x +EVTOPTC36995;Invest a little more than they asked for.;;;;;;;;;;;;;x +EVTOPTD36995;Give them as much as they asked for.;;;;;;;;;;;;;x +EVTOPTE36995;Invest a little less than they asked for.;;;;;;;;;;;;;x +EVTOPTF36995;Invest the minimum amount.;;;;;;;;;;;;;x +EVTDESC36996;Event to determine length of construction for Chunnel.;;;;;;;;;;;;;x +EVTNAME36996;Length of Chunnel Construction;;;;;;;;;;;;;x +EVTOPTA36996;Begins construction on the Channel Tunnel. - 2m ;;;;;;;;;;;;;x +EVTOPTB36996;Begins construction on the Channel Tunnel. - 1.9m ;;;;;;;;;;;;;x +EVTOPTC36996;Begins construction on the Channel Tunnel. - 1.8m ;;;;;;;;;;;;;x +EVTOPTD36996;Begins construction on the Channel Tunnel. - 1.7m ;;;;;;;;;;;;;x +EVTOPTE36996;Begins construction on the Channel Tunnel. - 1.6m ;;;;;;;;;;;;;x +EVTOPTF36996;Begins construction on the Channel Tunnel. - 1.5m ;;;;;;;;;;;;;x +EVTOPTG36996;Begins construction on the Channel Tunnel. - 1.4m ;;;;;;;;;;;;;x +EVTOPTH36996;Begins construction on the Channel Tunnel. - 1.3m ;;;;;;;;;;;;;x +EVTOPTI36996;Begins construction on the Channel Tunnel. - 1.2m ;;;;;;;;;;;;;x +EVTOPTJ36996;Begins construction on the Channel Tunnel. - 1.1m ;;;;;;;;;;;;;x +EVTOPTK36996;Begins construction on the Channel Tunnel. - 1m ;;;;;;;;;;;;;x +EVTDESC36997;It seems that $FROMCOUNTRY$ have declined our generous offer, and are insisting that we pay for the whole thing!/n Of course, this is ridiculous, and many are urging us to simply let the whole proposal fall though, if $FROMCOUNTRY$ insists on being so obstinate. However, it is undeniable that a Channel Tunnel would be of significant benefit to us as well, and some have suggested that we bite the bullet now and get back at $FROMCOUNTRY$ later, in one way or another. If they continue being so bullheaded, it is likely that we will have an excuse quite soon.;;;;;;;;;;;;;x +EVTNAME36997;Funding the Channel Tunnel;;;;;;;;;;;;;x +EVTOPTA36997;We must accede, but $COUNTRY$ will remember this.;;;;;;;;;;;;;x +EVTOPTB36997;Greedy scoundrels! Let the propsal fall through, if that is what they wish.;;;;;;;;;;;;;x +EVTDESC36998;In a communique from the government of $FROMCOUNTRY$, they are not only pushing for the construction of the Channel Tunnel, but are also insisting that we pay for it!/n Of course, the whole thing is patently absurd, and we would suffer no international consequences from refusing their 'offer,' if it could even be called that at all. However, a Channel Tunnel would pose both economic and martial benefits, and one or two of our more unorthodox advisors have suggested that we might be able to use the project to strike a crippling blow against $FROMCOUNTRY$.;;;;;;;;;;;;;x +EVTNAME36998;Funding the Channel Tunnel;;;;;;;;;;;;;x +EVTOPTA36998;Bite the bullet, but we shall have our revenge.;;;;;;;;;;;;;x +EVTOPTB36998;Reject their 'generous' offer.;;;;;;;;;;;;;x +EVTDESC36999;As we have decided to pay for the full costs of the Channel Tunnel, our counterparts cannot have any reasonable further objection to the project. While this does mean that it will cost a great deal more, and the entire financial burden will fall on us, it also grants us near-total control over the project. While a certain amount of funds will be absolutely essential, additional funds and resources will likely speed up the construction of the Channel Tunnel.;;;;;;;;;;;;;x +EVTNAME36999;Construction of the Channel Tunnel;;;;;;;;;;;;;x +EVTOPTA36999;Allow them to have as much money as they need.;;;;;;;;;;;;;x +EVTOPTB36999;Invest a little more than they asked for.;;;;;;;;;;;;;x +EVTOPTC36999;Give them as much as they asked for.;;;;;;;;;;;;;x +EVTOPTD36999;Invest a little less than they asked for.;;;;;;;;;;;;;x +EVTOPTE36999;Invest the minimum amount.;;;;;;;;;;;;;x +EVTDESC37000;The Chunnel is done.;;;;;;;;;;;;;x +EVTNAME37000;The Construction of the Channel Tunnel is finished;;;;;;;;;;;;;x +EVTOPTA37000;England and France, disconnected no more;;;;;;;;;;;;;x EVTDESC37200;An outspoken critic of our regime, the current head of the Bonapartes has been granted asylum in Switzerland and from there is encouraging our subjects to challenge our legitimacy. Should we demand the Swiss extradite him?;Un franc critique de notre régime, un Bonaparte s'est vu accorder l'asile en Suisse et de là, il encourage nos sujets à défier notre légitimité. Devons-nous demander à la Suisse de l'extrader ?;Der aktuelle Kopf der Familie Bonaparte, ein offener Kritiker unseres Regimes, hat von der Schweiz Asyl gewährt bekommen. Jetzt ermutigt er von dort aus unsere Untertanen, unsere Legitimität in Frage zu stellen. Sollen wir von der Schweiz seine Auslieferung verlangen?;;;;;;;;;;;x EVTNAME37200;Louis Napoleon in Switzerland;Louis Napoléon en Suisse;Louis-Napoléon in der Schweiz;;;;;;;;;;;x EVTOPTA37200;Demand the Swiss extradite him!;Demandez à la Suisse de l'extrader !;Von der Schweiz seine Auslieferung fordern!;;;;;;;;;;;x diff --git a/TGC/map/adjacencies.csv b/TGC/map/adjacencies.csv index a2368d6283..57dd0bcc20 100644 --- a/TGC/map/adjacencies.csv +++ b/TGC/map/adjacencies.csv @@ -484,3 +484,4 @@ From;To;Type;Through;Data;Comment #2707;2714;canal;3359;9;Fin1 Canal #2714;2715;canal;995;10;Fin2 Canal #2715;2716;canal;988;11;Fin3 Canal +301;401;canal;2724;12;Chunnel From 9e57aa48ba9a9580ec7198fb06bd2db6158f2216 Mon Sep 17 00:00:00 2001 From: pixelaes Date: Sun, 28 Jul 2024 16:51:11 -1000 Subject: [PATCH 2/7] Update 00_events_0030000.csv --- TGC/localisation/00_events_0030000.csv | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TGC/localisation/00_events_0030000.csv b/TGC/localisation/00_events_0030000.csv index 02bf33353e..eb5df72416 100644 --- a/TGC/localisation/00_events_0030000.csv +++ b/TGC/localisation/00_events_0030000.csv @@ -978,7 +978,7 @@ EVTOPTA36987;"Look at what men can achieve when they don't give up";;;;;;;;;;;;; EVTDESC36988;Ever since the the lands known as Doggerland fell below the sea, the British Isles have remained separated by the English Channel from the Continent. This has proven to be to $COUNTRY$'s benefit on countless occasions, protecting us from the threat on land that was posed by our Continental rivals. However, with the advent of modern industry and especially, the network of railroads binding the world together, it may be to $COUNTRY$'s advantage that this missing link be replaced, and our lands be tied to those of our contemporaries.\n Thankfully for us, several individuals have already expressed interest in the idea, and have conducted multiple surveys assessing the feasibility of such a project. While all agree that the project will be difficult and expensive, the benefits to $COUNTRY$ would undoubtedly be immense, and once finished, it would be possibly the greatest feat of human engineering to date.;;;;;;;;;;;;;x EVTNAME36988;The Channel Tunnel Proposal;;;;;;;;;;;;;x EVTOPTA36988;Let us contact our friends across the Channel;;;;;;;;;;;;;x -EVTDESC36989;We have recieved an interesting proposal from $FROMCOUNTRY$ about the construction of a tunnel underneath the channel connecting our two nations. While the project will clearly be quite expensive, and $FROMCOUNTRY$ will likely recieve the lion's share of the benefits, it is not as if $COUNTRY$ does not stand to gain as well. The increased trade and commerce conducted within our nation, the creation of an entirely new sector that will undoubtedly be highly profitable to both us and the locals near the tunnel, and of course the prestige from having participated in such a grand and difficult project./n However, this 'Channel Tunnel' may very well also be used by $FROMCOUNTRY$, or any other hostile nation for that matter, to strike at the heart of $COUNTRY$. A number of our top military and intelligence officials advise that we reject this proposal on the grounds of security, and it is undeniable that our relations with $FROMCOUNTRY$ have often been less than friendly./n Ultimately, it falls on us to consider whether the economic benefits are worth the vulnerabilities that would be created by a 'Channel Tunnel.';;;;;;;;;;;;;x +EVTDESC36989;We have recieved an interesting proposal from $FROMCOUNTRY$ about the construction of a tunnel underneath the channel connecting our two nations. While the project will clearly be quite expensive, and $FROMCOUNTRY$ will likely recieve the lion's share of the benefits, it is not as if $COUNTRY$ does not stand to gain as well. The increased trade and commerce conducted within our nation, the creation of an entirely new sector that will undoubtedly be highly profitable to both us and the locals near the tunnel, and of course the prestige from having participated in such a grand and difficult project.\n However, this 'Channel Tunnel' may very well also be used by $FROMCOUNTRY$, or any other hostile nation for that matter, to strike at the heart of $COUNTRY$. A number of our top military and intelligence officials advise that we reject this proposal on the grounds of security, and it is undeniable that our relations with $FROMCOUNTRY$ have often been less than friendly.\n Ultimately, it falls on us to consider whether the economic benefits are worth the vulnerabilities that would be created by a 'Channel Tunnel.';;;;;;;;;;;;;x EVTNAME36989;A Proposal from Across the Channel?;;;;;;;;;;;;;x EVTOPTA36989;Accept it. The economic benefits to $COUNTRY$ outweigh the potential security implications.;;;;;;;;;;;;;x EVTOPTB36989;Reject it. A 'Channel Tunnel' poses far too great a risk to $COUNTRY$.;;;;;;;;;;;;;x @@ -1026,11 +1026,11 @@ EVTOPTH36996;Begins construction on the Channel Tunnel. - 1.3m ;;;;;;;;;;;;;x EVTOPTI36996;Begins construction on the Channel Tunnel. - 1.2m ;;;;;;;;;;;;;x EVTOPTJ36996;Begins construction on the Channel Tunnel. - 1.1m ;;;;;;;;;;;;;x EVTOPTK36996;Begins construction on the Channel Tunnel. - 1m ;;;;;;;;;;;;;x -EVTDESC36997;It seems that $FROMCOUNTRY$ have declined our generous offer, and are insisting that we pay for the whole thing!/n Of course, this is ridiculous, and many are urging us to simply let the whole proposal fall though, if $FROMCOUNTRY$ insists on being so obstinate. However, it is undeniable that a Channel Tunnel would be of significant benefit to us as well, and some have suggested that we bite the bullet now and get back at $FROMCOUNTRY$ later, in one way or another. If they continue being so bullheaded, it is likely that we will have an excuse quite soon.;;;;;;;;;;;;;x +EVTDESC36997;It seems that $FROMCOUNTRY$ have declined our generous offer, and are insisting that we pay for the whole thing!\n Of course, this is ridiculous, and many are urging us to simply let the whole proposal fall though, if $FROMCOUNTRY$ insists on being so obstinate. However, it is undeniable that a Channel Tunnel would be of significant benefit to us as well, and some have suggested that we bite the bullet now and get back at $FROMCOUNTRY$ later, in one way or another. If they continue being so bullheaded, it is likely that we will have an excuse quite soon.;;;;;;;;;;;;;x EVTNAME36997;Funding the Channel Tunnel;;;;;;;;;;;;;x EVTOPTA36997;We must accede, but $COUNTRY$ will remember this.;;;;;;;;;;;;;x EVTOPTB36997;Greedy scoundrels! Let the propsal fall through, if that is what they wish.;;;;;;;;;;;;;x -EVTDESC36998;In a communique from the government of $FROMCOUNTRY$, they are not only pushing for the construction of the Channel Tunnel, but are also insisting that we pay for it!/n Of course, the whole thing is patently absurd, and we would suffer no international consequences from refusing their 'offer,' if it could even be called that at all. However, a Channel Tunnel would pose both economic and martial benefits, and one or two of our more unorthodox advisors have suggested that we might be able to use the project to strike a crippling blow against $FROMCOUNTRY$.;;;;;;;;;;;;;x +EVTDESC36998;In a communique from the government of $FROMCOUNTRY$, they are not only pushing for the construction of the Channel Tunnel, but are also insisting that we pay for it!\n Of course, the whole thing is patently absurd, and we would suffer no international consequences from refusing their 'offer,' if it could even be called that at all. However, a Channel Tunnel would pose both economic and martial benefits, and one or two of our more unorthodox advisors have suggested that we might be able to use the project to strike a crippling blow against $FROMCOUNTRY$.;;;;;;;;;;;;;x EVTNAME36998;Funding the Channel Tunnel;;;;;;;;;;;;;x EVTOPTA36998;Bite the bullet, but we shall have our revenge.;;;;;;;;;;;;;x EVTOPTB36998;Reject their 'generous' offer.;;;;;;;;;;;;;x From 6a8d4f549968af1084bbfe5a7cf8ebb6cdcfce05 Mon Sep 17 00:00:00 2001 From: pixelaes Date: Sun, 28 Jul 2024 17:31:35 -1000 Subject: [PATCH 3/7] Update 00_modifiers.csv --- TGC/localisation/00_modifiers.csv | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TGC/localisation/00_modifiers.csv b/TGC/localisation/00_modifiers.csv index 71b424dc06..2cb702a7ae 100644 --- a/TGC/localisation/00_modifiers.csv +++ b/TGC/localisation/00_modifiers.csv @@ -194,6 +194,8 @@ building_suez_canal;Building the Suez Canal;;;;;;;;;;;;;x building_suez_canal_desc;The Suez Canal is currently under construction. After each completed phase an event will fire to keep you informed of the progress. Construction will take approximately 10 years.;;;;;;;;;;;;;x building_suez_canal_revolt;Worker revolt at the Suez Canal;;;;;;;;;;;;;x building_suez_canal_revolt_desc;Construction off the Suez Canal has halted until the revolt is over.;;;;;;;;;;;;;x +building_chunnel;Building the Channel Tunnel;;;;;;;;;;;;;x +building_chunnel_desc;The Channel Tunnel is currently under construction. After each completed phase an event will fire to keep you informed of the progress. Construction will take approximately 10 years.;;;;;;;;;;;;;x bureaucratsresist2;Bureaucratic Disorder!;;;;;;;;;;;;;x bureaucratsresist2_desc;The bureaucracy is in revolutionary shambles!;;;;;;;;;;;;;x bureaucratsresist;Counter-Revolution: Bureaucrats!;;;;;;;;;;;;;x From b37fda576deba0ff3476d87a917080c47c83a7bb Mon Sep 17 00:00:00 2001 From: Joel Antonio Date: Mon, 29 Jul 2024 20:49:28 -0300 Subject: [PATCH 4/7] Province flags sadly dont work --- TGC/events/Canals Construction.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/TGC/events/Canals Construction.txt b/TGC/events/Canals Construction.txt index 9d0fdf1af0..5ba351434a 100644 --- a/TGC/events/Canals Construction.txt +++ b/TGC/events/Canals Construction.txt @@ -2152,11 +2152,9 @@ country_event = { clr_global_flag = chunnel_construction 301 = { trade_goods = precious_goods - set_province_flag = channel_tunnel } 401 = { trade_goods = precious_goods - set_province_flag = channel_tunnel } } } \ No newline at end of file From 12999727b419f63409f007318ffac672db616dcf Mon Sep 17 00:00:00 2001 From: Joel Antonio Date: Mon, 29 Jul 2024 21:05:42 -0300 Subject: [PATCH 5/7] Optimization --- TGC/decisions/2_Canals.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/TGC/decisions/2_Canals.txt b/TGC/decisions/2_Canals.txt index 9386e10fc3..a82833a53e 100644 --- a/TGC/decisions/2_Canals.txt +++ b/TGC/decisions/2_Canals.txt @@ -597,10 +597,6 @@ political_decisions = { news = no potential = { - NOT = { is_canal_enabled = 12 } - NOT = { has_global_flag = chunnel_under_construction } - NOT = { has_global_flag = chunnel_under_discussion } - NOT = { has_global_flag = chunnel_failed } is_greater_power = yes interchangeable_parts = 1 OR = { @@ -613,6 +609,10 @@ political_decisions = { NOT = { owns = 301 } } } + NOT = { is_canal_enabled = 12 } + NOT = { has_global_flag = chunnel_under_construction } + NOT = { has_global_flag = chunnel_under_discussion } + NOT = { has_global_flag = chunnel_failed } } allow = { @@ -645,14 +645,14 @@ political_decisions = { news = no potential = { + owns = 301 + owns = 401 + is_greater_power = yes + interchangeable_parts = 1 NOT = { is_canal_enabled = 12 } NOT = { has_global_flag = chunnel_under_construction } NOT = { has_global_flag = chunnel_under_discussion } NOT = { has_global_flag = chunnel_failed } - is_greater_power = yes - interchangeable_parts = 1 - owns = 301 - owns = 401 } allow = { From 75b5cf89daa8551b7a145ba8f89296a0f51d7a9c Mon Sep 17 00:00:00 2001 From: pixelaes Date: Tue, 30 Jul 2024 06:32:47 -1000 Subject: [PATCH 6/7] Fixed broken duration event Also change variable names and fixed an ai_chance factor mistake --- TGC/events/Canals Construction.txt | 133 ++++++++++++++--------------- 1 file changed, 65 insertions(+), 68 deletions(-) diff --git a/TGC/events/Canals Construction.txt b/TGC/events/Canals Construction.txt index 5ba351434a..8a830d65b4 100644 --- a/TGC/events/Canals Construction.txt +++ b/TGC/events/Canals Construction.txt @@ -1242,7 +1242,7 @@ country_event = { treasury = -1000000 set_variable = { - which = trigger_tag_chunnel_contribution + which = total_chunnel_funds value = 10 } FROM = { country_event = 36995 } @@ -1259,7 +1259,7 @@ country_event = { treasury = -900000 set_variable = { - which = trigger_tag_chunnel_contribution + which = total_chunnel_funds value = 9 } FROM = { country_event = 36995 } @@ -1276,7 +1276,7 @@ country_event = { treasury = -800000 set_variable = { - which = trigger_tag_chunnel_contribution + which = total_chunnel_funds value = 8 } FROM = { country_event = 36995 } @@ -1293,7 +1293,7 @@ country_event = { treasury = -700000 set_variable = { - which = trigger_tag_chunnel_contribution + which = total_chunnel_funds value = 7 } FROM = { country_event = 36995 } @@ -1310,7 +1310,7 @@ country_event = { treasury = -600000 set_variable = { - which = trigger_tag_chunnel_contribution + which = total_chunnel_funds value = 6 } FROM = { country_event = 36995 } @@ -1327,7 +1327,7 @@ country_event = { treasury = -500000 set_variable = { - which = trigger_tag_chunnel_contribution + which = total_chunnel_funds value = 5 } FROM = { country_event = 36995 } @@ -1353,8 +1353,8 @@ country_event = { name = "EVTOPTA36995" treasury = -1000000 - set_variable = { - which = reciever_tag_chunnel_contribution + change_variable = { + which = total_chunnel_funds value = 10 } JAN = { country_event = 36996 } @@ -1370,8 +1370,8 @@ country_event = { name = "EVTOPTB36995" treasury = -900000 - set_variable = { - which = reciever_tag_chunnel_contribution + change_variable = { + which = total_chunnel_funds value = 9 } JAN = { country_event = 36996 } @@ -1387,8 +1387,8 @@ country_event = { name = "EVTOPTC36995" treasury = -800000 - set_variable = { - which = reciever_tag_chunnel_contribution + change_variable = { + which = total_chunnel_funds value = 8 } JAN = { country_event = 36996 } @@ -1404,8 +1404,8 @@ country_event = { name = "EVTOPTD36995" treasury = -700000 - set_variable = { - which = reciever_tag_chunnel_contribution + change_variable = { + which = total_chunnel_funds value = 7 } JAN = { country_event = 36996 } @@ -1421,8 +1421,8 @@ country_event = { name = "EVTOPTE36995" treasury = -600000 - set_variable = { - which = reciever_tag_chunnel_contribution + change_variable = { + which = total_chunnel_funds value = 6 } JAN = { country_event = 36996 } @@ -1438,8 +1438,8 @@ country_event = { name = "EVTOPTF36995" treasury = -500000 - set_variable = { - which = reciever_tag_chunnel_contribution + change_variable = { + which = total_chunnel_funds value = 5 } JAN = { country_event = 36996 } @@ -1461,13 +1461,6 @@ country_event = { is_triggered_only = yes - immediate = { - set_variable = { - which = total_chunnel_contribution - value = trigger_tag_chunnel_contribution + reciever_tag_chunnel_contribution - } - } - option = { name = "EVTOPTA36996" @@ -1478,12 +1471,12 @@ country_event = { clr_global_flag = chunnel_under_discussion ai_chance = { - factor = 12 + factor = 10 modifier = { factor = 0 NOT = { check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 20 } } @@ -1491,7 +1484,7 @@ country_event = { modifier = { factor = 100 check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 20 } } @@ -1508,12 +1501,12 @@ country_event = { clr_global_flag = chunnel_under_discussion ai_chance = { - factor = 12 + factor = 9 modifier = { factor = 0 NOT = { check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 19 } } @@ -1521,12 +1514,12 @@ country_event = { modifier = { factor = 100 check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 19 } NOT = { check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 20 } } @@ -1544,12 +1537,12 @@ country_event = { clr_global_flag = chunnel_under_discussion ai_chance = { - factor = 12 + factor = 9 modifier = { factor = 0 NOT = { check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 18 } } @@ -1557,12 +1550,12 @@ country_event = { modifier = { factor = 100 check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 18 } NOT = { check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 19 } } @@ -1580,12 +1573,12 @@ country_event = { clr_global_flag = chunnel_under_discussion ai_chance = { - factor = 12 + factor = 9 modifier = { factor = 0 NOT = { check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 17 } } @@ -1593,12 +1586,12 @@ country_event = { modifier = { factor = 100 check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 17 } NOT = { check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 18 } } @@ -1616,12 +1609,12 @@ country_event = { clr_global_flag = chunnel_under_discussion ai_chance = { - factor = 12 + factor = 9 modifier = { factor = 0 NOT = { check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 16 } } @@ -1629,12 +1622,12 @@ country_event = { modifier = { factor = 100 check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 16 } NOT = { check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 17 } } @@ -1652,12 +1645,12 @@ country_event = { clr_global_flag = chunnel_under_discussion ai_chance = { - factor = 12 + factor = 9 modifier = { factor = 0 NOT = { check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 15 } } @@ -1665,12 +1658,12 @@ country_event = { modifier = { factor = 100 check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 15 } NOT = { check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 16 } } @@ -1688,12 +1681,12 @@ country_event = { clr_global_flag = chunnel_under_discussion ai_chance = { - factor = 12 + factor = 9 modifier = { factor = 0 NOT = { check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 14 } } @@ -1701,12 +1694,12 @@ country_event = { modifier = { factor = 100 check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 14 } NOT = { check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 15 } } @@ -1724,12 +1717,12 @@ country_event = { clr_global_flag = chunnel_under_discussion ai_chance = { - factor = 12 + factor = 9 modifier = { factor = 0 NOT = { check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 13 } } @@ -1737,12 +1730,12 @@ country_event = { modifier = { factor = 100 check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 13 } NOT = { check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 14 } } @@ -1760,12 +1753,12 @@ country_event = { clr_global_flag = chunnel_under_discussion ai_chance = { - factor = 12 + factor = 9 modifier = { factor = 0 NOT = { check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 12 } } @@ -1773,12 +1766,12 @@ country_event = { modifier = { factor = 100 check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 12 } NOT = { check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 13 } } @@ -1796,12 +1789,12 @@ country_event = { clr_global_flag = chunnel_under_discussion ai_chance = { - factor = 12 + factor = 9 modifier = { factor = 0 NOT = { check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 11 } } @@ -1809,12 +1802,12 @@ country_event = { modifier = { factor = 100 check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 11 } NOT = { check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 12 } } @@ -1832,19 +1825,23 @@ country_event = { clr_global_flag = chunnel_under_discussion ai_chance = { - factor = 12 + factor = 9 modifier = { - factor = 0 + factor = 0 + check_variable = { + which = total_chunnel_funds + value = 11 + } } modifier = { factor = 100 check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 10 } NOT = { check_variable = { - which = total_chunnel_contribution + which = total_chunnel_funds value = 11 } } From 6810e8156674833cdc89706ecdfbbadb841086b8 Mon Sep 17 00:00:00 2001 From: pixelaes Date: Wed, 31 Jul 2024 17:32:55 -1000 Subject: [PATCH 7/7] Fixed broken variable --- TGC/events/Canals Construction.txt | 97 +++++++++++++++++++----------- 1 file changed, 61 insertions(+), 36 deletions(-) diff --git a/TGC/events/Canals Construction.txt b/TGC/events/Canals Construction.txt index 8a830d65b4..9eae94de70 100644 --- a/TGC/events/Canals Construction.txt +++ b/TGC/events/Canals Construction.txt @@ -1241,9 +1241,11 @@ country_event = { name = "EVTOPTA36994" treasury = -1000000 - set_variable = { - which = total_chunnel_funds - value = 10 + JAN = { + set_variable = { + which = total_chunnel_funds + value = 10 + } } FROM = { country_event = 36995 } @@ -1258,9 +1260,11 @@ country_event = { name = "EVTOPTB36994" treasury = -900000 - set_variable = { - which = total_chunnel_funds - value = 9 + JAN = { + set_variable = { + which = total_chunnel_funds + value = 9 + } } FROM = { country_event = 36995 } @@ -1275,9 +1279,11 @@ country_event = { name = "EVTOPTC36994" treasury = -800000 - set_variable = { - which = total_chunnel_funds - value = 8 + JAN = { + set_variable = { + which = total_chunnel_funds + value = 8 + } } FROM = { country_event = 36995 } @@ -1292,9 +1298,11 @@ country_event = { name = "EVTOPTD36994" treasury = -700000 - set_variable = { - which = total_chunnel_funds - value = 7 + JAN = { + set_variable = { + which = total_chunnel_funds + value = 7 + } } FROM = { country_event = 36995 } @@ -1309,9 +1317,11 @@ country_event = { name = "EVTOPTE36994" treasury = -600000 - set_variable = { - which = total_chunnel_funds - value = 6 + JAN = { + set_variable = { + which = total_chunnel_funds + value = 6 + } } FROM = { country_event = 36995 } @@ -1326,9 +1336,11 @@ country_event = { name = "EVTOPTF36994" treasury = -500000 - set_variable = { - which = total_chunnel_funds - value = 5 + JAN = { + set_variable = { + which = total_chunnel_funds + value = 5 + } } FROM = { country_event = 36995 } @@ -1353,9 +1365,11 @@ country_event = { name = "EVTOPTA36995" treasury = -1000000 - change_variable = { - which = total_chunnel_funds - value = 10 + JAN = { + change_variable = { + which = total_chunnel_funds + value = 10 + } } JAN = { country_event = 36996 } @@ -1370,9 +1384,11 @@ country_event = { name = "EVTOPTB36995" treasury = -900000 - change_variable = { - which = total_chunnel_funds - value = 9 + JAN = { + change_variable = { + which = total_chunnel_funds + value = 9 + } } JAN = { country_event = 36996 } @@ -1387,9 +1403,11 @@ country_event = { name = "EVTOPTC36995" treasury = -800000 - change_variable = { - which = total_chunnel_funds - value = 8 + JAN = { + change_variable = { + which = total_chunnel_funds + value = 8 + } } JAN = { country_event = 36996 } @@ -1404,9 +1422,11 @@ country_event = { name = "EVTOPTD36995" treasury = -700000 - change_variable = { - which = total_chunnel_funds - value = 7 + JAN = { + change_variable = { + which = total_chunnel_funds + value = 7 + } } JAN = { country_event = 36996 } @@ -1421,9 +1441,11 @@ country_event = { name = "EVTOPTE36995" treasury = -600000 - change_variable = { - which = total_chunnel_funds - value = 6 + JAN = { + change_variable = { + which = total_chunnel_funds + value = 6 + } } JAN = { country_event = 36996 } @@ -1438,9 +1460,11 @@ country_event = { name = "EVTOPTF36995" treasury = -500000 - change_variable = { - which = total_chunnel_funds - value = 5 + JAN = { + change_variable = { + which = total_chunnel_funds + value = 5 + } } JAN = { country_event = 36996 } @@ -1452,6 +1476,7 @@ country_event = { } } + # Half-Half Channel Construction country_event = { id = 36996