sorcery  Diff

Differences From Artifact [c312eb6c73]:

To Artifact [b5f23ba87a]:

  • File recipes.lua — part of check-in [72eebac4bc] at 2020-09-26 18:49:51 on branch trunk — add writing stand for editing codexes; add scissors, ink, erasure fluid, pens; touch up codex UI; add many recipe notes; add craft divination type for crafttools; defuckulate fucktarded crafttool impl; enhance table library with missing features like lua's table.unpack; many bug fixes and enhancements; blood for the blood god (user: lexi, size: 20907) [annotate] [blame] [check-ins using]

            1  +-- tweaks
            2  +
     1      3   minetest.register_craft {
     2      4   	type = "shapeless";
     3      5   	recipe = {
     4      6   		"group:water_bucket",
     5      7   		"vessels:glass_bottle",
     6      8   		"vessels:glass_bottle",
     7      9   		"vessels:glass_bottle"
................................................................................
    34     36   	output = "bucket:bucket_water";
    35     37   	replacements = {
    36     38   		{ "sorcery:potion_water", "vessels:glass_bottle" };
    37     39   		{ "sorcery:potion_water", "vessels:glass_bottle" };
    38     40   		{ "sorcery:potion_water", "vessels:glass_bottle" };
    39     41   	};
    40     42   }
           43  +
           44  +minetest.register_craft {
           45  +	type = 'shapeless';
           46  +	recipe = {
           47  +		'group:scissors';
           48  +		'basic_materials:plastic_sheet';
           49  +	};
           50  +	output = 'basic_materials:plastic_strip 3';
           51  +	replacements = {
           52  +		{'group:scissors','group:scissors'};
           53  +	};
           54  +}
    41     55   
    42     56   --[[
    43     57   minetest.register_craft {
    44     58   	type = "shapeless";
    45     59   	recipe = {
    46     60   		"farming:mortar_pestle",
    47     61   		"farming:sugar",
................................................................................
   568    582   		{'default:steel_ingot','default:furnace','default:steel_ingot'};
   569    583   	};
   570    584   	replacements = {
   571    585   		{'basic_materials:copper_wire', 'basic_materials:empty_spool'};
   572    586   	};
   573    587   }
   574    588   
          589  +---- writing
          590  +minetest.register_craftitem('sorcery:ink', {
          591  +	description = "Ink";
          592  +	inventory_image = "sorcery_ink_bottle.png";
          593  +	groups = { liquid = 1; ink = 1; }
          594  +})
          595  +
          596  +minetest.register_craftitem('sorcery:erasure_fluid', {
          597  +	description = "Erasure Fluid";
          598  +	inventory_image = "sorcery_erasure_fluid_bottle.png";
          599  +	groups = { liquid = 1; sorcery_writingstand_operand = 1; }
          600  +})
          601  +
          602  +minetest.register_craft {
          603  +	output = 'sorcery:ink';
          604  +	type = 'shapeless';
          605  +	recipe = {
          606  +		'sorcery:potion_water';
          607  +		'dye:black', 'dye:black', 'dye:black';
          608  +		'xdecor:honey';
          609  +		'basic_materials:oil_extract';
          610  +		'basic_materials:oil_extract';
          611  +	};
          612  +}
          613  +
          614  +minetest.register_craft {
          615  +	output = 'sorcery:erasure_fluid 3';
          616  +	type = 'shapeless';
          617  +	recipe = {
          618  +		'sorcery:potion_water';
          619  +		'sorcery:potion_water';
          620  +		'sorcery:potion_water';
          621  +		'basic_materials:oil_extract';
          622  +		'sorcery:powder_aluminum';
          623  +		'sorcery:powder_tin';
          624  +	}
          625  +}
          626  +
          627  +minetest.register_craft {
          628  +	output = 'sorcery:erasure_fluid 3';
          629  +	type = 'shapeless';
          630  +	recipe = {
          631  +		'vessels:glass_bottle';
          632  +		'vessels:glass_bottle';
          633  +		'vessels:glass_bottle';
          634  +		'bucket:bucket_water';
          635  +		'basic_materials:oil_extract';
          636  +		'sorcery:powder_aluminum';
          637  +		'sorcery:powder_tin';
          638  +	};
          639  +	replacements = {
          640  +		{'bucket:bucket_water','bucket:bucket_empty'};
          641  +	};
          642  +}
          643  +minetest.register_craft {
          644  +	output = 'sorcery:writing_stand';
          645  +	recipe = {
          646  +		{'screwdriver:screwdriver','default:book','default:gold_ingot'};
          647  +		{'sorcery:screw_steel','group:wood','sorcery:screw_steel'};
          648  +		{'group:wood','default:stick','group:wood'};
          649  +	};
          650  +	replacements = {
          651  +		{'screwdriver:screwdriver','screwdriver:screwdriver'};
          652  +	};
          653  +};
          654  +
          655  +sorcery.data.register.infusion_leftover('sorcery:ink','vessels:glass_bottle')
          656  +sorcery.data.register.infusion_leftover('sorcery:erasure_fluid','vessels:glass_bottle')
          657  +
   575    658   ---- altar
   576    659   minetest.register_craftitem('sorcery:candle', {
   577    660   	-- TODO make candle node
   578    661   	inventory_image = 'sorcery_candle.png';
   579    662   	description = 'Votive Candle';
   580    663   	groups = {
   581    664   		candle = 1;