diff options
Diffstat (limited to 'assets/ihl/config/ihl-recipe.cfg')
| -rw-r--r-- | assets/ihl/config/ihl-recipe.cfg | 35 |
1 files changed, 33 insertions, 2 deletions
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,
|
