sorcery  Diff

Differences From Artifact [17afb80492]:

  • File data/resonance.lua — part of check-in [ea6e475e44] at 2020-10-19 09:52:11 on branch trunk — continue dev on celestial mechanics, add melding+division spells (resonance), refine itemclasses, add keypunch and punchcards, add paper pulp, add a shitload of visuals, add convenience scripts for working with the wiki, make the flamebolt spell actually useful instead of just a pretty lightshow, add essences, inferno crystal, and other goodies; iterate on wands, lots of shit i can't remember, various bugfixes (user: lexi, size: 1824) [annotate] [blame] [check-ins using]

To Artifact [436a325bac]:


    19     19   -- TODO: add value annotations, make high spell power prefer items of higher value
    20     20   return {
    21     21   	divide = {
    22     22   		-- remember to check for leftovers!
    23     23   		['sorcery:flame_oil'] = {
    24     24   			mode = 'random';
    25     25   			give = {
    26         -				'sorcery:ash';
    27         -				'sorcery:essence_flame';
           26  +				{value = 1, item = 'sorcery:ash'};
           27  +				{value = 2, item = 'sorcery:essence_flame'};
    28     28   			};
    29     29   		};
    30     30   		['bucket:bucket_lava'] = {
    31     31   			mode = 'random';
    32     32   			replacement = 'bucket:bucket_empty';
    33     33   			give = {
    34         -				'sorcery:essence_flame';
    35         -				'sorcery:powder_firestorm';
           34  +				{value = 1, item = 'sorcery:essence_flame'};
           35  +				{value = 2, item = 'sorcery:powder_firestorm'};
    36     36   			};
    37     37   		};
    38     38   		['sorcery:inferno_crystal'] = {
    39     39   			mode = 'set';
    40     40   			give = {
    41     41   				'sorcery:essence_flame';
    42     42   				'sorcery:essence_flame';
    43     43   				'sorcery:gem_ruby';
    44     44   			};
    45     45   		};
    46     46   		['default:mese_crystal'] = {
    47     47   			mode = 'random';
    48     48   			give = {
    49         -				'default:mese_fragment';
    50         -				'sorcery:essence_force';
           49  +				{value = 1; item = 'default:mese_fragment'};
           50  +				{value = 2; item = 'sorcery:essence_force'};
    51     51   			};
    52     52   		};
    53     53   	};
    54     54   
    55     55   	meld = {
    56     56   		{
    57     57   			set = { 'sorcery:gem_ruby', 'sorcery:ingot_lithium', 'tnt:gunpowder' };
    58     58   			restrict = undersign {'wyvern','wserpent'};
    59         -			results = { 'sorcery:inferno_crystal' };
           59  +			results = { {value = 1, item = 'sorcery:inferno_crystal'} };
    60     60   		};
    61     61   		{
    62     62   			set = {
    63     63   				'default:snow', 'default:ice', {
    64     64   					take = 'bucket:bucket_water';
    65     65   					replacement = 'bucket:bucket_empty';
    66     66   				};
    67     67   			};
    68         -			results = { 'sorcery:essence_frost' };
           68  +			results = { {value = 1, item = 'sorcery:essence_frost' } };
    69     69   		};
    70     70   		-- {
    71     71   		-- 	set = { 'sorcery:essence_flame', 'sorcery:essence_frost', 'sorcery:essence_force' };
    72     72   		-- 	restrict = undersign {'wolfprince'};
    73     73   		-- 	results = (something very powerful?) "Elemental? Dynamo"
    74     74   		-- };
    75     75   	};
    76     76   };