Compare commits

..

2 commits

Author SHA1 Message Date
Simon Brodtmann
1f2c66d8c5 1.2.11 2026-01-25 13:43:01 +01:00
Simon Brodtmann
64a4a3c6d5 Fix item weights 2026-01-25 13:42:18 +01:00
3 changed files with 8 additions and 3 deletions

View file

@ -1,4 +1,9 @@
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 1.2.11
Date: 25.01.2026
Bug Fixes:
- Fix item weights
---------------------------------------------------------------------------------------------------
Version: 1.2.10 Version: 1.2.10
Date: 04.11.2025 Date: 04.11.2025
Changes: Changes:

View file

@ -1,6 +1,6 @@
{ {
"name": "hot-metals", "name": "hot-metals",
"version": "1.2.10", "version": "1.2.11",
"title": "Hot metals", "title": "Hot metals",
"description": "A furnace doesn't just output cold usable results. You need to wait for them to cool down.", "description": "A furnace doesn't just output cold usable results. You need to wait for them to cool down.",
"author": "cackling fiend", "author": "cackling fiend",
@ -8,7 +8,8 @@
"factorio_version": "2.0", "factorio_version": "2.0",
"dependencies": [ "dependencies": [
"base", "base",
"cf-lib >= 0.0.2" "cf-lib >= 0.0.2",
"PlanetsLib >= 1.14.6"
], ],
"spoiling_required": true "spoiling_required": true
} }

View file

@ -11,7 +11,6 @@ function createHotVariant(config)
iconFolder = config.iconFolder or iconFolder iconFolder = config.iconFolder or iconFolder
end end
local item = data.raw.item[itemName] local item = data.raw.item[itemName]
item.weight = item.weight or 10000
-- Create new item -- Create new item
local hotItem = table.deepcopy(data.raw.item[itemName]) local hotItem = table.deepcopy(data.raw.item[itemName])