From 43acec290067f9aca534647d46ba1f13cfeb377a Mon Sep 17 00:00:00 2001
From: TechDudie <73961295+TechDudie@users.noreply.github.com>
Date: Tue, 09 Feb 2021 19:03:55 +0100
Subject: [PATCH] Add Rubber Goo as replacement for the grinder (#578)

---
 technic/textures/technic_rubber_goo.png |    0 
 technic/items.lua                       |    5 +++++
 technic/crafts.lua                      |   23 ++++++++++++++++++++++-
 3 files changed, 27 insertions(+), 1 deletions(-)

diff --git a/technic/crafts.lua b/technic/crafts.lua
index d43ab34..978bae8 100644
--- a/technic/crafts.lua
+++ b/technic/crafts.lua
@@ -174,7 +174,6 @@
 	},
 })
 
-
 minetest.register_craft({
 	output = "default:dirt 2",
 	type = "shapeless",
@@ -186,3 +185,25 @@
 		"group:sand",
 	},
 })
+
+minetest.register_craft({
+	output = "technic:rubber_goo",
+	type = "shapeless",
+	recipe = {
+		"technic:raw_latex",
+		"default:coal_lump",
+		"default:coal_lump",
+		"default:coal_lump",
+		"default:coal_lump",
+		"default:coal_lump",
+		"default:coal_lump",
+		"default:coal_lump",
+		"default:coal_lump",
+	},
+})
+
+minetest.register_craft({
+	output = "technic:rubber",
+	type = "cooking",
+	recipe = "technic:rubber_goo",
+})
diff --git a/technic/items.lua b/technic/items.lua
index cf57229..d1565d7 100644
--- a/technic/items.lua
+++ b/technic/items.lua
@@ -134,6 +134,11 @@
 	sounds = default.node_sound_stone_defaults(),
 })
 
+minetest.register_craftitem("technic:rubber_goo", {
+	description = S("Rubber Goo"),
+	inventory_image = "technic_rubber_goo.png",
+})
+
 for p = 0, 35 do
 	local nici = (p ~= 0 and p ~= 7 and p ~= 35) and 1 or nil
 	local psuffix = p == 7 and "" or p
diff --git a/technic/textures/technic_rubber_goo.png b/technic/textures/technic_rubber_goo.png
new file mode 100644
index 0000000..d25cae6
--- /dev/null
+++ b/technic/textures/technic_rubber_goo.png
Binary files differ

--
Gitblit v1.8.0