Skip to content

Commit

Permalink
1.12 compatibility #5
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolferos committed Oct 1, 2022
1 parent aa5ad2d commit 6b32fd7
Show file tree
Hide file tree
Showing 251 changed files with 692 additions and 3,080 deletions.
2 changes: 1 addition & 1 deletion mod/thegreatwar/common/ai_templates/generic.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1322,4 +1322,4 @@ paratrooper_generic = {
#logistics_company
#military_police
#light_sp_anti_air_brigade
#light_sp_artillery_brigade
#light_sp_artillery_brigade
1 change: 1 addition & 0 deletions mod/thegreatwar/common/ai_templates/templates_CHI.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#
1 change: 1 addition & 0 deletions mod/thegreatwar/common/ai_templates/templates_ENG.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#
1 change: 1 addition & 0 deletions mod/thegreatwar/common/ai_templates/templates_GER.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#
1 change: 1 addition & 0 deletions mod/thegreatwar/common/ai_templates/templates_ITA.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#
1 change: 1 addition & 0 deletions mod/thegreatwar/common/ai_templates/templates_JAP.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#
1 change: 1 addition & 0 deletions mod/thegreatwar/common/ai_templates/templates_SOV.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#
1 change: 1 addition & 0 deletions mod/thegreatwar/common/ai_templates/templates_USA.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#
2 changes: 1 addition & 1 deletion mod/thegreatwar/common/names/00_names.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4603,4 +4603,4 @@ COR = {

}
callsigns = { Buzzard Dusty Falcon Hawk Hammer Viper Banshee "The Baron" Lightning Duce Raven "Two Shot" Rosso }
}
}
9 changes: 5 additions & 4 deletions mod/thegreatwar/common/national_focus/austria.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ focus_tree = {
id = auh_focus
default = no
country = { factor=0 modifier={ add=10 tag=AUH } modifier={ add=10 original_tag=AUH } }



###########################################################################################################################
# POLITICAL
Expand Down Expand Up @@ -43,6 +41,7 @@ focus_tree = {
id = AUH_ww1_militarism
prerequisite = { focus=AUH_ww1_support_kaiser }
icon = GFX_hoi4tgw_auh_militarism

completion_reward = { add_ideas = militarism_focus army_experience=20 set_rule={ can_send_volunteers=yes } }
ai_will_do = { factor = 80 }
cost = 10
Expand Down Expand Up @@ -105,6 +104,7 @@ focus_tree = {
id = AUH_ww1_military_youth
prerequisite = { focus=AUH_ww1_militarism }
icon = GFX_goal_generic_more_territorial_claims

completion_reward = { add_ideas = military_youth_focus if={ limit={ has_government=fascism } add_popularity={ ideology=fascism popularity=0.2 } } if={ limit={ has_government=communism } add_popularity={ ideology=communism popularity=0.2 } } }
ai_will_do = { factor = 80 }
cost = 10
Expand All @@ -116,6 +116,7 @@ focus_tree = {
id = AUH_ww1_paramilitarism
prerequisite = { focus=AUH_ww1_military_youth }
icon = GFX_goal_generic_military_sphere

completion_reward = { add_ideas=paramilitarism_focus }
ai_will_do = { factor = 20 }
cost = 10
Expand Down Expand Up @@ -204,11 +205,11 @@ focus_tree = {
prerequisite = { focus=AUH_ww1_unitedpeople }
icon = GFX_goal_generic_radar
available = {}

completion_reward = {
add_manpower = 5000
add_political_power = -100
add_stability = -0.05

add_timed_idea = { idea = kis_auh_unifyrealm_focus days = 730 }
}
ai_will_do = { factor = 20 }
Expand All @@ -222,6 +223,7 @@ focus_tree = {
prerequisite = { focus=AUH_ww1_unitedpeople }
icon = GFX_goal_generic_occupy_states_ongoing_war
available = {}

completion_reward = {
add_doctrine_cost_reduction={ name=unitedpeople_a_bonus cost_reduction=0.25 uses=1 category=land_doctrine }
add_doctrine_cost_reduction={ name=unitedpeople_a_bonus cost_reduction=0.25 uses=1 category=naval_doctrine }
Expand Down Expand Up @@ -263,7 +265,6 @@ focus_tree = {

completion_reward = {


random_owned_state={ limit={ free_building_slots={ building=infrastructure size > 0 } OR={ is_in_home_area=yes NOT={ owner={ any_owned_state={ free_building_slots={ building=infrastructure size > 0 } is_in_home_area=yes } } } } } add_building_construction={ type=infrastructure level=1 instant_build=yes } }

army_experience=20
Expand Down
14 changes: 8 additions & 6 deletions mod/thegreatwar/common/national_focus/belgium.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,17 @@ focus_tree = {
focus = {
id = BEL_nationalism_focus
prerequisite = { focus=BEL_collectivist_ethos }
mutually_exclusive = { focus = BEL_internationalism_focus }

icon = GFX_goal_support_fascism
available = { }

completion_reward = { add_ideas=nationalism }
completion_reward = { add_ideas = nationalism }
ai_will_do = { factor = 0 }

cost = 10
x = 0
y = 2
mutually_exclusive = { focus=BEL_internationalism_focus }
}

focus = {
Expand All @@ -62,18 +63,19 @@ focus_tree = {
}
}
}
completion_reward = { add_ideas=internationalism }
#ai_will_do = { factor=5 modifier={ factor=2 any_neighbor_country={ is_major=yes has_government=communism } } }

completion_reward = { add_ideas = internationalism }

ai_will_do = { factor = 0 }
cost = 10
x = 2
y = 2
mutually_exclusive = { focus=BEL_nationalism_focus }
mutually_exclusive = { focus = BEL_nationalism_focus }
}

focus = {
id = BEL_ww1_sovereignist_ethos
prerequisite = { focus=BEL_political_effort }
prerequisite = { focus = BEL_political_effort }
icon = GFX_goal_anschluss
available = { }
completion_reward = { add_political_power=100 }
Expand Down
7 changes: 4 additions & 3 deletions mod/thegreatwar/common/national_focus/bulgaria.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ focus_tree = {
default = no
country={ factor=0 modifier={ add=10 tag=BUL } modifier={ add=10 original_tag=BUL } }


###########################################################################################################################
# POLITICAL
###########################################################################################################################
Expand All @@ -29,15 +28,17 @@ focus_tree = {
# has_government = democratic
}

completion_reward = { add_political_power=50 add_stability = 0.03 }
completion_reward = {
add_political_power = 50
add_stability = 0.03
}

ai_will_do = { factor = 100 }
cost = 10
x = 3
y = 1
}


#-----------------------------------------------------------------------
# Bloc 1 - Support the Republic
#-----------------------------------------------------------------------
Expand Down
5 changes: 2 additions & 3 deletions mod/thegreatwar/common/national_focus/canada.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,12 @@ focus_tree = {
icon = GFX_goal_CAN_Americanism
cost = 10

prerequisite = {
focus = CAN_Patriation
}
prerequisite = { focus = CAN_Patriation }
mutually_exclusive = {
focus = CAN_const_monarchy
focus = CAN_kingdom_own
}

x = 13
y = 3
available = {
Expand Down
3 changes: 3 additions & 0 deletions mod/thegreatwar/common/national_focus/france.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ focus_tree = {
}

completion_reward = { add_ideas=liberty_ethos_focus }

ai_will_do = { factor = 20 }
cost = 10
x = 1
Expand All @@ -71,7 +72,9 @@ focus_tree = {
id = FRA_ww1_vivani
prerequisite = { focus=FRA_ww1_freespeech }
icon = GFX_goal_generic_position_armies

completion_reward = { add_political_power = 100 remove_ideas = FRA_disjointed_government add_ideas=FRA_joseph_gallieni }

ai_will_do = { factor = 30 }
cost = 10
x = 1
Expand Down
5 changes: 0 additions & 5 deletions mod/thegreatwar/common/national_focus/generic.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ focus_tree = {
country = { factor = 1 }



focus = {
id = ww1_interwar_Aftermath
icon = GFX_focus_generic_treaty
Expand Down Expand Up @@ -60,7 +59,6 @@ focus_tree = {
}
}


completion_reward = {
create_wargoal = {
type = annex_everything
Expand Down Expand Up @@ -92,7 +90,6 @@ focus_tree = {
}
}


completion_reward = {
create_wargoal = {
type = annex_everything
Expand All @@ -112,8 +109,6 @@ focus_tree = {





focus = {
id = ww1_interwar_Position_TurkeyCivilWar
icon = GFX_goal_generic_position_armies
Expand Down
19 changes: 10 additions & 9 deletions mod/thegreatwar/common/national_focus/germany.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ focus_tree = {

completion_reward = { add_political_power = 80 }


ai_will_do = { factor = 800 }

cost = 8
Expand All @@ -50,10 +49,7 @@ focus_tree = {
cancel_if_invalid = yes
continue_if_invalid = no
available_if_capitulated = yes
available = {
}
bypass = {
}

completion_reward = {
custom_effect_tooltip = available_political_advisor
show_ideas_tooltip = GER_albert_einstein
Expand All @@ -76,7 +72,8 @@ focus_tree = {
category = support_tech
category = infantry_weapons
}
}
}

ai_will_do = {
factor = 1
}
Expand All @@ -86,7 +83,12 @@ focus_tree = {
id = GER_ww1_militarism
prerequisite = { focus=GER_ww1_support_kaiser }
icon = GFX_hoi4tgw_ger_militarism
completion_reward = { add_ideas = militarism_focus army_experience=20 set_rule={ can_send_volunteers=yes } }

completion_reward = {
add_ideas = militarism_focus
army_experience = 20
set_rule = { can_send_volunteers = yes }
}
ai_will_do = { factor = 20 }
cost = 10
x = 2
Expand All @@ -102,7 +104,7 @@ focus_tree = {

completion_reward = {

random_owned_state={ limit={ free_building_slots={ building=industrial_complex size > 0 include_locked=yes } OR={ is_in_home_area=yes NOT={ owner={ any_owned_state={ free_building_slots={ building=industrial_complex size > 0 include_locked=yes } is_in_home_area=yes } } } } } add_extra_state_shared_building_slots=1 add_building_construction={ type=industrial_complex level=1 instant_build=yes }}
random_owned_state={ limit={ free_building_slots={ building=industrial_complex size > 0 include_locked=yes } OR={ is_in_home_area=yes NOT={ owner={ any_owned_state={ free_building_slots={ building=industrial_complex size > 0 include_locked=yes } is_in_home_area=yes } } } } } add_extra_state_shared_building_slots=1 add_building_construction={ type=industrial_complex level=1 instant_build=yes }}

add_political_power=30
}
Expand All @@ -126,7 +128,6 @@ focus_tree = {
cost = 10
x = 2
y = 4

}

focus = {
Expand Down
1 change: 0 additions & 1 deletion mod/thegreatwar/common/national_focus/hungary.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
focus_tree = {

id = HUN_ww1_HUN_ww1_focus
default = no
country = { factor=0 modifier={ add=10 tag=HUN } modifier={ add=10 original_tag=HUN } }
Expand Down
20 changes: 17 additions & 3 deletions mod/thegreatwar/common/national_focus/italy.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ focus_tree = {
default = no
country = { factor = 0 modifier = { add = 10 tag = ITA } }


###########################################################################################################################
# POLITICAL
###########################################################################################################################
Expand Down Expand Up @@ -1365,7 +1364,23 @@ focus_tree = {
cost = 10
x = 22
y = 0
}
}


focus = {
id = ITA_ww1_Alpini

icon = GFX_hoi4tgw_alpini

prerequisite = { focus=ITA_ww1_army_effort }

completion_reward = { add_tech_bonus={ name=alpini_bonus bonus=0.30 uses=1 technology=tech_mountaineers2 technology=tech_mountaineers3 } }

ai_will_do = { factor = 1 }
cost = 8
x = 19
y = 1
}

focus = {
id = ITA_ww1_equipment_effort
Expand Down Expand Up @@ -1556,7 +1571,6 @@ focus_tree = {
y = 7
}


focus = {
id = ITA_ww1_armor_effort_1
prerequisite = { focus=ITA_ww1_equipment_effort_4 }
Expand Down
1 change: 1 addition & 0 deletions mod/thegreatwar/common/national_focus/japan.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ focus_tree = {
default=no
country={ factor=0 modifier={ add=10 tag=JAP } }
continuous_focus_position = { x = 2500 y = 1340 }

###########################################################################################################################
# POLITICAL
###########################################################################################################################
Expand Down
Loading

0 comments on commit 6b32fd7

Please sign in to comment.