1
0
mirror of https://github.com/D00Med/scifi_nodes.git synced 2024-12-22 16:10:18 +01:00

add crafting recipe for teleporter pad

This commit is contained in:
Niles Corder 2021-09-26 03:17:15 +00:00 committed by Buckaroo Banzai
parent 3d7e7a82a5
commit 1273b627c2

View File

@ -10,8 +10,19 @@ if minetest.get_modpath("basic_materials") then
{"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"} {"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 end
if not minetest.get_modpath("default") or not minetest.get_modpath("dye") then 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 -- 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) -- if either of them is missing (because we are not in the default game)