Sausages added

This commit is contained in:
Grossam 2021-09-17 16:38:16 +02:00
parent 94c277fa2e
commit fd29a434c8
4 changed files with 13580 additions and 0 deletions

View File

@ -1,2 +1,3 @@
farming
more_farming
mobs_animals

View File

@ -18,3 +18,28 @@
-- end
--end
-- support for translation.
local S = minetest.get_translator("pork_chop")
minetest.register_node("pork_chop:sausage", {
description = S("Sausage"),
drawtype = "mesh",
mesh = "pork_chop_sausage.obj",
tiles = {"pork_chop_sausage.png"},
inventory_image = "pork_chop_sausage_inv.png",
paramtype = "light",
sunlight_propagates = false,
walkable = false,
is_ground_content = false,
selection_box = {
type = "fixed",
fixed = {-3 / 16, -7 / 16, -3 / 16, 3 / 16, 4 / 16, 3 / 16}
},
collision_box = {
type = "fixed",
fixed = {-3 / 16, -7 / 16, -3 / 16, 3 / 16, 4 / 16, 3 / 16}
},
on_use = minetest.item_eat(5),
groups = {oddly_breakable_by_hand = 1},
sounds = default.node_sound_leaves_defaults(),
})

13554
models/pork_chop_sausage.obj Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 KiB