Differences From
Artifact [5ba85bac04]:
20 20 local rec = ItemStack{name = 'sorcery:recipe', count = maxrecs}
21 21 sorcery.cookbook.setrecipe(rec, 'craft', item:get_name())
22 22 i:set_stack('output',1,rec)
23 23 else
24 24 i:set_stack('output',1,ItemStack())
25 25 end
26 26 end
27 +local dsbox = {
28 + type = 'fixed';
29 + fixed = {
30 + -0.5, -0.5, -0.5;
31 + 0.5, 0.0, 0.5;
32 + };
33 +}
27 34 minetest.register_node('sorcery:disassembler', {
28 35 description = 'Disassembly Kit';
29 36 drawtype = 'mesh';
30 37 mesh = 'sorcery-disassembler.obj';
31 38 paramtype = 'light', sunlight_propagates = true;
32 39 paramtype2 = 'facedir';
33 40 groups = { cracky = 2, sorcery_tech = 1 };
41 + selection_box = dsbox;
42 + collision_box = dsbox;
34 43 tiles = {
35 44 'default_copper_block.png';
36 45 'default_wood.png';
37 46 'default_steel_block.png';
38 47 'default_stone.png';
39 48 'default_gold_block.png';
40 49 'default_coal_block.png';