mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-02-22 21:10:22 +01:00
meatblocks aren't ground content
This commit is contained in:
parent
f1cbed1089
commit
daf6b744f6
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
local S = mobs.translate
|
local S = mobs.translate
|
||||||
local FS = function(...) return minetest.formspec_escape(S(...)) end
|
local FS = function(...) return minetest.formspec_escape(S(...)) end
|
||||||
local mc2 = minetest.get_modpath("mcl_core")
|
local mc2 = minetest.get_modpath("mcl_core")
|
||||||
@ -379,6 +378,7 @@ minetest.register_node("mobs:meatblock", {
|
|||||||
tiles = {"mobs_meat_top.png", "mobs_meat_bottom.png", "mobs_meat_side.png"},
|
tiles = {"mobs_meat_top.png", "mobs_meat_bottom.png", "mobs_meat_side.png"},
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {choppy = 1, oddly_breakable_by_hand = 1, flammable = 2, axey = 1, handy = 1},
|
groups = {choppy = 1, oddly_breakable_by_hand = 1, flammable = 2, axey = 1, handy = 1},
|
||||||
|
is_ground_content = false,
|
||||||
sounds = mod_def and default.node_sound_leaves_defaults(),
|
sounds = mod_def and default.node_sound_leaves_defaults(),
|
||||||
on_place = minetest.rotate_node,
|
on_place = minetest.rotate_node,
|
||||||
on_use = minetest.item_eat(20),
|
on_use = minetest.item_eat(20),
|
||||||
@ -401,6 +401,7 @@ minetest.register_node("mobs:meatblock_raw", {
|
|||||||
tiles = {"mobs_meat_raw_top.png", "mobs_meat_raw_bottom.png", "mobs_meat_raw_side.png"},
|
tiles = {"mobs_meat_raw_top.png", "mobs_meat_raw_bottom.png", "mobs_meat_raw_side.png"},
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {choppy = 1, oddly_breakable_by_hand = 1, flammable = 2, axey = 1, handy = 1},
|
groups = {choppy = 1, oddly_breakable_by_hand = 1, flammable = 2, axey = 1, handy = 1},
|
||||||
|
is_ground_content = false,
|
||||||
sounds = mod_def and default.node_sound_leaves_defaults(),
|
sounds = mod_def and default.node_sound_leaves_defaults(),
|
||||||
on_place = minetest.rotate_node,
|
on_place = minetest.rotate_node,
|
||||||
on_use = minetest.item_eat(20),
|
on_use = minetest.item_eat(20),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user