648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
...
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
|
{'group:wood','default:stick','group:wood'};
};
replacements = {
{'screwdriver:screwdriver','screwdriver:screwdriver'};
};
};
sorcery.data.register.infusion_leftover('sorcery:ink','vessels:glass_bottle')
sorcery.data.register.infusion_leftover('sorcery:erasure_fluid','vessels:glass_bottle')
---- altar
minetest.register_craftitem('sorcery:candle', {
-- TODO make candle node
inventory_image = 'sorcery_candle.png';
description = 'Votive Candle';
groups = {
................................................................................
recipe = sorcery.lib.tbl.append(recipe, substance.core)
elseif container then
recipe[#recipe + 1] = container
end
if substance.mix and #substance.mix > 0 then
recipe = sorcery.lib.tbl.append(recipe, substance.mix)
for _,r in pairs(substance.mix) do
if sorcery.data.infusion_leftovers[r] then
replace[#replace + 1] = {
r, sorcery.data.infusion_leftovers[r]
}
end
end
end
minetest.register_craft {
type = 'shapeless';
|
|
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
...
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
|
{'group:wood','default:stick','group:wood'};
};
replacements = {
{'screwdriver:screwdriver','screwdriver:screwdriver'};
};
};
sorcery.register.residue.link('sorcery:ink','vessels:glass_bottle')
sorcery.register.residue.link('sorcery:erasure_fluid','vessels:glass_bottle')
---- altar
minetest.register_craftitem('sorcery:candle', {
-- TODO make candle node
inventory_image = 'sorcery_candle.png';
description = 'Votive Candle';
groups = {
................................................................................
recipe = sorcery.lib.tbl.append(recipe, substance.core)
elseif container then
recipe[#recipe + 1] = container
end
if substance.mix and #substance.mix > 0 then
recipe = sorcery.lib.tbl.append(recipe, substance.mix)
for _,r in pairs(substance.mix) do
if sorcery.register.residue.db[r] then
replace[#replace + 1] = {
r, sorcery.register.residue.db[r]
}
end
end
end
minetest.register_craft {
type = 'shapeless';
|