Fix item weights
This commit is contained in:
parent
913ebb5d9d
commit
64a4a3c6d5
2 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,8 @@
|
|||
"factorio_version": "2.0",
|
||||
"dependencies": [
|
||||
"base",
|
||||
"cf-lib >= 0.0.2"
|
||||
"cf-lib >= 0.0.2",
|
||||
"PlanetsLib >= 1.14.6"
|
||||
],
|
||||
"spoiling_required": true
|
||||
}
|
||||
|
|
@ -11,7 +11,6 @@ function createHotVariant(config)
|
|||
iconFolder = config.iconFolder or iconFolder
|
||||
end
|
||||
local item = data.raw.item[itemName]
|
||||
item.weight = item.weight or 10000
|
||||
|
||||
-- Create new item
|
||||
local hotItem = table.deepcopy(data.raw.item[itemName])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue