From d119a6748264a4f9825eebdd4ddeb2421cc4784a Mon Sep 17 00:00:00 2001
From: coil <51716565+coil0@users.noreply.github.com>
Date: Mon, 26 Aug 2019 19:45:11 +0200
Subject: [PATCH] Refactor switching station ABMs (#508)

---
 technic_worldgen/crafts.lua |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/technic_worldgen/crafts.lua b/technic_worldgen/crafts.lua
index ac84652..0590e70 100644
--- a/technic_worldgen/crafts.lua
+++ b/technic_worldgen/crafts.lua
@@ -38,14 +38,14 @@
 	inventory_image = "technic_lead_lump.png",
 })
 
+minetest.register_craftitem(":technic:lead_ingot", {
+	description = S("Lead Ingot"),
+	inventory_image = "technic_lead_ingot.png",
+})
+
 minetest.register_craftitem(":technic:sulfur_lump", {
 	description = S("Sulfur Lump"),
 	inventory_image = "technic_sulfur_lump.png",
-})
-
-minetest.register_craftitem(":technic:brass_ingot", {
-	description = S("Brass Ingot"),
-	inventory_image = "technic_brass_ingot.png",
 })
 
 minetest.register_alias("technic:wrought_iron_ingot", "default:steel_ingot")
@@ -91,7 +91,7 @@
 register_block("technic:uranium_block", "technic:uranium_ingot")
 register_block("technic:chromium_block", "technic:chromium_ingot")
 register_block("technic:zinc_block", "technic:zinc_ingot")
-register_block("technic:brass_block", "technic:brass_ingot")
+register_block("technic:lead_block", "technic:lead_ingot")
 register_block("technic:cast_iron_block", "technic:cast_iron_ingot")
 register_block("technic:carbon_steel_block", "technic:carbon_steel_ingot")
 register_block("technic:stainless_steel_block", "technic:stainless_steel_ingot")
@@ -116,6 +116,13 @@
 
 minetest.register_craft({
 	type = 'cooking',
+	recipe = "technic:lead_lump",
+	output = "technic:lead_ingot",
+})
+
+
+minetest.register_craft({
+	type = 'cooking',
 	recipe = minetest.registered_aliases["technic:wrought_iron_ingot"],
 	output = "technic:cast_iron_ingot",
 })

--
Gitblit v1.8.0