Skip to content

Commit

Permalink
no dlc trebuchet fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Helliaca committed Feb 19, 2024
1 parent fc77497 commit 90fa988
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 7 deletions.
1 change: 1 addition & 0 deletions common/script_enums.txt
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ script_enum_equipment_bonus_type = {

siege_trebuchet_equipment_0
trebuchet_equipment
trebuchet_equipment_0

caravel
carrack
Expand Down
2 changes: 1 addition & 1 deletion common/technologies/machines.txt
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ technologies = {
}

enable_equipments = {
trebuchet_equipment
trebuchet_equipment_0
}

enable_subunits = {
Expand Down
16 changes: 10 additions & 6 deletions common/units/equipment/00_mach_catapult.txt
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,7 @@ equipments = {

is_archetype = yes
picture = archetype_artillery_equipment
type = {
artillery
infantry #adding infantry type
#motorized #Removing motorized type
}
type = armor
group_by = archetype

interface_category = interface_category_land
Expand All @@ -221,7 +217,7 @@ equipments = {
armor_value = 0

#Offensive Abilities
soft_attack = 75
soft_attack = 150
hard_attack = 4
ap_attack = 8
air_attack = 0
Expand All @@ -235,4 +231,12 @@ equipments = {
chromium = 5
}
}

trebuchet_equipment_0 = {
year = 1934

archetype = trebuchet_equipment
priority = 50
visual_level = 0
}
}
15 changes: 15 additions & 0 deletions interface/lotr_tech_artillery.gfx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,21 @@ spriteTypes = {
texturefile = "gfx/interface/technologies/infantry_equipment/siege_weapons3.dds"
}

SpriteType = {
name = "GFX_trebuchet_equipment_medium"
texturefile = "gfx/interface/technologies/infantry_equipment/siege_weapons3.dds"
}

SpriteType = {
name = "GFX_trebuchet_equipment_0_medium"
texturefile = "gfx/interface/technologies/infantry_equipment/siege_weapons3.dds"
}

SpriteType = {
name = "GFX_trebuchet_nodlc_medium"
texturefile = "gfx/interface/technologies/infantry_equipment/siege_weapons3.dds"
}

SpriteType = {
name = "GFX_catapult_0_bonus_medium"
texturefile = "gfx/interface/technologies/infantry_equipment_small/trebuchet.dds"
Expand Down
6 changes: 6 additions & 0 deletions localisation/english/replace/lotr_technologies_l_english.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1991,6 +1991,12 @@ lotr_equipment_all_siege_artillery:0 "Catapults and Trebuchets"
catapult:0 "Catapult"
support_catapult:0 "Support Catapult"
trebuchet:0 "Trebuchet"
trebuchet_nodlc:0 "Trebuchet"
trebuchet_equipment:0 "Trebuchet"
trebuchet_equipment_desc:0 ""
trebuchet_equipment_0:0 "Trebuchet"
trebuchet_equipment_0_desc:0 ""
trebuchet_desc:0 ""

better_tools:0 "Improved Tools"
better_mining:0 "Improved Mining"
Expand Down

0 comments on commit 90fa988

Please sign in to comment.