initial commit
This commit is contained in:
5
data-updates.lua
Normal file
5
data-updates.lua
Normal 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
|
||||||
11
info.json
Normal file
11
info.json
Normal 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"
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user