sorcery  Diff

Differences From Artifact [715b9ce25c]:

To Artifact [22f82424c6]:


   120    120   	local fullname = n .. ' Potion'
   121    121   	sorcery.liquid.register{
   122    122   		id = 'sorcery:'..id;
   123    123   		name = fullname;
   124    124   		color = v.color;
   125    125   		proto = v;
   126    126   		kind = 'sorcery:potion';
   127         -		measure = function(amt) return string.format('%s draughts', amt / 3) end;
          127  +		measure = sorcery.liquid.units.draught;
   128    128   		containers = {
   129    129   			['vessels:glass_bottle'] = 'sorcery:' .. id;
   130    130   		};
   131    131   	}
   132    132   	v.kind = kind_potion;
   133    133   	sorcery.register_potion(id, fullname, desc, color, kind, glow, {
   134    134   		groups = {
................................................................................
   302    302   
   303    303   	sorcery.liquid.register {
   304    304   		id = liqid;
   305    305   		name = desc;
   306    306   		kind = 'sorcery:extract';
   307    307   		proto = v;
   308    308   		color = v[2];
          309  +		measure = sorcery.liquid.units.pint;
   309    310   		containers = {
   310    311   			['vessels:glass_bottle'] = liqid;
   311    312   		};
   312    313   	}
   313    314   
   314    315   	local add_alcohol = function(booze)
   315    316   		minetest.register_craft {