345
346
347
348
349
350
351
352
353
354
355
356
357
358
|
local id = 'sorcery:mill_grindhead_' .. name
minetest.register_tool(id,{
description = sorcery.lib.str.capitalize(name) .. ' Grinding Head';
inventory_image = sorcery.lib.image('sorcery_mill_grindhead.png'):multiply(sorcery.lib.color(metal.tone)):render();
groups = { sorcery_mill_grindhead = 1, sorcery_metallurgy = 1 };
_proto = {
metal = name;
};
});
minetest.register_craft {
output = id;
recipe = {
{f,i,f};
{i,'',i};
|
|
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
|
local id = 'sorcery:mill_grindhead_' .. name
minetest.register_tool(id,{
description = sorcery.lib.str.capitalize(name) .. ' Grinding Head';
inventory_image = sorcery.lib.image('sorcery_mill_grindhead.png'):multiply(sorcery.lib.color(metal.tone)):render();
groups = { sorcery_mill_grindhead = 1, sorcery_metallurgy = 1 };
_proto = {
metal = name;
};
_sorcery = {
recipe = {
note = 'Needed by mills in order to operate. The stronger the metal, the longer the head lasts, the harder the materials it can pulverize, and the faster it grinds.';
};
};
});
minetest.register_craft {
output = id;
recipe = {
{f,i,f};
{i,'',i};
|