summaryrefslogtreecommitdiff
path: root/groovy/postInit/gregtech.groovy
blob: bb7537fca577b92b510e97cfbef8d59c2b7f4fc0 (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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
furnace.add(metaitem("rubber_drop"), metaitem("dustRawRubber")*2);
funace.add(metaitem("dustRawRubber"), metaitem("ingotRubber"));

//Simplify coated circuit board recipe
crafting.replaceShaped(metaitem("board.coated")*3, [
	[metaitem("rubber_drop"),metaitem("rubber_drop"),metaitem("rubber_drop")],
	[ore("plankWood"), ore("plankWood"), ore("plankWood")],
	[metaitem("rubber_drop"),metaitem("rubber_drop"),metaitem("rubber_drop")]
]);

crafting.replaceShaped(metaitem("board.coated"), [
	[ore("plankWood"),metaitem("rubber_drop")],
	[metaitem("rubber_drop"), null]
]);

//Simplify LV circuit recipe
crafting.replaceShaped(metaitem('circuit.electronic'), [
	[metaitem('component.resistor'),metaitem("plateIron"),metaitem('component.resistor')],
	[metaitem('circuit.vacuum_tube'),metaitem('circuit_board.basic'),metaitem('circuit.vacuum_tube')],
	[metaitem('cableGtSingleRedAlloy'),metaitem('cableGtSingleRedAlloy'),metaitem('cableGtSingleRedAlloy')]
]);

//Simplify coke oven
crafting.replaceShaped(metaitem("coke_oven"), [
	[metaitem("brick.coke"), metaitem("brick.coke"), metaitem("brick.coke")],
	[metaitem("brick.coke"), null, metaitem("brick.coke")],
	[metaitem("brick.coke"), metaitem("brick.coke"), metaitem("brick.coke")]
]);

//Buff coke bricks
crafting.replaceShaped("gregtech:compressed_coke_clay", metaitem("compressed.coke_clay")*8, [
	[item("minecraft:clay_ball"),item("minecraft:clay_ball"),item("minecraft:clay_ball")],
	[item("minecraft:sand"),metaitem("wooden_form.brick"),item("minecraft:sand")],
	[item("minecraft:sand"),item("minecraft:sand"),item("minecraft:sand")]
]);

//Simplify primitive blast furnace
crafting.replaceShaped(metaitem("primitive_blast_furnace.bronze"), [
	[metaitem("brick.fireclay"), metaitem("brick.fireclay"), metaitem("brick.fireclay")],
	[metaitem("brick.fireclay"), null, metaitem("brick.fireclay")],
	[metaitem("brick.fireclay"), metaitem("brick.fireclay"), metaitem("brick.fireclay")]
]);

crafting.replaceShaped("gregtech:clay_ball_to_dust", metaitem("dustClay"), [
	[item("gregtech:mortar"), item("minecraft:clay_ball")]
]);

crafting.replaceShaped("gregtech:brick_to_dust", metaitem("dustBrick"), [
	[item("gregtech:mortar"), item("minecraft:brick")]
]);

crafting.addShaped(metaitem('compressed.fireclay')*8, [
	[metaitem('dustFireclay'),metaitem('dustFireclay'),metaitem('dustFireclay')],
	[metaitem('dustFireclay'),metaitem('wooden_form.brick'),metaitem('dustFireclay')],
	[metaitem('dustFireclay'),metaitem('dustFireclay'),metaitem('dustFireclay')]
]);

//Make steel production faster

// Steel Ingot * 1
mods.gregtech.primitive_blast_furnace.removeByInput(1, [item('minecraft:iron_ingot'), item('minecraft:coal') * 2 * 2], null)
// Steel Ingot * 1
mods.gregtech.primitive_blast_furnace.removeByInput(1, [item('minecraft:iron_ingot'), metaitem('dustCoal') * 2], null)
// Steel Ingot * 1
mods.gregtech.primitive_blast_furnace.removeByInput(1, [item('minecraft:iron_ingot'), item('minecraft:coal', 1) * 2 * 2], null)
// Steel Ingot * 1
mods.gregtech.primitive_blast_furnace.removeByInput(1, [item('minecraft:iron_ingot'), metaitem('dustCharcoal') * 2], null)
// Steel Ingot * 1
mods.gregtech.primitive_blast_furnace.removeByInput(1, [item('minecraft:iron_ingot'), metaitem('gemCoke')], null)
// Steel Ingot * 1
mods.gregtech.primitive_blast_furnace.removeByInput(1, [item('minecraft:iron_ingot'), metaitem('dustCoke')], null)

mods.gregtech.primitive_blast_furnace.recipeBuilder()
									.inputs(item("minecraft:iron_ingot"), item("minecraft:coal")*2)
									.outputs(metaitem("ingotSteel"), metaitem("dustTinyDarkAsh")*2)
									.duration(1200)
									.buildAndRegister();

mods.gregtech.primitive_blast_furnace.recipeBuilder()
									.inputs(item("minecraft:iron_ingot"), metaitem("dustCoal")*2)
									.outputs(metaitem("ingotSteel"), metaitem("dustTinyDarkAsh")*2)
									.duration(1200)
									.buildAndRegister();

mods.gregtech.primitive_blast_furnace.recipeBuilder()
									.inputs(item("minecraft:iron_ingot"), item('minecraft:coal', 1))
									.outputs(metaitem("ingotSteel"), metaitem("dustTinyDarkAsh")*2)
									.duration(1200)
									.buildAndRegister();

mods.gregtech.primitive_blast_furnace.recipeBuilder()
									.inputs(item("minecraft:iron_ingot"), metaitem("dustCharcoal"))
									.outputs(metaitem("ingotSteel"), metaitem("dustTinyDarkAsh")*2)
									.duration(1200)
									.buildAndRegister();

mods.gregtech.primitive_blast_furnace.recipeBuilder()
									.inputs(item("minecraft:iron_ingot"), metaitem("gemCoke"))
									.outputs(metaitem("ingotSteel"), metaitem("dustTinyAsh"))
									.duration(1000)
									.buildAndRegister();

mods.gregtech.primitive_blast_furnace.recipeBuilder()
									.inputs(item("minecraft:iron_ingot"), metaitem("dustCoke"))
									.outputs(metaitem("ingotSteel"), metaitem("dustTinyAsh"))
									.duration(1000)
									.buildAndRegister();

furnace.add(item("minecraft:iron_ingot"), metaitem("ingotWroughtIron"));


//Make uranium production faster

// Uraninite Dust * 3
mods.gregtech.centrifuge.removeByInput(30, [metaitem('dustPitchblende') * 5], null)

mods.gregtech.centrifuge.recipeBuilder()
						.inputs(metaitem("dustPitchblende")*5)
						.outputs(metaitem("dustUraninite")*3, metaitem("dustThorium"), metaitem("dustLead"))
						.EUt(32)
						.duration(100)
						.buildAndRegister();