initial commit

This commit is contained in:
ddidderr committed 2025-12-30 10:38:38 +01:00
commit 0746b8771c
3 files changed
+17

No files matched your search

+5
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
View File
@@ -0,0 +1 @@
data.raw.item["barrel"].weight = 1 * kg
+11
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"
]
}