From acca1a627a093a704b7161c0e2143e185c8516fc Mon Sep 17 00:00:00 2001 From: Brevven Date: Wed, 1 Jan 2025 04:25:05 -0800 Subject: [PATCH] casting lead expansion bolt --- changelog.txt | 5 +++++ info.json | 2 +- lead-recipe.lua | 27 +++++++++++++++++++++++++++ 3 files changed, 33 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index 1b4c14f..5cffb7d 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 2.0.9 +Date: 2025-01-01 + Features: + - Casting for lead expansion bolts +--------------------------------------------------------------------------------------------------- Version: 2.0.8 Date: 2025-01-01 Fixes: diff --git a/info.json b/info.json index 04ff603..ddaa154 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bzlead", - "version": "2.0.8", + "version": "2.0.9", "factorio_version": "2.0", "title": "Lead", "author": "Brevven", diff --git a/lead-recipe.lua b/lead-recipe.lua index 360b180..f2be325 100644 --- a/lead-recipe.lua +++ b/lead-recipe.lua @@ -121,6 +121,33 @@ data:extend({ allow_productivity = true, }, }) +if mods["space-age"] then +data:extend({ + { + type = "recipe", + name = "casting-lead-expansion-bolt", + category = "metallurgy", + subgroup = "vulcanus-processes", + order = "z[casting]-d[casting-solder]", + icons = { + {icon = "__bzlead__/graphics/icons/lead-expansion-bolt.png", icon_size = 128, shift={0,8}}, + {icon = "__space-age__/graphics/icons/fluid/molten-iron.png", icon_size = 64, shift={-4,-4}}, + {icon = "__bzlead__/graphics/icons/molten-lead-sa.png", icon_size = 64, shift={4,-4}}, + }, + enabled = false, + ingredients = { + util.fluid("molten-lead", 50), + util.fluid("molten-iron", 50), + }, + energy_required = 5, + allow_decomposition = false, + results = {{type = "item", name = "lead-expansion-bolt", amount = 10}}, + allow_productivity = true + }, +}) +util.add_unlock("foundry", "casting-lead-expansion-bolt") +end + end -- vulcanus