mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-01-09 09:20:21 +01:00
set is_ground_content for spawner and meat blocks (thx SwissAlpS)
This commit is contained in:
parent
b3b89e6dea
commit
95f3e98867
2
api.lua
2
api.lua
@ -14,7 +14,7 @@ local use_vh1 = minetest.get_modpath("visual_harm_1ndicators")
|
||||
-- Global
|
||||
mobs = {
|
||||
mod = "redo",
|
||||
version = "20240223",
|
||||
version = "20240227",
|
||||
translate = S,
|
||||
invis = minetest.global_exists("invisibility") and invisibility or {},
|
||||
node_snow = minetest.registered_aliases["mapgen_snow"]
|
||||
|
@ -379,6 +379,7 @@ minetest.register_node("mobs:meatblock", {
|
||||
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, axey = 1, handy = 1},
|
||||
is_ground_content = false,
|
||||
sounds = mod_def and default.node_sound_leaves_defaults(),
|
||||
on_place = minetest.rotate_node,
|
||||
on_use = minetest.item_eat(20),
|
||||
@ -401,6 +402,7 @@ minetest.register_node("mobs:meatblock_raw", {
|
||||
tiles = {"mobs_meat_raw_top.png", "mobs_meat_raw_bottom.png", "mobs_meat_raw_side.png"},
|
||||
paramtype2 = "facedir",
|
||||
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(),
|
||||
on_place = minetest.rotate_node,
|
||||
on_use = minetest.item_eat(20),
|
||||
|
@ -21,6 +21,7 @@ minetest.register_node("mobs:spawner", {
|
||||
walkable = true,
|
||||
description = S("Mob Spawner"),
|
||||
groups = {cracky = 1, pickaxey = 3},
|
||||
is_ground_content = false,
|
||||
_mcl_hardness = 1,
|
||||
_mcl_blast_resistance = 5,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user