From 1273b627c2314663410622311b37f8786069eacf Mon Sep 17 00:00:00 2001 From: Niles Corder <53316485+ncorder@users.noreply.github.com> Date: Sun, 26 Sep 2021 03:17:15 +0000 Subject: [PATCH] add crafting recipe for teleporter pad --- crafts.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/crafts.lua b/crafts.lua index d88aab6..a229e52 100644 --- a/crafts.lua +++ b/crafts.lua @@ -10,8 +10,19 @@ if minetest.get_modpath("basic_materials") then {"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"} } }) + + minetest.register_craft({ + output = "scifi_nodes:pad", + recipe = { + {"homedecor:plastic_sheeting", "quartz:block", "homedecor:plastic_sheeting"}, + {"default:mese_crystal", "quartz:block", "default:mese_crystal"}, + {"homedecor:plastic_sheeting", "quartz:block", "homedecor:plastic_sheeting"} + } + }) + end + if not minetest.get_modpath("default") or not minetest.get_modpath("dye") then -- the default and dye mod are required for most of the recipes -- if either of them is missing (because we are not in the default game)