mcl dig groups

This commit is contained in:
Freeman 2023-09-01 09:54:10 +02:00
parent ba380a7631
commit 7857dd1525
4 changed files with 10 additions and 2 deletions

View File

@ -159,8 +159,10 @@ minetest.register_node("digilines:chest", {
},
paramtype2 = "facedir",
legacy_facedir_simple = true,
groups = {choppy=2, oddly_breakable_by_hand=2, tubedevice=1, tubedevice_receiver=1},
sounds = default.node_sound_wood_defaults(),
groups = {choppy=2, oddly_breakable_by_hand=2, tubedevice=1, tubedevice_receiver=1, handy=1},
sounds = digilines.sounds.node_sound_wood_defaults(),
_mcl_blast_resistance = 1,
_mcl_hardness = 0.8,
on_construct = function(pos)
local meta = minetest.get_meta(pos)
meta:set_string("infotext", S("Digiline Chest"))

View File

@ -286,6 +286,8 @@ minetest.register_node("digilines:lcd", {
node_box = lcd_box,
selection_box = lcd_box,
groups = {choppy = 3, dig_immediate = 2},
_mcl_blast_resistance = 1,
_mcl_hardness = 0.8,
after_place_node = function(pos)
local param2 = minetest.get_node(pos).param2
if param2 == 0 or param2 == 1 then

View File

@ -39,6 +39,8 @@ minetest.register_node("digilines:lightsensor", {
paramtype = "light",
groups = {dig_immediate=2},
_mcl_blast_resistance = 1,
_mcl_hardness = 0.8,
selection_box = lsensor_selbox,
node_box = lsensor_nodebox,
digilines =

View File

@ -35,6 +35,8 @@ minetest.register_node("digilines:rtc", {
paramtype = "light",
paramtype2 = "facedir",
groups = {dig_immediate=2},
_mcl_blast_resistance = 1,
_mcl_hardness = 0.8,
selection_box = rtc_selbox,
node_box = rtc_nodebox,
digilines =