Skip to content

Commit

Permalink
feat: ✨ tech tree: outlined the ent thrower tree and filled in some b…
Browse files Browse the repository at this point in the history
…onuses

issue HoI4-LOTRMod-Team#137
  • Loading branch information
awandke committed Mar 9, 2024
1 parent 530fe09 commit 39d818b
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 35 deletions.
98 changes: 65 additions & 33 deletions common/technologies/ents_special_techs.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
technologies = {

ent_society = {
research_speed_factor = 0.05
# entmoot tree
entmoot = {
max_planning = 0.15

path = {
leads_to_tech = ent_society3
leads_to_tech = ent_ancient_knowledge
research_cost_coeff = 1
}

Expand All @@ -31,13 +31,34 @@ technologies = {
}
}

ent_ancient_knowledge = {
research_speed_factor = 0.08

research_cost = 1
start_year = 3020
folder = {
name = ents_special_folder
position = { x = -2 y = 4 }
}

ai_will_do = {
factor = 1

modifier = { factor = 2 date > "3022.1.1" }
}

categories = {
lotr_ent_secrets
}
}

ent_society2 = {
research_speed_factor = 0.05

path = {
leads_to_tech = ent_society1
leads_to_tech = ent_society3
research_cost_coeff = 1
}`
}

research_cost = 1
start_year = 3020
Expand All @@ -57,7 +78,7 @@ technologies = {
}
}

ent_society1 = {
ent_society3 = {
research_speed_factor = 0.05

research_cost = 1
Expand All @@ -78,29 +99,10 @@ technologies = {
}
}

ent_society3 = {
research_speed_factor = 0.05

research_cost = 1
start_year = 3020
folder = {
name = ents_special_folder
position = { x = -2 y = 4 }
}

ai_will_do = {
factor = 1

modifier = { factor = 2 date > "3022.1.1" }
}

categories = {
lotr_ent_secrets
}
}

ent_deep_roots = {
research_speed_factor = 0.05
# Ents deep roots tree
ent_strong_boughs = {
max_dig_in = 5
attrition = -0.05

path = {
leads_to_tech = ent_draught_nourishing
Expand Down Expand Up @@ -130,7 +132,8 @@ technologies = {
}

ent_draught_nourishing = {
research_speed_factor = 0.05
supply_consumption_factor = -0.05
fuel_gain_factor = 0.2

research_cost = 1
start_year = 3020
Expand All @@ -150,13 +153,15 @@ technologies = {
}

ent_draught_refreshing = {
research_speed_factor = 0.05
category_all_infantry = {
default_morale = 0.1
}

research_cost = 1
start_year = 3020
folder = {
name = ents_special_folder
position = { x = 0` y = 4 }
position = { x = 0 y = 4 }
}

ai_will_do = {
Expand All @@ -168,4 +173,31 @@ technologies = {
lotr_ent_secrets
}
}

# Trebuchet
ent_thrower = {
enable_equipments = {
dwarven_chariot_equipment_1
}

dependencies = {
trebuchet = 1
}

research_cost = 1.5
start_year = 3020
folder = {
name = ents_special_folder
position = { x = 2 y = 4 }
}

ai_will_do = {
factor = 1
}

categories = {
lotr_ent_secrets
}
}

}
5 changes: 5 additions & 0 deletions common/technologies/machines.txt
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,11 @@ technologies = {
position = { x = 11 y = 8 }
}

folder = {
name = ents_special_folder
position = { x = 2 y = 2 }
}

ai_will_do = {
factor = 0.1
}
Expand Down
25 changes: 23 additions & 2 deletions interface/countrytechtreeview.gui
Original file line number Diff line number Diff line change
Expand Up @@ -3862,20 +3862,41 @@ guiTypes = {
}

gridboxtype = {
name = "ent_society_tree"
name = "entmoot_tree"
position = { x=240 y=150 }
size = { width = 0 height = 0 }
slotsize = { width=60 height= 60 }
format = "UP"
}

gridboxtype = {
name = "ent_deep_roots_tree"
name = "ent_strong_boughs_tree"
position = { x=580 y=150 }
size = { width = 0 height = 0 }
slotsize = { width=60 height= 60 }
format = "UP"
}

gridboxtype = {
name = "basic_siege_tactics_tree"
position = { x = 1180 y = 150 }
slotsize = { width = 60 height = 60 }
format = "UP"
}
gridboxtype = {
name = "designer_basic_siege_tactics_tree"
position = { x = 1180 y = 150 }
slotsize = { width = 60 height = 60 }
format = "UP"
}

gridboxtype = {
name = "ent_thrower_tree"
position = { x=1180 y=150 }
size = { width = 0 height = 0 }
slotsize = { width=60 height= 60 }
format = "UP"
}
}

# folder tabs
Expand Down

0 comments on commit 39d818b

Please sign in to comment.