1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-24 01:30:22 +01:00

add meat block and recipe

This commit is contained in:
TenPlus1 2020-09-15 13:20:29 +01:00
parent bd8be0905a
commit 3009da0efe
4 changed files with 21 additions and 0 deletions

View File

@ -331,3 +331,24 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
tex_obj = nil tex_obj = nil
end end
end) end)
-- Meat Block (thanks to painterlypack.net for allowing me to use these textures)
minetest.register_node("mobs:meatblock", {
description = S("Meat Block"),
tiles = {"mobs_meat_top.png", "mobs_meat_bottom.png", "mobs_meat_side.png"},
paramtype2 = "facedir",
groups = {choppy = 1, oddly_breakable_by_hand = 1, flammable = 2},
sounds = default.node_sound_leaves_defaults(),
on_place = minetest.rotate_node
})
minetest.register_craft({
output = "mobs:meatblock",
type = "shapeless",
recipe = {
"group:food_meat", "group:food_meat", "group:food_meat",
"group:food_meat", "group:food_meat", "group:food_meat",
"group:food_meat", "group:food_meat", "group:food_meat"
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

BIN
textures/mobs_meat_side.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 B

BIN
textures/mobs_meat_top.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B