Skip to content

Commit

Permalink
Showing 1,938 changed files with 107,231 additions and 19,139 deletions.
13 changes: 11 additions & 2 deletions additional_credits.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Some parts of the textures for the unit models were taken from the following resources:
Some parts of the textures for the unit models were taken from the following resources:

- "Uruk Hai - LOTR" (https://skfb.ly/TQGw) by Ulrik Langvandsbråten
- "Uruk armor pack" (https://skfb.ly/oxvRT) by Brice_VIARD
- "Gondor Armour" (https://skfb.ly/6pWwH) by TheWarArmoury
@@ -16,4 +16,13 @@ Most generic portraits are generated using Midjourney (midjourney.com)
People who helped with the focus tree icons and flags:
- Arnadex (discord name)
- Walther (discord name)
- Soviet_Cyber (discord name)


Bag End artwork (loading screen) by Tummi (Vladimir Stana) (https://www.artstation.com/artwork/lVrbez)
Lothlorien artwork (loading screens) by Tummi (Vladimir Stana) (https://www.artstation.com/artwork/0nJZbY)
Elven city artwork (loading screen) by Tummi (Vladimir Stana) (https://www.artstation.com/artwork/g0gZ3x)

Anorion font by Pete Klassen (https://www.fontspace.com/aniron-font-f2247)
Merienda font by Eduardo Tunni (http://www.tipo.net.ar)
Neucha font by Jovanny Lemonad (http://www.jovanny.ru)
1 change: 0 additions & 1 deletion common/abilities/generic_leader_abilities.txt
Original file line number Diff line number Diff line change
@@ -183,7 +183,6 @@ ability = {
}

unit_modifiers = {
paratrooper_count_per_plane = 1.0
paradrop_organization_factor = 2.0
paratrooper_aa_defense = 0.5
}
91 changes: 91 additions & 0 deletions common/ai_areas/default.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
areas = {

forodwaith = {
continents = {
forodwaith
}
}

lindon = {
continents = {
lindon
}
}

eriador = {
continents = {
eriador
}
}

rhovanion = {
continents = {
rhovanion
}
}

erebor = {
continents = {
erebor
}
}

rhun = {
continents = {
rhun
}
}

mordor = {
continents = {
mordor
}
}

harad = {
continents = {
harad
}
}

rohan = {
continents = {
rohan
}
}

gondor = {

continents = {
gondor
}
}

mirkwood = {

continents = {
mirkwood
}
}

enedwaith = {

continents = {
enedwaith
}
}

vale = {

continents = {
vale
}
}

hollin = {

continents = {
hollin
}
}
}
1,599 changes: 0 additions & 1,599 deletions common/ai_equipment/generic_naval.txt

This file was deleted.

12 changes: 1 addition & 11 deletions common/ai_focuses/GON.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@

ai_historical_focus_list_GON = {
ai_national_focuses = {
honorisildurslegacy
prepareforwarwithmordor
buildupdefensesatosgiliath
antinazgulmeasures
lightthebeacons
restorethekingdom
declarearagorntherightfulheir
seekoutthespookyghosts
getridofdenethor
invitearagornintominastirith
crownaragornkingofgondor

}
}
38 changes: 35 additions & 3 deletions common/ai_focuses/LTH.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,40 @@

ai_historical_focus_list_LTH = {
ai_national_focuses = {
thefateoflothlorien
acknowledgethemordorthreat
prioritizeselfpreservation
lth_acknowledgethemordorthreat
lth_immortalendurance
lth_preservationofknowledge
lth_thelibraryofcarasgaladhon
lth_limitedintervention
lth_aegisoflight
lth_deterrence
lth_maintainstabilityinthewest
lth_sendaidtohelmsdeep
lth_bideourtime

lth_territorialadministration
lth_sacredtreesofthenhail
lth_mallorntreearchiotecture
lth_conscecratecarasgaladhon
lth_conscecratecerinamroth
lth_thetwinheartsoflothlorien
lth_impregnablefortresses
lth_resourcestorage
lth_territorialdefense
lth_guardiansoftheriveranduin
lth_strengthenfortifications
lth_defensiveperimeter

lth_elvenknowledge
lth_echoesoftheeldendays
lth_thearchivesofagespast
lth_cryptsofmemory

lth_ensurefoodsecurity

lth_thecallofvalinor
lth_offerpassagetothehalflings
lth_thetwilightgarden
lth_thelasteldar
}
}
96 changes: 43 additions & 53 deletions common/ai_focuses/generic.txt
Original file line number Diff line number Diff line change
@@ -2,100 +2,90 @@
ai_focus_defense = {
research = {
defensive = 5.0
radar_tech = 1.0
construction_tech = 2.0
artillery = 2.0
lotr_labour_construction = 2.0
lotr_infantry_archery = 2.0
lotr_infantry_weapons = 2.0
lotr_infantry = 2.0
lotr_infantry_supportweapons = 2.0
lotr_support_tech = 1.0
}
}

ai_focus_aggressive = {
research = {
offensive = 5.0
synth_resources = 1.0
motorized_equipment = 2.0
armor = 2.0
lotr_infantry_archery = 2.0
lotr_infantry_weapons = 2.0
lotr_infantry = 1.0
lotr_elven_secrets_bow = 1.0
}
}

ai_focus_war_production = {
research = {
industry = 10.0
construction_tech = 2.0
electronics = 2.0
computing_tech = 2.0
lotr_labour_construction_industry = 10.0
lotr_labour_construction = 2.0
lotr_infantry_archery = 2.0
lotr_infantry_weapons = 2.0
lotr_support_tech = 1.0
}
}

ai_focus_military_equipment = {
research = {
infantry_weapons = 50.0
infantry_tech = 15.0
artillery = 8.0
support_tech = 6.5
lotr_support_tech = 2.0
lotr_infantry_archery = 2.0
lotr_infantry_weapons = 2.0
lotr_infantry = 1.0
lotr_cavalry = 1.0
lotr_elven_secrets_bow = 1.0
lotr_machines = 1.0
}
}

ai_focus_military_advancements = {
research = {
armor = 10.0
jet_technology = 5.0
lotr_cavalry = 2.0
land_doctrine = 100.0
rocketry = 7.5
radar_tech = 3.0
encryption_tech = 7.5
decryption_tech = 7.5
synth_resources = 3.0
motorized_equipment = 4.0
nuclear = 5.0
night_vision = 5.0
train_tech = 5.0
lotr_infantry_archery = 2.0
lotr_infantry_weapons = 2.0
lotr_infantry = 1.0
lotr_knowledge_scriptorium = 1.0
}
}

ai_focus_peaceful = {
research = {
industry = 15.0
construction_tech = 5.0
electronics = 10.0
computing_tech = 10.0
lotr_labour_construction_industry = 10.0
lotr_labour_construction = 10.0
lotr_knowledge_alchemy = 10.0
lotr_labour_metalworking = 15.0
lotr_knowledge_scriptorium = 10.0
lotr_labour = 1.0
lotr_knowledge = 1.0
lotr_men_secrets = 1.0
lotr_elven_secrets = 1.0
lotr_orcs_secrets = 1.0
lotr_dwarven_secrets = 1.0
}
}

ai_focus_naval = {
research = {
naval_equipment = 5.0
naval_doctrine = 100.0
marine_tech = 10.0
dd_tech = 3.0
cl_tech = 3.0
ca_tech = 3.0
bc_tech = 3.0
bb_tech = 3.0
shbb_tech = 3.0
tp_tech = 3.0
cv_tech = 3.0
ss_tech = 3.0
lotr_sailing = 10.0
}
}

ai_focus_naval_air = {
research = {
naval_air = 4.0
naval_bomber = 3.0
lotr_eagles = 10.0
lotr_fellbeasts = 10.0
}
}

ai_focus_aviation = {
research = {
air_doctrine = 50.0
light_air = 20.0
light_fighter = 20.0
jet_technology = 1.0
cas_bomber = 2.0
medium_air = 4.0
tactical_bomber = 5.0
heavy_air = 1.5
air_equipment = 5.0
para_tech = 10
lotr_eagles = 10.0
lotr_fellbeasts = 10.0
}
}
1 change: 0 additions & 1 deletion common/ai_peace/1_communist.txt
Original file line number Diff line number Diff line change
@@ -108,7 +108,6 @@ communist_peace = {
}
}
OR = {
FROM = { capital_scope = { is_on_continent = europe } }
NOT = {
FROM = {
any_owned_state = {
15 changes: 0 additions & 15 deletions common/ai_peace/1_democratic.txt
Original file line number Diff line number Diff line change
@@ -408,21 +408,6 @@ cooperative_peace = {
}
}
}
modifier = { #Only European states with african colonies or middle eastern states should take anything in africa
factor = 0
NOT = {
capital_scope = {
OR = {
AND = {
is_on_continent = europe
owner = { any_owned_state = { is_on_continent = africa } }
}
is_on_continent = middle_east
}
}
}
FROM = { is_on_continent = africa }
}
modifier = { #Only take claimed/core land if a puppet.
factor = 0
is_puppet = yes
33 changes: 0 additions & 33 deletions common/ai_peace/1_fascist.txt
Original file line number Diff line number Diff line change
@@ -129,39 +129,6 @@ fascist_peace = {
#}
}
}
modifier = { #Deter expansion outside of continent - puppet on continent first
factor = 0.1
OR = {
AND = {
capital_scope = { is_on_continent = europe }
NOT = { FROM = { capital_scope = { is_on_continent = europe } } }
}
AND = {
capital_scope = { is_on_continent = north_america }
NOT = { FROM = { capital_scope = { is_on_continent = north_america } } }
}
AND = {
capital_scope = { is_on_continent = south_america }
NOT = { FROM = { capital_scope = { is_on_continent = south_america } } }
}
AND = {
capital_scope = { is_on_continent = australia }
NOT = { FROM = { capital_scope = { is_on_continent = australia } } }
}
AND = {
capital_scope = { is_on_continent = africa }
NOT = { FROM = { capital_scope = { is_on_continent = africa } } }
}
AND = {
capital_scope = { is_on_continent = asia }
NOT = { FROM = { capital_scope = { is_on_continent = asia } } }
}
AND = {
capital_scope = { is_on_continent = middle_east }
NOT = { FROM = { capital_scope = { is_on_continent = middle_east } } }
}
}
}

modifier = { #Not if we or a faction member have a stated interest to wipe them off the map
factor = 0
22 changes: 22 additions & 0 deletions common/ai_strategy/GON.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
GON_default_strategy = {
enable = {
always = yes
}
allowed = {
original_tag = GON
}

abort_when_not_enabled = yes

ai_strategy = {
type = prepare_for_war
id = MOR
value = 50
}

ai_strategy = {
type = contain
id = MOR
value = 50
}
}
128 changes: 128 additions & 0 deletions common/ai_strategy/LTH.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
LTH_prioritize_homeland = {
enable = {
always = yes
}
allowed = {
original_tag = LTH
}

abort_when_not_enabled = yes

ai_strategy = {
type = area_priority
id = hollin
value = 50
}
}

LTH_build_civs_in_caras = {
enable = {
has_war = no
threat < 0.5 # Things are getting too hot, time to build mils
}
allowed = {
original_tag = LTH
}

abort_when_not_enabled = yes

ai_strategy = {
type = build_building
id = industrial_complex
target = 75
value = 15 # Get *at least* 12 civs into state 75 first, that way we can get the most out of the "twin hearts" focus
}

ai_strategy = {
type = factory_build_score_factor
target = 75
value = 100
}

ai_strategy = {
type = building_target
id = industrial_complex
value = 23
}
}

LTH_build_mils_in_amroth = {
enable = {
OR = {
75 = { check_variable = { industrial_complex_level > 12 } }
has_war = yes
threat > 0.49
}
}
allowed = {
original_tag = LTH
}

abort_when_not_enabled = yes

ai_strategy = {
type = build_building
id = arms_factory
target = 222
value = 50 # as many as will fit
}

ai_strategy = {
type = factory_build_score_factor
target = 222
value = 50
}

ai_strategy = {
type = building_target
id = arms_factory
value = 20
}
}

LTH_oath_of_feanor = {
enable = {
has_completed_focus = lth_theoathoffeanor
}
allowed = {
original_tag = LTH
}

abort_when_not_enabled = yes

ai_strategy = {
type = antagonize
id = MOR
value = -100
}
}

LTH_act_aggressively = {
enable = {
has_government = belligerent
is_subject = no
}
allowed = {
original_tag = LTH
}

abort_when_not_enabled = yes

ai_strategy = {
type = consider_weak
id = MOA
value = 10
}

ai_strategy = {
type = consider_weak
id = MOC
value = 10
}

ai_strategy = {
type = consider_weak
id = VAL
value = 10
}
}
74 changes: 74 additions & 0 deletions common/ai_strategy/MOR.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
MOR_default_strategy = {
enable = {
always = yes
}
allowed = {
original_tag = MOR
}

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
value = 50
}

ai_strategy = {
type = area_priority
id = erebor
value = -50
}

ai_strategy = {
type = area_priority
id = rhovanion
value = -50
}
}

MOR_time_to_conquer_gondor = {
enable = {
date > "3022.1.1"
strength_ratio = {
tag = GON
ratio > 2
}
}
allowed = {
original_tag = MOR
}

abort_when_not_enabled = yes

ai_strategy = {
type = antagonize
id = GON
value = -100
}

ai_strategy = {
type = conquer
id = GON
value = 100
}
}
515 changes: 386 additions & 129 deletions common/ai_strategy/default.txt

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions common/ai_strategy/doctrines.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
stop_making_horsies = {
enable = {
num_of_factories > 20
date > 1938.1.1
date > 3020.1.1
}
abort = {
always = no
@@ -101,7 +101,7 @@ concentrated_fire_plans_ratios = {
ai_strategy = {
type = role_ratio
id = infantry
value = -5
value = 1
}

ai_strategy = {
@@ -177,13 +177,13 @@ large_front_operations_ratios = {
ai_strategy = {
type = role_ratio
id = infantry
value = -10
value = 5
}

ai_strategy = {
type = role_ratio
id = armor
value = 10
value = 2
}

}
27 changes: 0 additions & 27 deletions common/ai_strategy/mordor.txt

This file was deleted.

1 change: 1 addition & 0 deletions common/ai_strategy/operatives_default.txt
Original file line number Diff line number Diff line change
@@ -13,6 +13,7 @@ enable_operative_missions = {
enable = {
any_operative_leader = { always = yes }
}
abort_when_not_enabled = yes

ai_strategy = {
type = operative_mission
122 changes: 122 additions & 0 deletions common/ai_strategy_plans/GON_strategy_plans.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
GON_historical_plan = {
name = "Gondor historical plan"
desc = "Historical behavior for Gondor"

allowed = {
original_tag = GON
}

enable = {
is_historical_focus_on = yes
}
abort = {
always = no
}

ai_national_focuses = {
GON_internal_policy_department
GON_reinforce_osgilliath
GON_where_is_the_string
GON_university_of_minas_tirith

GON_honor_isildurs_legacy
GON_prepare_for_the_king_return
GON_rally_support_from_the_people
GON_limit_denethor_militair_power

GON_prepare_for_the_growing_theat_north
GON_improve_infrastructure_west

GON_limit_denethor_political_power
GON_declare_aragorn_the_rightful_heir

GON_invite_aragorn_to_minas_tirith
GON_crown_aragorn_king
GON_restore_the_kingdom_of_gondor
}

focus_factors = {
GON_have_boromir_steal_the_ring = 0
GON_send_faramir_with_the_fellowship = 0
GON_delegitimize_aragorns_claim = 0
GON_persuade_aragorn_to_come_to_Gondor = 0
}
}

GON_cooperative_unhistorical = {
name = "Gondor cooperative unhistorical"
desc = ""

allowed = {
original_tag = GON
}

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

focus_factors = {
GON_delegitimize_aragorns_claim = 0
}
}

GON_revolutionary_unhistorical = {
name = "Gondor revolutionary unhistorical"
desc = ""

allowed = {
original_tag = GON
}

enable = {
is_historical_focus_on = no
has_country_flag = gameplan_going_revolutionary
}
abort = {
always = no
}

ai_national_focuses = {
GON_ensure_popular_support
GON_defame_isildurs_lineage
GON_gondor_needs_no_king
GON_purge_the_aristocracy
GON_meritocracy
GON_the_tolfalas_stalemate
GON_prepare_an_invasion_force
GON_the_peoples_fleet
}

focus_factors = {
GON_delegitimize_aragorns_claim = 2
GON_purge_the_crown_loyalists = 2
GON_honor_isildurs_legacy = 0
GON_the_steward_of_gondor = 0
}
}

GON_unaligned_unhistorical = {
name = "Gondor unaligned unhistorical"
desc = ""

allowed = {
original_tag = GON
}

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

focus_factors = {
GON_honor_isildurs_legacy = 0
GON_gondor_needs_no_king = 0
}
}
946 changes: 946 additions & 0 deletions common/ai_strategy_plans/LTH_strategy_plans.txt

Large diffs are not rendered by default.

42 changes: 42 additions & 0 deletions common/ai_strategy_plans/MOR_strategy_plans.txt
Original file line number Diff line number Diff line change
@@ -66,4 +66,46 @@ MOR_historical_plan = {
core_rohan
demand_alliance
}
}

MOR_belligerent_unhistorical = {
name = "MOR_belligerent_unhistorical"
desc = ""

allowed = {
original_tag = MOR
}

enable = {
has_country_flag = gamplan_going_belligerent
is_historical_focus_on = no
}
abort = {
always = no
}

focus_factors = {
resistsauron = 0
}
}

MOR_revolutionary_unhistorical = {
name = "MOR_revolutionary_unhistorical"
desc = ""

allowed = {
original_tag = MOR
}

enable = {
has_country_flag = gameplan_going_revolutionary
is_historical_focus_on = no
}
abort = {
always = no
}

focus_factors = {
submittosauron = 0
}
}
137 changes: 137 additions & 0 deletions common/ai_strategy_plans/generic_strategy_plans.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
generic_slow_buildup = {
name = "Generic Slow Buildup"
desc = "Behaviour for AIs with generic focus tree"

allowed = {
OR = {
tag = CAR
tag = DAL
tag = DOR
tag = ENE
tag = GUN
tag = LIN
tag = RHD
tag = VAL
}
}

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

ai_national_focuses = {
industrial_effort
construction_effort
construction_effort_2
infrastructure_effort
construction_effort_3
generic_construction_effort_4
infrastructure_effort_2
extra_tech_slot
}

research = {
construction1 = 3
construction2 = 3
metalworking = 3
improved_machine_tools = 3
concentrated_industry = 3
}

traits = {
level_headed_financier = 10
construction_engineer = 10
ruthless_pillager = 5
backalley_dealer = 5
}
}

generic_fast_rearm = {
name = "Generic Fast Rearm"
desc = "Behaviour for AIs with generic focus tree"

allowed = {
OR = {
tag = CAR
tag = DAL
tag = DOR
tag = ENE
tag = GUN
tag = LIN
tag = RHD
tag = VAL
}
}

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

ai_national_focuses = {
industrial_effort
production_effort
production_effort_2
production_effort_3
generic_production_effort_4
army_effort
equipment_effort
}

research = {
metalworking = 3
improved_machine_tools = 3
advanced_machine_tools = 3
}

traits = {
military_industrialist = 3
military_researcher = 3
military_architect = 10
}
}

generic_fast_ideology_switch = {
name = "Generic historical plan"
desc = "Behaviour for AIs with generic focus tree"

allowed = {
OR = {
tag = CAR
tag = DAL
tag = DOR
tag = ENE
tag = GUN
tag = LIN
tag = RHD
tag = VAL
}
}

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

focus_factors = {
political_effort = 10
collectivist_ethos = 10
nationalism_focus = 10
internationalism_focus = 10
liberty_ethos = 10
}

traits = {
superiority_preacher = 3
rabble_rouser = 3
cautious_stoicist = 3
benevolent_protector = 3
}
}
17 changes: 5 additions & 12 deletions common/ai_templates/generic.txt
Original file line number Diff line number Diff line change
@@ -565,18 +565,13 @@ garrison_generic = {
weight = 0.9
match_value = 3000.0

support = {
engineer = 1
}

regiments = {
infantry = 4
}
}

allowed_types = {
infantry
engineer
}
}
}
@@ -653,18 +648,13 @@ suppression_generic = {
weight = 0.9
match_value = 3000.0

support = {
military_police = 1
}

regiments = {
cavalry = 6
infantry = 4
}
}

allowed_types = {
cavalry
military_police
infantry
}
}
}
@@ -982,6 +972,8 @@ mountaineers_generic = {
field_hospital
logistics_company
anti_tank
artillery_brigade
engineer
}
}
}
@@ -1076,6 +1068,7 @@ marines_generic = {
marine
engineer
logistics_company
recon
}
}
marine_armored = {
2 changes: 1 addition & 1 deletion common/autonomous_states/colony.txt
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ autonomy_state = {

is_puppet = yes

min_freedom_level = 0.60
min_freedom_level = 0.5

manpower_influence = 0.7

54 changes: 0 additions & 54 deletions common/autonomous_states/dominion.txt

This file was deleted.

52 changes: 52 additions & 0 deletions common/autonomous_states/ea_hegemony_subject.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
autonomy_state = {
id = autonomy_ea_hegemony_subject

is_puppet = no

min_freedom_level = 0.7

manpower_influence = 0.7

rule = {
desc = "RULE_DESC_IS_A_SUBJECT"

can_not_declare_war = yes
can_decline_call_to_war = no
can_be_spymaster = no
contributes_operatives = no
can_create_collaboration_government = no
}

modifier = {
autonomy_manpower_share = 0.7
can_master_build_for_us = 1
extra_trade_to_overlord_factor = 0.6
overlord_trade_cost_factor = -0.6
cic_to_overlord_factor = 0.25
autonomy_gain_global_factor = -0.3
}

ai_subject_wants_higher = {
factor = 1.0
}

ai_overlord_wants_lower = {
factor = 1.0
}

ai_overlord_wants_garrison = {
always = no
}

allowed = {
always = no
}

can_take_level = {

}

can_lose_level = {
#trigger here
}
}
49 changes: 49 additions & 0 deletions common/autonomous_states/fiefdom.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
autonomy_state = {
id = autonomy_fiefdom

is_puppet = yes

min_freedom_level = 0.75

manpower_influence = 0.9

rule = {
desc = "RULE_DESC_IS_A_SUBJECT"

can_not_declare_war = yes
can_decline_call_to_war = yes
units_deployed_to_overlord = no
can_be_spymaster = no
contributes_operatives = yes
can_create_collaboration_government = no
}

modifier = {
can_master_build_for_us = 1
extra_trade_to_overlord_factor = 1.0
overlord_trade_cost_factor = -0.9
cic_to_overlord_factor = 0.25
mic_to_overlord_factor = 0.25
license_subject_master_purchase_cost = -1
}

ai_subject_wants_higher = {
factor = 1.0
}

ai_overlord_wants_lower = {
factor = 0.0
}

ai_overlord_wants_garrison = {
always = yes
}

can_take_level = {
#trigger here
}

can_lose_level = {
#trigger here
}
}
60 changes: 0 additions & 60 deletions common/autonomous_states/integrated_puppet.txt

This file was deleted.

55 changes: 0 additions & 55 deletions common/autonomous_states/nsb_personal_union.txt

This file was deleted.

4 changes: 3 additions & 1 deletion common/autonomous_states/puppet.txt
Original file line number Diff line number Diff line change
@@ -23,7 +23,9 @@ autonomy_state = {
can_master_build_for_us = 1
extra_trade_to_overlord_factor = 1.0
overlord_trade_cost_factor = -0.9

peace_score_ratio_transferred_to_overlord = 0.1
cic_to_overlord_factor = 0.4
mic_to_overlord_factor = 0.4
research_sharing_per_country_bonus_factor = -0.5
}

57 changes: 0 additions & 57 deletions common/autonomous_states/reichskommissariat.txt

This file was deleted.

56 changes: 0 additions & 56 deletions common/autonomous_states/reichsprotectorate.txt

This file was deleted.

48 changes: 0 additions & 48 deletions common/autonomous_states/satellite.txt

This file was deleted.

2 changes: 1 addition & 1 deletion common/autonomous_states/supervised_state.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
autonomy_state = {
id = autonomy_supervised_state

min_freedom_level = 0.75
min_freedom_level = 0.0

peace_conference_initial_freedom = 0.001

52 changes: 0 additions & 52 deletions common/autonomous_states/wtt_imperial_associate.txt

This file was deleted.

55 changes: 0 additions & 55 deletions common/autonomous_states/wtt_imperial_protectorate.txt

This file was deleted.

53 changes: 0 additions & 53 deletions common/autonomous_states/wtt_imperial_subject.txt

This file was deleted.

11 changes: 11 additions & 0 deletions common/bookmarks/war_of_the_ring.txt
Original file line number Diff line number Diff line change
@@ -25,8 +25,13 @@ bookmarks = {
history = "GON_WAR_OF_THE_RING_DESC"
ideology = unaligned
ideas = {
GON_kingdom_without_king_0
GON_weary_armed_forces
}
focuses = {
GON_crown_aragorn_king
GON_the_steward_of_gondor
GON_gondor_needs_no_king
}
}

@@ -70,8 +75,14 @@ bookmarks = {
history = "LTH_WAR_OF_THE_RING_DESC"
ideology = unaligned
ideas = {
LTH_celeborn_and_galadriel
LTH_decadent_nobility
LTH_isolationist_reservations_3
}
focuses = {
lth_harmonicascendancy
lth_theforestbetween
lth_preemtptivedepartures
}
}

2 changes: 1 addition & 1 deletion common/bop/_test.txt
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ _test_balance = {
initial_value = 0.25
left_side = default_left_side
right_side = default_right_side
# decision_category = GER_mefo_bills_category
decision_category = GER_mefo_bills_category
range = {
id = mid_range
min = -0.1
95 changes: 95 additions & 0 deletions common/bop/ring_corruption_bop.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@

ring_corruption_balance = {

initial_value = 0.0

left_side = ring_corruption_good
right_side = ring_corruption_bad

decision_category = ring_corruption_decisions_bop

range = {
id = corruption_neutral
min = -0.25
max = 0.25
modifier = {
belligerent_drift = 0.03
}
}
side = {
id = ring_corruption_good
icon = GFX_idea_one_ring

range = {
id = corruption_good_high
min = -1.0
max = -0.65
on_activate = {
MOR = { set_country_flag = fs_disable_corruption_decision }
custom_effect_tooltip = corruption_good_high_tt
}
on_deactivate = {
MOR = { clr_country_flag = fs_disable_corruption_decision }
custom_effect_tooltip = corruption_good_high_off_tt
}
modifier = {
army_attack_factor = 0.1
army_defence_factor = 0.1
}
}
range = {
id = corruption_good_low
min = -0.65
max = -0.25
modifier = {
army_attack_factor = 0.05
army_defence_factor = 0.05
}
}
}
side = {
id = ring_corruption_bad
icon = GFX_idea_sauron_eye
range = {
id = corruption_bad_low
min = 0.25
max = 0.65
modifier = {
belligerent_drift = 0.05
stability_weekly = -0.02
}
}
range = {
id = corruption_bad_high
min = 0.65
max = 0.99
on_activate = {
var:global.fs_ring_owner = { set_country_flag = fs_disable_ring_destruction }
custom_effect_tooltip = corruption_bad_high_tt

hidden_effect = {
country_event = fs.107
}
}
on_deactivate = {
var:global.fs_ring_owner = { clr_country_flag = fs_disable_ring_destruction }
custom_effect_tooltip = corruption_bad_high_off_tt
}
modifier = {
belligerent_drift = 0.08
stability_weekly = -0.03
}
}
range = {
id = corruption_bad_corrupted
min = 0.99
max = 1.0
on_activate = {
ring_give_sauron_ring = yes
}
on_deactivate = {

}
}
}
}
2 changes: 1 addition & 1 deletion common/characters/ANG.txt
Original file line number Diff line number Diff line change
@@ -182,7 +182,7 @@ characters={
defense_skill = 1
maneuvering_skill = 8
coordination_skill = 1
traits = { cold_water_expert }
traits = { arctic_water_expert }
}
advisor = {
idea_token = ANG_jarnwar
81 changes: 81 additions & 0 deletions common/characters/DAM.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
characters={
DAM_imrahil={
name="Prince Imrahil"
portraits={
civilian={
large="GFX_portrait_dol_amroth_imrahil"
small="GFX_idea_portrait_dol_amroth_imrahil"
}
}
country_leader={
ideology=protective
expire="1980.1.1.1"
id=-1
}
country_leader={
ideology=isolationist
expire="1980.1.1.1"
id=-1
}
country_leader={
ideology=expansionist
expire="1980.1.1.1"
id=-1
}
country_leader={
ideology=collectivist
expire="1980.1.1.1"
id=-1
}

field_marshal={
traits={ thorough_planner }
skill=3
attack_skill=2
defense_skill=2
planning_skill=4
logistics_skill=3
}
}
DAM_amrothos={
name="Prince Amrothos"
portraits={
civilian={
large="GFX_portrait_dol_amroth_amrothos"
small="GFX_idea_portrait_dol_amroth_amrothos"
}
}

field_marshal={
traits={ panzer_leader }
skill=2
attack_skill=3
defense_skill=2
planning_skill=3
logistics_skill=2
}
country_leader={
ideology=isolationist
expire="1980.1.1.1"
id=-1
}
}
DAM_lothiriel={
name="Lothíriel"
portraits={
civilian={
large="GFX_portrait_dol_amroth_lothiriel"
small="GFX_idea_portrait_dol_amroth_lothiriel"
}
}
advisor = {
idea_token = DAM_lothiriel
slot = political_advisor
cost = 150
traits = { rohan_ambassador }
available = {
NOT = { has_government = revolutionary }
}
}
}
}
2 changes: 1 addition & 1 deletion common/characters/DGU.txt
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ characters={
DGU_curgadh = {
name = "Curgadh"
corps_commander={
traits={ reckless }
traits={ trait_reckless }
skill=1
attack_skill=2
defense_skill=1
2 changes: 1 addition & 1 deletion common/characters/ENE.txt
Original file line number Diff line number Diff line change
@@ -129,7 +129,7 @@ characters={
}
}
corps_commander={
traits={ reckless }
traits={ trait_reckless }
skill=2
attack_skill=2
defense_skill=1
9 changes: 0 additions & 9 deletions common/characters/ENT.txt
Original file line number Diff line number Diff line change
@@ -34,15 +34,6 @@ characters={
small = "GFX_idea_portrait_entwood_fladrif"
}
}
corps_commander={
traits = { }
skill = 2
attack_skill = 2
defense_skill = 2
planning_skill = 3
logistics_skill = 2
legacy_id=-1
}
country_leader={
ideology=domineering
expire="1980.1.1.1"
4 changes: 2 additions & 2 deletions common/characters/ERE.txt
Original file line number Diff line number Diff line change
@@ -3,8 +3,8 @@ characters={
name="Thorin III Stonehelm"
portraits={
army={
large="GFX_Portrait_Erebor_Thorin"
small = "GFX_Portrait_Erebor_Thorin"
large="GFX_portrait_erebor_thorin"
small = "GFX_idea_portrait_erebor_thorin"
}
}
country_leader={
90 changes: 58 additions & 32 deletions common/characters/GON.txt
Original file line number Diff line number Diff line change
@@ -10,11 +10,13 @@ characters={
ideology=protective
expire="1980.1.1.1"
id=-1
traits = { GON_power_hunger }
}
country_leader={
ideology=isolationist
expire="1980.1.1.1"
id=-1
traits = { GON_power_hunger }
}
}
GON_gothmog={
@@ -54,6 +56,29 @@ characters={
}
}
}
GON_King_Dead = {
name="King of the dead"
portraits={
army={
large="GFX_Portrait_Gondor_Dead"
}
}
corps_commander = {
traits = { commando }
skill = 3
attack_skill = 4
defense_skill = 3
planning_skill = 1
logistics_skill = 4
legacy_id=-1
visible = {
has_country_flag = GON_called_on_dead_men_of_dunharrow
NOT = {
has_country_flag = GON_men_of_dunharrow_fullfiled_their_oath
}
}
}
}
GON_boromir={
name="Boromir"
portraits={
@@ -69,14 +94,20 @@ characters={
defense_skill=4
planning_skill=2
logistics_skill=3
visible = {
NOT = { has_government = revolutionary }
}
}
advisor = {
idea_token = GON_boromir
slot = chief_advisor
cost = 150
traits = { captain_of_the_tower_guard }
available = {
always = yes
NOT = { has_government = revolutionary }
}
visible = {
NOT = { has_government = revolutionary }
}
}
}
@@ -95,14 +126,20 @@ characters={
defense_skill=4
planning_skill=2
logistics_skill=2
visible = {
NOT = { has_government = revolutionary }
}
}
advisor = {
idea_token = GON_faramir
slot = chief_advisor
cost = 150
traits = { captain_of_the_ithilien_rangers }
available = {
always = yes
NOT = { has_government = revolutionary }
}
visible = {
NOT = { has_government = revolutionary }
}
}
}
@@ -120,7 +157,10 @@ characters={
cost = 150
traits = { warden_of_the_keys }
available = {
always = yes
NOT = { has_government = revolutionary }
}
visible = {
NOT = { has_government = revolutionary }
}
}
}
@@ -139,14 +179,20 @@ characters={
defense_skill=4
planning_skill=4
logistics_skill=3
visible = {
NOT = { has_government = revolutionary }
}
}
advisor = {
idea_token = GON_beregond
slot = chief_advisor
cost = 150
traits = { guard_of_the_citadel }
available = {
always = yes
NOT = { has_government = revolutionary }
}
visible = {
NOT = { has_government = revolutionary }
}
}
}
@@ -196,9 +242,9 @@ characters={
idea_token = GON_mablung
slot = high_command
cost = 150
traits = { army_concealment_1 }
traits = { GON_defense_specialist }
available = {
always = yes
has_completed_focus = GON_defense_specialist
}
}
}
@@ -320,40 +366,20 @@ characters={
defense_skill=3
planning_skill=2
logistics_skill=2
visible = {
NOT = { has_government = revolutionary }
}
}
advisor = {
idea_token = GON_irolas
slot = political_advisor
cost = 150
traits = { voice_of_restraint }
available = {
always = yes
}
}
}
GON_imrahil={
name="Imrahil"
portraits={
army={
large="GFX_portrait_gondor_imrahil"
small="GFX_idea_portrait_gondor_imrahil"
NOT = { has_government = revolutionary }
}
}
field_marshal={
traits={ skilled_staffer }
skill=2
attack_skill=1
defense_skill=3
planning_skill=3
logistics_skill=2
}
advisor = {
idea_token = GON_imrahil
slot = army_chief
cost = 150
traits = { army_chief_organizational_1 }
available = {
always = yes
visible = {
NOT = { has_government = revolutionary }
}
}
}
2 changes: 1 addition & 1 deletion common/characters/GUN.txt
Original file line number Diff line number Diff line change
@@ -155,7 +155,7 @@ characters={
defense_skill = 1
maneuvering_skill = 8
coordination_skill = 1
traits = { cold_water_expert }
traits = { arctic_water_expert }
}
advisor = {
idea_token = GUN_jarnwar
2 changes: 1 addition & 1 deletion common/characters/ITH.txt
Original file line number Diff line number Diff line change
@@ -67,7 +67,7 @@ characters={
defense_skill = 1
maneuvering_skill = 8
coordination_skill = 1
traits = { cold_water_expert }
traits = { arctic_water_expert }
}
advisor = {
idea_token = ITH_llewellyn
2 changes: 1 addition & 1 deletion common/characters/LIN.txt
Original file line number Diff line number Diff line change
@@ -42,7 +42,7 @@ characters={
id=-1
}
corps_commander={
traits={ brilliant_strategist charismatic }
traits={ brilliant_strategist }
skill=5
attack_skill=5
defense_skill=2
319 changes: 292 additions & 27 deletions common/characters/LTH.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion common/characters/MIR.txt
Original file line number Diff line number Diff line change
@@ -157,7 +157,7 @@ characters={
}
}
corps_commander={
traits = { engineer }
traits = { trait_engineer }
skill=1
attack_skill=1
defense_skill=2
2 changes: 1 addition & 1 deletion common/characters/MMO.txt
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@ characters={
MMO_mauglurg = {
name = "Mauglurg"
corps_commander={
traits={ reckless }
traits={ trait_reckless }
skill=1
attack_skill=2
defense_skill=1
16 changes: 11 additions & 5 deletions common/characters/MOA.txt
Original file line number Diff line number Diff line change
@@ -29,10 +29,16 @@ characters={
small = "GFX_idea_portrait_moria_bane"
}
}
country_leader={
ideology=supremacist
expire="1965.1.1.1"
id=-1
field_marshal={
traits={ }
skill=4
attack_skill=4
defense_skill=3
planning_skill=1
logistics_skill=1
visible = {
has_completed_focus = submittothebalrog
}
}
}
MOA_balin={
@@ -226,7 +232,7 @@ characters={
}
}
corps_commander={
traits={ engineer }
traits={ trait_engineer }
skill=1
attack_skill=1
defense_skill=1
16 changes: 11 additions & 5 deletions common/characters/MOC.txt
Original file line number Diff line number Diff line change
@@ -6,10 +6,16 @@ characters={
large="GFX_Portrait_Moria_Bane"
}
}
country_leader={
ideology=supremacist
expire="1965.1.1.1"
id=-1
field_marshal={
traits={ }
skill=4
attack_skill=4
defense_skill=3
planning_skill=1
logistics_skill=1
visible = {
has_completed_focus = submittothebalrog
}
}
}
MOC_gulthurg={
@@ -25,7 +31,7 @@ characters={
id=-1
}
field_marshal={
traits = { mountaineer }
traits = { trait_mountaineer }
skill=2
attack_skill=2
defense_skill=3
2 changes: 1 addition & 1 deletion common/characters/PEL.txt
Original file line number Diff line number Diff line change
@@ -63,7 +63,7 @@ characters={
}
}
field_marshal={
traits={ reckless }
traits={ trait_reckless }
skill=2
attack_skill=2
defense_skill=1
2 changes: 1 addition & 1 deletion common/characters/RHD.txt
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ characters={
}
}
corps_commander={
traits={ mountaineer }
traits={ trait_mountaineer }
skill=3
attack_skill=2
defense_skill=3
2 changes: 1 addition & 1 deletion common/characters/RIV.txt
Original file line number Diff line number Diff line change
@@ -142,7 +142,7 @@ characters={
}
}
corps_commander={
traits={ cautious }
traits={ trait_cautious }
skill=2
attack_skill=2
defense_skill=2
56 changes: 56 additions & 0 deletions common/characters/_fellowship.txt
Original file line number Diff line number Diff line change
@@ -225,4 +225,60 @@ characters={
visible = { always = no }
}
}

FS_orophin = {
name = "Orophin"

corps_commander = {
skill = 1
attack_skill=2
defense_skill=1
planning_skill=3
logistics_skill=1

visible = { always = no }
}
}

FS_rumil = {
name = "Rúmil"

corps_commander = {
skill = 1
attack_skill = 1
defense_skill = 1
planning_skill = 2
logistics_skill = 2

visible = { always = no }
}
}

FS_tarborn = {
name = "Tarborn"

corps_commander = {
skill = 1
attack_skill = 1
defense_skill = 2
planning_skill = 4
logistics_skill = 3

visible = { always = no }
}
}

FS_lethsael = {
name = "Lethsael"

corps_commander = {
skill = 1
attack_skill = 3
defense_skill = 2
planning_skill = 2
logistics_skill = 2

visible = { always = no }
}
}
}
5 changes: 5 additions & 0 deletions common/countries/Dol Amroth.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

graphical_culture = commonwealth_gfx
graphical_culture_2d = southamerican_2d

color = { 255 204 204 }
6 changes: 6 additions & 0 deletions common/countries/Nanduhirion.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@


graphical_culture = eastern_european_gfx
graphical_culture_2d = eastern_european_2d

color = { 10 219 191 }
10 changes: 9 additions & 1 deletion common/countries/colors.txt
Original file line number Diff line number Diff line change
@@ -101,6 +101,10 @@ GON = {
color = rgb { 57 113 228 }
color_ui = rgb { 74 147 255 }
}
DAM = {
color = rgb { 57 113 228 }
color_ui = rgb { 74 147 255 }
}
ISE = {
color = HSV { 0.1 0.15 0.4 }
color_ui = rgb { 138 155 116 }
@@ -125,7 +129,11 @@ GUN = {
color = rgb { 75 75 75 }
color_ui = rgb { 0 35 0 }
}
NDH = {
color = rgb { 104 113 176 }
color_ui = rgb { 251 222 10 }
}
D01 = {
color = rgb { 200 100 31 }
color = rgb { 66 16 104 }
color_ui = rgb { 245 123 38 }
}
546 changes: 456 additions & 90 deletions common/country_leader/00_traits.txt

Large diffs are not rendered by default.

87 changes: 77 additions & 10 deletions common/country_leader/00_traits_advisors_lotr.txt
Original file line number Diff line number Diff line change
@@ -45,7 +45,13 @@ leader_traits = {
is_subject = yes
}
modifier = {
has_country_flag = path_going_belligerent
is_going_belligerent = yes
has_country_flag = gameplan_fast_ideology_switch
add = 30
}
modifier = {
is_going_belligerent = yes
date > 3020.01.01
add = 10
}
}
@@ -65,7 +71,13 @@ leader_traits = {
is_subject = yes
}
modifier = {
has_country_flag = path_going_revolutionary
is_going_revolutionary = yes
has_country_flag = gameplan_fast_ideology_switch
add = 30
}
modifier = {
is_going_revolutionary = yes
date > 3020.01.01
add = 10
}
}
@@ -85,7 +97,13 @@ leader_traits = {
is_subject = yes
}
modifier = {
has_country_flag = path_going_cooperative
is_going_cooperative = yes
has_country_flag = gameplan_fast_ideology_switch
add = 30
}
modifier = {
is_going_cooperative = yes
date > 3020.01.01
add = 10
}
}
@@ -105,7 +123,13 @@ leader_traits = {
is_subject = yes
}
modifier = {
has_country_flag = path_going_unaligned
is_going_unaligned = yes
has_country_flag = gameplan_fast_ideology_switch
add = 30
}
modifier = {
is_going_unaligned = yes
date > 3020.01.01
add = 10
}
}
@@ -385,6 +409,11 @@ leader_traits = {

ai_will_do = {
factor = 0
modifier = {
original_tag = LTH
is_going_unaligned = yes
add = 100
}
}
}

@@ -713,6 +742,17 @@ leader_traits = {

# MINISTER / GENERIC POLITICAL

provincial_councilor = {
random = no
sprite = 13

custom_modifier_tooltip = provincial_councilor_tt

ai_will_do = {
factor = 50 # AI should not fire this guy when playing LTH
}
}

noble_shieldmaiden = {
random = no
sprite = 13
@@ -1378,6 +1418,33 @@ leader_traits = {
}
}

mysterious_stranger = {
random = no
sprite = 2

ai_will_do = {
factor = 1
}
}

giants_researcher = {
random = no
sprite = 2

ai_will_do = {
factor = 1
}
}

reclusive_historian = {
random = no
sprite = 2

ai_will_do = {
factor = 1
}
}

# Beastmaster
beastmaster = {
random = no
@@ -1690,7 +1757,7 @@ leader_traits = {
ai_will_do = {
factor = 1
modifier = {
factor = 0
add = -9999
has_navy_size = { size < 1 }
}
}
@@ -1709,7 +1776,7 @@ leader_traits = {
ai_will_do = {
factor = 1
modifier = {
factor = 0
add = -9999
has_navy_size = { size < 1 }
}
}
@@ -1727,7 +1794,7 @@ leader_traits = {
ai_will_do = {
factor = 1
modifier = {
factor = 0
add = -9999
has_navy_size = { size < 1 }
}
}
@@ -2321,7 +2388,7 @@ leader_traits = {
factor = 2
modifier = {
factor = 0
check_variable = { resource@fuel < 25 }
check_variable = { fuel_ratio > 0.25 }
}
modifier = {
add = 5
@@ -2386,7 +2453,7 @@ leader_traits = {
factor = 2
modifier = {
factor = 0
check_variable = { resource@fuel < 25 }
check_variable = { fuel_ratio < 0.01 }
}
modifier = {
add = 5
@@ -2648,7 +2715,7 @@ leader_traits = {
sprite = 17

equipment_bonus = {
mumakil_equipment_1 = {
archetype_mumakil_equipment = {
maximum_speed = 0.25
soft_attack = 0.15
}
25 changes: 25 additions & 0 deletions common/country_leader/00_traits_lotr.txt
Original file line number Diff line number Diff line change
@@ -86,6 +86,15 @@ leader_traits = {
}
}

ringbearer_2 = {
random = no
army_attack_factor = 0.15

ai_will_do = {
factor = 1
}
}

legacyofmorgoth = {
random = no
stability_factor = 0.2
@@ -111,6 +120,22 @@ leader_traits = {
}
}

GON_power_hunger = {
random = no

stability_factor = -0.05
political_power_factor = 0.05
unaligned_drift = 0.05
}

GON_defense_specialist = {
random = no
experience_gain_army = 0.04
army_defence_factor = 0.1
army_core_defence_factor = 0.05
dig_in_speed_factor = 0.1
}

## Mordor
experienced_general = {
random = no
400 changes: 400 additions & 0 deletions common/country_leader/00_traits_lotr_lth.txt

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion common/country_tags/00_countries.txt
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

4 changes: 3 additions & 1 deletion common/country_tags/lotr_00_countries.txt
Original file line number Diff line number Diff line change
@@ -31,4 +31,6 @@ NEP = "countries/Forodwaith.txt"
MOR = "countries/Mordor.txt"
HAR = "countries/Harad.txt"
GON = "countries/Gondor.txt"
GUN = "countries/Gundabad.txt"
GUN = "countries/Gundabad.txt"
DAM = "countries/Dol Amroth.txt"
NDH = "countries/Nanduhirion.txt"
6 changes: 3 additions & 3 deletions common/decisions/ANG_decisions.txt
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
################
ANG_request_investment = {
ANG_request_investment_ART = {
icon = GFX_decision_eng_trade_unions_support
icon = GFX_decision_generic_cooperation
cost = 150

available = {
@@ -24,7 +24,7 @@ ANG_request_investment = {
}
}
ANG_request_investment_RHD = {
icon = GFX_decision_eng_trade_unions_support
icon = GFX_decision_generic_cooperation
cost = 150

available = {
@@ -45,7 +45,7 @@ ANG_request_investment = {
}
}
ANG_request_investment_VAL = {
icon = GFX_decision_eng_trade_unions_support
icon = GFX_decision_generic_cooperation
cost = 150

available = {
2 changes: 1 addition & 1 deletion common/decisions/DAG_decisions.txt
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@

DAG_unite_the_swamp = {
Unite_the_swamp = {
icon = GFX_decision_generic_civil_support
icon = GFX_decision_generic_army_2
cost = 100

available = {
106 changes: 106 additions & 0 deletions common/decisions/GON_decisions.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
################
##### GON ######
################
GON_army_of_the_death = {
GON_seek_out_the_spooky_ghosts = {
icon = GFX_decision_generic_civil_support
cost = 200

visible = {

}

available = {
163 = { is_controlled_by = GON }
has_war = yes
}

fire_only_once = yes
fixed_random_seed = no
complete_effect = {
news_event = { hours = 12 id = news.365 }
set_country_flag = GON_called_on_dead_men_of_dunharrow
custom_effect_tooltip = "King of the Dead will be available as a general"
custom_effect_tooltip = "10 divisions of ghosts will spawn next to Minas Tirith"
add_ideas = GON_army_of_the_death
hidden_effect = {
load_oob = "GON_Ghosts"
}
}
ai_will_do = {
factor = 10
}
}
GON_complete_their_oath = {
icon = GFX_decision_generic_civil_support
cost = 25

visible = {

}

available = {
has_idea = GON_army_of_the_death
has_country_flag = GON_called_on_dead_men_of_dunharrow
}

fire_only_once = yes
fixed_random_seed = no
complete_effect = {
remove_unit_leader = 13
remove_ideas = GON_army_of_the_death
set_country_flag = GON_men_of_dunharrow_fullfiled_their_oath
delete_unit_template_and_units = { division_template = "Dead Infantry" }
}
ai_will_do = {
factor = 10
}
}
}

political_actions = {
GON_increase_taxation = {
icon = GFX_decision_generic_4
cost = 100

visible = {
original_tag = GON
NOT = { has_idea = high_taxes }
}

available = {
always = yes
}

fire_only_once = yes
fixed_random_seed = no
complete_effect = {
if = {
limit = { has_idea = low_taxes }
add_ideas = medium_taxes
}
else_if = {
limit = { has_idea = medium_taxes }
add_ideas = high_taxes
}

add_stability = -0.1
add_popularity = {
ideology = unaligned
popularity = -0.1
}
add_popularity = {
ideology = revolutionary
popularity = 0.1
}
}
ai_will_do = {
base = 0
modifier = {
add = 25
is_going_revolutionary = yes
has_completed_focus = GON_defame_isildurs_lineage
}
}
}
}
12 changes: 7 additions & 5 deletions common/decisions/HAR_decisions.txt
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
################
HAR_coastal_raiding = {
Coastal_raid_belfalas = {
icon = GFX_decision_generic_civil_support
icon = GFX_decision_generic_naval
cost = 150

available = {
@@ -12,7 +12,8 @@ HAR_coastal_raiding = {
has_war_with = FROM
}
naval_strength_comparison = {
other = GEO ratio > 0.8
other = GON
ratio > 0.8
}
#has_manpower = 50000
}
@@ -31,7 +32,7 @@ HAR_coastal_raiding = {
}
}
Coastal_raid_anfalas = {
icon = GFX_decision_generic_civil_support
icon = GFX_decision_generic_naval
cost = 150

available = {
@@ -40,7 +41,8 @@ HAR_coastal_raiding = {
has_war_with = FROM
}
naval_strength_comparison = {
other = GEO ratio > 0.8
other = GON
ratio > 0.8
}
#has_manpower = 50000
}
@@ -63,7 +65,7 @@ HAR_coastal_raiding = {

HAR_unrest_in_rhun = {
HAR_iron_fist = {
icon = GFX_decision_generic_civil_support
icon = GFX_decision_revolt
cost = 75

state_target = yes
Loading

0 comments on commit 1f978df

Please sign in to comment.