From 64a4a3c6d5b6615762c62bef83eba088f682291b Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sun, 25 Jan 2026 13:42:18 +0100 Subject: [PATCH] Fix item weights --- hot-metals/info.json | 3 ++- hot-metals/prototypes/hot-metals.lua | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hot-metals/info.json b/hot-metals/info.json index 77b988d..5354ea9 100644 --- a/hot-metals/info.json +++ b/hot-metals/info.json @@ -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 } \ No newline at end of file diff --git a/hot-metals/prototypes/hot-metals.lua b/hot-metals/prototypes/hot-metals.lua index 4c7bec5..48a2a24 100644 --- a/hot-metals/prototypes/hot-metals.lua +++ b/hot-metals/prototypes/hot-metals.lua @@ -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])