312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
|
color = v[2];
measure = sorcery.liquid.units.pint;
containers = {
['vessels:glass_bottle'] = liqid;
};
}
local add_alcohol = function(booze)
minetest.register_craft {
type = "shapeless";
recipe = {
booze;
item, item, item;
item, item, item;
"farming:mortar_pestle";
};
output = 'sorcery:' .. name;
replacements = {
{"farming:mortar_pestle", "farming:mortar_pestle"};
};
}
end
-- need a relatively pure alcohol for this, tho other alcohols can be used
-- for potionmaking in other ways
add_alcohol('farming:bottle_ethanol')
if minetest.get_modpath('wine') then
add_alcohol('wine:glass_vodka')
end
end)
|
>
>
|
|
|
|
|
|
|
|
|
|
|
|
|
<
>
|
|
|
|
|
|
|
|
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
|
color = v[2];
measure = sorcery.liquid.units.pint;
containers = {
['vessels:glass_bottle'] = liqid;
};
}
-- the mortar and pestle are no longer used for crafting extracts
-- now that the distiller is available
-- local add_alcohol = function(booze)
-- minetest.register_craft {
-- type = "shapeless";
-- recipe = {
-- booze;
-- item, item, item;
-- item, item, item;
-- "farming:mortar_pestle";
-- };
-- output = 'sorcery:' .. name;
-- replacements = {
-- {"farming:mortar_pestle", "farming:mortar_pestle"};
-- };
-- }
-- end
-- --need a relatively pure alcohol for this, tho other alcohols can be used
-- --for potionmaking in other ways
-- add_alcohol('farming:bottle_ethanol')
-- if minetest.get_modpath('wine') then
-- add_alcohol('wine:glass_vodka')
-- end
end)
|