From 2db8e30b1d2151fdde5d08a6c06aef55f0c397d2 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Fri, 27 Jan 2017 11:32:28 +0300 Subject: License, readme and stuff --- assets/ihl/config/ihl-recipe.cfg | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) (limited to 'assets/ihl/config') diff --git a/assets/ihl/config/ihl-recipe.cfg b/assets/ihl/config/ihl-recipe.cfg index 44df9e0..45451a3 100644 --- a/assets/ihl/config/ihl-recipe.cfg +++ b/assets/ihl/config/ihl-recipe.cfg @@ -1,8 +1,14 @@ // <- This is a commentary. ; <- This is also a commentary. // Syntax are simple as fist. Every recipe modifier must start from new line and keyword. -// Keywords are "addrecipe" and "removerecipe". -// Right after keyword goes parameters. Parameters are machine name (see in bottom of this file), +// Keywords are "addrecipe", "removerecipe" and "addcasting". +// "addcasting" is a special function to define amount of molten metal nessesary for castind certain parts. +// Syntax is "addcasting(name_of_a_part,amount_of_metal)". "name_of_a_part" is ore dictionary name +// without material suffix. +// Do not include a metal name in "name_of_a_part"! +// It is "toolHeadHammer" not "toolHeadHammerBronze". +// For "addrecipe" and "removerecipe" right after keyword goes parameters. +// Parameters are machine name (see in bottom of this file), // recipeinput (with parameters) and recipeoutput (with parameters). // All parameters are separated with "," symbol. // For adding recipe add both input and output. @@ -10,6 +16,7 @@ // Inside "recipeinput" and "recipeoutput" are parameters, separated with ",". // For "recipeinput" those parameters are: // itemstack(modname:internal_itemname,stacksize,damage) +// fluidcontainer(fluidname,minimal_amount) // toolitemstack(modname:internal_itemname,stacksize,damage) //For iron workbench only // machine(modname:internal_itemname) //For iron workbench only // die(transverseSection) @@ -31,6 +38,30 @@ // fluidstack(fluid,quantity) // Examples: +//addcasting +//( +//nozzle, +//864 +//) + +// To add custom forced casting recipe using any fluid and any itemstack (even those, who are not registered in ore dictionary): +//addrecipe +//( +//injectionmold, +//recipeinput(fluidstack(water,100),itemstack(ihl:injectionMold,1,hash(diamond))), +//recipeoutput(itemstack(minecraft:diamond,1,0)) +//) +// "hash" will convert argument into string hash. +// It is nessesary for casting recipes to contain itemstack damage matching "resultSuffix" string hash. + +// To add casting form craft use "resultSuffix" NBT tag: +//addrecipe +//( +//ironworkbench, +//recipeinput(oredict(sand,1),fluidcontainer(water,1),oredict(dustClay,1)), +//recipeoutput(itemstack(ihl:injectionMold,1,24,tags(string(resultSuffix,diamond)))) +//) + //addrecipe //( //evaporator, -- cgit v1.2.3