Skip to content

Commit

Permalink
Greatly expanded the size of all armor equipment grids.
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Jan 21, 2025
1 parent 849d445 commit d89cacf
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 3.0.12
Date: 2024-1-20
Changes:
- Greatly expanded the size of all armor equipment grids.
---------------------------------------------------------------------------------------------------
Version: 3.0.11
Date: 2024-1-20
Changes:
Expand Down
2 changes: 1 addition & 1 deletion info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pyindustry",
"version": "3.0.11",
"version": "3.0.12",
"factorio_version": "2.0",
"title": "Pyanodons Industry",
"author": "Pyanodon, Nexela, Kingarthur, notnotmelon, Mootykins, ShadowGlass, Archezekiel, Quintuple, przemo1232",
Expand Down
2 changes: 1 addition & 1 deletion locale/en/locale.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ portable-gasoline-generator=Portable gasoline generator
fission-reactor-equipment=Portable fusion reactor

[equipment-description]
portable-gasoline-generator=Compact equipment grid generator that consumes gas canisters.
portable-gasoline-generator=Compact equipment grid generator that consumes gas canisters. Is automatically restocked from your inventory.

[fuel-category-name]
personal-fusion-cell=Fusion cell
18 changes: 10 additions & 8 deletions prototypes/equipment/armor-updates.lua
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
data:extend {{
name = "light-armor-equipment-grid",
type = "equipment-grid",
height = 4,
width = 2,
height = 6,
width = 4,
equipment_categories = {"armor"}
}}

data:extend {{
name = "heavy-armor-equipment-grid",
type = "equipment-grid",
height = 4,
width = 4,
height = 8,
width = 6,
equipment_categories = {"armor"}
}}

data.raw.armor["light-armor"].equipment_grid = "light-armor-equipment-grid"
data.raw.armor["heavy-armor"].equipment_grid = "heavy-armor-equipment-grid"

data.raw["equipment-grid"]["small-equipment-grid"].width = 6
data.raw["equipment-grid"]["small-equipment-grid"].height = 6
data.raw["equipment-grid"]["medium-equipment-grid"].width = 8
data.raw["equipment-grid"]["medium-equipment-grid"].height = 8
data.raw["equipment-grid"]["small-equipment-grid"].width = 10
data.raw["equipment-grid"]["small-equipment-grid"].height = 8
data.raw["equipment-grid"]["medium-equipment-grid"].width = 12
data.raw["equipment-grid"]["medium-equipment-grid"].height = 10
data.raw["equipment-grid"]["large-equipment-grid"].width = 14
data.raw["equipment-grid"]["large-equipment-grid"].height = 12

data.raw.armor["light-armor"].inventory_size_bonus = 20
data.raw.armor["heavy-armor"].inventory_size_bonus = 40
Expand Down

0 comments on commit d89cacf

Please sign in to comment.