hot metal fix
This commit is contained in:
parent
21e4017b1e
commit
45d43a8d0c
3 changed files with 10 additions and 1 deletions
|
|
@ -30,6 +30,10 @@ function cutil.nanotube_recipe(recipe_name, item_name, tech)
|
||||||
new_recipe.hide_from_signal_gui = false
|
new_recipe.hide_from_signal_gui = false
|
||||||
data:extend({new_recipe})
|
data:extend({new_recipe})
|
||||||
local amt = 2 * util.get_amount(recipe_name, item_name)
|
local amt = 2 * util.get_amount(recipe_name, item_name)
|
||||||
|
if amt == 0 and mods["hot-metals"] then
|
||||||
|
amt = 2 * util.get_amount(recipe_name, "hot-"..item_name)
|
||||||
|
util.set_product_amount(new_recipe.name, "hot-"..item_name, amt, {force=true})
|
||||||
|
end
|
||||||
util.add_ingredient(new_recipe.name, "nanotubes", amt, {force=true})
|
util.add_ingredient(new_recipe.name, "nanotubes", amt, {force=true})
|
||||||
util.set_product_amount(new_recipe.name, item_name, amt, {force=true})
|
util.set_product_amount(new_recipe.name, item_name, amt, {force=true})
|
||||||
util.add_unlock(tech, new_recipe.name)
|
util.add_unlock(tech, new_recipe.name)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 2.0.8
|
||||||
|
Date: 2025-02-13
|
||||||
|
Fixes:
|
||||||
|
- Space Age: With Hot metals, fix new LDS casting nanotube recipe.
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 2.0.7
|
Version: 2.0.7
|
||||||
Date: 2025-02-13
|
Date: 2025-02-13
|
||||||
Fixes:
|
Fixes:
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bzcarbon",
|
"name": "bzcarbon",
|
||||||
"version": "2.0.7",
|
"version": "2.0.8",
|
||||||
"factorio_version": "2.0",
|
"factorio_version": "2.0",
|
||||||
"title": "Graphite & Diamonds",
|
"title": "Graphite & Diamonds",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue