Skip to content

Commit

Permalink
Merge pull request #162 from HoI4-LOTRMod-Team/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Helliaca authored Nov 25, 2024
2 parents 9a6a8a1 + 38c3ee5 commit b92eecf
Show file tree
Hide file tree
Showing 154 changed files with 5,836 additions and 4,386 deletions.
29 changes: 0 additions & 29 deletions common/ai_focuses/ROH.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,5 @@ ai_historical_focus_list_ROH = {
ROH_heroes_of_rohan
ROH_equine_requisitions
ROH_hunt_down_stragglers
ROH_barrack_construction
ROH_intelligence_network
ROH_eorlingas_united

ROH_alliance_building
ROH_towards_gondor
ROH_invite_the_ents
ROH_two_kings_alliance

ROH_defensive_measures
ROH_maintain_stability

# Tech slot
ROH_knowledge_and_statescraft
ROH_rural_development
ROH_road_network_expansion
ROH_royal_library_of_edoras

# marshals
ROH_horselords_of_rohan
ROH_deal_with_westmarch
ROH_westmarch_construction_projects

ROH_call_a_landsmeet
ROH_political_consolidation
ROH_economic_consolidation
ROH_military_consolidation

ROH_grant_erkenbrand_command_over_westmarch
}
}
7 changes: 3 additions & 4 deletions common/ai_strategy/ROH.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ ROH_default_behaviour = {

ai_strategy = {
type = put_unit_buffers
ratio = 0.05
states = { # Edoras and Helms Deep
ratio = 0.03
states = { # Edoras
183
184
}
}
}
Expand All @@ -43,7 +42,7 @@ ROH_protect_helms_deep = {

ai_strategy = {
type = put_unit_buffers
ratio = 0.15
ratio = 0.18
states = { # Helms Deep
184
}
Expand Down
35 changes: 23 additions & 12 deletions common/ai_strategy_plans/ANG_strategy_plans.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,34 @@ ANG_historical_plan = {
}

ai_national_focuses = {
ANG_steady_as_we_go
ANG_neutral_foreign_policy
industrial_effort
ANG_the_path_of_balance
ANG_denounce_the_witch_king_neutral_path
army_effort
ANG_deterrence
ANG_focus_on_industry_1
production_effort
ANG_invite_forodwaith_settlers
ANG_rally_the_people
ANG_its_in_the_past
ANG_focus_on_industry_2
ANG_focus_on_research
ANG_integrate_the_settlers
ANG_learn_from_their_methods
ANG_better_roads
ANG_skirmishes_with_the_gundabad_orcs
ANG_give_the_settlers_jobs
ANG_its_in_the_past
ANG_neutral_foreign_policy
ANG_non_agression
construction_effort
production_effort_2
construction_effort_2
ANG_deterrence
ANG_request_investment_neighbours
ANG_create_a_university
ANG_focus_on_industry_1
ANG_focus_on_industry_2
ANG_boost_the_industry
ANG_a_human_lead_industry
ANG_boost_the_industry_civilian
ANG_long_term_plan
ANG_dig_out_the_mountains
ANG_expand_the_farms
ANG_boost_the_industry_civilian_2
ANG_put_the_squeeze_in
ANG_sole_masters_of_gundabad
ANG_a_new_age_for_angmar
}
}

Expand Down
2 changes: 1 addition & 1 deletion common/ai_strategy_plans/MOR_strategy_plans.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ MOR_historical_plan = {
research_rural_industry
enslavethesouth
establishcontroloverthesouth
invite_isengard_to_faction
centralizedmilitirization
rallythetroops
set_up_fortress
Expand All @@ -86,6 +85,7 @@ MOR_historical_plan = {
MOR_specialized_high_command
MOR_prepare_war_with_gondor
war_with_gondor
invite_isengard_to_faction
integrateintomordor
war_with_rohan
core_gondor
Expand Down
10 changes: 9 additions & 1 deletion common/ai_strategy_plans/ROH_strategy_plans.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ROH_call_the_banners = {

enable = {
has_war = yes
surrender_progress > 0.25
surrender_progress > 0.05
}
abort = {
has_completed_focus = ROH_call_the_banners
Expand All @@ -35,6 +35,14 @@ ROH_historical_plan = {
is_historical_focus_on = yes
has_country_flag = gameplan_going_cooperative
}
# Pause this plan to call banners if necessary
NOT = {
has_completed_focus = ROH_restore_the_realm
has_war = yes
surrender_progress > 0.05
NOT = { has_completed_focus = ROH_call_the_banners }
has_country_flag = gameplan_call_the_banners
}
}
abort = {
always = no
Expand Down
10 changes: 8 additions & 2 deletions common/buildings/00_buildings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,14 @@ buildings = {
military_production = 1

state_modifiers = {
state_resource_steel = 5
state_production_speed_arms_factory_factor = 0.05
state_resource_steel = 10
state_production_speed_arms_factory_factor = 0.1
}

country_modifiers = {
modifiers = {
country_resource_cost_chromium = 10
}
}

level_cap = {
Expand Down
166 changes: 166 additions & 0 deletions common/characters/RHO.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
characters = {
RHO_vidugavia = {
name = "Vidugavia II"
portraits = {
army = {
large = "GFX_portrait_rhovania_vidugavia"
small = "GFX_idea_portrait_rhovania_vidugavia"
}
}
country_leader = {
ideology = protective
desc = "placeholder"
expire = "1980.1.1.1"
traits = {
legitimate_heir
aging_monarch
}
}
country_leader = {
ideology = defensive
desc = "placeholder"
expire = "1980.1.1.1"
traits = {
legitimate_heir
aging_monarch
}
}
country_leader = {
ideology = collectivist
desc = "placeholder"
expire = "1980.1.1.1"
traits = {
legitimate_heir
aging_monarch
}
}
country_leader = {
ideology = supremacist
desc = "placeholder"
expire = "1980.1.1.1"
traits = {
legitimate_heir
aging_monarch
}
}
field_marshal={
traits = { brilliant_strategist old_guard }
skill = 2
attack_skill = 2
defense_skill = 2
planning_skill = 1
logistics_skill = 2
}
advisor = {
idea_token = RHO_vidugavia
slot = army_chief
cost = 200
traits = { army_infantry_1 }
modifier = {
experience_gain_army = 0.09
}
}
}
RHO_Aerin = {
name = "Aerin"
portraits={
army={
large="GFX_portrait_rhovania_aerin"
small = "GFX_idea_portrait_rhovania_aerin"
}
}
corps_commander={
traits={ trickster improvisation_expert }
skill=3
attack_skill=2
defense_skill=2
planning_skill=1
logistics_skill=1
}
}
RHO_Agathor = {
name = "Agathor"
portraits={
army={
large="GFX_portrait_rhovania_agathor"
small = "GFX_idea_portrait_rhovania_agathor"
}
}
corps_commander={
traits={ ambusher }
skill=1
attack_skill=1
defense_skill=3
planning_skill=2
logistics_skill=1
}
}
RHO_Belen = {
name = "Belen"
portraits={
army={
large="GFX_portrait_rhovania_belen"
small = "GFX_idea_portrait_rhovania_belen"
}
}
corps_commander={
traits={ winter_expert }
skill=2
attack_skill=2
defense_skill=2
planning_skill=0
logistics_skill=3
}
}
RHO_Gilwen = {
name = "Gilwen"
portraits={
army={
large="GFX_portrait_rhovania_gilwen"
small = "GFX_idea_portrait_rhovania_gilwen"
}
}
field_marshal={
traits = { }
skill = 2
attack_skill = 3
defense_skill = 0
planning_skill = 1
logistics_skill = 1
}
}
RHO_Malach = {
name = "Malach"
portraits={
army={
large="GFX_portrait_rhovania_malach"
small = "GFX_idea_portrait_rhovania_malach"
}
}
corps_commander={
traits={ }
skill=1
attack_skill=1
defense_skill=2
planning_skill=2
logistics_skill=1
}
}
RHO_Tuor = {
name = "Tuor"
portraits={
army={
large="GFX_portrait_rhovania_tuor"
small = "GFX_idea_portrait_rhovania_tuor"
}
}
corps_commander={
traits={ adaptable }
skill=1
attack_skill=2
defense_skill=1
planning_skill=1
logistics_skill=2
}
}
}
5 changes: 5 additions & 0 deletions common/countries/Kingdom of Rhovanion.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

graphical_culture = middle_eastern_gfx
graphical_culture_2d = middle_eastern_2d

color = { 68 68 68 }
4 changes: 4 additions & 0 deletions common/countries/colors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ ELU = {
#color = rgb { 120 127 191 }
color_ui = rgb { 120 127 191 }
}
RHO = {
color = rgb { 87 75 65 }
color_ui = rgb { 87 75 65 }
}
D01 = {
color = rgb { 66 16 104 }
color_ui = rgb { 245 123 38 }
Expand Down
2 changes: 1 addition & 1 deletion common/country_leader/00_traits.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ leader_traits = {

legitimate_heir = {
random = no
stability_factor = 0.10
war_support_factor = 0.10
political_power_factor = 0.1
}

Expand Down
6 changes: 6 additions & 0 deletions common/country_leader/00_traits_lotr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ leader_traits = {
}
}

aging_monarch = {
random = no
experience_gain_army_factor = -0.1
stability_factor = -0.1
}

absolute_power = {
random = no
political_power_gain = 0.15
Expand Down
1 change: 1 addition & 0 deletions common/country_tags/lotr_00_countries.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ DUN = "countries/Dunland.txt"
WOL = "countries/Wold.txt"
ELU = "countries/Ered Luin.txt"
ELI = "countries/Ered Lindon.txt"
RHO = "countries/Kingdom of Rhovanion.txt"
8 changes: 7 additions & 1 deletion common/decisions/Old_alliances_decisions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ BEACON_category = {

available = {
has_defensive_war = yes
has_war_with = MOR
enemies_strength_ratio > 1.5
if = {
limit = {
tag = GON
Expand Down Expand Up @@ -72,6 +72,12 @@ BEACON_category = {
factor = 0
tag = ROH
is_historical_focus_on = yes
surrender_progress < 0.6
}
modifier = {
factor = 3
tag = GON
surrender_progress > 0.1
}
modifier = {
add = 10
Expand Down
Loading

0 comments on commit b92eecf

Please sign in to comment.