set is_ground_content = false
follow latest trends in modmaking
This commit is contained in:
parent
48193a70e3
commit
29e6309643
@ -99,7 +99,7 @@ minetest.register_node("yl_dice:dice", {
|
|||||||
wield_image = "yl_dice_3.png",
|
wield_image = "yl_dice_3.png",
|
||||||
groups = { dig_immediate = 2 },
|
groups = { dig_immediate = 2 },
|
||||||
palette = "yl_dice_6_palette.png",
|
palette = "yl_dice_6_palette.png",
|
||||||
|
is_ground_content = false,
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
local val = roll_dice(pos)
|
local val = roll_dice(pos)
|
||||||
minetest.log("action", ("[yl_dice] placed d6 has rolled %s at %s"):format(val, minetest.pos_to_string(pos)))
|
minetest.log("action", ("[yl_dice] placed d6 has rolled %s at %s"):format(val, minetest.pos_to_string(pos)))
|
||||||
|
Loading…
Reference in New Issue
Block a user