Questions
Code:
focus_tree = {
id = esr
continuous_focus_position = { x = 2050 y = 1180 }
country = {
factor = 0
modifier = {
add = 10
tag = ESR
}
#Devoted for his life
focus = {
id = ESR_devoted_for_his_life
icon = GFX_focus_ger_return_of_the_kaiser
x = 1
y = 1
cost = 5
search_filters = {
FOCUS_FILTER_POLITICAL
mutually_exclusive = { focus = ESR_the_1789_of_the_estoreich }
completion_reward = {
add_popularity = {
ideology = neutrality
popularity = 0.2
#Placing the treaties in the shredder
id = ESR_placing_the_treaties_in_the_shredder
icon = GFX_focus_ger_revive_kaiserreich
x = 2
y = 6
cost = 10
FOCUS_FILTER_ANNEXATION
prerequisite = { focus = ESR_lithuanian_kaiserreich }
bypass = {
GER = {
has_government = neutrality
create_wargoal = {
type = puppet_wargoal_focus
target = GER
#The 1789 of The Estoreich
id = ESR_the_1789_of_the_estoreich
icon = GFX_focus_rom_royal_dictatorship
x = 7
FOCUS_FILTER_FRA_POLITICAL_VIOLENCE
mutually_exclusive = { focus = ESR_devoted_for_his_life }
popularity = -0.2
#Attack the palace
id = ESR_attack_the_palace
icon = GFX_focus_spr_crush_the_revolution
y = 2
prerequisite = { focus = ESR_the_1789_of_the_estoreich }
news_event = { id = estoreich.1}
kill_ideology_leader = neutrality
set_politics = {
ruling_party = democratic
elections_allowed = no
#The Republic
id = ESR_the_republic
icon = GFX_focus_rom_handle_king
x = 6
y = 3
prerequisite = { focus = ESR_attack_the_palace }
mutually_exclusive = { focus = ESR_death_nor_democracy }
elections_allowed = yes
#Death nor democracy
id = ESR_death_nor_democracy
icon = GFX_focus_generic_strike_at_democracy2
x = 8
mutually_exclusive = { focus = ESR_the_republic }
set_popularities = {
democratic = 20
neutrality = 0
fascism = 30
communism = 50
#Martian Law
id = ESR_martian_law
icon = GFX_goal_generic_army_artillery2
y = 5
prerequisite = { focus = ESR_the_republic focus = ESR_death_nor_democracy }
mutually_exclusive = { focus = ESR_freespeech }
ideology = democracy
add_stability = 0.2
add_war_support = 0.2
#A man's right to:
id = ESR_amansrightto
icon = GFX_ESR_amansrightto-427
x = 4
y = 4
prerequisite = { focus = ESR_the_republic }
ideology = democratic
popularity = 0.1
#Free speech!
id = ESR_freespeech
icon = GFX_goal_generic_propaganda
x = 5
prerequisite = { focus = ESR_amansrightto }
mutually_exclusive = { focus = ESR_martian_law }
democratic = 50
fascism = 25
communism = 25
add_stability = 0.1
#Shelter, Food, Water!
id = ESR_shelterfoodwater
icon = GFX_goal_generic_positive_trade_relations
x = 3
FOCUS_FILTER_STABILITY
add_political_power = -100
#Safety!
id = ESR_safety
icon = GFX_goal_generic_intelligence_exchange
#The anti-discrimination act
id = ESR_the_antidiscrimination_act
icon = GFX_goal_generic_improve_relations
y = 7
prerequisite = { focus = ESR_shelterfoodwater } prerequisite = { focus = ESR_safety }
add_stability = 0.3
add_war_support = 0.3
add_manpower = 10000
popularity = 0.5
#True Democracy achieved
id = ESR_true_democracy_achieved
icon = GFX_ESR_true_democracy_achieved-427
y = 8
prerequisite = { focus = ESR_the_antidiscrimination_act }
mutually_exclusive = { focus = ESR_power_above_all }
add_political_power = 300
#Socialists, Rise!
id = ESR_socialistsrise
icon = GFX_ESR_socialistsrise-426
prerequisite = { focus = ESR_death_nor_democracy }
mutually_exclusive = { focus = ESR_secretly_invite_himmler }
has_government = communism
ideology = communism
ruling_party = communism
#Secretly invite Himmler
id = ESR_secretly_invite_himmler
icon = GFX_focus_chi_mission_to_germany
x = 10
mutually_exclusive = { focus = ESR_socialistsrise }
has_government = fascism
ruling_party = fascism
ideology = fascism
#The anti-Stalinist Crusade
id = ESR_the_antistalinist_crusade
icon = GFX_ESR_the_antistalinist_crusade-262128
prerequisite = { focus = ESR_socialistsrise }
target = SOV
#Anti-Kaiser Victory Parade
id = ESR_antikaiser_victory_parade
icon = GFX_focus_spr_the_anti_fascist_workers_revolution
FOCUS_FILTER_WAR_SUPPORT
prerequisite = { focus = ESR_secretly_invite_himmler }
popularity = 0.3
#Power above all
id = ESR_power_above_all
icon = GFX_focus_generic_manpower
x = 9
prerequisite = { focus = ESR_socialistsrise focus = ESR_antikaiser_victory_parade }
mutually_exclusive = { focus = ESR_true_democracy_achieved }
add_war_support = 0.1
#The empire
id = ESR_the_empire
icon = GFX_focus_BUL_condemn_macedonian_organizations
y = 10
prerequisite = { focus = ESR_true_democracy_achieved focus = ESR_power_above_all focus = ESR_kaiser_fm_in_germany }
#To have the people
id = ESR_to_have_the_people
icon = GFX_focus_AST_rats_tobruk
prerequisite = { focus = ESR_devoted_for_his_life }
#Lithuanian Kaiserreich
id = ESR_lithuanian_kaiserreich
icon = GFX_ESR_lithuanian_kaiserreich-262046
prerequisite = { focus = ESR_to_have_the_people }
target = LIT
#Kaiser FM
id = ESR_kaiser_fm
icon = GFX_goal_generic_radar
add_tech_bonus = {
bonus = 0.5
uses = 1
category = radar_tech
#Kaiser FM In germany
id = ESR_kaiser_fm_in_germany
icon = GFX_focus_attack_germany
prerequisite = { focus = ESR_kaiser_fm } prerequisite = { focus = ESR_placing_the_treaties_in_the_shredder }
#Through poland and into berlin
id = ESR_through_poland_and_into_berlin
icon = GFX_ESR_through_poland_and_into_berlin-262051
cost = 2
prerequisite = { focus = ESR_placing_the_treaties_in_the_shredder }
available = {
has_war_with = GER
target = POL
#The great reconstruction
id = ESR_the_great_reconstruction
icon = GFX_ESR_the_great_reconstruction-262058
x = 12
FOCUS_FILTER_INDUSTRY
random_owned_controlled_state = {
limit = {
free_building_slots = {
building = industrial_complex
size > 0
include_locked = yes
add_extra_state_shared_building_slots = 1
add_building_construction = {
type = industrial_complex
level = 1
instant_build = yes
#Military Construction
id = ESR_military_construction
icon = GFX_goal_generic_construct_mil_factory
x = 13
prerequisite = { focus = ESR_the_great_reconstruction }
prerequisite = { focus = ESR_mass_rearming }
building = arms_factory
type = arms_factory
#Mass Re-arming
id = ESR_mass_rearming
icon = GFX_focus_secret_rearmament
x = 14
FOCUS_FILTER_MANPOWER
army_experience = 50
navy_experience = 50
air_experience = 50
#Rising from the snow
id = ESR_rising_from_the_snow
icon = GFX_ESR_rising_from_the_snow-581785
x = 11
cost = 13
#A good balance
id = ESR_a_good_balance
icon = GFX_ESR_a_good_balance-581817
cost = 7
add_political_power = -200
#Better pay for soldiers
id = ESR_better_pay_for_soldiers
icon = GFX_focus_generic_commonwealth_build_infantry
add_manpower = 18500
#'A sailor of honor'
id = ESR_asailorofhonor
icon = GFX_ESR_asailorofhonor-581837
x = 15
#The eagles of war
id = ESR_the_eagles_of_war
icon = GFX_ESR_the_eagles_of_war-581840
x = 16
Focuses that don't show up are in bold
i think its because hoi4 only recognises if the coutry code is all caps liek ABC works but abc doesn't
Catpotatoes1
Code:
focus_tree = {
id = esr
continuous_focus_position = { x = 2050 y = 1180 }
country = {
factor = 0
modifier = {
add = 10
tag = ESR
}
}
#Devoted for his life
focus = {
id = ESR_devoted_for_his_life
icon = GFX_focus_ger_return_of_the_kaiser
x = 1
y = 1
cost = 5
search_filters = {
FOCUS_FILTER_POLITICAL
}
mutually_exclusive = { focus = ESR_the_1789_of_the_estoreich }
completion_reward = {
add_popularity = {
ideology = neutrality
popularity = 0.2
}
}
}
#Placing the treaties in the shredder
focus = {
id = ESR_placing_the_treaties_in_the_shredder
icon = GFX_focus_ger_revive_kaiserreich
x = 2
y = 6
cost = 10
search_filters = {
FOCUS_FILTER_ANNEXATION
}
prerequisite = { focus = ESR_lithuanian_kaiserreich }
bypass = {
GER = {
has_government = neutrality
}
}
completion_reward = {
create_wargoal = {
type = puppet_wargoal_focus
target = GER
}
}
}
#The 1789 of The Estoreich
focus = {
id = ESR_the_1789_of_the_estoreich
icon = GFX_focus_rom_royal_dictatorship
x = 7
y = 1
cost = 10
search_filters = {
FOCUS_FILTER_FRA_POLITICAL_VIOLENCE
}
mutually_exclusive = { focus = ESR_devoted_for_his_life }
completion_reward = {
add_popularity = {
ideology = neutrality
popularity = -0.2
}
}
}
#Attack the palace
focus = {
id = ESR_attack_the_palace
icon = GFX_focus_spr_crush_the_revolution
x = 7
y = 2
cost = 10
search_filters = {
FOCUS_FILTER_FRA_POLITICAL_VIOLENCE
}
prerequisite = { focus = ESR_the_1789_of_the_estoreich }
completion_reward = {
news_event = { id = estoreich.1}
kill_ideology_leader = neutrality
set_politics = {
ruling_party = democratic
elections_allowed = no
}
}
}
#The Republic
focus = {
id = ESR_the_republic
icon = GFX_focus_rom_handle_king
x = 6
y = 3
cost = 10
search_filters = {
FOCUS_FILTER_POLITICAL
}
prerequisite = { focus = ESR_attack_the_palace }
mutually_exclusive = { focus = ESR_death_nor_democracy }
completion_reward = {
set_politics = {
ruling_party = democratic
elections_allowed = yes
}
}
}
#Death nor democracy
focus = {
id = ESR_death_nor_democracy
icon = GFX_focus_generic_strike_at_democracy2
x = 8
y = 3
cost = 10
search_filters = {
FOCUS_FILTER_POLITICAL
}
prerequisite = { focus = ESR_attack_the_palace }
mutually_exclusive = { focus = ESR_the_republic }
completion_reward = {
set_popularities = {
democratic = 20
neutrality = 0
fascism = 30
communism = 50
}
}
}
#Martian Law
focus = {
id = ESR_martian_law
icon = GFX_goal_generic_army_artillery2
x = 7
y = 5
cost = 5
search_filters = {
FOCUS_FILTER_POLITICAL
}
prerequisite = { focus = ESR_the_republic focus = ESR_death_nor_democracy }
mutually_exclusive = { focus = ESR_freespeech }
completion_reward = {
add_popularity = {
ideology = democracy
popularity = -0.2
}
add_stability = 0.2
add_war_support = 0.2
}
}
#A man's right to:
focus = {
id = ESR_amansrightto
icon = GFX_ESR_amansrightto-427
x = 4
y = 4
cost = 5
search_filters = {
FOCUS_FILTER_POLITICAL
}
prerequisite = { focus = ESR_the_republic }
completion_reward = {
add_popularity = {
ideology = democratic
popularity = 0.1
}
}
}
#Free speech!
focus = {
id = ESR_freespeech
icon = GFX_goal_generic_propaganda
x = 5
y = 5
cost = 5
search_filters = {
FOCUS_FILTER_POLITICAL
}
prerequisite = { focus = ESR_amansrightto }
mutually_exclusive = { focus = ESR_martian_law }
completion_reward = {
set_popularities = {
democratic = 50
neutrality = 0
fascism = 25
communism = 25
}
add_stability = 0.1
}
}
#Shelter, Food, Water!
focus = {
id = ESR_shelterfoodwater
icon = GFX_goal_generic_positive_trade_relations
x = 3
y = 5
cost = 5
search_filters = {
FOCUS_FILTER_STABILITY
}
prerequisite = { focus = ESR_amansrightto }
completion_reward = {
add_stability = 0.2
add_political_power = -100
}
}
#Safety!
focus = {
id = ESR_safety
icon = GFX_goal_generic_intelligence_exchange
x = 4
y = 6
cost = 5
search_filters = {
FOCUS_FILTER_STABILITY
}
prerequisite = { focus = ESR_amansrightto }
completion_reward = {
add_stability = 0.1
}
}
#The anti-discrimination act
focus = {
id = ESR_the_antidiscrimination_act
icon = GFX_goal_generic_improve_relations
x = 5
y = 7
cost = 10
search_filters = {
FOCUS_FILTER_POLITICAL
}
prerequisite = { focus = ESR_shelterfoodwater } prerequisite = { focus = ESR_safety }
completion_reward = {
add_stability = 0.3
add_war_support = 0.3
add_manpower = 10000
add_popularity = {
ideology = democratic
popularity = 0.5
}
}
}
#True Democracy achieved
focus = {
id = ESR_true_democracy_achieved
icon = GFX_ESR_true_democracy_achieved-427
x = 5
y = 8
cost = 5
search_filters = {
FOCUS_FILTER_ANNEXATION
}
prerequisite = { focus = ESR_the_antidiscrimination_act }
mutually_exclusive = { focus = ESR_power_above_all }
completion_reward = {
add_manpower = 10000
add_political_power = 300
}
}
#Socialists, Rise!
focus = {
id = ESR_socialistsrise
icon = GFX_ESR_socialistsrise-426
x = 8
y = 4
cost = 10
search_filters = {
FOCUS_FILTER_POLITICAL
}
prerequisite = { focus = ESR_death_nor_democracy }
mutually_exclusive = { focus = ESR_secretly_invite_himmler }
bypass = {
has_government = communism
}
completion_reward = {
add_popularity = {
ideology = communism
popularity = 0.5
}
set_politics = {
ruling_party = communism
elections_allowed = no
}
}
}
#Secretly invite Himmler
focus = {
id = ESR_secretly_invite_himmler
icon = GFX_focus_chi_mission_to_germany
x = 10
y = 4
cost = 10
search_filters = {
FOCUS_FILTER_POLITICAL
}
prerequisite = { focus = ESR_death_nor_democracy }
mutually_exclusive = { focus = ESR_socialistsrise }
bypass = {
has_government = fascism
}
completion_reward = {
set_politics = {
ruling_party = fascism
elections_allowed = no
}
add_popularity = {
ideology = fascism
popularity = 0.5
}
}
}
#The anti-Stalinist Crusade
focus = {
id = ESR_the_antistalinist_crusade
icon = GFX_ESR_the_antistalinist_crusade-262128
x = 8
y = 6
cost = 10
search_filters = {
FOCUS_FILTER_ANNEXATION
}
prerequisite = { focus = ESR_socialistsrise }
completion_reward = {
create_wargoal = {
type = puppet_wargoal_focus
target = SOV
}
}
}
#Anti-Kaiser Victory Parade
focus = {
id = ESR_antikaiser_victory_parade
icon = GFX_focus_spr_the_anti_fascist_workers_revolution
x = 10
y = 6
cost = 10
search_filters = {
FOCUS_FILTER_WAR_SUPPORT
}
prerequisite = { focus = ESR_secretly_invite_himmler }
completion_reward = {
add_war_support = 0.3
add_popularity = {
ideology = fascism
popularity = 0.3
}
}
}
#Power above all
focus = {
id = ESR_power_above_all
icon = GFX_focus_generic_manpower
x = 9
y = 8
cost = 5
search_filters = {
FOCUS_FILTER_WAR_SUPPORT
}
prerequisite = { focus = ESR_socialistsrise focus = ESR_antikaiser_victory_parade }
mutually_exclusive = { focus = ESR_true_democracy_achieved }
completion_reward = {
add_war_support = 0.1
}
}
#The empire
focus = {
id = ESR_the_empire
icon = GFX_focus_BUL_condemn_macedonian_organizations
x = 5
y = 10
cost = 5
search_filters = {
FOCUS_FILTER_WAR_SUPPORT
}
prerequisite = { focus = ESR_true_democracy_achieved focus = ESR_power_above_all focus = ESR_kaiser_fm_in_germany }
completion_reward = {
add_war_support = 0.1
}
}
#To have the people
focus = {
id = ESR_to_have_the_people
icon = GFX_focus_AST_rats_tobruk
x = 1
y = 2
cost = 10
search_filters = {
FOCUS_FILTER_POLITICAL
}
prerequisite = { focus = ESR_devoted_for_his_life }
completion_reward = {
add_war_support = 0.1
}
}
#Lithuanian Kaiserreich
focus = {
id = ESR_lithuanian_kaiserreich
icon = GFX_ESR_lithuanian_kaiserreich-262046
x = 2
y = 3
cost = 10
search_filters = {
FOCUS_FILTER_ANNEXATION
}
prerequisite = { focus = ESR_to_have_the_people }
completion_reward = {
create_wargoal = {
type = puppet_wargoal_focus
target = LIT
}
}
}
#Kaiser FM
focus = {
id = ESR_kaiser_fm
icon = GFX_goal_generic_radar
x = 1
y = 4
cost = 10
search_filters = {
FOCUS_FILTER_STABILITY
}
prerequisite = { focus = ESR_to_have_the_people }
completion_reward = {
add_tech_bonus = {
bonus = 0.5
uses = 1
category = radar_tech
}
add_popularity = {
ideology = neutrality
popularity = 0.1
}
add_war_support = 0.1
}
}
#Kaiser FM In germany
focus = {
id = ESR_kaiser_fm_in_germany
icon = GFX_focus_attack_germany
x = 1
y = 8
cost = 5
search_filters = {
FOCUS_FILTER_POLITICAL
}
prerequisite = { focus = ESR_kaiser_fm } prerequisite = { focus = ESR_placing_the_treaties_in_the_shredder }
completion_reward = {
GER = {
add_popularity = {
ideology = neutrality
popularity = 0.2
}
}
}
}
#Through poland and into berlin
focus = {
id = ESR_through_poland_and_into_berlin
icon = GFX_ESR_through_poland_and_into_berlin-262051
x = 3
y = 7
cost = 2
search_filters = {
FOCUS_FILTER_POLITICAL
}
prerequisite = { focus = ESR_placing_the_treaties_in_the_shredder }
available = {
has_war_with = GER
}
completion_reward = {
create_wargoal = {
type = puppet_wargoal_focus
target = POL
}
}
}
#The great reconstruction
focus = {
id = ESR_the_great_reconstruction
icon = GFX_ESR_the_great_reconstruction-262058
x = 12
y = 1
cost = 10
search_filters = {
FOCUS_FILTER_INDUSTRY
}
completion_reward = {
random_owned_controlled_state = {
limit = {
free_building_slots = {
building = industrial_complex
size > 0
include_locked = yes
}
}
add_extra_state_shared_building_slots = 1
add_building_construction = {
type = industrial_complex
level = 1
instant_build = yes
}
}
}
#Military Construction
focus = {
id = ESR_military_construction
icon = GFX_goal_generic_construct_mil_factory
x = 13
y = 4
cost = 10
search_filters = {
FOCUS_FILTER_INDUSTRY
}
prerequisite = { focus = ESR_the_great_reconstruction }
prerequisite = { focus = ESR_mass_rearming }
completion_reward = {
random_owned_controlled_state = {
limit = {
free_building_slots = {
building = arms_factory
size > 0
include_locked = yes
}
}
add_extra_state_shared_building_slots = 1
add_building_construction = {
type = arms_factory
level = 1
instant_build = yes
}
}
}
#Mass Re-arming
focus = {
id = ESR_mass_rearming
icon = GFX_focus_secret_rearmament
x = 14
y = 1
cost = 10
search_filters = {
FOCUS_FILTER_MANPOWER
}
completion_reward = {
add_manpower = 10000
army_experience = 50
navy_experience = 50
air_experience = 50
}
}
#Rising from the snow
focus = {
id = ESR_rising_from_the_snow
icon = GFX_ESR_rising_from_the_snow-581785
x = 11
y = 2
cost = 13
search_filters = {
FOCUS_FILTER_INDUSTRY
}
prerequisite = { focus = ESR_the_great_reconstruction }
completion_reward = {
random_owned_controlled_state = {
limit = {
free_building_slots = {
building = industrial_complex
size > 0
include_locked = yes
}
}
add_extra_state_shared_building_slots = 1
add_building_construction = {
type = industrial_complex
level = 1
instant_build = yes
}
random_owned_controlled_state = {
limit = {
free_building_slots = {
building = industrial_complex
size > 0
include_locked = yes
}
}
add_extra_state_shared_building_slots = 1
add_building_construction = {
type = industrial_complex
level = 1
instant_build = yes
}
}
}
#A good balance
focus = {
id = ESR_a_good_balance
icon = GFX_ESR_a_good_balance-581817
x = 12
y = 3
cost = 7
search_filters = {
FOCUS_FILTER_INDUSTRY
}
prerequisite = { focus = ESR_the_great_reconstruction }
completion_reward = {
add_stability = 0.1
add_political_power = -200
random_owned_controlled_state = {
limit = {
free_building_slots = {
building = industrial_complex
size > 0
include_locked = yes
}
}
add_extra_state_shared_building_slots = 1
add_building_construction = {
type = industrial_complex
level = 1
instant_build = yes
}
}
}
#Better pay for soldiers
focus = {
id = ESR_better_pay_for_soldiers
icon = GFX_focus_generic_commonwealth_build_infantry
x = 14
y = 2
cost = 10
search_filters = {
FOCUS_FILTER_MANPOWER
}
prerequisite = { focus = ESR_mass_rearming }
completion_reward = {
add_manpower = 18500
army_experience = 50
}
}
#'A sailor of honor'
focus = {
id = ESR_asailorofhonor
icon = GFX_ESR_asailorofhonor-581837
x = 15
y = 3
cost = 10
search_filters = {
FOCUS_FILTER_POLITICAL
}
prerequisite = { focus = ESR_mass_rearming }
completion_reward = {
navy_experience = 50
}
}
#The eagles of war
focus = {
id = ESR_the_eagles_of_war
icon = GFX_ESR_the_eagles_of_war-581840
x = 16
y = 2
cost = 10
search_filters = {
FOCUS_FILTER_POLITICAL
}
prerequisite = { focus = ESR_mass_rearming }
completion_reward = {
air_experience = 50
}
}
}
Focuses that don't show up are in bold