28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
newstack[1]:get_meta():from_table(meta)
end;
walkable = false;
selection_box = {
type = "fixed",
fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
};
sounds = default.node_sound_glass_defaults();
}
if extra then for k,v in pairs(extra) do node[k] = v end end
if not node.groups then node.groups = {} end
node.groups.dig_immediate = 3;
node.groups.attached_node = 1;
node.groups.vessel = 1;
|
|
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
newstack[1]:get_meta():from_table(meta)
end;
walkable = false;
selection_box = {
type = "fixed",
fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
};
on_construct = function(pos)
minetest.get_meta(pos):set_string('infotext',label)
end;
sounds = default.node_sound_glass_defaults();
}
if extra then for k,v in pairs(extra) do node[k] = v end end
if not node.groups then node.groups = {} end
node.groups.dig_immediate = 3;
node.groups.attached_node = 1;
node.groups.vessel = 1;
|