Compare commits
No commits in common. "2a9cc689f97b18f4d0d5b7372bb89b392a925b42" and "ff57a879143994d97312ad453dd5dac90a01849a" have entirely different histories.
2a9cc689f9
...
ff57a87914
3 changed files with 2 additions and 13 deletions
|
@ -1,10 +1,4 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 1.2.7
|
|
||||||
Date: 22.08.2025
|
|
||||||
Bug Fixes:
|
|
||||||
- Simplify weight calculation to prevent infinite recursion (https://mods.factorio.com/mod/hot-metals/discussion/68a3a137a86e2ca3d73388fe)
|
|
||||||
- Always show hot variants in filter menus (https://mods.factorio.com/mod/hot-metals/discussion/685ac28c1436373189fc0bff)
|
|
||||||
---------------------------------------------------------------------------------------------------
|
|
||||||
Version: 1.2.6
|
Version: 1.2.6
|
||||||
Date: 18.04.2025
|
Date: 18.04.2025
|
||||||
Changes:
|
Changes:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "hot-metals",
|
"name": "hot-metals",
|
||||||
"version": "1.2.7",
|
"version": "1.2.6",
|
||||||
"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",
|
||||||
|
|
|
@ -17,7 +17,7 @@ function createHotVariant(config)
|
||||||
local hotItem = table.deepcopy(data.raw.item[itemName])
|
local hotItem = table.deepcopy(data.raw.item[itemName])
|
||||||
hotItem.name = "hot-" .. itemName
|
hotItem.name = "hot-" .. itemName
|
||||||
hotItem.localised_name = { "", { "item-name.hot" }, " ", { "item-name." .. itemName } }
|
hotItem.localised_name = { "", { "item-name.hot" }, " ", { "item-name." .. itemName } }
|
||||||
if config.icons then
|
if (config.icons) then
|
||||||
hotItem.icons = config.icons
|
hotItem.icons = config.icons
|
||||||
else
|
else
|
||||||
hotItem.icon = iconFolder .. "hot-" .. itemName .. ".png"
|
hotItem.icon = iconFolder .. "hot-" .. itemName .. ".png"
|
||||||
|
@ -27,11 +27,6 @@ function createHotVariant(config)
|
||||||
hotItem.weight = item.weight
|
hotItem.weight = item.weight
|
||||||
hotItem.spoil_result = itemName
|
hotItem.spoil_result = itemName
|
||||||
hotItem.spoil_ticks = spoilTicks
|
hotItem.spoil_ticks = spoilTicks
|
||||||
hotItem.flags = hotItem.flags or {}
|
|
||||||
if not table.contains(hotItem.flags, "always-show") then
|
|
||||||
table.insert(hotItem.flags, "always-show")
|
|
||||||
end
|
|
||||||
|
|
||||||
data:extend({ hotItem })
|
data:extend({ hotItem })
|
||||||
|
|
||||||
item.hot_item = hotItem.name
|
item.hot_item = hotItem.name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue