6 lines
166 B
Lua
6 lines
166 B
Lua
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
|