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:
parent
b9c8de21bd
commit
579e301d87
132
crafts.lua
132
crafts.lua
@ -79,38 +79,66 @@ if minetest.get_modpath("glooptest") then
|
||||
}
|
||||
})
|
||||
|
||||
elseif minetest.get_modpath("gloopores") then
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "gloopblocks:evil_stick",
|
||||
recipe = {
|
||||
"gloopores:kalite_lump",
|
||||
"default:gold_ingot",
|
||||
"default:coal_lump",
|
||||
"group:stick"
|
||||
}
|
||||
})
|
||||
else
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "gloopblocks:evil_stick",
|
||||
recipe = {
|
||||
"default:gold_ingot",
|
||||
"default:gold_ingot",
|
||||
"default:coal_lump",
|
||||
"group: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:evil_stick 4",
|
||||
recipe = {
|
||||
{"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:scaffolding 12",
|
||||
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user