-
Notifications
You must be signed in to change notification settings - Fork 0
/
simpleplanes.zs
85 lines (75 loc) · 7.33 KB
/
simpleplanes.zs
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
import crafttweaker.api.item.IItemStack;
// Parachute
craftingTable.removeByName("simpleplanes:parachute");
craftingTable.addShaped("plane_parachute", <item:simpleplanes:parachute>,
[[<item:immersiveengineering:hemp_fabric>, <item:immersiveengineering:hemp_fabric>, <item:immersiveengineering:hemp_fabric>],
[<item:immersiveengineering:hemp_fiber>, <item:minecraft:air>, <item:immersiveengineering:hemp_fiber>,],
[<item:minecraft:air>, <item:immersiveengineering:hemp_fiber>, <item:minecraft:air>]]);
// Seats
craftingTable.removeByName("simpleplanes:seats");
<recipetype:create:mechanical_crafting>.addRecipe("plane_seats", <item:simpleplanes:seats>,
[[<tag:items:minecraft:planks>, <tag:items:minecraft:planks>, <item:minecraft:air>, <tag:items:minecraft:planks>, <tag:items:minecraft:planks>],
[<tag:items:minecraft:planks>, <tag:items:forge:rods/aluminum>, <item:minecraft:air>, <tag:items:forge:rods/aluminum>, <tag:items:minecraft:planks>],
[<item:minecraft:air>, <tag:items:forge:plates/aluminum>, <tag:items:forge:plates/aluminum>, <tag:items:forge:plates/aluminum>, <item:minecraft:air>]]);
// Plane Armor
craftingTable.removeByName("simpleplanes:armor");
<recipetype:create:mechanical_crafting>.addRecipe("plane_armor", <item:simpleplanes:armor>,
[[<tag:items:forge:plates/aluminum>, <tag:items:forge:plates/aluminum>, <tag:items:forge:plates/aluminum>, <tag:items:forge:plates/aluminum>, <tag:items:forge:plates/aluminum>],
[<tag:items:forge:plates/steel>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <tag:items:forge:plates/steel>],
[<tag:items:forge:plates/aluminum>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <tag:items:forge:plates/aluminum>]]);
// Quick Fix It
craftingTable.removeByName("simpleplanes:healing_enchanted");
craftingTable.removeByName("simpleplanes:healing");
craftingTable.addShaped("plane_healing", <item:simpleplanes:healing>,
[[<tag:items:forge:ingots/iron>, <item:minecraft:air>, <tag:items:forge:ingots/iron>],
[<item:minecraft:air>, <tag:items:forge:rods/steel>, <item:minecraft:air>],
[<item:minecraft:air>, <tag:items:forge:ingots/iron>, <item:minecraft:air>]]);
// Electric Engine
craftingTable.removeByName("simpleplanes:electric_engine");
<recipetype:create:mechanical_crafting>.addRecipe("plane_electric_engine", <item:simpleplanes:electric_engine>,
[[<item:minecraft:air>, <tag:items:forge:plates/aluminum>, <tag:items:forge:plates/aluminum>, <tag:items:forge:plates/aluminum>, <item:minecraft:air>],
[<tag:items:forge:plates/aluminum>, <tag:items:forge:wires/electrum>, <item:immersiveengineering:component_electronic>, <tag:items:forge:wires/electrum>, <tag:items:forge:plates/aluminum>],
[<tag:items:forge:plates/aluminum>, <item:immersiveengineering:component_electronic>, <item:minecraft:copper_block>, <item:immersiveengineering:component_electronic>, <tag:items:forge:plates/aluminum>],
[<tag:items:forge:plates/aluminum>, <tag:items:forge:wires/electrum>, <item:immersiveengineering:component_electronic>, <tag:items:forge:wires/electrum>, <tag:items:forge:plates/aluminum>],
[<item:minecraft:air>, <tag:items:forge:plates/aluminum>, <tag:items:forge:plates/aluminum>, <tag:items:forge:plates/aluminum>, <item:minecraft:air>]]);
// Furnace Engine
craftingTable.removeByName("simpleplanes:furnace_engine");
<recipetype:create:mechanical_crafting>.addRecipe("plane_furnace_engine", <item:simpleplanes:furnace_engine>,
[[<tag:items:forge:wires/electrum>, <tag:items:forge:plates/aluminum>, <tag:items:forge:wires/electrum>],
[<tag:items:forge:plates/aluminum>, <item:minecraft:blast_furnace>, <tag:items:forge:plates/aluminum>],
[<tag:items:forge:wires/electrum>, <tag:items:forge:plates/aluminum>, <tag:items:forge:wires/electrum>]]);
// Liquid Engine
craftingTable.removeByName("simpleplanes:liquid_engine");
<recipetype:create:mechanical_crafting>.addRecipe("plane_liquid_engine", <item:simpleplanes:liquid_engine>,
[[<tag:items:forge:wires/electrum>, <tag:items:forge:plates/aluminum>, <tag:items:forge:wires/electrum>],
[<tag:items:forge:plates/aluminum>, <item:minecraft:bucket>, <tag:items:forge:plates/aluminum>],
[<tag:items:forge:wires/electrum>, <tag:items:forge:plates/aluminum>, <tag:items:forge:wires/electrum>]]);
// Propeller
craftingTable.removeByName("simpleplanes:propeller");
<recipetype:create:mechanical_crafting>.addRecipe("plane_propeller", <item:simpleplanes:propeller>,
[[<item:minecraft:air>, <item:minecraft:air>, <tag:items:forge:plates/aluminum>, <item:minecraft:air>, <item:minecraft:air>],
[<item:minecraft:air>, <tag:items:forge:wires/electrum>, <tag:items:forge:plates/aluminum>, <tag:items:forge:wires/electrum>, <item:minecraft:air>],
[<tag:items:forge:plates/aluminum>, <tag:items:forge:plates/aluminum>, <tag:items:create:casing>, <tag:items:forge:plates/aluminum>, <tag:items:forge:plates/aluminum>],
[<item:minecraft:air>, <tag:items:forge:wires/electrum>, <tag:items:forge:plates/aluminum>, <tag:items:forge:wires/electrum>, <item:minecraft:air>],
[<item:minecraft:air>, <item:minecraft:air>, <tag:items:forge:plates/aluminum>, <item:minecraft:air>, <item:minecraft:air>]]);
// Rocket Booster
craftingTable.removeByName("simpleplanes:booster");
<recipetype:create:mechanical_crafting>.addRecipe("plane_booster", <item:simpleplanes:booster>,
[[<item:minecraft:air>, <item:minecraft:air>, <tag:items:forge:plates/aluminum>, <item:minecraft:air>, <item:minecraft:air>],
[<item:minecraft:air>, <tag:items:forge:plates/aluminum>, <tag:items:forge:rods/aluminum>, <tag:items:forge:plates/aluminum>, <item:minecraft:air>],
[<tag:items:forge:plates/aluminum>, <tag:items:forge:rods/aluminum>, <item:minecraft:air>, <tag:items:forge:rods/aluminum>, <tag:items:forge:plates/aluminum>],
[<item:minecraft:air>, <tag:items:forge:plates/aluminum>, <tag:items:forge:rods/aluminum>, <tag:items:forge:plates/aluminum>, <item:minecraft:air>],
[<item:minecraft:air>, <item:minecraft:air>, <tag:items:forge:plates/aluminum>, <item:minecraft:air>, <item:minecraft:air>]]);
// Solar Panel
craftingTable.removeByName("simpleplanes:solar_panel");
<recipetype:create:sequenced_assembly>.addRecipe(<recipetype:create:sequenced_assembly>.builder("plane_solar_panel")
.transitionTo(<item:refinedstorage:silicon>)
.require(<tag:items:forge:storage_blocks/aluminum>)
.loops(4)
.addOutput(<item:simpleplanes:solar_panel>, 1)
.addStep<mods.createtweaker.DeployerApplicationRecipe>((rb) => rb.require(<tag:items:forge:silicon>))
.addStep<mods.createtweaker.DeployerApplicationRecipe>((rb) => rb.require(<tag:items:forge:silicon>))
.addStep<mods.createtweaker.DeployerApplicationRecipe>((rb) => rb.require(<tag:items:forge:plates/copper>))
.addStep<mods.createtweaker.DeployerApplicationRecipe>((rb) => rb.require(<tag:items:forge:glass>))
.addStep<mods.createtweaker.PressingRecipe>((rb) => rb.duration(50))
);