sorcery  Diff

Differences From Artifact [ef0242a63b]:

  • File recipes.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: 21421) [annotate] [blame] [check-ins using]

To Artifact [faad05be60]:

  • File recipes.lua — part of check-in [96c5289a2a] at 2020-10-21 03:35:35 on branch trunk — add rune forges, runes, amulet frames, write sacrifice spell, touch up amulet graphics, enable enchantment of amulets (though spells cannot yet be cast), defuckulate syncresis core icon, unfuckitize sneaky leycalc bug that's probably been the cause of some long-standing wackiness, add item classes, add some more textures, disbungle various other asstastrophes, remove sneaky old debug code, improve library code, add utility for uploading merge requests (user: lexi, size: 21569) [annotate] [blame] [check-ins using]

   291    291   	};
   292    292   	replacements = {
   293    293   		{'sorcery:flame_oil', 'xdecor:bowl'};
   294    294   		{'farming:mixing_bowl', 'farming:mixing_bowl'};
   295    295   	};
   296    296   }
   297    297   
   298         -for _,e in pairs{'flame','frost','force'} do
          298  +for i,e in ipairs{'frost','flame','force'} do
   299    299   	minetest.register_craftitem('sorcery:essence_'..e, {
   300    300   		description = sorcery.lib.str.capitalize(e) .. ' Essence';
   301    301   		inventory_image = 'sorcery_essence_'..e..'.png';
   302    302   		group = { sorcery_elemental_essence = 1 };
          303  +		_sorcery = {
          304  +			material = {
          305  +				sacrifice_value = i ^ 6;
          306  +			}
          307  +		}
   303    308   	})
   304    309   end
   305    310   
   306    311   minetest.register_craftitem('sorcery:inferno_crystal', {
   307    312   	-- made with melding wand from ruby, lithium ingot, and gunpowder
   308    313   	-- under sign of the wyvern or the winged serpent
   309    314   	inventory_image = 'sorcery_inferno_crystal.png';
   310    315   	description = 'Inferno Crystal';
          316  +	_sorcery = {
          317  +		material = {
          318  +			gem = true;
          319  +			sacrifice_value = 900;
          320  +		};
          321  +	}
   311    322   })
   312    323   
   313    324   minetest.register_craftitem('sorcery:powder_firestorm', {
   314    325   	inventory_image = 'sorcery_powder_firestorm.png';
   315    326   	description = 'Firestorm Powder';
   316    327   })
   317    328