initial commit

This commit is contained in:
2025-12-30 10:38:38 +01:00
commit 0746b8771c
3 changed files with 17 additions and 0 deletions

5
data-updates.lua Normal file
View File

@@ -0,0 +1,5 @@
for _, item in pairs(data.raw.item) do
if item.name:match("%-barrel$") then -- Matches "water-barrel", "crude-oil-barrel", etc.
item.weight = 1 * kg
end
end

1
data.lua Normal file
View File

@@ -0,0 +1 @@
data.raw.item["barrel"].weight = 1 * kg

11
info.json Normal file
View File

@@ -0,0 +1,11 @@
{
"name": "BarrelWeightTweaker",
"version": "0.1.0",
"title": "Barrel Weight Tweaker",
"author": "ddidderr",
"description": "Sets the weight of barrels to 1 kg for increased rocket capacity.",
"factorio_version": "2.0",
"dependencies": [
"base >= 2.0"
]
}