sorcery  Diff

Differences From Artifact [951f6052a6]:

To Artifact [a02ac21c24]:


     1      1   -- liquid.lua
     2      2   -- the liquid registry is used to keep track of abstract liquids,
     3      3   -- their properties, and their representation in-game.
     4      4   
     5      5   sorcery.registry.mk('liquid', false)
            6  +sorcery.liquid = {}
     6      7   
     7         --- pre-register liquids used in Sorcery and common ones sorcery depends on
            8  +-- pre-register basic liquids used in Sorcery and common ones sorcery depends on
     8      9   
     9     10   sorcery.register.liquid.link('default:water', {
    10         -	name = 'Water';
           11  +	name = 'water';
    11     12   	kind = 'default:drink';
    12     13   	color = {10,85,255};
    13     14   	proto = nil;
    14     15   	src = 'default:water_source';
    15     16   	containers = {
    16     17   		['vessels:glass_bottle'] = 'sorcery:potion_water';
    17     18   		['bucket:bucket_empty'] = 'bucket:bucket_water';
    18     19   	};
    19     20   })
    20     21   
    21     22   sorcery.register.liquid.link('farming:ethanol', {
    22         -	name = 'Ethanol';
           23  +	name = 'ethanol';
    23     24   	kind = 'default:fuel';
    24     25   	color = {175,185,130};
    25     26   	proto = nil;
    26     27   	measure = function(u) return string.format('%s pints', u * 5) end;
    27     28   	containers = {
    28     29   		['vessels:glass_bottle'] = 'farming:ethanol_bottle';
    29     30   	};
    30     31   })
    31     32   
    32     33   sorcery.register.liquid.link('sorcery:blood', {
    33         -	name = 'Blood';
           34  +	name = 'blood';
    34     35   	kind = 'sorcery:reagent';
    35     36   	color = {255,10,30};
    36     37   	proto = nil;
    37     38   	measure = function(u) return string.format('%s cc', u * 236.5) end;
    38     39   	containers = {
    39     40   		['vessels:glass_bottle'] = 'sorcery:blood';
    40     41   	};
    41     42   })