Simon Brodtmann 2025-01-01 10:58:27 +01:00
parent 1b24772cbb
commit 53c3ce6907
6 changed files with 24 additions and 3 deletions

View file

@ -16,4 +16,9 @@ table.insert(HotMetals.skipTechUnlocksFor, "iron-gear-wheel")
table.insert(HotMetals.skipTechUnlocksFor, "copper-cable") table.insert(HotMetals.skipTechUnlocksFor, "copper-cable")
table.insert(HotMetals.skipTechUnlocksFor, "iron-stick") table.insert(HotMetals.skipTechUnlocksFor, "iron-stick")
table.insert(HotMetals.skipTechUnlocksFor, "pipe") table.insert(HotMetals.skipTechUnlocksFor, "pipe")
table.insert(HotMetals.skipTechUnlocksFor, "pipe-to-ground") table.insert(HotMetals.skipTechUnlocksFor, "pipe-to-ground")
if settings.startup["hot-metals-plastic"].value then
table.insert(HotMetals.craftingCategories, "chemistry-or-cryogenics")
table.insert(HotMetals.craftingCategories, "organic")
end

View file

@ -10,4 +10,11 @@ HotMetals = {
skipTechUnlocksFor = {} skipTechUnlocksFor = {}
} }
if settings.startup["hot-metals-plastic"].value then
table.insert(HotMetals.items, "plastic-bar")
if not mods["space-age"] then -- Space age uses other crafting categories
table.insert(HotMetals.craftingCategories, "chemistry")
end
end
require("compatibility.data") require("compatibility.data")

Binary file not shown.

After

Width:  |  Height:  |  Size: 7 KiB

View file

@ -3,6 +3,8 @@ hot=Hot
[mod-setting-name] [mod-setting-name]
hot-metals-time=Cooldown time hot-metals-time=Cooldown time
hot-metals-plastic=Add hot plastic
[mod-setting-description] [mod-setting-description]
hot-metals-time=The time in seconds for a hot item to cool down. hot-metals-time=The time in seconds for a hot item to cool down.
hot-metals-plastic=Although the temperature of hot plastic is way lower compared to metals, you might want to have a hot variant anyway.

View file

@ -5,5 +5,12 @@ data:extend({
setting_type = "startup", setting_type = "startup",
default_value = 20, default_value = 20,
order = "a" order = "a"
},
{
type = "bool-setting",
name = "hot-metals-plastic",
setting_type = "startup",
default_value = false,
order = "b"
} }
}) })

Binary file not shown.