add meat block and recipe

このコミットが含まれているのは:
TenPlus1 2020-09-15 13:20:29 +01:00
コミット 3009da0efe
4個のファイルの変更21行の追加0行の削除

ファイルの表示

@ -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"
}
})

バイナリ
textures/mobs_meat_bottom.png ノーマルファイル

バイナリファイルは表示されません。

変更後

幅:  |  高さ:  |  サイズ: 253 B

バイナリ
textures/mobs_meat_side.png ノーマルファイル

バイナリファイルは表示されません。

変更後

幅:  |  高さ:  |  サイズ: 271 B

バイナリ
textures/mobs_meat_top.png ノーマルファイル

バイナリファイルは表示されません。

変更後

幅:  |  高さ:  |  サイズ: 287 B