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
1 changed files with 11 additions and 0 deletions

View File

@ -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)