added my first recipes

This commit is contained in:
Marc 2022-01-26 21:00:39 +01:00
parent 2c37dfb162
commit f908515421
3 changed files with 22 additions and 1 deletions

View File

@ -9,7 +9,28 @@ minetest.register_node("marcs_minetest_test_mod:happy_block", {
minetest.register_node("marcs_minetest_test_mod:liishii_block", { minetest.register_node("marcs_minetest_test_mod:liishii_block", {
description = "Liishiis Lieblingsblock", description = "Liishiis Lieblingsblock",
tiles = {"liishii_block.png"}, tiles = {"liishii_block_top.png", "liishii_block_top.png", "liishii_block.png"},
groups = {cracky = 3}, groups = {cracky = 3},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
minetest.register_craft({
output = "marcs_minetest_test_mod:happy_block",
recipe = {
{ "default:dirt", "default:dirt", "default:dirt" },
{ "default:dirt", "", "" },
{ "", "", "" },
},
})
minetest.register_craft({
type = "cooking",
output = "marcs_minetest_test_mod:happy_block",
recipe = "default:dirt",
})
minetest.register_craft({
type = "cooking",
output = "marcs_minetest_test_mod:liishii_block",
recipe = "marcs_minetest_test_mod:happy_block",
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 B