make "evil" stuff only craftable if you have glooptest installed

drops support for gloopores, gets rid of the default-only recipes.
This commit is contained in:
Vanessa Dannenberg 2018-10-15 07:19:15 -04:00
parent b9c8de21bd
commit 579e301d87

@ -79,39 +79,67 @@ if minetest.get_modpath("glooptest") then
}
})
elseif minetest.get_modpath("gloopores") then
minetest.register_craft({
type = "shapeless",
output = "gloopblocks:evil_stick",
output = "gloopblocks:evil_block",
recipe = {
"gloopores:kalite_lump",
"default:gold_ingot",
"default:coal_lump",
"group:stick"
{"gloopblocks:evil_stick", "gloopblocks:evil_stick"},
{"gloopblocks:evil_stick", "gloopblocks:evil_stick"},
}
})
else
minetest.register_craft({
type = "shapeless",
output = "gloopblocks:evil_stick",
output = "gloopblocks:evil_stick 4",
recipe = {
"default:gold_ingot",
"default:gold_ingot",
"default:coal_lump",
"group:stick"
{"gloopblocks:evil_block"}
}
})
minetest.register_craft({
output = "gloopblocks:pick_evil",
recipe = {
{"gloopblocks:evil_block", "gloopblocks:evil_block", "gloopblocks:evil_block"},
{"", "gloopblocks:evil_stick", ""},
{"", "gloopblocks:evil_stick", ""},
}
})
minetest.register_craft({
output = "gloopblocks:axe_evil",
recipe = {
{"gloopblocks:evil_block", "gloopblocks:evil_block"},
{"gloopblocks:evil_block", "gloopblocks:evil_stick"},
{"", "gloopblocks:evil_stick"},
}
})
minetest.register_craft({
output = "gloopblocks:axe_evil",
recipe = {
{"gloopblocks:evil_block", "gloopblocks:evil_block"},
{"gloopblocks:evil_stick", "gloopblocks:evil_block"},
{"gloopblocks:evil_stick", ""},
}
})
minetest.register_craft({
output = "gloopblocks:shovel_evil",
recipe = {
{"gloopblocks:evil_block"},
{"gloopblocks:evil_stick"},
{"gloopblocks:evil_stick"},
}
})
minetest.register_craft({
output = "gloopblocks:sword_evil",
recipe = {
{"gloopblocks:evil_block"},
{"gloopblocks:evil_block"},
{"gloopblocks:evil_stick"},
}
})
end
minetest.register_craft({
output = "gloopblocks:evil_block",
recipe = {
{"gloopblocks:evil_stick", "gloopblocks:evil_stick"},
{"gloopblocks:evil_stick", "gloopblocks:evil_stick"},
}
})
minetest.register_craft({
output = "gloopblocks:scaffolding 12",
recipe = {
@ -121,13 +149,6 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = "gloopblocks:evil_stick 4",
recipe = {
{"gloopblocks:evil_block"}
}
})
minetest.register_craft({
output = "gloopblocks:pick_cement",
recipe = {
@ -173,51 +194,6 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = "gloopblocks:pick_evil",
recipe = {
{"gloopblocks:evil_block", "gloopblocks:evil_block", "gloopblocks:evil_block"},
{"", "gloopblocks:evil_stick", ""},
{"", "gloopblocks:evil_stick", ""},
}
})
minetest.register_craft({
output = "gloopblocks:axe_evil",
recipe = {
{"gloopblocks:evil_block", "gloopblocks:evil_block"},
{"gloopblocks:evil_block", "gloopblocks:evil_stick"},
{"", "gloopblocks:evil_stick"},
}
})
minetest.register_craft({
output = "gloopblocks:axe_evil",
recipe = {
{"gloopblocks:evil_block", "gloopblocks:evil_block"},
{"gloopblocks:evil_stick", "gloopblocks:evil_block"},
{"gloopblocks:evil_stick", ""},
}
})
minetest.register_craft({
output = "gloopblocks:shovel_evil",
recipe = {
{"gloopblocks:evil_block"},
{"gloopblocks:evil_stick"},
{"gloopblocks:evil_stick"},
}
})
minetest.register_craft({
output = "gloopblocks:sword_evil",
recipe = {
{"gloopblocks:evil_block"},
{"gloopblocks:evil_block"},
{"gloopblocks:evil_stick"},
}
})
if minetest.get_modpath("building_blocks") then
minetest.register_craft({
output = "default:wood 4",