sorcery  Diff

Differences From Artifact [fc080855fd]:

To Artifact [2bce1083af]:


    11     11   	'shovel'; 'axe';
    12     12   }
    13     13   return {
    14     14   	endure = { -- withstand more blows
    15     15   		name = 'Endure';
    16     16   		cost = 1;
    17     17   		tone = {232,102,255};
    18         -		desc = 'durability magnified';
           18  +		desc = 'tools last longer before wearing out';
    19     19   		affinity = 'counterpraxic';
    20     20   		groups = allgroups;
    21     21   		recipe = {
    22     22   			{lens = 'convex',    gem = 'amethyst', dmg = 2};
    23     23   			{lens = 'rectifier', gem = 'emerald',  dmg = 4};
    24     24   			{lens = 'convex',    gem = 'emerald',  dmg = 2};
    25     25   		};
................................................................................
    71     71   			end
    72     72   		end;
    73     73   	};
    74     74   	conserve = { -- use less magical energy
    75     75   		name = 'Conserve';
    76     76   		tone = {84,255,144};
    77     77   		cost = 0;
    78         -		desc = 'enchantments last longer before running out of power to sustain them.';
           78  +		desc = 'enchantments last longer before running out of power to sustain them';
    79     79   		groups = allgroups;
    80     80   		affinity = 'syncretic';
    81     81   		recipe = {
    82     82   			{lens = 'rectifier', gem = 'mese',     dmg = 7};
    83     83   			{lens = 'rectifier', gem = 'sapphire', dmg = 2};
    84     84   			{lens = 'rectifier', gem = 'amethyst', dmg = 2};
    85     85   		};
................................................................................
   124    124   					ctx.sparks[#ctx.sparks+1] = {
   125    125   						color = sorcery.lib.color(colors[minetest.get_node(n).name]);
   126    126   						count = 100 * dstfac;
   127    127   					}
   128    128   				end
   129    129   			end
   130    130   		end;
          131  +	};
          132  +	glitter = { -- increase odds of finding gem
          133  +		name = 'Glitter';
          134  +		cost = 10;
          135  +		tone = {255,50,60};
          136  +		desc = 'dramatically improve your chances of finding gems while mining veins';
          137  +		groups = {'pick','pickaxe'};
          138  +		affinity = 'entropic';
          139  +		recipe = {
          140  +			{lens = 'amplifier', gem = 'diamond',  dmg = 12};
          141  +			{lens = 'rectifier', gem = 'sapphire', dmg = 9};
          142  +			{lens = 'convex',    gem = 'ruby',     dmg = 7};
          143  +		};
   131    144   	};
   132    145   	pierce = { -- faster mining speed
   133    146   		name = 'Pierce';
   134    147   		cost = 3;
   135    148   		tone = {113,240,251};
   136    149   		groups = digtools;
   137    150   		{
................................................................................
   174    187   				local unit = 2
   175    188   				caps.groupcaps[g].maxlevel = caps[g].maxlevel + math.floor(unit*power)
   176    189   			end
   177    190   			stack:get_meta():set_tool_capabilities(caps)
   178    191   			return stack
   179    192   		end;
   180    193   	};
          194  +	-- multiply = {}; --  add a chance of receiving multiple drops of ore/coal
          195  +	-- leech = {}; -- draw power from local leylines
   181    196   }