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:
parent
bd8be0905a
commit
3009da0efe
21
crafts.lua
21
crafts.lua
@ -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"
|
||||||
|
}
|
||||||
|
})
|
||||||
|
BIN
textures/mobs_meat_bottom.png
Normal file
BIN
textures/mobs_meat_bottom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 253 B |
BIN
textures/mobs_meat_side.png
Normal file
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
BIN
textures/mobs_meat_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 287 B |
Loading…
Reference in New Issue
Block a user