Skip to content

Commit

Permalink
Merge pull request #111 from HoI4-LOTRMod-Team/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Helliaca authored Oct 31, 2023
2 parents 5587cbc + 088ac9a commit 80fe563
Show file tree
Hide file tree
Showing 39 changed files with 1,513 additions and 1,084 deletions.
19 changes: 0 additions & 19 deletions common/ai_strategy/MOR.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,6 @@ MOR_default_strategy = {

abort_when_not_enabled = yes

ai_strategy = {
type = build_building
id = infrastructure
target = 863
value = 100
}
ai_strategy = {
type = build_building
id = infrastructure
target = 862
value = 100
}
ai_strategy = {
type = build_building
id = infrastructure
target = 861
value = 100
}

ai_strategy = {
type = prepare_for_war
id = GON
Expand Down
41 changes: 41 additions & 0 deletions common/ai_strategy_plans/ART_strategy_plans.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
LTH_gameplan_historical = {
name = "Arthedain historical"
desc = ""

allowed = {
original_tag = ART
}

enable = {
has_country_flag = gameplan_going_unaligned
}
abort = {
always = no
}

ai_national_focuses = {
ART_the_fate_of_arthedain
lettherangersprevail
}
}

LTH_gameplan_cooperative = {
name = "Arthedain cooperative unhistorical"
desc = ""

allowed = {
original_tag = ART
}

enable = {
has_country_flag = gameplan_going_cooperative
}
abort = {
always = no
}

ai_national_focuses = {
ART_the_fate_of_arthedain
ART_support_the_monarchists
}
}
2 changes: 2 additions & 0 deletions common/ai_strategy_plans/GON_strategy_plans.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ GON_historical_plan = {
GON_invite_aragorn_to_minas_tirith
GON_crown_aragorn_king
GON_restore_the_kingdom_of_gondor

GON_defender_of_the_free_people
}

focus_factors = {
Expand Down
5 changes: 5 additions & 0 deletions common/ai_strategy_plans/MOR_strategy_plans.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ MOR_historical_plan = {
militaryeffort
conquestofmiddleearth
centralizedindustry
specializedunits
thebeatingheart
thefateofminasmorgul
set_up_fortress
Expand All @@ -39,6 +40,7 @@ MOR_historical_plan = {
railnetwork_to_the_east
warpreparations
honor_morgoth
unleashsauron
infrastructure_to_the_east
enslavetheeast
establishcontrolovertheeast
Expand All @@ -50,6 +52,9 @@ MOR_historical_plan = {
centralizedmilitirization
rallythetroops
set_up_fortress
mor_extraresearchslot
breed_the_trolls
MOR_specialized_high_command
MOR_prepare_war_with_gondor
war_with_gondor
integrateintomordor
Expand Down
4 changes: 2 additions & 2 deletions common/characters/_fellowship.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ characters={
skill = 1
attack_skill = 1
defense_skill = 1
planning_skill = 6
logistics_skill = 5
planning_skill = 5
logistics_skill = 6

visible = { always = no }
}
Expand Down
4 changes: 0 additions & 4 deletions common/decisions/LTH_decisions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ lothlorien_influence_decisions_category = {

available = {
is_ai = no
is_debug = yes
}

visible = {
Expand All @@ -89,7 +88,6 @@ lothlorien_influence_decisions_category = {

available = {
is_ai = no
is_debug = yes
}

visible = {
Expand All @@ -112,7 +110,6 @@ lothlorien_influence_decisions_category = {

available = {
is_ai = no
is_debug = yes
}

visible = {
Expand All @@ -135,7 +132,6 @@ lothlorien_influence_decisions_category = {

available = {
is_ai = no
is_debug = yes
}

visible = {
Expand Down
6 changes: 3 additions & 3 deletions common/decisions/ring_decisions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ ring_corruption_decisions_bop = {
}
add_power_balance_value = {
id = ring_corruption_balance
value = 0.1
value = -0.1
}
}

Expand Down Expand Up @@ -701,7 +701,7 @@ ring_corruption_decisions_bop = {
}
add_power_balance_value = {
id = ring_corruption_balance
value = 0.1
value = -0.1
}
}

Expand Down Expand Up @@ -750,7 +750,7 @@ ring_corruption_decisions_bop = {
}
add_power_balance_value = {
id = ring_corruption_balance
value = 0.1
value = -0.1
}
}

Expand Down
19 changes: 19 additions & 0 deletions common/ideas/arthedain.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,24 @@ ideas = {
recruitable_population = -0.10
}
}

ART_never_sleeping_industry = {
picture = GFX_idea_generic_production_bonus
modifier = {
production_speed_buildings_factor = 0.05
production_factory_efficiency_gain_factor = 0.05
production_factory_max_efficiency_factor = 0.1
}
}

ART_nation_of_the_peasants = {
picture = GFX_idea_generic_peasant_milita2
modifier = {
production_factory_efficiency_gain_factor = 0.05
production_factory_max_efficiency_factor = 0.05
stability_factor = 0.05
political_power_gain = -0.05
}
}
}
}
1 change: 1 addition & 0 deletions common/ideas/dagorlad.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ ideas = {

modifier = {
surrender_limit = -1
political_power_gain = -999
}
rule = {
can_join_factions = no
Expand Down
4 changes: 2 additions & 2 deletions common/ideas/gondor.txt
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ ideas = {
stability_factor = -0.15
political_power_factor = -0.10
war_support_factor = -0.10
army_morale = -0.10
army_morale_factor = -0.10
}
}

Expand Down Expand Up @@ -233,7 +233,7 @@ ideas = {
war_support_factor = -0.25
army_org_factor = -0.15
army_attack_factor = -0.15
army_morale = -0.20
army_morale_factor = -0.20
production_speed_industrial_complex_factor = -0.1
production_speed_arms_factory_factor = -0.1
production_speed_bunker_factor = 0.05
Expand Down
2 changes: 1 addition & 1 deletion common/ideas/isengard.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ideas = {
picture = FRA_army_of_aggression_focus

modifier = {
conscription = -0.05
conscription_factor = -0.25
stability_factor = -0.15
production_factory_efficiency_gain_factor = -0.1
industrial_capacity_factory = -0.33
Expand Down
6 changes: 3 additions & 3 deletions common/ideologies/00_ideologies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,13 @@ ideologies = {

color = { 70 26 0 }

war_impact_on_world_tension = 1.0
faction_impact_on_world_tension = 1.0

rules = {
can_force_government = yes
can_send_volunteers = yes
can_puppet = yes
}

can_collaborate = yes

modifiers = {
justify_war_goal_when_in_major_war_time = -0.40
Expand All @@ -43,6 +40,9 @@ ideologies = {
embargo_cost_factor = 1
}

can_collaborate = yes
war_impact_on_world_tension = 1.0
faction_impact_on_world_tension = 1.0
ai_fascist = yes # uses the fascist AI behaviour
ai_ideology_wanted_units_factor = 1.65
}
Expand Down
2 changes: 1 addition & 1 deletion common/national_focus/angmar.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,7 @@ focus = {
cost = 5
available_if_capitulated = yes
completion_reward = {
create_faction = "The Northern Alliance"
create_faction = ANG_faction_northern_alliance
}
}

Expand Down
Loading

0 comments on commit 80fe563

Please sign in to comment.