Fixed labels for hot pipe and underground pipe items and recipes
https://mods.factorio.com/mod/hot-metals/discussion/67493d0742705fa9914f61ca
This commit is contained in:
parent
ba5641c3cd
commit
749012586a
4 changed files with 20 additions and 1 deletions
|
@ -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
|
Version: 1.1.0
|
||||||
Date: 03.12.2024
|
Date: 03.12.2024
|
||||||
Changes:
|
Changes:
|
||||||
|
|
4
hot-metals/compatibility/space-age-updates.lua
Normal file
4
hot-metals/compatibility/space-age-updates.lua
Normal file
|
@ -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" } }
|
9
hot-metals/compatibility/updates.lua
Normal file
9
hot-metals/compatibility/updates.lua
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
local modList = {
|
||||||
|
"space-age"
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, mod in pairs(modList) do
|
||||||
|
if mods[mod] then
|
||||||
|
require(mod .. "-updates")
|
||||||
|
end
|
||||||
|
end
|
|
@ -1 +1,2 @@
|
||||||
require("prototypes.hot-metals")
|
require("prototypes.hot-metals")
|
||||||
|
require("compatibility.updates")
|
Loading…
Add table
Reference in a new issue