Browse Source

add meat block and recipe

master
TenPlus1 3 days ago
parent
commit
3009da0efe
4 changed files with 21 additions and 0 deletions
  1. +21
    -0
      crafts.lua
  2. BIN
      textures/mobs_meat_bottom.png
  3. BIN
      textures/mobs_meat_side.png
  4. BIN
      textures/mobs_meat_top.png

+ 21
- 0
crafts.lua View File

@@ -331,3 +331,24 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
tex_obj = nil
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"
}
})

BIN
textures/mobs_meat_bottom.png View File

Before After
Width: 16  |  Height: 16  |  Size: 253 B

BIN
textures/mobs_meat_side.png View File

Before After
Width: 16  |  Height: 16  |  Size: 271 B

BIN
textures/mobs_meat_top.png View File

Before After
Width: 16  |  Height: 16  |  Size: 287 B

Loading…
Cancel
Save