sorcery  Diff

Differences From Artifact [b3a388d8b4]:

To Artifact [9a3424a733]:


     1      1   -- an optional 'enchant' function can be defined, and will
     2      2   -- be called when the enchantment is placed on the object
     3      3   local allgroups = {
     4      4   	'sword'; 'pick'; 'pickaxe';
     5         -	'sickle'; 'scythe'; 'shovel';
     6         -	'hoe'; 'helmet'; 'leggings';
     7         -	'chestplate'; 'boots';
            5  +	'sickle'; 'axe'; 'scythe';
            6  +	'shovel'; 'hoe'; 'helmet';
            7  +	'leggings'; 'chestplate'; 'boots';
     8      8   } 
            9  +local digtools = {
           10  +	'pick'; 'pickaxe'; 'sickle';
           11  +	'shovel'; 'axe';
           12  +}
     9     13   return {
    10     14   	endure = { -- withstand more blows
    11     15   		name = 'Endure';
    12     16   		cost = 1;
    13     17   		tone = {232,102,255};
    14     18   		desc = 'durability magnified';
    15     19   		affinity = 'counterpraxic';
................................................................................
    29     33   			return stack
    30     34   		end;
    31     35   	};
    32     36   	drain = {
    33     37   		groups = {'sword'};
    34     38   		cost = 4;
    35     39   	}; -- health vampirism
           40  +	glitter = { -- created prolonged light on digging
           41  +		name = 'Glitter';
           42  +		groups = digtools;
           43  +		affinity = 'cognic';
           44  +		cost = 1;
           45  +		tone = {255,235,195};
           46  +		desc = 'Leave a trail of light hanging in the air as you dig';
           47  +	};
    36     48   	harvest = { -- kills or digging ore replenish durability
    37     49   		name = 'Harvest';
    38     50   		cost = 0; -- energy is only depleted when repair takes place
    39     51   		tone = {255,84,187};
    40     52   		affinity = 'syncretic';
    41     53   		groups = {
    42     54   			'pick'; 'pickaxe'; 'sword';
................................................................................
   120    132   			end
   121    133   		end;
   122    134   	};
   123    135   	pierce = { -- faster mining speed
   124    136   		name = 'Pierce';
   125    137   		cost = 3;
   126    138   		tone = {113,240,251};
   127         -		groups = {
          139  +		groups = digtools;
          140  +		{
   128    141   			'pick';'pickaxe';'axe';'shovel';'sickle';
   129    142   		};
   130    143   		desc = 'rip through solid stone or wood like a hot knife through butter';
   131    144   		recipe = {
   132    145   			{lens = 'amplifier', gem = 'diamond',  dmg = 4};
   133    146   			{lens = 'amplifier', gem = 'ruby',     dmg = 4};
   134    147   			{lens = 'rectifier', gem = 'diamond',  dmg = 2};