Add hot plastic
https://mods.factorio.com/mod/hot-metals/discussion/675af47f1fba71716b2b7f7f
This commit is contained in:
parent
1b24772cbb
commit
53c3ce6907
6 changed files with 24 additions and 3 deletions
|
@ -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
|
|
@ -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")
|
BIN
hot-metals/graphics/icons/hot-plastic-bar.png
Normal file
BIN
hot-metals/graphics/icons/hot-plastic-bar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7 KiB |
|
@ -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.
|
|
@ -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"
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
BIN
sources/hot-plastic-bar.afphoto
Normal file
BIN
sources/hot-plastic-bar.afphoto
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue