Differences From
Artifact [9d08817e20]:
113 113 end
114 114
115 115 if not metal.no_craftables then
116 116 install(screw, 0.5)
117 117 minetest.register_craftitem(screw, {
118 118 description = sorcery.lib.str.capitalize(name) .. ' Screw';
119 119 inventory_image = sorcery.lib.image('sorcery_screw.png'):multiply(sorcery.lib.color(metal.tone)):render();
120 - groups = { metal = 1; screw = 1; sorcery_screw = 1; sorcery_tech_component = 1; };
120 + groups = { metal = 1; screw = 1; sorcery_screw = metal.hardness; sorcery_tech_component = 1; };
121 121 _sorcery = {
122 122 material = {
123 123 id = name, data = metal;
124 124 powder = powder;
125 125 grindcost = 2, grindvalue = 1;
126 126 value = 0.5;
127 127 };