diff --git a/hot-metals/changelog.txt b/hot-metals/changelog.txt index c7611d3..1d960bd 100644 --- a/hot-metals/changelog.txt +++ b/hot-metals/changelog.txt @@ -1,3 +1,8 @@ +Version: 1.1.1 +Date: 21.12.2024 + Bug Fixes: + - Fixed labels for hot pipe and underground pipe items and recipes (https://mods.factorio.com/mod/hot-metals/discussion/67493d0742705fa9914f61ca) +--------------------------------------------------------------------------------------------------- Version: 1.1.0 Date: 03.12.2024 Changes: diff --git a/hot-metals/compatibility/space-age-updates.lua b/hot-metals/compatibility/space-age-updates.lua new file mode 100644 index 0000000..137b766 --- /dev/null +++ b/hot-metals/compatibility/space-age-updates.lua @@ -0,0 +1,4 @@ +data.raw.item["hot-pipe"].localised_name = { "", { "item-name.hot" }, " ", { "entity-name.pipe" } } +data.raw.item["hot-pipe-to-ground"].localised_name = { "", { "item-name.hot" }, " ", { "entity-name.pipe-to-ground" } } +data.raw.recipe["casting-pipe"].localised_name = { "", { "item-name.hot" }, " ", { "entity-name.pipe" } } +data.raw.recipe["casting-pipe-to-ground"].localised_name = { "", { "item-name.hot" }, " ", { "entity-name.pipe-to-ground" } } \ No newline at end of file diff --git a/hot-metals/compatibility/updates.lua b/hot-metals/compatibility/updates.lua new file mode 100644 index 0000000..111bb1a --- /dev/null +++ b/hot-metals/compatibility/updates.lua @@ -0,0 +1,9 @@ +local modList = { + "space-age" +} + +for _, mod in pairs(modList) do + if mods[mod] then + require(mod .. "-updates") + end +end \ No newline at end of file diff --git a/hot-metals/data-updates.lua b/hot-metals/data-updates.lua index 1f5d2dc..51f92a0 100644 --- a/hot-metals/data-updates.lua +++ b/hot-metals/data-updates.lua @@ -1 +1,2 @@ -require("prototypes.hot-metals") \ No newline at end of file +require("prototypes.hot-metals") +require("compatibility.updates") \ No newline at end of file