Professional Documents
Culture Documents
BBA Ethiopia
BBA Ethiopia
add_namespace = BBA_ethiopia_balance_of_power_events
add_namespace = BBA_ethiopia_communist_events
add_namespace = BBA_ethiopia_exile_events
add_namespace = BBA_ethiopia_imperial_events
add_namespace = BBA_ethiopia_military_and_tech_events
add_namespace = BBA_ethiopia_industrial_financial_events
add_namespace = BBA_ethiopia_anti_colonialism_events
add_namespace = BBA_ethiopia_fascist_events
add_namespace = BBA_generic_purchase_ships_events
##########################################################################
##########################################################################
option = {
name = BBA_ethiopia_balance_of_power_events.01.a
trigger = {
has_government = fascism
}
ai_chance = {
base = 10
}
# Just to add some umpredictability (and also because if you don't
define a capital, the revolters seem to only ever get one state, which is a bit
sad)
hidden_effect = {
random_owned_controlled_state = {
set_variable = { ROOT.temp_capital = THIS.id }
}
}
start_civil_war = {
ruling_party = ROOT
ideology = neutrality
capital = var:ROOT.temp_capital
size = 0.55
keep_political_leader = no
}
clear_variable = ROOT.temp_capital
}
option = {
name = BBA_ethiopia_balance_of_power_events.01.b
trigger = {
has_government = neutrality
}
ai_chance = {
base = 10
}
start_civil_war = {
ruling_party = ROOT
ideology = fascism
size = 0.55
capital = 842
keep_political_leader = no
}
hidden_effect = {
ETH_promote_ETH_hailu_tekle_haymanot = yes
set_party_name = {
ideology = fascism
long_name = ETH_alternate_fascist_party_long
name = ETH_alternate_fascist_party
}
# Ensure enemies also have war with target
random_other_country = {
limit = {
original_tag = ETH
has_government = fascism
has_war_with = ROOT
}
hidden_effect = {
set_party_name = {
ideology = neutrality
long_name = ETH_alternate_neutrality_party_long
name = ETH_alternate_neutrality_party
}
}
every_other_country = {
limit = {
has_war_with = ROOT
}
declare_war_on = {
target = PREV
type = annex_everything
}
}
}
}
}
option = {
name = BBA_ethiopia_balance_of_power_events.01.c
trigger = {
has_government = communism
}
ai_chance = {
base = 10
}
# Just to add some umpredictability (and also because if you don't
define a capital, the revolters seem to only ever get one state, which is a bit
sad)
hidden_effect = {
random_owned_controlled_state = {
set_variable = { ROOT.temp_capital = THIS.id }
}
set_popularities = {
communism = 50
fascism = 20
democratic = 10
neutrality = 20
}
delete_unit_template_and_units = {
division_template = "Red Guards"
}
}
set_country_flag = ETH_communist_civil_war
start_civil_war = {
ruling_party = ROOT
ideology = communism
capital = var:ROOT.temp_capital
size = 0.55
keep_political_leader = no
set_party_name = {
ideology = communism
long_name = ETH_communism_party_long
name = ETH_communism_party
}
set_cosmetic_tag = ethiopia_anarcho_communist
delete_unit_template_and_units = {
division_template = "Black Lions"
}
every_other_country = {
limit = {
has_war_with = ROOT
}
declare_war_on = {
target = PREV
type = annex_everything
}
}
}
clear_variable = ROOT.temp_capital
# Country breaking up
country_event = {
id = BBA_ethiopia_balance_of_power_events.10
title = BBA_ethiopia_balance_of_power_events.10.t
desc = BBA_ethiopia_balance_of_power_events.10.desc
is_triggered_only = yes
picture = GFX_report_event_ETH_ethiopian_warriors
# this is fine
option = {
name = BBA_ethiopia_balance_of_power_events.10.a
ai_chance = {
base = 10
}
every_owned_state = {
limit = {
is_controlled_by = ROOT
is_capital = no
}
for_each_scope_loop = {
array = core_countries
# transfer this state to core holder - if it is within the
original federation
IF = {
limit = {
exists = no # no country should get more than
one state
NOT = { original_tag = ETH }
PREV = { is_core_of = ETH } # Ethiopia keeps
all "colonies", only the ethiopian Nobility that is rising up
}
transfer_state = PREV
# Ensure countries at war with Ethiopia are also at
war with the new countries
set_country_flag = ETH_broken_free_country_flag
every_other_country = {
limit = {
has_war_with = ROOT
NOT = { has_country_flag =
ETH_broken_free_country_flag }
}
declare_war_on = {
target = PREV
type = annex_everything
}
}
}
}
}
custom_effect_tooltip = ETH_breakup_tt
}
# This is bad
option = {
name = BBA_ethiopia_balance_of_power_events.10.b
ai_chance = {
base = 10
}
every_owned_state = {
limit = {
is_controlled_by = ROOT
is_capital = no
}
for_each_scope_loop = {
array = core_countries
# transfer this state to core holder - if it is within the
original federation
IF = {
limit = {
exists = no # no country should get more than
one state
NOT = { original_tag = ROOT }
PREV = { is_core_of = ROOT } # Ethiopia keeps
all "colonies", only the ethiopian Nobility that is rising up
}
transfer_state = PREV
declare_war_on = {
target = ROOT
type = independence_wargoal
}
# Ensure countries at war with Ethiopia are also at
war with the new countries
set_country_flag = ETH_broken_free_country_flag
every_other_country = {
limit = {
has_war_with = ROOT
NOT = { has_country_flag =
ETH_broken_free_country_flag }
}
declare_war_on = {
target = PREV
type = annex_everything
}
}
PREV = {
teleport_armies = {
limit = {
original_tag = ROOT
}
to_state_array =
ROOT.owned_controlled_states
}
}
# Add some irregulars so that they don't die
immediately
IF = {
limit = {
NOT = { has_template = "Chitet Sefari" }
}
division_template = {
name = "Chitet Sefari"
# division_names_group = ETH_INF_03
is_locked = yes
force_allow_recruiting = yes
# Note: Represents both regular infantry
and militia units
regiments = {
irregular_infantry = { x = 0 y =
0 }
irregular_infantry = { x = 0 y =
1 }
irregular_infantry = { x = 1 y =
0 }
irregular_infantry = { x = 1 y =
1 }
}
division_cap = 4
}
}
PREV = {
create_unit = {
division = "name = \"Chitet Sefari\"
division_template = \"Chitet Sefari\" start_experience_factor = 0.02
start_equipment_factor = 0.75"
owner = PREV
count = 4
}
}
}
}
}
custom_effect_tooltip = ETH_breakup_fight_tt
}
}
#country_event = {
# id = BBA_ethiopia_balance_of_power_events.20
# title = BBA_ethiopia_balance_of_power_events.20.t
# desc = BBA_ethiopia_balance_of_power_events.20.desc
# is_triggered_only = yes
# picture = GFX_report_event_generic_sign_treaty2
# option = {
# name = BBA_ethiopia_balance_of_power_events.20.a
# ai_chance = {
# base = 10
# }
# add_ideas = ETH_leadership_cult_education
# ETH_BOP_centralization_small_effect = yes
# }
# option = {
# name = BBA_ethiopia_balance_of_power_events.20.b
# ai_chance = {
# base = 10
# }
# add_ideas = ETH_secular_education
# ETH_BOP_decentralization_small_effect = yes
# }
#}
#country_event = {
# id = BBA_ethiopia_balance_of_power_events.21
# title = BBA_ethiopia_balance_of_power_events.21.t
# desc = BBA_ethiopia_balance_of_power_events.21.desc
# is_triggered_only = yes
# picture = GFX_report_event_china_ledo_road
# option = {
# name = BBA_ethiopia_balance_of_power_events.21.a
# ai_chance = {
# base = 10
# }
# ETH_BOP_decentralization_large_effect = yes
# every_owned_state = {
# add_building_construction = {
# type = infrastructure
# level = 1
# instant_build = yes
# }
# }
# }
# option = {
# name = BBA_ethiopia_balance_of_power_events.21.b
# ai_chance = {
# base = 10
# }
# ETH_BOP_centralization_large_effect = yes
# every_owned_state = {
# limit = {is_capital = yes}
# add_building_construction = {
# type = infrastructure
# level = 3
# instant_build = yes
# }
# }
# }
#}
country_event = {
id = BBA_ethiopia_balance_of_power_events.22
title = BBA_ethiopia_balance_of_power_events.22.t
desc = BBA_ethiopia_balance_of_power_events.22.desc
is_triggered_only = yes
picture = GFX_report_event_ETH_ethiopian_warriors
option = {
name = BBA_ethiopia_balance_of_power_events.22.a
ai_chance = {
base = 10
}
}
option = {
name = BBA_ethiopia_balance_of_power_events.22.b
ai_chance = {
base = 10
}
}
}
#Education Reforms - Communist
country_event = {
id = BBA_ethiopia_balance_of_power_events.23
title = BBA_ethiopia_balance_of_power_events.23.t
desc = BBA_ethiopia_balance_of_power_events.23.desc
is_triggered_only = yes
picture = GFX_report_event_generic_sign_treaty2
option = {
name = BBA_ethiopia_balance_of_power_events.23.a
ai_chance = {
base = 10
}
}
}
#Education Reforms - Anarchist
country_event = {
id = BBA_ethiopia_balance_of_power_events.24
title = BBA_ethiopia_balance_of_power_events.24.t
desc = BBA_ethiopia_balance_of_power_events.24.desc
is_triggered_only = yes
picture = GFX_report_event_generic_sign_treaty2
option = {
name = BBA_ethiopia_balance_of_power_events.24.a
ai_chance = {
base = 10
}
}
}
}
set_technology = { tech_military_police = 1 }
#set_technology = { #support_equipment = 1 }
}
}
}
# Safo recalled
unit_leader_event = {
id = BBA_ethiopia_balance_of_power_events.30
title = BBA_ethiopia_balance_of_power_events.30.t
desc = BBA_ethiopia_balance_of_power_events.30.desc
is_triggered_only = yes
option = {
name = BBA_ethiopia_balance_of_power_events.30.a
ai_chance = {
base = 10
}
ETH_balcho_safo = {
set_character_flag = safo_active_flag
}
random_owned_controlled_state = {
limit = {
is_core_of = ROOT
}
prioritize = { 837 }
create_unit = {
division = "name = \"Sidamo levies\"division_template
= \"Chitet Sefari\" start_experience_factor = 0.06 start_equipment_factor = 1
start_manpower_factor = 1"
owner = ROOT
allow_spawning_on_enemy_provs = no
count = 1
}
}
}
}
# BoP random events - trigger
#TODO_TA remove logging
country_event = {
id = BBA_ethiopia_balance_of_power_events.50
title = BBA_ethiopia_balance_of_power_events.50.t
desc = BBA_ethiopia_balance_of_power_events.50.desc
is_triggered_only = yes
hidden = yes
trigger = {
has_any_power_balance = yes
}
picture = GFX_report_event_ETH_ethiopian_warriors
immediate = {
# Re-trigger event in like 3 months time
country_event = {
id = BBA_ethiopia_balance_of_power_events.50
days = 179 # could be longer if it feels to spammy
random_days = 46 # use a bit here, to make it not feel too
railroaded
}
}
option = { # this one triggers only when not a GIE
name = BBA_ethiopia_balance_of_power_events.50.a
trigger = {
is_government_in_exile = no
}
random_list = {
# Do Nothing
35 = { # this should probably be somewhere between 25% and 50% of
the total weight (before any modifiers)
modifier = {
factor = 1.5
has_war = yes
}
log = "random event 1"
}
}
option = { # this one triggers only when a GIE - if things should be able to
happen - add them here
name = BBA_ethiopia_balance_of_power_events.50.a
trigger = {
is_government_in_exile = yes
}
random_list = {
# Do Nothing
20 = {
modifier = {
factor = 1.5
has_war = yes
}
log = "random event GIE 1"
}
}
}
}
option = {
name = BBA_ethiopia_balance_of_power_events.51.a
ai_chance = {
base = 10
}
ETH_BOP_decentralization_small_effect = yes
# in selected state:
var:ROOT.ETH_bop_state = {
create_unit = {
division = "division_template = \"Chitet Sefari\"
start_experience_factor = 0.01 start_equipment_factor = 1 start_manpower_factor =
1"
owner = ROOT
allow_spawning_on_enemy_provs = no
count = 1
}
add_to_variable = { ETH_state_independence = 1 } # for logging
for now
}
}
option = {
name = BBA_ethiopia_balance_of_power_events.51.b
ai_chance = {
base = 10
}
ETH_BOP_centralization_small_effect = yes
add_political_power = 25
add_command_power = 15
}
}
}
}
}
immediate = {
# get a random controlled state with building slots available
hidden_effect = {
random_owned_controlled_state = {
limit = {
is_core_of = ROOT
is_capital = no
state_is_fully_controlled_by_ROOT_or_subject = yes
free_building_slots = {
building = arms_factory
size > 1
include_locked = yes
}
}
set_variable = { ROOT.ETH_bop_state = THIS }
}
}
}
picture = GFX_report_event_generic_factory
option = {
name = BBA_ethiopia_balance_of_power_events.52.a
ai_chance = {
base = 10
}
ETH_BOP_decentralization_small_effect = yes
add_stability = -0.05
var:ROOT.ETH_bop_state = {
add_building_construction = {
type = industrial_complex
level = 1
instant_build = yes
}
add_extra_state_shared_building_slots = 1
add_to_variable = { ETH_state_independence = 1 } # for logging
for now
}
}
option = {
name = BBA_ethiopia_balance_of_power_events.52.b
ai_chance = {
base = 10
}
ETH_BOP_centralization_small_effect = yes
add_political_power = 50
add_popularity = {
ideology = ROOT
popularity = -0.05
}
}
}
}
}
}
immediate = {
# get a random controlled state with building slots available
hidden_effect = {
random_owned_controlled_state = {
limit = {
is_core_of = ROOT
is_capital = no
state_is_fully_controlled_by_ROOT_or_subject = yes
free_building_slots = {
building = arms_factory
size > 1
include_locked = yes
}
}
set_variable = { ROOT.ETH_bop_state = THIS }
}
}
}
picture = GFX_report_event_generic_rifles
option = {
name = BBA_ethiopia_balance_of_power_events.53.a
ai_chance = {
base = 10
}
ETH_BOP_decentralization_small_effect = yes
add_stability = -0.05
var:ROOT.ETH_bop_state = {
add_building_construction = {
type = arms_factory
level = 1
instant_build = yes
}
add_extra_state_shared_building_slots = 1
add_to_variable = { ETH_state_independence = 1 } # for logging
for now
}
}
option = {
name = BBA_ethiopia_balance_of_power_events.53.b
ai_chance = {
base = 10
}
ETH_BOP_centralization_small_effect = yes
add_command_power = 50
add_stability = 0.05
add_war_support = -0.02
}
}
####################################################
####################################################
option = {
name = BBA_ethiopia_exile_events.01.a
ai_chance = {
base = 10
}
# Give wargoal if not already at war
IF = {
limit = {
NOT = { has_war_with = ETH.ETH_occupier_country }
}
create_wargoal = {
type = liberate_wargoal
target = ETH.ETH_occupier_country
}
}
custom_effect_tooltip = ETH_can_call_allies_tt
# No need to actually set the global Flag, this is already done in the
focus, so just notify Host
}
}
option = {
name = BBA_ethiopia_exile_events.03.a
ai_chance = {
base = 10
}
}
}
option = {
name = BBA_ethiopia_exile_events.04.a
ai_chance = {
base = 10
}
RAJ_orde_wingate = {
set_nationality = ETH
}
}
}
option = {
name = BBA_ethiopia_exile_events.05.a
ai_chance = {
base = 10
}
RAJ_orde_wingate = {
set_nationality = RAJ
}
}
}
option = {
name = BBA_ethiopia_exile_events.06.a
ai_chance = {
base = 10
}
FROM = {
country_event = {
id = BBA_ethiopia_exile_events.07
days = 3
random_days = 5
}
}
}
option = {
name = BBA_ethiopia_exile_events.06.b
ai_chance = {
base = 1
}
add_political_power = -50
FROM = {
country_event = {
id = BBA_ethiopia_exile_events.08
days = 3
random_days = 5
}
}
}
}
# Ethiopia: Uk say yes
country_event = {
id = BBA_ethiopia_exile_events.07
title = BBA_ethiopia_exile_events.07.t
desc = BBA_ethiopia_exile_events.07.desc
is_triggered_only = yes
picture = GFX_report_event_generic_sign_treaty2
option = {
name = BBA_ethiopia_exile_events.07.a
ai_chance = {
base = 10
}
ROOT = { add_state_claim = 550 }
add_to_array = { ETH_promised_states_array = 550 }
550 = {
add_dynamic_modifier = {
modifier = ETH_arranged_expansion_modifier
}
}
}
}
# Ethiopia: Uk say no
country_event = {
id = BBA_ethiopia_exile_events.08
title = BBA_ethiopia_exile_events.08.t
desc = BBA_ethiopia_exile_events.08.desc
is_triggered_only = yes
picture = GFX_report_event_generic_sign_treaty2
option = {
name = BBA_ethiopia_exile_events.08.a
ai_chance = {
base = 10
}
}
}
# Brilliant Idea
option = {
name = BBA_ethiopia_exile_events.10.a
# Do we own any Somali state?
trigger = {
any_state = {
is_core_of = SOM
is_owned_by = ROOT
}
}
ai_chance = {
base = 4
}
FROM = {
country_event = {
id = BBA_ethiopia_exile_events.11
days = 3
random_days = 5
}
}
effect_tooltip = {
every_owned_state = {
limit = {
is_core_of = SOM
}
set_state_owner_to = FROM
}
every_state = {
limit = {
is_core_of = SOM
OWNER = { has_war_with = ROOT }
}
add_dynamic_modifier = {
modifier = ETH_arranged_expansion_modifier
}
FROM = { add_state_claim = PREV }
}
}
}
# yes, they can have the enemy's states
option = {
name = BBA_ethiopia_exile_events.10.b
trigger = {
# Is Ethiopia at war with anyone owning Somali states
any_state = {
is_core_of = SOM
any_country = {
has_war_with = ETH
PREV = { is_owned_by = PREV }
}
}
}
ai_chance = {
base = 10
}
FROM = {
country_event = {
id = BBA_ethiopia_exile_events.12
days = 3
random_days = 5
}
}
effect_tooltip = {
every_state = {
limit = {
is_core_of = SOM
OWNER = { has_war_with = ROOT }
}
add_dynamic_modifier = {
modifier = ETH_arranged_expansion_modifier
}
FROM = { add_state_claim = PREV }
}
}
}
# No
option = {
name = BBA_ethiopia_exile_events.10.c
ai_chance = {
base = 2
}
FROM = {
country_event = {
id = BBA_ethiopia_exile_events.13
days = 3
random_days = 5
}
}
}
}
option = {
name = BBA_ethiopia_exile_events.11.a
ai_chance = {
base = 10
}
every_state = {
limit = {
is_owned_by = FROM
is_core_of = SOM
}
# set_state_owner_to = ROOT
IF = {
limit = {
is_fully_controlled_by = FROM
ROOT = { is_government_in_exile = no }
}
ROOT = { transfer_state = PREV }
}
ELSE = {
add_dynamic_modifier = {
modifier = ETH_arranged_expansion_modifier
}
ROOT = {
add_state_claim = PREV
add_to_array = { ETH_promised_states_array = PREV }
}
}
}
every_state = {
limit = {
is_core_of = SOM
OWNER = { has_war_with = ROOT }
}
add_dynamic_modifier = {
modifier = ETH_arranged_expansion_modifier
}
ROOT = {
add_state_claim = PREV
add_to_array = { ETH_promised_states_array = PREV }
}
}
}
}
# Ethiopia: Uk say yes to handing over enemy Somali states
country_event = {
id = BBA_ethiopia_exile_events.12
title = BBA_ethiopia_exile_events.12.t
desc = BBA_ethiopia_exile_events.12.desc
is_triggered_only = yes
picture = GFX_report_event_generic_sign_treaty2
option = {
name = BBA_ethiopia_exile_events.12.a
ai_chance = {
base = 10
}
every_state = {
limit = {
is_core_of = SOM
OWNER = { has_war_with = ROOT }
}
add_dynamic_modifier = {
modifier = ETH_arranged_expansion_modifier
}
ROOT = {
add_state_claim = PREV
add_to_array = { ETH_promised_states_array = PREV }
}
}
}
}
option = {
name = BBA_ethiopia_exile_events.13.a
ai_chance = {
base = 10
}
}
}
option = {
name = BBA_ethiopia_exile_events.15.a
ai_chance = {
base = 10
}
454 = {
IF = {
limit = {
is_fully_controlled_by = FROM
ROOT = { is_government_in_exile = no }
}
ROOT = { transfer_state = PREV }
}
ELSE = {
add_dynamic_modifier = {
modifier = ETH_arranged_expansion_modifier
}
ROOT = {
add_state_claim = PREV
add_to_array = { ETH_promised_states_array = PREV }
}
}
}
}
}
# Ethiopia, the Uk refuses
country_event = {
id = BBA_ethiopia_exile_events.16
title = BBA_ethiopia_exile_events.16.t
desc = BBA_ethiopia_exile_events.16.desc
is_triggered_only = yes
picture = GFX_report_event_generic_sign_treaty1
option = {
name = BBA_ethiopia_exile_events.16.a
ai_chance = {
base = 10
}
#TODO_TA add opinion modifiers
}
}
option = {
name = BBA_ethiopia_exile_events.17.c
ai_chance = {
base = 10
}
trigger = {
has_navy_size = {
archetype = ship_hull_heavy
size > 5
}
}
custom_effect_tooltip = ETH_battleship_tt
transfer_ship = {
type = battleship
target = ETH
}
FROM = {
country_event = {
id = BBA_ethiopia_exile_events.20
hours = 2
random_hours = 4
}
}
}
option = {
name = BBA_ethiopia_exile_events.17.d
ai_chance = {
base = 10
}
trigger = {
has_navy_size = {
archetype = ship_hull_heavy
size < 6
}
has_navy_size = {
unit = destroyer
size < 11
}
}
ETH = {
add_tech_bonus = {
bonus = 0.5
uses = 3
category = dd_tech
category = cl_tech
category = ca_tech
category = bb_tech
}
}
FROM = {
country_event = {
id = BBA_ethiopia_exile_events.21
hours = 2
random_hours = 4
}
}
}
}
# Ethiopia, destroyers
country_event = {
id = BBA_ethiopia_exile_events.18
title = BBA_ethiopia_exile_events.18.t
desc = BBA_ethiopia_exile_events.18.desc
is_triggered_only = yes
picture = GFX_report_event_destroyers
option = {
name = BBA_ethiopia_exile_events.18.a
ai_chance = {
base = 10
}
#TODO_TA add opinion modifiers
}
}
# Ethiopia, cruisers
country_event = {
id = BBA_ethiopia_exile_events.19
title = BBA_ethiopia_exile_events.19.t
desc = BBA_ethiopia_exile_events.19.desc
is_triggered_only = yes
picture = GFX_report_event_usa_heavy_cruiser
option = {
name = BBA_ethiopia_exile_events.19.a
ai_chance = {
base = 10
}
}
}
# Ethiopia, Battleship
country_event = {
id = BBA_ethiopia_exile_events.20
title = BBA_ethiopia_exile_events.20.t
desc = BBA_ethiopia_exile_events.20.desc
is_triggered_only = yes
picture = GFX_report_event_japanese_reply
option = {
name = BBA_ethiopia_exile_events.20.a
ai_chance = {
base = 10
}
}
}
# Ethiopia, tech
country_event = {
id = BBA_ethiopia_exile_events.21
title = BBA_ethiopia_exile_events.21.t
desc = BBA_ethiopia_exile_events.21.desc
is_triggered_only = yes
picture = GFX_report_event_japanese_reply
option = {
name = BBA_ethiopia_exile_events.21.a
ai_chance = {
base = 10
}
}
}
}
set_variable = { ETH.japanese_island = THIS }
}
}
}
# Palau
option = {
name = BBA_ethiopia_exile_events.22.a
ai_chance = {
base = 10
}
trigger = {
647 = { is_fully_controlled_by = ROOT }
}
647 = { set_variable = { ETH.japanese_island = THIS } }
effect_tooltip = {
FROM = { transfer_state = 647 }
ROOT = { puppet = FROM }
ROOT = {
add_to_war = {
targeted_alliance = FROM
enemy = ITA
hostility_reason = asked_to_join
}
}
}
FROM = {
country_event = {
id = BBA_ethiopia_exile_events.23
days = 3
}
}
}
# Taiwan
option = {
name = BBA_ethiopia_exile_events.22.b
ai_chance = {
base = 10
}
trigger = {
524 = { is_fully_controlled_by = ROOT }
}
524 = { set_variable = { ETH.japanese_island = THIS } }
effect_tooltip = {
FROM = { transfer_state = 524 }
ROOT = { puppet = FROM }
ROOT = {
add_to_war = {
targeted_alliance = FROM
enemy = ITA
hostility_reason = asked_to_join
}
}
}
FROM = {
country_event = {
id = BBA_ethiopia_exile_events.23
days = 3
}
}
}
# Madagaskar is an island, right?
option = {
name = BBA_ethiopia_exile_events.22.c
ai_chance = {
base = 10
}
trigger = {
543 = { is_fully_controlled_by = ROOT }
}
543 = { set_variable = { ETH.japanese_island = THIS } }
effect_tooltip = {
FROM = { transfer_state = 543 }
ROOT = { puppet = FROM }
ROOT = {
add_to_war = {
targeted_alliance = FROM
enemy = ITA
hostility_reason = asked_to_join
}
}
}
FROM = {
country_event = {
id = BBA_ethiopia_exile_events.23
days = 3
}
}
}
# Something smaller
option = {
name = BBA_ethiopia_exile_events.22.d
ai_chance = {
base = 10
}
trigger = {
543 = { NOT = { is_fully_controlled_by = ROOT } }
422 = { NOT = { is_fully_controlled_by = ROOT } }
281 = { NOT = { is_fully_controlled_by = ROOT } }
709 = { NOT = { is_fully_controlled_by = ROOT } }
}
effect_tooltip = {
FROM = { transfer_state = ETH.japanese_island }
ROOT = { puppet = FROM }
ROOT = {
add_to_war = {
targeted_alliance = FROM
enemy = ITA
hostility_reason = asked_to_join
}
}
}
FROM = {
country_event = {
id = BBA_ethiopia_exile_events.23
days = 3
}
}
}
# A brittish island will do fine
option = {
name = BBA_ethiopia_exile_events.22.e
ai_chance = {
base = 10
}
trigger = {
OR = {
422 = { is_fully_controlled_by = ROOT }
281 = { is_fully_controlled_by = ROOT }
709 = { is_fully_controlled_by = ROOT }
}
}
IF = {
limit = { 422 = { is_fully_controlled_by = ROOT } }
422 = { set_variable = { ETH.japanese_island = THIS } }
}
ELSE_IF = {
limit = { 281 = { is_fully_controlled_by = ROOT } }
281 = { set_variable = { ETH.japanese_island = THIS } }
}
ELSE = {
709 = { set_variable = { ETH.japanese_island = THIS } }
}
effect_tooltip = {
FROM = { transfer_state = ETH.japanese_island }
ROOT = { puppet = FROM }
ROOT = {
add_to_war = {
targeted_alliance = FROM
enemy = ITA
hostility_reason = asked_to_join
}
}
}
FROM = {
country_event = {
id = BBA_ethiopia_exile_events.23
days = 3
}
}
}
}
# For Ethiopia
country_event = {
id = BBA_ethiopia_exile_events.23
title = BBA_ethiopia_exile_events.23.t
desc = BBA_ethiopia_exile_events.23.desc
is_triggered_only = yes
picture = GFX_report_event_generic_read_write
option = {
name = BBA_ethiopia_exile_events.23.a
ai_chance = {
base = 10
}
ROOT = { transfer_state = ETH.japanese_island }
effect_tooltip = {
FROM = { puppet = ROOT }
FROM = {
add_to_war = {
targeted_alliance = ROOT
enemy = ITA
hostility_reason = asked_to_join
}
}
}
hidden_effect = {
set_temp_variable = { temp_neutrality =
ETH.party_popularity_100@neutrality}
set_temp_variable = { temp_fascism =
ETH.party_popularity_100@fascism}
set_temp_variable = { temp_democratic =
ETH.party_popularity_100@democratic}
set_temp_variable = { temp_communism =
ETH.party_popularity_100@communism}
option = {
name = BBA_ethiopia_exile_events.24.a
ai_chance = {
base = 10
}
every_state = {
limit = {
has_dynamic_modifier = { modifier =
ETH_arranged_expansion_modifier }
}
}
custom_effect_tooltip = ETH_transfer_states_tt
}
}
# At least we tried
option = {
name = BBA_ethiopia_exile_events.31.a
ai_chance = {
base = 10
}
}
}
# good idea
option = {
name = BBA_ethiopia_exile_events.32.a
ai_chance = {
base = 10
}
add_to_faction = FROM
add_to_faction = FROM.FROM
FROM = {
country_event = {
id = BBA_ethiopia_exile_events.34
hours = 4
random_hours = 8
}
}
FROM.FROM = {
country_event = {
id = BBA_ethiopia_exile_events.34
hours = 4
random_hours = 8
}
}
}
# no
option = {
name = BBA_ethiopia_exile_events.32.b
ai_chance = {
base = 0
}
FROM = {
country_event = {
id = BBA_ethiopia_exile_events.33
hours = 4
random_hours = 8
}
}
FROM.FROM = {
country_event = {
id = BBA_ethiopia_exile_events.33
hours = 4
random_hours = 8
}
}
}
}
# At least we tried
option = {
name = BBA_ethiopia_exile_events.33.a
ai_chance = {
base = 10
}
}
}
# For Sweden and Ethiopia - Faction Leader says yes
country_event = {
id = BBA_ethiopia_exile_events.34
title = BBA_ethiopia_exile_events.34.t
desc = BBA_ethiopia_exile_events.34.desc
is_triggered_only = yes
picture = GFX_report_event_generic_sign_treaty1
# At least we tried
option = {
name = BBA_ethiopia_exile_events.34.a
ai_chance = {
base = 10
}
}
}
# GERMANY EXILE
# For Germany, Ethiopia Requests Mendiation
country_event = {
id = BBA_ethiopia_exile_events.40
title = BBA_ethiopia_exile_events.40.t
desc = BBA_ethiopia_exile_events.40.desc
is_triggered_only = yes
picture = GFX_report_event_military_planning
immediate = {
hidden_effect = {
# just in case the Ethiopia asking for protection is no longer
tag = ETH
set_variable = { global.ETH_peace_country = FROM }
}
}
# Ok, then.
option = {
name = BBA_ethiopia_exile_events.42.a
ai_chance = {
base = 10
}
#TODO_TA Add points to the Peace conference score
FROM = { set_country_flag = ITA_gets_more_flag }
FROM = {
country_event = {
id = BBA_ethiopia_exile_events.43
hours = 4
random_hours = 8
}
}
# Ok, then.
option = {
name = BBA_ethiopia_exile_events.43.a
ai_chance = {
base = 10
}
FROM = {
country_event = {
id = BBA_ethiopia_exile_events.48
hours = 4
random_hours = 8
}
}
}
}
# oops
option = {
name = BBA_ethiopia_exile_events.44.a
ai_chance = {
base = 10
}
}
is_triggered_only = yes
picture = GFX_report_event_generic_handshake
# What the?
option = {
name = BBA_ethiopia_exile_events.46.a
ai_chance = {
base = 10
}
clear_variable = global.ETH_peace_country
}
# Du är dumdålig!
option = {
name = BBA_ethiopia_exile_events.47.a
ai_chance = {
base = 10
}
ROOT = {
create_wargoal = {
type = puppet_wargoal_focus
target = FROM
}
}
var:global.ETH_peace_country = {
country_event = {
id = BBA_ethiopia_exile_events.46
hours = 4
random_hours = 8
}
}
}
}
# Oh
option = {
name = BBA_ethiopia_exile_events.50.a
ai_chance = {
base = 10
}
add_opinion_modifier = {
target = ITA
modifier = ETH_false_flag_border_incident
}
# Great
option = {
name = BBA_ethiopia_exile_events.52.a
ai_chance = {
base = 10
}
}
}
#Lobby Support
country_event = {
id = BBA_ethiopia_exile_events.53
title = BBA_ethiopia_exile_events.53.t
desc = BBA_ethiopia_exile_events.53.desc
is_triggered_only = yes
picture = GFX_report_event_generic_rally_3
# Great
option = {
name = BBA_ethiopia_exile_events.53.a
ai_chance = {
base = 10
}
}
}
#Fundraising
country_event = {
id = BBA_ethiopia_exile_events.54
title = BBA_ethiopia_exile_events.54.t
desc = BBA_ethiopia_exile_events.54.desc
is_triggered_only = yes
picture = GFX_report_event_generic_sign_treaty1
# Great
option = {
name = BBA_ethiopia_exile_events.54.a
ai_chance = {
base = 10
}
}
}
#Mercs
country_event = {
id = BBA_ethiopia_exile_events.55
title = BBA_ethiopia_exile_events.55.t
desc = BBA_ethiopia_exile_events.55.desc
is_triggered_only = yes
picture = GFX_report_event_generic_army
# Great
option = {
name = BBA_ethiopia_exile_events.55.a
ai_chance = {
base = 10
}
}
}
#Pilots
country_event = {
id = BBA_ethiopia_exile_events.56
title = BBA_ethiopia_exile_events.56.t
desc = BBA_ethiopia_exile_events.56.desc
is_triggered_only = yes
picture = GFX_report_event_generic_bombers
# Great
option = {
name = BBA_ethiopia_exile_events.56.a
ai_chance = {
base = 10
}
}
}
#Ships
country_event = {
id = BBA_ethiopia_exile_events.57
title = BBA_ethiopia_exile_events.57.t
desc = BBA_ethiopia_exile_events.57.desc
is_triggered_only = yes
picture = GFX_report_event_sailors_in_working_rig
# Great
option = {
name = BBA_ethiopia_exile_events.57.a
ai_chance = {
base = 10
}
}
}
#Rifles
country_event = {
id = BBA_ethiopia_exile_events.58
title = BBA_ethiopia_exile_events.58.t
desc = BBA_ethiopia_exile_events.58.desc
is_triggered_only = yes
picture = GFX_report_event_generic_rifles
# Great
option = {
name = BBA_ethiopia_exile_events.58.a
ai_chance = {
base = 10
}
}
}
#Support Equipment
country_event = {
id = BBA_ethiopia_exile_events.59
title = BBA_ethiopia_exile_events.59.t
desc = BBA_ethiopia_exile_events.59.desc
is_triggered_only = yes
picture = GFX_report_event_generic_rifles
# Great
option = {
name = BBA_ethiopia_exile_events.59.a
ai_chance = {
base = 10
}
}
}
#Tanks
country_event = {
id = BBA_ethiopia_exile_events.60
title = BBA_ethiopia_exile_events.60.t
desc = BBA_ethiopia_exile_events.60.desc
is_triggered_only = yes
picture = GFX_report_event_generic_lend_lease
# Great
option = {
name = BBA_ethiopia_exile_events.60.a
ai_chance = {
base = 10
}
}
}
###################################################################
# Great
option = {
name = BBA_ethiopia_imperial_events.2.a
ai_chance = {
base = 10
}
add_timed_idea = {
idea = ETH_djibouti_purchase_idea
days = 730
}
IF = {
limit = {
268 = { is_fully_controlled_by = FROM } # Don't change
control if someone else controls it, in case they are at war with Ethiopia too
}
ROOT = { transfer_state = 268 }
}
ELSE = {
268 = { set_state_owner_to = ROOT }
}
}
}
# Sad
option = {
name = BBA_ethiopia_imperial_events.3.a
ai_chance = {
base = 10
}
}
}
# Rastafarian events
# To owner of jamaica asking for state
country_event = {
id = BBA_ethiopia_imperial_events.4
title = BBA_ethiopia_imperial_events.4.t
desc = BBA_ethiopia_imperial_events.4.desc
is_triggered_only = yes
picture = GFX_report_event_generic_sign_treaty1
# We'll join
option = {
name = BBA_ethiopia_imperial_events.4.b
trigger = {
689 = { is_core_of = ROOT }
}
ai_chance = {
base = 5
modifier = {
factor = 0
has_war_with = FROM
}
}
effect_tooltip = { FROM = { transfer_state = 689 } }
FROM = {
country_event = {
id = BBA_ethiopia_imperial_events.5
hours = 4
random_hours = 8
}
}
}
# No
option = {
name = BBA_ethiopia_imperial_events.4.c
ai_chance = {
base = 1
}
FROM = {
country_event = {
id = BBA_ethiopia_imperial_events.6
hours = 4
random_hours = 8
}
}
}
}
# cool
option = {
name = BBA_ethiopia_imperial_events.5.a
ai_chance = {
base = 10
}
ROOT = { transfer_state = 689 }
}
# Angy
option = {
name = BBA_ethiopia_imperial_events.6.a
ai_chance = {
base = 10
}
create_wargoal = {
type = take_claimed_state
target = FROM
generator = { 689 }
}
}
}
country_event = {
id = BBA_ethiopia_imperial_events.7
title = BBA_ethiopia_imperial_events.7.t
desc = BBA_ethiopia_imperial_events.7.desc
is_triggered_only = yes
picture = GFX_report_event_generic_sign_treaty1
immediate = {
# Set negative opinion modifier
set_variable = { inverse_opinion = ROOT.opinion@FROM }
multiply_variable = { inverse_opinion = -1}
}
# Yes, I suppose
option = {
name = BBA_ethiopia_imperial_events.7.a
ai_chance = {
base = 100
modifier = {
add = ROOT.opinion@FROM
always = yes
}
modifier = {
factor = 1.5
is_in_faction_with = FROM
}
modifier = {
factor = 0
OR = {
has_war_with = FROM
is_faction_leader = yes
}
}
}
FROM = {
country_event = {
id = BBA_ethiopia_imperial_events.8
hours = 4
random_hours = 8
}
}
effect_tooltip = {
FROM = { puppet = ROOT }
}
}
# NO
option = {
name = BBA_ethiopia_imperial_events.7.b
ai_chance = {
base = 100
modifier = {
add = inverse_opinion
always = yes
}
modifier = {
factor = 1.5
NOT = { is_in_faction_with = FROM }
is_in_faction = yes
}
}
FROM = {
country_event = {
id = BBA_ethiopia_imperial_events.9
hours = 4
random_hours = 8
}
}
clear_variable = inverse_opinion
}
# cool
option = {
name = BBA_ethiopia_imperial_events.8.a
ai_chance = {
base = 10
}
puppet = FROM
}
# Ah well
option = {
name = BBA_ethiopia_imperial_events.9.a
ai_chance = {
base = 10
}
}
}
# Accept
option = {
name = BBA_ethiopia_imperial_events.10.a
ai_chance = {
base = 10
}
FROM = {
country_event = {
id = BBA_ethiopia_imperial_events.12
hours = 12
}
}
}
# Refuse
option = {
name = BBA_ethiopia_imperial_events.10.b
ai_chance = {
base = 0
}
FROM = {
country_event = {
id = BBA_ethiopia_imperial_events.11
hours = 12
}
}
}
}
# Great
option = {
name = BBA_ethiopia_imperial_events.12.a
ai_chance = {
base = 10
}
annex_country = {
target = FROM
transfer_troops = no
}
}
}
# Democratic Coup
unit_leader_event = {
id = BBA_ethiopia_imperial_events.20
title = BBA_ethiopia_imperial_events.20.t
desc = BBA_ethiopia_imperial_events.20.desc
is_triggered_only = yes
# Ok
option = {
name = BBA_ethiopia_imperial_events.21.a
ai_chance = {
base = 10
}
custom_effect_tooltip = ETH_imperial_event_21_tt
}
}
##############################################################################
##############################################################################
# Class of 36
country_event = {
id = BBA_ethiopia_military_and_tech_events.1
title = BBA_ethiopia_military_and_tech_events.1.t
desc = {
text = BBA_ethiopia_military_and_tech_events.1_war.desc
trigger = {
has_war = yes
}
}
desc = {
text = BBA_ethiopia_military_and_tech_events.1_peace.desc
trigger = {
has_war = no
}
}
is_triggered_only = yes
picture = GFX_report_event_chinese_army_training
# Offense
option = {
name = BBA_ethiopia_military_and_tech_events.1.a
ai_chance = {
base = 10
}
IF = {
limit = { has_dlc = "No Step Back" }
add_ideas = bold_attack_spirit
}
custom_effect_tooltip = ETH_ecole_attack_tt # Tooltip for Effect in
Dynamic Modifier
add_to_variable =
{ ETH_army_modifier_army_sub_unit_infantry_attack_factor = 0.1 } #
add_to_variable =
{ ETH_army_modifier_army_sub_unit_irregular_infantry_attack_factor = 0.1 } #
ETH_improve_army_spirit_effect = yes
}
# Defense
option = {
name = BBA_ethiopia_military_and_tech_events.1.b
ai_chance = {
base = 5
}
IF = {
limit = { has_dlc = "No Step Back" }
add_ideas = tenacious_defense_spirit
}
custom_effect_tooltip = ETH_ecole_defense_tt # Tooltip for Effect in
Dynamic Modifier
add_to_variable = { ETH_army_army_defence_factor = 0.05 } #
ETH_improve_army_spirit_effect = yes
}
# Other
option = {
name = BBA_ethiopia_military_and_tech_events.1.c
ai_chance = {
base = 0
}
IF = {
limit = { has_dlc = "No Step Back" }
add_ideas = meticulous_preparation_spirit
}
custom_effect_tooltip = ETH_ecole_learn_tt # Tooltip for Effect in
Dynamic Modifier
add_to_variable = { ETH_army_experience_gain_army_factor = 0.05 } #
ETH_improve_army_spirit_effect = yes
}
}
#######################################################################
#######################################################################
# Hidden event for IND WAR country to dispatch intervention event to opponent
country_event = {
id = BBA_ethiopia_anti_colonialism_events.1
title = BBA_ethiopia_anti_colonialism_events.1.t
desc = BBA_ethiopia_anti_colonialism_events.1.desc
is_triggered_only = yes
hidden = yes
option = {
name = BBA_ethiopia_anti_colonialism_events.1.a
ai_chance = {
base = 10
}
var:previous_overlord = {
country_event = {
id = BBA_ethiopia_anti_colonialism_events.2
hours = 1 # For testing
}
}
set_variable = { global.african_revolt_country = ROOT } # This country
set_variable = { global.african_supporting_country = FROM } #
Instigator (Ethiopia in standard case)
set_variable = { global.african_colonial_country =
var:previous_overlord }
}
}
}
# no we refuse
option = {
name = BBA_ethiopia_anti_colonialism_events.2.b
ai_chance = {
base = 10
}
var:global.african_supporting_country = { # Ethiopia in this case
country_event = {
id = BBA_ethiopia_anti_colonialism_events.4
hours = 2 # For testing
}
}
}
}
# For former colony: Freedom
country_event = {
id = BBA_ethiopia_anti_colonialism_events.3
title = BBA_ethiopia_anti_colonialism_events.3.t
desc = BBA_ethiopia_anti_colonialism_events.3.desc
is_triggered_only = yes
picture = GFX_report_event_generic_sign_treaty2
option = {
name = BBA_ethiopia_anti_colonialism_events.3.a
ai_chance = {
base = 10
}
var:global.african_supporting_country = { # Ethiopia in this case
country_event = {
id = BBA_ethiopia_anti_colonialism_events.6
hours = 1 # For testing
}
}
white_peace = FROM # Colonial Power
every_other_country = {
limit = {
is_in_faction_with = FROM
has_war_with = ROOT
}
white_peace = ROOT
}
# Join Ethiopia's faction if they have any
IF = {
limit = {
var:global.african_supporting_country = { is_faction_leader
= yes }
ROOT = { is_in_faction = no }
}
var:global.african_supporting_country = { add_to_faction = ROOT }
}
}
}
# For Ethiopia: Colonial Power Refuses
country_event = {
id = BBA_ethiopia_anti_colonialism_events.4
title = BBA_ethiopia_anti_colonialism_events.4.t
desc = BBA_ethiopia_anti_colonialism_events.4.desc
is_triggered_only = yes
picture = GFX_report_event_soldiers_marching
# Too bad
option = {
name = BBA_ethiopia_anti_colonialism_events.4.a
ai_chance = {
base = 10
}
add_war_support = -0.05
add_popularity = {
ideology = ROOT
popularity = -0.05
}
ETH = {
clr_country_flag = ETH_currently_demanding_peace_flag
}
clear_variable = global.african_revolt_country
clear_variable = global.african_supporting_country
clear_variable = global.african_colonial_country
}
# Declare War
option = {
name = BBA_ethiopia_anti_colonialism_events.4.b
ai_chance = {
base = 10
}
add_war_support = 0.05
add_popularity = {
ideology = ROOT
popularity = 0.05
}
declare_war_on = {
target = FROM
type = liberate_wargoal
}
IF = {
limit = {
ROOT = { is_faction_leader = yes }
var:global.african_revolt_country = { is_in_faction = no }
}
add_to_faction = var:global.african_revolt_country
}
var:global.african_revolt_country = {
country_event = {
id = BBA_ethiopia_anti_colonialism_events.5
hours = 1
}
}
}
}
picture = GFX_report_event_generic_battle
option = {
name = BBA_ethiopia_anti_colonialism_events.5.a
ai_chance = {
base = 10
}
ETH = {
clr_country_flag = ETH_currently_demanding_peace_flag
}
clear_variable = global.african_revolt_country
clear_variable = global.african_supporting_country
clear_variable = global.african_colonial_country
}
}
picture = GFX_report_event_generic_sign_treaty2
option = {
name = BBA_ethiopia_anti_colonialism_events.6.a
ai_chance = {
base = 10
}
ETH = {
clr_country_flag = ETH_currently_demanding_peace_flag
}
clear_variable = global.african_revolt_country
clear_variable = global.african_supporting_country
clear_variable = global.african_colonial_country
}
}
###########################################################################
###########################################################################
country_event = {
id = BBA_ethiopia_industrial_financial_events.1
title = BBA_ethiopia_industrial_financial_events.1.t
desc = BBA_ethiopia_industrial_financial_events.1.desc
is_triggered_only = yes
# picture = GFX_report_event_spr_anarchists2 #TODO_TA set correct image
hidden = yes
option = {
name = BBA_ethiopia_industrial_financial_events.1.a
ai_chance = {
base = 10
}
IF = {
limit = { ETH_bop_is_mesafint_influence_or_higher = yes }
random_list = {
10 = {
modifier = {
factor = 0
all_owned_state = { has_state_flag =
ETH_state_grown_flag }
}
log = "random 1: State Grows"
random_owned_controlled_state = {
limit = {
is_core_of = ROOT
NOT = { has_state_flag =
ETH_state_grown_flag }
}
set_variable = {
ETH.ETH_local_state = THIS
}
}
activate_mission =
ETH_local_development_state_grows_mission
}
10 = {
modifier = {
factor = 0
all_owned_state = {
OR = {
has_state_flag =
ETH_industry_grown_flag
free_building_slots = {
building = industrial_complex
size < 1
include_locked = no
}
}
}
}
log = "random 2: Industry "
random_owned_controlled_state = {
limit = {
is_core_of = ROOT
NOT = { has_state_flag =
ETH_industry_grown_flag }
free_building_slots = {
building = industrial_complex
size > 0
include_locked = no
}
}
set_variable = {
ETH.ETH_local_state = THIS
}
}
activate_mission =
ETH_local_development_industry_grows_mission
}
10 = {
modifier = {
factor = 0
all_owned_state = {
OR = {
has_state_flag =
ETH_industry_grown_flag
free_building_slots = {
building = industrial_complex
size < 1
include_locked = no
}
}
}
}
log = "random 3: weapons manufactory "
random_owned_controlled_state = {
limit = {
is_core_of = ROOT
NOT = { has_state_flag =
ETH_industry_grown_flag }
free_building_slots = {
building = arms_factory
size > 0
include_locked = no
}
}
set_variable = {
ETH.ETH_local_state = THIS
}
}
activate_mission =
ETH_local_development_arms_industry_grows_mission
}
10 = {
modifier = {
factor = 0
all_owned_state = { has_state_flag =
ETH_production_increased_flag }
}
log = "random 4"
random_owned_controlled_state = {
limit = {
is_core_of = ROOT
NOT = { has_state_flag =
ETH_production_increased_flag }
}
set_variable = {
ETH.ETH_local_state = THIS
}
}
activate_mission =
ETH_local_development_improved_production_mission
}
}
}
country_event = {
id = BBA_ethiopia_industrial_financial_events.1
days = 150
random_days = 40
}
}
}
picture = GFX_report_event_generic_peaceful_annexation
# They refuse
country_event = {
id = BBA_ethiopia_industrial_financial_events.3
title = BBA_ethiopia_industrial_financial_events.3.t
desc = BBA_ethiopia_industrial_financial_events.3.desc
is_triggered_only = yes
picture = GFX_report_event_generic_peaceful_annexation
option = {
name = BBA_ethiopia_industrial_financial_events.3.a
ai_chance = {
base = 10
}
create_wargoal = {
type = annex_everything
target = FROM
}
}
}
# They want to retain Autonomy
country_event = {
id = BBA_ethiopia_industrial_financial_events.4
title = BBA_ethiopia_industrial_financial_events.4.t
desc = BBA_ethiopia_industrial_financial_events.4.desc
is_triggered_only = yes
picture = GFX_report_event_generic_peaceful_annexation
option = {
name = BBA_ethiopia_industrial_financial_events.4.a
ai_chance = {
base = 10
}
puppet = FROM
}
}
picture = GFX_report_event_generic_peaceful_annexation
option = {
name = BBA_ethiopia_industrial_financial_events.5.a
ai_chance = {
base = 10
}
annex_country = {
target = FROM
transfer_troops = yes
}
}
}
############################################################
############################################################
set_country_flag = gugsa_rising_planned_flag
mark_focus_tree_layout_dirty = yes
}
# Haliu Tekle Hayamot
option = {
name = BBA_ethiopia_fascist_events.01.b
ai_chance = {
base = 5
}
ITA = {
country_event = {
id = BBA_ethiopia_fascist_events.03
hours = 4
random_hours = 4
}
}
custom_effect_tooltip = if_they_accept_tt
custom_effect_tooltip = ETH_start_civil_war_gojjam
custom_effect_tooltip = ETH_cede_states_tt
# cede Sidamo, Bale, Illubabor
custom_effect_tooltip = ETH_cede_south_west_tt
custom_effect_tooltip = ETH_gojjam_italian_puppet_tt
set_country_flag = hayamot_rising_planned_flag
mark_focus_tree_layout_dirty = yes
}
# Abba Jofir
option = {
name = BBA_ethiopia_fascist_events.01.c
ai_chance = {
base = 5
}
ITA = {
country_event = {
id = BBA_ethiopia_fascist_events.04
hours = 4
random_hours = 4
}
}
custom_effect_tooltip = if_they_accept_tt
custom_effect_tooltip = ETH_start_civil_war_jimma
custom_effect_tooltip = ETH_cede_states_tt
# cede Tigray, Wello and Begemder
custom_effect_tooltip = ETH_cede_north_tt
custom_effect_tooltip = ETH_jimma_italian_puppet_tt
set_country_flag = jofir_rising_planned_flag
mark_focus_tree_layout_dirty = yes
}
}
}
FROM = {
country_event = {
id = BBA_ethiopia_fascist_events.06
hours = 4
random_hours = 4
}
}
}
}
FROM = {
country_event = {
id = BBA_ethiopia_fascist_events.06
hours = 4
random_hours = 4
}
}
}
}
FROM = {
country_event = {
id = BBA_ethiopia_fascist_events.06
hours = 4
random_hours = 4
}
}
}
IF = {
limit = { # Gugsa rising up
has_country_flag = gugsa_rising_planned_flag
}
IF = {
limit = {
842 = { NOT = { is_controlled_by = ROOT } } # Tigray
}
842 = {
set_state_controller_to = ROOT
}
}
set_capital = {
state = 842
remember_old_capital = yes
}
}
ELSE_IF = {
limit = { # Hayamot rising up
has_country_flag = hayamot_rising_planned_flag
}
IF = {
limit = {
840 = { NOT = { is_controlled_by = ROOT } }
}
840 = {
set_state_controller_to = ROOT
}
}
set_capital = {
state = 840
remember_old_capital = no
}
ETH_promote_ETH_hailu_tekle_haymanot = yes
set_party_name = {
ideology = fascism
long_name = ETH_gojjam_haymanot_fascism_party_long
name = ETH_gojjam_haymanot_fascism_party
}
}
ELSE_IF = {
limit = { # Jofir rising up
has_country_flag = jofir_rising_planned_flag
}
IF = {
limit = {
838 = { NOT = { is_controlled_by = ROOT } }
}
838 = {
set_state_controller_to = ROOT
}
}
add_victory_points = {
province = 7912
value = 6
}
set_capital = {
state = 838
remember_old_capital = no
}
ETH_promote_ETH_abba_jofir = yes
set_party_name = {
ideology = fascism
long_name = ETH_jimma_jofir_fascism_party_long
name = ETH_jimma_jofir_fascism_party
}
}
start_civil_war = {
ideology = neutrality
ruling_party = fascism
size = ETH_civil_war_size
army_ratio = ETH_civil_war_army
capital = 271
keep_political_leader = no
keep_political_party_members = no
# Haile Selassie
uncomplete_national_focus = {
focus = ETH_reach_out_to_the_italians
uncomplete_children = yes
}
complete_national_focus = ETH_rally_around_the_emperor
hidden_effect = {
IF = {
limit = {
ETH = { has_character = ETH_ayalew_birru }
}
ETH = { ETH_ayalew_birru = { set_nationality =
PREV.PREV } }
}
IF = {
limit = {
ETH = { has_character = ETH_beyene_merid }
}
ETH = { ETH_beyene_merid = { set_nationality =
PREV.PREV } }
}
IF = {
limit = {
ETH = { has_character = ETH_balcho_safo }
}
ETH = { ETH_balcho_safo = { set_nationality =
PREV.PREV } }
}
# Set up Dynamic Modifiers for Haile Selassie
add_dynamic_modifier = {
modifier = ETH_army_1_dynamic_modifier
}
set_variable = { ETH_army_max_dig_in_factor =
ETH.ETH_army_max_dig_in_factor }
set_variable = { ETH_army_dig_in_speed_factor =
ETH.ETH_army_dig_in_speed_factor }
set_variable = { ETH_army_experience_gain_army_factor =
ETH.ETH_army_experience_gain_army_factor }
set_variable = { ETH_army_army_defence_factor =
ETH.ETH_army_army_defence_factor }
set_variable = { ETH_army_army_org_factor =
ETH.ETH_army_army_org_factor }
set_variable =
{ ETH_army_modifier_army_sub_unit_infantry_attack_factor =
ETH.ETH_army_modifier_army_sub_unit_infantry_attack_factor }
set_variable =
{ ETH_army_modifier_army_sub_unit_infantry_defence_factor =
ETH.ETH_army_modifier_army_sub_unit_infantry_defence_factor }
set_variable =
{ ETH_army_modifier_army_sub_unit_infantry_speed_factor =
ETH.ETH_army_modifier_army_sub_unit_infantry_speed_factor }
set_variable =
{ ETH_army_modifier_army_sub_unit_irregular_infantry_attack_factor =
ETH.ETH_army_modifier_army_sub_unit_irregular_infantry_attack_factor }
set_variable = { ETH_army_supply_consumption_factor =
ETH.ETH_army_supply_consumption_factor }
set_variable = { ETH_army_cas_damage_reduction =
ETH.ETH_army_cas_damage_reduction }
set_variable = { ETH_army_equipment_capture_factor =
ETH.ETH_army_equipment_capture_factor }
set_variable =
{ ETH_modifier_army_sub_unit_irregular_infantry_defence_factor =
ETH.ETH_modifier_army_sub_unit_irregular_infantry_defence_factor }
set_variable =
{ ETH_modifier_army_sub_unit_irregular_infantry_speed_factor =
ETH.ETH_modifier_army_sub_unit_irregular_infantry_speed_factor }
set_variable =
{ ETH_modifier_army_sub_unit_irregular_infantry_max_org_factor =
ETH.ETH_modifier_army_sub_unit_irregular_infantry_max_org_factor }
add_dynamic_modifier = {
modifier = ETH_navy_1_dynamic_modifier
}
set_variable = { ETH_navy_repair_speed_factor =
ETH.ETH_navy_repair_speed_factor }
set_variable = { ETH_navy_naval_doctrine_cost_factor =
ETH.ETH_navy_naval_doctrine_cost_factor }
set_variable = { ETH_navy_refit_ic_cost =
ETH.ETH_navy_refit_ic_cost }
add_dynamic_modifier = {
modifier = ETH_airforce_1_dynamic_modifier
}
set_variable =
{ ETH_airforce_enemy_army_bonus_air_superiority_factor =
ETH.ETH_airforce_enemy_army_bonus_air_superiority_factor }
set_variable = { ETH_airforce_air_doctrine_cost_factor =
ETH.ETH_airforce_air_doctrine_cost_factor }
set_variable = { ETH_airforce_air_accidents_factor =
ETH.ETH_airforce_air_accidents_factor }
set_variable = { ETH_airforce_air_attack_factor =
ETH.ETH_airforce_air_attack_factor }
add_dynamic_modifier = {
modifier = ETH_corrupt_bureaucracy_dynamic_modifier
}
set_variable = { ETH_bureaucracy_research_speed_factor =
ETH.ETH_bureaucracy_research_speed_factor}
set_variable =
{ ETH_bureaucracy_production_speed_buildings_factor =
ETH.ETH_bureaucracy_production_speed_buildings_factor}
set_variable =
{ ETH_bureaucracy_production_factory_max_efficiency_factor =
ETH.ETH_bureaucracy_production_factory_max_efficiency_factor}
add_dynamic_modifier = {
modifier = ETH_industrialization_dynamic_modifier
}
set_variable =
{ ETH_industrialization_industrial_capacity_dockyard =
ETH.ETH_industrialization_industrial_capacity_dockyard }
set_variable =
{ ETH_industrialization_industrial_capacity_factory =
ETH.ETH_industrialization_industrial_capacity_factory }
set_variable =
{ ETH_industrialization_line_change_production_efficiency_factor =
ETH.ETH_industrialization_line_change_production_efficiency_factor }
set_variable =
{ ETH_industrialization_consumer_goods_factor =
ETH.ETH_industrialization_consumer_goods_factor }
set_variable =
{ ETH_industrialization_industry_air_damage_factor =
ETH.ETH_industrialization_industry_air_damage_factor }
set_variable =
{ ETH_industrialization_industry_repair_factor =
ETH.ETH_industrialization_industry_repair_factor }
set_variable =
{ ETH_production_factory_max_efficiency_factor =
ETH.ETH_production_factory_max_efficiency_factor }
set_variable = { ETH_air_equipment_upgrade_xp_cost =
ETH.ETH_air_equipment_upgrade_xp_cost }
set_variable = { ETH_land_equipment_upgrade_xp_cost =
ETH.ETH_land_equipment_upgrade_xp_cost }
set_variable = { ETH_production_speed_buildings_factor =
ETH.ETH_production_speed_buildings_factor }
add_dynamic_modifier = {
modifier =
ETH_international_red_cross_dynamic_modifier
}
set_variable = { ETH_irc_morale_factor =
ETH.ETH_irc_morale_factor }
set_variable =
{ ETH_irc_enemy_army_bonus_air_superiority_factor =
ETH.ETH_irc_enemy_army_bonus_air_superiority_factor }
}
}
IF = {
limit = { # hayamot rising up
has_country_flag = hayamot_rising_planned_flag
}
set_cosmetic_tag = gojjam
}
ELSE_IF = {
limit = { # Jofir rising up
has_country_flag = jofir_rising_planned_flag
}
set_cosmetic_tag = jimma
}
IF = {
limit = { has_dlc = "Death or Dishonor" }
ITA = {
set_autonomy = {
target = ROOT
autonomy_state = autonomy_reichsprotectorate
freedom_level = 0.75
end_wars = no
end_civil_wars = no
}
}
}
ELSE = {
ITA = { puppet = ROOT }
}
every_state = {
limit = {
is_core_of = ETH
OR = {
is_controlled_by = ITA
is_controlled_by = ETH
}
}
set_state_controller_to = ETH
}
add_ideas = ETH_victor_emanuel_of_ethiopia_idea
hidden_effect = {
# Remove Red Cross - they stay with haile Selassie
ETH = {
remove_dynamic_modifier = {
modifier =
ETH_international_red_cross_dynamic_modifier
}
}
}
IF = {
limit = {
has_cosmetic_tag = jimma
}
random_owned_controlled_state = {
create_unit = {
division = "name = \"Jimma Guards
Division\" division_template = \"Guards\" start_experience_factor = 0.1
start_equipment_factor = 1 start_manpower_factor = 1"
owner = ROOT
}
}
}
ELSE_IF = {
limit = {
has_cosmetic_tag = gojjam
}
random_owned_controlled_state = {
create_unit = {
division = "name = \"Gojjam Guards
Division\" division_template = \"Guards\" start_experience_factor = 0.1
start_equipment_factor = 1 start_manpower_factor = 1"
owner = ROOT
}
}
}
ElSE = {
random_owned_controlled_state = {
create_unit = {
division = "name = \"Imperial Guards
Division\" division_template = \"Guards\" start_experience_factor = 0.1
start_equipment_factor = 1 start_manpower_factor = 1"
owner = ROOT
}
}
}
}
}
}
}
# Imperial Capitulation
country_event = {
id = BBA_ethiopia_fascist_events.10
title = BBA_ethiopia_fascist_events.10.t
desc = BBA_ethiopia_fascist_events.10.desc
picture = GFX_report_event_gre_city_devastated
is_triggered_only = yes
option = {
name = BBA_ethiopia_fascist_events.10.a
ai_chance = {
base = 10
}
IF = {
limit = { has_cosmetic_tag = jimma}
custom_effect_tooltip = captured_ethiopian_commanders_jimma_tt
}
ELSE = {
custom_effect_tooltip = captured_ethiopian_commanders_tt
}
hidden_effect = {
var:ETH_haile_selassie_country = {
ETH_seyoum_mengesha = {
set_nationality = ROOT
set_character_flag = ETH_imprisoned_flag
}
ETH_ayalew_birru = {
set_nationality = ROOT
set_character_flag = ETH_imprisoned_flag
}
ETH_ras_kassa = {
set_nationality = ROOT
set_character_flag = ETH_imprisoned_flag
}
}
IF = {
limit = {
has_cosmetic_tag = jimma
}
var:ETH_haile_selassie_country = {
ETH_balcho_safo = {
set_nationality = ROOT
set_character_flag = ETH_imprisoned_flag
}
ETH_tadesse_birru = {
set_nationality = ROOT
set_character_flag = ETH_imprisoned_flag
}
}
}
}
}
}
# Ethiopian independence
# For Italy - Ethiopia declares independence
country_event = {
id = BBA_ethiopia_fascist_events.20
title = BBA_ethiopia_fascist_events.20.t
desc = BBA_ethiopia_fascist_events.20.desc
picture = GFX_report_event_ETH_ethiopian_warriors
is_triggered_only = yes
# No
option = {
name = BBA_ethiopia_fascist_events.20.a
ai_chance = {
base = 10
modifier = {
factor = 0.5
has_government = democratic
}
modifier = {
factor = 0.5
has_civil_war = yes
}
}
FROM = {
country_event = {
id = BBA_ethiopia_fascist_events.22
hours = 4
random_hours = 8
}
}
}
# OK
option = {
name = BBA_ethiopia_fascist_events.20.b
ai_chance = {
base = 5
modifier = {
factor = 3
any_enemy_country = {
is_major = yes
}
surrender_progress > 0.1
}
}
FROM = {
country_event = {
id = BBA_ethiopia_fascist_events.21
hours = 4
random_hours = 8
}
}
}
}
# For Ethiopia - Italy accepts
country_event = {
id = BBA_ethiopia_fascist_events.21
title = BBA_ethiopia_fascist_events.21.t
desc = BBA_ethiopia_fascist_events.21.desc
picture = GFX_report_event_ETH_ethiopian_warriors
is_triggered_only = yes
# Yes
option = {
name = BBA_ethiopia_fascist_events.21.a
ai_chance = {
base = 10
}
FROM = {
set_autonomy = {
target = ROOT
autonomy_state = autonomy_free
end_wars = yes
end_civil_wars = no
}
}
# Leave Faction
IF = {
limit = {
FROM = { is_in_faction_with = ROOT }
}
ROOT = { leave_faction = yes }
}
remove_ideas = ETH_victor_emanuel_of_ethiopia_idea
# Make peace with enemies of Overlord
every_other_country = {
limit = {
has_war_with = FROM
has_war_with = ROOT
}
white_peace = ROOT
}
}
}
# For Ethiopia - Italy refuses
country_event = {
id = BBA_ethiopia_fascist_events.22
title = BBA_ethiopia_fascist_events.22.t
desc = BBA_ethiopia_fascist_events.22.desc
picture = GFX_report_event_ETH_ethiopian_warriors
is_triggered_only = yes
# Yes
option = {
name = BBA_ethiopia_fascist_events.22.a
ai_chance = {
base = 10
}
hidden_effect = {
remove_ideas = ETH_victor_emanuel_of_ethiopia_idea_bad
FROM = {
set_autonomy = {
target = ROOT
autonomy_state = autonomy_free
end_wars = yes
end_civil_wars = no
}
}
every_owned_state = {
teleport_armies = {
limit = {
NOT = { tag = ROOT}
OR = {
tag = FROM
is_in_faction_with = FROM
}
}
to_state_array = owned_controlled_states
}
}
}
# Leave Faction
IF = {
limit = {
FROM = { is_in_faction_with = ROOT }
}
ROOT = { leave_faction = yes }
}
ROOT = {
declare_war_on = {
target = ITA
type = independence_wargoal
}
}
IF = {
limit = { has_country_flag = ETH_freedom_fighters_flag}
country_event = {
id = BBA_ethiopia_fascist_events.23
hours = 8
random_hours = 12
}
}
# Make peace with enemies of Overlord
every_other_country = {
limit = {
has_war_with = FROM
has_war_with = ROOT
}
white_peace = ROOT
}
}
}
}
##########################################################################
# Demand DJI from Vichy Events
##########################################################################
#ETH takes DJI from Vichy - Does vichy continue war?
country_event = {
id = BBA_ethiopia_fascist_events.50
title = BBA_ethiopia_fascist_events.50.t
desc = BBA_ethiopia_fascist_events.50.desc
picture = GFX_report_event_tur_machine_gunners
is_triggered_only = yes
# Give up DJI
option = {
name = BBA_ethiopia_fascist_events.50.a
ai_chance = {
base = 10
}
ETH = {
country_event = {
id = BBA_ethiopia_fascist_events.51
hours = 1
}
}
}
# War with ETH
option = {
name = BBA_ethiopia_fascist_events.50.b
ai_chance = {
base = 0
}
ETH = {
country_event = {
id = BBA_ethiopia_fascist_events.52
hours = 1
}
}
add_stability = -0.05
create_wargoal = {
type = take_claimed_state
target = FROM
generator = { 268 }
}
}
}
##########################################################################
# Request Italian Equipment Events
##########################################################################
}
}
}
ELSE_IF = {
limit = {
has_country_flag = ETH_want_ITA_air_designers
}
ETH_add_random_mil_factory_effect = yes
ETH_add_random_mil_factory_effect = yes
set_country_flag = ETH_ITA_sends_air_designers
clr_country_flag = ETH_want_ITA_air_designers
}
}
}
country_event = {
id = BBA_ethiopia_fascist_events.60
title = BBA_ethiopia_fascist_events.60.t
desc = BBA_ethiopia_fascist_events.60.desc
picture = GFX_report_event_generic_factory
is_triggered_only = yes
# Army
option = {
name = BBA_ethiopia_fascist_events.60.a
ai_chance = {
base = 20
}
custom_effect_tooltip = ETH_outsourced_production_army_tt
show_ideas_tooltip = fiat_ETH
show_ideas_tooltip = breda_ETH
show_ideas_tooltip = beretta_ETH
set_country_flag = ETH_want_ITA_army_designers
ITA = {
country_event = {
id = BBA_ethiopia_fascist_events.57
hours = 12
}
}
}
# Airforce
option = {
name = BBA_ethiopia_fascist_events.60.b
ai_chance = {
base = 5
}
set_country_flag = ETH_want_ITA_air_designers
custom_effect_tooltip = ETH_outsourced_production_air_tt
show_ideas_tooltip = ETH_imam
show_ideas_tooltip = caproni_ETH
show_ideas_tooltip = macchi_ETH
ITA = {
country_event = {
id = BBA_ethiopia_fascist_events.57
hours = 12
}
}
}
}
##########################################################################
# Our Enemy's Enemy Events
##########################################################################
# ETH requesting weapons from all major nations who have different ideology to ITA
country_event = {
id = BBA_ethiopia_fascist_events.61
title = BBA_ethiopia_fascist_events.61.t
desc = BBA_ethiopia_fascist_events.61.desc
picture = GFX_report_event_generic_rifles
is_triggered_only = yes
# Yes
option = {
name = BBA_ethiopia_fascist_events.61.a
ai_chance = {
base = 40
modifier = {
factor = 0
has_war_with = FROM
}
modifier = {
factor = 0
is_in_faction_with = ITA
}
modifier = {
factor = 0
has_opinion = {
target = ITA
value > 0
}
}
modifier = {
add = 20
has_war_with = ITA
}
}
FROM = {
country_event = {
id = BBA_ethiopia_fascist_events.62
hours = 12
}
}
}
# No
option = {
name = BBA_ethiopia_fascist_events.61.b
ai_chance = {
base = 5
modifier = {
add = 10
has_war_with = FROM
}
}
FROM = {
country_event = {
id = BBA_ethiopia_fascist_events.63
hours = 12
}
}
}
}
##########################################################################
# Compensation Events
##########################################################################
##########################################################################
# Raid Italian Depots Events
##########################################################################
##########################################################################
# Request Italian Generals
##########################################################################
##########################################################################
##########################################################################
SOV = {
add_timed_idea = { idea = ETH_aid_ethiopian_communists days = 730
}
add_ai_strategy = {
type = send_volunteers_desire
id = ETH
value = 200
}
}
ETH = {
country_event = {
days = 2
id = BBA_ethiopia_communist_events.04
}
}
ITA = {
country_event = {
days = 30
id = BBA_ethiopia_communist_events.03
}
}
}
uncomplete_national_focus = {
focus = ETH_soviet_aid
uncomplete_children = yes
}
complete_national_focus = ETH_callout_to_the_world
}
}
}
}
}
}
news_event = {
id = bba_news.2
hours = 2
}
}
}
division_template = {
name = "Armored-Car Division"
is_locked = no
division_names_group = ETH_MOT_01
priority = 1
template_counter = 0
regiments = {
armored_car = { x = 0 y = 0 }
armored_car = { x = 0 y = 1 }
armored_car = { x = 1 y = 0 }
armored_car = { x = 1 y = 1 }
}
}
}
else = {
if = {
limit = {
NOT = {
has_dlc = "No Step Back"
}
}
if = {
limit = {
NOT = {
has_tech = gwtank
}
}
set_technology = { gwtank = 1 }
add_equipment_to_stockpile = {
type = light_tank_equipment_1
amount = 200 producer = SOV
}
}
}
else = {
if = {
limit = {
NOT = {
has_tech = gwtank_chassis
}
}
set_technology = { gwtank_chassis = 1 }
add_equipment_to_stockpile = {
type = light_tank_chassis_1
amount = 200 producer = SOV
variant_name = "T-26TU mod. 1933"
}
}
}
}
}
}
set_technology = { iw_small_airframe = 1 }
create_equipment_variant = {
name = "I-15" #
type = small_plane_airframe_0
modules = {
fixed_main_weapon_slot = light_mg_4x
engine_type_slot = engine_1_1x
special_type_slot_1 = empty
}
}
add_equipment_to_stockpile = {
type = small_plane_airframe_0
producer = "SOV"
amount = 100
variant_name = "I-15"
}
}
}
country_event = {
id = BBA_ethiopia_communist_events.22
title = BBA_ethiopia_communist_events.22.t
desc = BBA_ethiopia_communist_events.22.desc
is_triggered_only = yes
picture = GFX_report_event_soviet_soldiers_tank
#Declare war on ITA
option = {
name = BBA_ethiopia_communist_events.22.a
ai_chance = {
base = 10
modifier = {
factor = 0
OR = {
NOT = { has_government = communism }
has_civil_war = yes
NOT = {
ETH = {has_war_with = ITA}
}
}
}
}
SOV = {
create_wargoal = {
type = topple_government
target = ITA
}
}
ETH = {
country_event = {
hours = 24
id = BBA_ethiopia_communist_events.24
}
}
}
#Back down to prevent war
option = {
name = BBA_ethiopia_communist_events.22.b
ai_chance = {
base = 10
modifier = {
add = 100
any_other_country = {
is_major = yes
NOT = { tag = SOV }
is_in_faction_with = ITA
strength_ratio = {
tag = SOV
ratio > 0.75
}
}
}
}
ITA = {
country_event = {
id = BBA_ethiopia_communist_events.23
hours = 1
}
}
ETH = {
country_event = {
id = BBA_ethiopia_communist_events.27
hours = 1
}
}
}
}
country_event = {
id = BBA_ethiopia_communist_events.23
title = BBA_ethiopia_communist_events.23.t
desc = BBA_ethiopia_communist_events.23.desc
is_triggered_only = yes
picture = GFX_report_event_generic_military_parade
option = {
name = BBA_ethiopia_communist_events.23.a
ai_chance = {
base = 10
}
add_stability = 0.05
}
}
country_event = {
id = BBA_ethiopia_communist_events.24
title = BBA_ethiopia_communist_events.24.t
desc = BBA_ethiopia_communist_events.24.desc
is_triggered_only = yes
picture = GFX_report_event_soviet_tanks
option = {
name = BBA_ethiopia_communist_events.24.a
ai_chance = {
base = 10
}
SOV = {
puppet = ETH
}
}
}
}
#Agree to mediate, will puppet ETH
option = {
name = BBA_ethiopia_communist_events.25.b
ai_chance = {
base = 50
modifier = {
factor = 0
OR = {
NOT = { has_government = communism }
has_civil_war = yes
NOT = {
ETH = {has_war_with = ITA}
}
}
}
}
news_event = {
id = bba_news.1
hours = 1
}
ITA = {
country_event = {
id = BBA_ethiopia_communist_events.07
hours = 2
}
}
ETH = {
set_country_flag = ETH_SOV_wants_to_puppet_flag
}
}
#Refuse to mediate
option = {
name = BBA_ethiopia_communist_events.25.c
ai_chance = {
base = 0
modifier = {
factor = 10
OR = {
NOT = {has_government = communism}
has_civil_war = yes
NOT = {
ETH = {has_war_with = ITA}
}
}
}
modifier = {
add = 100
any_other_country = {
is_major = yes
NOT = { tag = SOV }
is_in_faction_with = ITA
strength_ratio = {
tag = SOV
ratio > 0.75
}
}
}
}
ETH = {
country_event = {
id = BBA_ethiopia_communist_events.26
hours = 1
}
}
}
}
country_event = {
id = BBA_ethiopia_communist_events.27
title = BBA_ethiopia_communist_events.27.t
desc = BBA_ethiopia_communist_events.27.desc
is_triggered_only = yes
picture = GFX_report_event_gre_italian_troops
option = {
name = BBA_ethiopia_communist_events.27.a
ai_chance = {
base = 10
}
}
}
#Event for ETH when ITA backs down but SOV still want to puppet
country_event = {
id = BBA_ethiopia_communist_events.28
title = BBA_ethiopia_communist_events.28.t
desc = BBA_ethiopia_communist_events.28.desc
is_triggered_only = yes
picture = GFX_report_event_stalin_meeting
option = {
name = BBA_ethiopia_communist_events.28.a
ai_chance = {
base = 10
}
SOV = {
puppet = ETH
hidden_effect = {
set_autonomy = {
target = ETH
autonomous_state = autonomy_puppet
freedom_level = 0.4
}
}
add_stability = 0.1
}
}
}
#Event for ETH when ITA backs down but SOV does **NOT** want to puppet
country_event = {
id = BBA_ethiopia_communist_events.29
title = BBA_ethiopia_communist_events.29.t
desc = BBA_ethiopia_communist_events.29.desc
is_triggered_only = yes
picture = GFX_report_event_generic_sign_treaty2
option = {
name = BBA_ethiopia_communist_events.29.a
ai_chance = {
base = 10
}
add_stability = 0.15
}
}
immediate = {
hidden_effect = {
ITA = {
every_owned_state = {
limit = {
is_on_continent = africa
is_controlled_by = ETH
}
set_state_flag = eth_occupied_ita_states_flag
}
}
ETH = {
every_owned_state = {
limit = {
is_on_continent = africa
is_controlled_by = ITA
}
set_state_flag = ita_occupied_eth_states_flag
}
}
}
}
}
#Refuse to end war
option = {
name = BBA_ethiopia_communist_events.30.b
ai_chance = {
base = 2
#Not willing to fight anymore if ITA is communist or in civil war
modifier = {
factor = 0
OR = {
has_civil_war = yes
has_government = communism
}
}
modifier = {
#Already winning against UK and France, no need to end war.
factor = 10
OR = {
has_war_with = FRA
has_war_with = ENG
}
OR = {
FRA = {surrender_progress > 0.05}
ENG = {surrender_progress > 0.05}
}
any_controlled_state = {
OR = {
is_owned_by = ENG
is_owned_by = FRA
}
}
}
}
add_war_support = -0.25
add_stability = -0.2
add_political_power = -250
add_popularity = {
popularity = -0.2
ideology = ROOT
}
#Event for ETH if ITA refuses to end war
ETH = {
country_event = {
id = BBA_ethiopia_communist_events.32
hours = 1
}
}
clr_global_flag = italo_ethiopian_peace_negotiations_ongoing
}
}
#ETH event for ITA accepting peace, transfers states between countries
country_event = {
id = BBA_ethiopia_communist_events.31
title = BBA_ethiopia_communist_events.31.t
desc = BBA_ethiopia_communist_events.31.desc
picture = GFX_report_event_generic_sign_treaty2
is_triggered_only = yes
#Accept
option = {
name = BBA_ethiopia_communist_events.31.a
ai_chance = {
base = 10
}
white_peace = ITA
ETH = {
every_owned_state = {
}
#Event to release Somalia
country_event = {
id = BBA_ethiopia_communist_events.34
days = 5
random_days = 5
}
}
add_stability = 0.15
clr_global_flag = italo_ethiopian_peace_negotiations_ongoing
}
}
option = {
name = BBA_ethiopia_communist_events.32.a
ai_chance = {
base = 10
}
add_war_support = 0.1
set_global_flag = ethiopia_recognized_flag
}
}
#Release Eritrea
country_event = {
id = BBA_ethiopia_communist_events.33
title = BBA_ethiopia_communist_events.33.t
desc = BBA_ethiopia_communist_events.33.desc
is_triggered_only = yes
picture = GFX_report_event_generic_sign_treaty2
#Agree to release
option = {
name = BBA_ethiopia_communist_events.33.a
ai_chance = {
base = 10
}
release = ERI
hidden_effect = {
ERI = {
set_popularities = {
democratic = 20
fascism = 5
neutrality = 15
communism = 60
}
set_politics = {
ruling_party = communism
elections_allowed = no
}
}
}
}
#Refuse to release
option = {
name = BBA_ethiopia_communist_events.33.b
ai_chance = {
base = 10
}
add_stability = -0.03
}
}
#Release Somalia
country_event = {
id = BBA_ethiopia_communist_events.34
title = BBA_ethiopia_communist_events.34.t
desc = BBA_ethiopia_communist_events.34.desc
is_triggered_only = yes
picture = GFX_report_event_generic_sign_treaty2
#Agree to release
option = {
name = BBA_ethiopia_communist_events.34.a
ai_chance = {
base = 10
}
#release = SOM
hidden_effect = {
IF = {
limit = {
SOM = {
exists = yes
}
}
create_dynamic_country = {
original_tag = SOM
set_variable = { ETH.new_somalia = THIS }
log = "Dynamic tag: [THIS.GetName]"
PREV = {
log = "Prev tag: [THIS.GetName]"
every_owned_state = {
log = "State: [THIS.GetName]"
limit = {
is_core_of = SOM
NOT = {state = 835}
NOT = {state = 836}
}
#event_target:released_nation_target = {
var:ETH.new_somalia = {
log = "Prev Prev tag:
[THIS.GetName]"
transfer_state = PREV
}
}
}
set_popularities = {
democratic =
ETH.party_popularity_100@democratic
neutrality =
ETH.party_popularity_100@neutrality
fascism = ETH.party_popularity_100@fascism
communism = ETH.party_popularity_100@communism
}
set_politics = {
ruling_party = ROOT
}
}
clear_variable = ETH.new_somalia
}
ELSE = {
release = SOM
SOM = {
835 = {
ETH = { transfer_state = PREV }
add_core_of = ETH
clr_state_flag = eth_core_flag_som
}
836 = {
ETH = { transfer_state = PREV }
add_core_of = ETH
clr_state_flag = eth_core_flag_som
}
set_popularities = {
democratic =
ETH.party_popularity_100@democratic
neutrality =
ETH.party_popularity_100@neutrality
fascism = ETH.party_popularity_100@fascism
communism = ETH.party_popularity_100@communism
}
set_politics = {
ruling_party = ROOT
}
}
}
}
}
#Refuse to release
option = {
name = BBA_ethiopia_communist_events.34.b
ai_chance = {
base = 10
}
add_stability = -0.03
}
}
ETH = {
country_event = {
id = BBA_ethiopia_communist_events.36
hours = 1
}
}
}
#Refuse to release Rif
option = {
name = BBA_ethiopia_communist_events.35.b
ai_chance = {
base = 1
}
ETH = {
country_event = {
id = BBA_ethiopia_communist_events.37
hours = 1
}
}
}
}
#ETH event if Spain Agrees
country_event = {
id = BBA_ethiopia_communist_events.36
title = BBA_ethiopia_communist_events.36.t
desc = BBA_ethiopia_communist_events.36.desc
is_triggered_only = yes
Picture = GFX_report_event_generic_sign_treaty2
option = {
name = BBA_ethiopia_communist_events.36.a
ai_chance = {
base = 10
}
SPC = {
release = RIF
}
}
}
country_event = {
id = BBA_ethiopia_communist_events.37
title = BBA_ethiopia_communist_events.37.t
desc = BBA_ethiopia_communist_events.37.desc
is_triggered_only = yes
Picture = GFX_report_event_generic_sign_treaty2
# Gain liberate war goal on Spain
option = {
name = BBA_ethiopia_communist_events.37.a
ai_chance = {
base = 10
modifier = {
factor = 0
strength_ratio = {
tag = SPC
ratio < 0.8
}
}
}
create_wargoal = {
type = liberate_wargoal
target = SPC
}
}
country_event = {
id = BBA_ethiopia_communist_events.40
title = BBA_ethiopia_communist_events.40.t
desc = BBA_ethiopia_communist_events.40.desc
is_triggered_only = yes
picture = GFX_report_event_generic_sign_treaty2
#There's nothing we can do.
option = {
name = BBA_ethiopia_communist_events.40.a
ai_chance = {
base = 10
}
}
}
country_event = {
id = BBA_ethiopia_communist_events.41
title = BBA_ethiopia_communist_events.41.t
desc = BBA_ethiopia_communist_events.41.desc
is_triggered_only = yes
picture = GFX_report_event_soviet_tanks
option = {
name = BBA_ethiopia_communist_events.41.a
ai_chance = {
base = 10
}
}
}
country_event = {
id = BBA_ethiopia_communist_events.54
title = BBA_ethiopia_communist_events.54.t
desc = BBA_ethiopia_communist_events.54.desc
is_triggered_only = yes
picture = GFX_report_event_japanese_soldiers_01
option = {
name = BBA_ethiopia_communist_events.54.a
ai_chance = {
base = 10
}
add_equipment_to_stockpile = {
type = infantry_equipment_1
amount = 5000
producer = JAP
}
}
}
country_event = {
id = BBA_ethiopia_communist_events.55
title = BBA_ethiopia_communist_events.55.t
desc = BBA_ethiopia_communist_events.55.desc
is_triggered_only = yes
picture = GFX_report_event_japanese_soldiers_01
option = {
name = BBA_ethiopia_communist_events.55.a
ai_chance = {
base = 5
}
}
option = {
name = BBA_ethiopia_communist_events.55.b
ai_chance = {
base = 10
}
ETH = {
country_event = {
id = BBA_ethiopia_communist_events.57
days = 7
}
}
}
}
country_event = {
id = BBA_ethiopia_communist_events.56
title = BBA_ethiopia_communist_events.56.t
desc = BBA_ethiopia_communist_events.56.desc
is_triggered_only = yes
picture = GFX_report_event_japanese_soldiers_01
option = {
name = BBA_ethiopia_communist_events.56.a
ai_chance = {
base = 5
}
}
option = {
name = BBA_ethiopia_communist_events.56.b
ai_chance = {
base = 10
}
ETH = {
country_event = {
id = BBA_ethiopia_communist_events.54
days = 7
}
}
}
}
country_event = {
id = BBA_ethiopia_communist_events.57
title = BBA_ethiopia_communist_events.57.t
desc = BBA_ethiopia_communist_events.57.desc
is_triggered_only = yes
picture = GFX_report_event_japanese_reply
option = {
name = BBA_ethiopia_communist_events.57.a
ai_chance = {
base = 5
}
FROM = {
country_event = {
id = BBA_ethiopia_communist_events.58
days = 3
}
}
}
}
country_event = {
id = BBA_ethiopia_communist_events.58
title = BBA_ethiopia_communist_events.58.t
desc = BBA_ethiopia_communist_events.58.desc
is_triggered_only = yes
picture = GFX_report_event_ETH_ethiopian_warriors
option = {
name = BBA_ethiopia_communist_events.58.a
ai_chance = {
base = 5
}
}
option = {
name = BBA_ethiopia_communist_events.58.b
ai_chance = {
base = 10
}
send_embargo = ETH
FROM = {
country_event = {
id = BBA_ethiopia_communist_events.59
days = 7
}
}
}
}
country_event = {
id = BBA_ethiopia_communist_events.59
title = BBA_ethiopia_communist_events.59.t
desc = BBA_ethiopia_communist_events.59.desc
is_triggered_only = yes
picture = GFX_report_event_japanese_reply
option = {
name = BBA_ethiopia_communist_events.59.a
ai_chance = {
base = 5
}
}
}
country_event = {
id = BBA_ethiopia_communist_events.60
title = BBA_ethiopia_communist_events.60.t
desc = BBA_ethiopia_communist_events.60.desc
is_triggered_only = yes
picture = GFX_report_event_british_inspect_troops
option = {
name = BBA_ethiopia_communist_events.60.a
ai_chance = {
base = 5
}
}
}
country_event = {
id = BBA_ethiopia_communist_events.61
title = BBA_ethiopia_communist_events.61.t
desc = BBA_ethiopia_communist_events.61.desc
is_triggered_only = yes
picture = GFX_report_event_ETH_ethiopian_warriors
option = {
name = BBA_ethiopia_communist_events.61.a
ai_chance = {
base = 10
modifier = {
factor = 5
AND = {
is_in_faction = yes
has_war_with_major = yes
ETH = {
is_in_faction = yes
}
}
}
}
FROM = {
country_event = {
id = BBA_ethiopia_communist_events.60
hours = 12
}
}
}
option = {
name = BBA_ethiopia_communist_events.61.b
ai_chance = {
base = 0
modifier = {
add = 30
any_owned_state = {
is_on_continent = africa
is_controlled_by = ETH
}
}
modifier = {
add = -15
any_controlled_state = {
is_core_of = FROM
}
}
modifier = {
add = -15
any_controlled_state = {
is_core_of = FROM
}
}
}
for_each_scope_loop = {
array = ETH.ETH_has_liberation_goal_array
every_core_state = {
IF = {
limit = {
is_controlled_by = FROM
}
}
}
#FROM is ETH
FROM = {
every_owned_state = {
limit = {
#PREV.PREV is target country for release
is_core_of = PREV.PREV
}
set_state_flag = ETH_prio_state_flag
}
#PREV is target country for release
release_puppet_on_controlled = PREV
PREV = {
every_owned_state = {
limit = {
has_state_flag = ETH_prio_state_flag
}
#PREV.PREV is ETH
ETH = {
transfer_state = PREV
}
}
}
country_event = {
id = BBA_ethiopia_communist_events.62
hours = 1
}
}
remove_from_array = {
array = ETH.ETH_has_liberation_goal_array
value = THIS
}
}
IF = {
limit = {
FROM = {
is_in_faction = yes
}
}
FROM = {
leave_faction = yes
}
}
white_peace = ETH
# Allies also make peace
every_other_country = {
limit = {
is_in_faction_with = ROOT
has_war_with = ETH
}
white_peace = ETH
}
every_other_country = {
limit = {
is_in_faction_with = ETH
has_war_with = ROOT
}
white_peace = ROOT
}
}
}
country_event = {
id = BBA_ethiopia_communist_events.62
title = BBA_ethiopia_communist_events.62.t
desc = BBA_ethiopia_communist_events.62.desc
is_triggered_only = yes
picture = GFX_report_event_generic_sign_treaty2
option = {
name = BBA_ethiopia_communist_events.62.a
ai_chance = {
base = 5
}
hidden_effect = {
clear_variable = ETH.ETH_disputed_colony
clr_country_flag = ETH_has_active_liberation_goal
}
}
}