Add slime block recipes

This commit is contained in:
Wuzzy 2017-01-04 13:17:18 +01:00
parent 082706441a
commit 85a2808d69
3 changed files with 17 additions and 4 deletions

View file

@ -1 +1,2 @@
mesecons mesecons
default

View file

@ -1,14 +1,26 @@
--GLUE minetest.register_craftitem("mesecons_materials:slimeball", {
minetest.register_craftitem("mesecons_materials:glue", {
image = "jeija_glue.png", image = "jeija_glue.png",
on_place_on_ground = minetest.craftitem_place_item, on_place_on_ground = minetest.craftitem_place_item,
description="Slimeball", description="Slimeball",
}) })
minetest.register_craft({ minetest.register_craft({
output = '"mesecons_materials:glue" 2', output = 'mesecons_materials:slimeball',
type = "cooking", type = "cooking",
recipe = "default:sapling", recipe = "default:sapling",
cooktime = 10, cooktime = 10,
}) })
minetest.register_craft({
output = 'mesecons_materials:slimeball 9',
recipe = {{"default:slimeblock"}},
})
minetest.register_craft({
output = "default:slimeblock",
recipe = {{"mesecons_materials:slimeball","mesecons_materials:slimeball","mesecons_materials:slimeball",},
{"mesecons_materials:slimeball","mesecons_materials:slimeball","mesecons_materials:slimeball",},
{"mesecons_materials:slimeball","mesecons_materials:slimeball","mesecons_materials:slimeball",}},
})
minetest.register_alias("mesecons_materials:glue", "mesecons_materials:slimeball")

View file

@ -740,7 +740,7 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
output = "mesecons_pistons:piston_sticky_off", output = "mesecons_pistons:piston_sticky_off",
recipe = { recipe = {
{"mesecons_materials:glue"}, {"mesecons_materials:slimeball"},
{"mesecons_pistons:piston_normal_off"}, {"mesecons_pistons:piston_normal_off"},
} }
}) })