Compare commits
No commits in common. "master" and "1.2.5" have entirely different histories.
6 changed files with 8 additions and 31 deletions
|
@ -1,10 +1,4 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 1.2.6
|
|
||||||
Date: 18.04.2025
|
|
||||||
Changes:
|
|
||||||
- Add polish translation (I forgot who did it :-( )
|
|
||||||
- Move technology changes to final fixes stage
|
|
||||||
---------------------------------------------------------------------------------------------------
|
|
||||||
Version: 1.2.5
|
Version: 1.2.5
|
||||||
Date: 04.02.2025
|
Date: 04.02.2025
|
||||||
Changes:
|
Changes:
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
require("prototypes/hot-metals-final")
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "hot-metals",
|
"name": "hot-metals",
|
||||||
"version": "1.2.6",
|
"version": "1.2.5",
|
||||||
"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",
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
[item-name]
|
|
||||||
hot=Hot
|
|
||||||
|
|
||||||
[mod-setting-name]
|
|
||||||
hot-metals-time=Czas stygnięcia
|
|
||||||
hot-metals-plastic=Dodaj gorący plastik
|
|
||||||
hot-metals-bricks=dodaj gorące kamienne cegły i beton
|
|
||||||
|
|
||||||
[mod-setting-description]
|
|
||||||
hot-metals-time=Czas w sekundach, jaki jest potrzebny, aby gorący przedmiot ostygł.
|
|
||||||
hot-metals-plastic=Chociaż temperatura gorącego plastiku jest znacznie niższa w porównaniu do metali, możesz chcieć mieć jego gorącą wersję.
|
|
||||||
hot-metals-bricks=Kamienne cegły i beton nie są domyślnie uwzględnione. Jeśli lubisz grać z gorącymi wariantami, możesz włączyć tę opcję.
|
|
|
@ -1,9 +0,0 @@
|
||||||
-- Change technology triggers
|
|
||||||
for _, tech in pairs(data.raw.technology) do
|
|
||||||
if tech.research_trigger then
|
|
||||||
local item = data.raw.item[tech.research_trigger.item]
|
|
||||||
if item and item.hot_item and not contains(HotMetals.skipTechUnlocksFor, item.name) then
|
|
||||||
tech.research_trigger.item = item.hot_item
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -76,8 +76,6 @@ function createHotVariant(config)
|
||||||
hotItem.spoil_ticks = spoilTicks
|
hotItem.spoil_ticks = spoilTicks
|
||||||
data:extend({ hotItem })
|
data:extend({ hotItem })
|
||||||
|
|
||||||
item.hot_item = hotItem.name
|
|
||||||
|
|
||||||
-- Change recipes
|
-- Change recipes
|
||||||
for _, recipe in pairs(data.raw.recipe) do
|
for _, recipe in pairs(data.raw.recipe) do
|
||||||
if contains(HotMetals.craftingCategories, recipe.category) then
|
if contains(HotMetals.craftingCategories, recipe.category) then
|
||||||
|
@ -103,6 +101,13 @@ function createHotVariant(config)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Change technology triggers
|
||||||
|
for _, tech in pairs(data.raw.technology) do
|
||||||
|
if tech.research_trigger and tech.research_trigger.item == itemName and not contains(HotMetals.skipTechUnlocksFor, itemName) then
|
||||||
|
tech.research_trigger.item = hotItem.name
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Checks if a table contains a certain value
|
-- Checks if a table contains a certain value
|
||||||
|
|
Loading…
Add table
Reference in a new issue