38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
minetest.register_node(keg.id, {
description = keg.name;
drawtype = 'mesh';
mesh = keg.model;
sunlight_propagates = true;
paramtype = 'light';
paramtype2 = 'facedir';
groups = { choppy = 2; sorcery_container = 2; attached_node = keg.atch }; -- 2=liquid
tiles = {
'default_bronze_block.png';
'default_wood.png';
'default_steel_block.png';
};
selection_box = hitbox(keg.ofs or 0);
collision_box = keg.cb or hitbox(keg.ofs or 0);
|
|
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
minetest.register_node(keg.id, {
description = keg.name;
drawtype = 'mesh';
mesh = keg.model;
sunlight_propagates = true;
paramtype = 'light';
paramtype2 = 'facedir';
groups = { choppy = 2; sorcery_container = 2; sorcery_tech = 1; attached_node = keg.atch }; -- 2=liquid
tiles = {
'default_bronze_block.png';
'default_wood.png';
'default_steel_block.png';
};
selection_box = hitbox(keg.ofs or 0);
collision_box = keg.cb or hitbox(keg.ofs or 0);
|