mirror of
https://github.com/minetest-mods/digilines.git
synced 2024-11-16 07:10:23 +01:00
mcl dig groups
This commit is contained in:
parent
ba380a7631
commit
7857dd1525
|
@ -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"))
|
||||
|
|
2
lcd.lua
2
lcd.lua
|
@ -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
|
||||
|
|
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue
Block a user