291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
|
};
replacements = {
{'sorcery:flame_oil', 'xdecor:bowl'};
{'farming:mixing_bowl', 'farming:mixing_bowl'};
};
}
for _,e in pairs{'flame','frost','force'} do
minetest.register_craftitem('sorcery:essence_'..e, {
description = sorcery.lib.str.capitalize(e) .. ' Essence';
inventory_image = 'sorcery_essence_'..e..'.png';
group = { sorcery_elemental_essence = 1 };
})
end
minetest.register_craftitem('sorcery:inferno_crystal', {
-- made with melding wand from ruby, lithium ingot, and gunpowder
-- under sign of the wyvern or the winged serpent
inventory_image = 'sorcery_inferno_crystal.png';
description = 'Inferno Crystal';
})
minetest.register_craftitem('sorcery:powder_firestorm', {
inventory_image = 'sorcery_powder_firestorm.png';
description = 'Firestorm Powder';
})
|
|
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
|
};
replacements = {
{'sorcery:flame_oil', 'xdecor:bowl'};
{'farming:mixing_bowl', 'farming:mixing_bowl'};
};
}
for i,e in ipairs{'frost','flame','force'} do
minetest.register_craftitem('sorcery:essence_'..e, {
description = sorcery.lib.str.capitalize(e) .. ' Essence';
inventory_image = 'sorcery_essence_'..e..'.png';
group = { sorcery_elemental_essence = 1 };
_sorcery = {
material = {
sacrifice_value = i ^ 6;
}
}
})
end
minetest.register_craftitem('sorcery:inferno_crystal', {
-- made with melding wand from ruby, lithium ingot, and gunpowder
-- under sign of the wyvern or the winged serpent
inventory_image = 'sorcery_inferno_crystal.png';
description = 'Inferno Crystal';
_sorcery = {
material = {
gem = true;
sacrifice_value = 900;
};
}
})
minetest.register_craftitem('sorcery:powder_firestorm', {
inventory_image = 'sorcery_powder_firestorm.png';
description = 'Firestorm Powder';
})
|