summaryrefslogtreecommitdiff
path: root/assets/ihl/config/ihl-recipe.cfg
blob: 45451a31bf6199c8abe5a32d80783302e8fdbb3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// <- 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", "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.
// For removing add any of those.
// 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)
// fiber(internal_itemname, length)
// wire(material, length, transverseSection)
// cable(material, length, transverseSection, insulationMaterial, insulationThickness, insulationBreakdownVoltage)
// tooloredict(oredict_entry,quantity) //For iron workbench only
// oredict(oredict_entry,quantity)
// fluidstack(fluid,quantity)
// First parameter are string, others are integer.
// For finding modname:internal_itemname, damage or ore dictionary entry use in-game 
// "ore dictionary item scanner" from IHL in creative mode. 
// For internal fluid names check universal fluid cells tooltip.
// For "recipeoutput" those parameters are:
// itemstack(modname:internal_itemname,stacksize,damage) Stacksize can be float.
// fiber(internal_itemname, length)
// wire(material, length, transverseSection)
// cable(material, length, transverseSection, insulationMaterial, insulationThickness, insulationBreakdownVoltage)
// 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,
//recipeinput(fluidstack(water,100)),
//recipeoutput(itemstack(minecraft:diamond,1,0))
//)

//addrecipe
//(
//wiremill,
//recipeinput(fluidstack(liquidglass,10),die(150)),
//recipeoutput(wire(Uran,10,100))
//)

//removerecipe
//(
//evaporator,
//recipeinput(fluidstack(saltwater,4000))
//)

//removerecipe
//(
//evaporator,
//recipeoutput(itemstack(ihl:item.ihlSimpleItem,1,144))
//)