-
Notifications
You must be signed in to change notification settings - Fork 0
/
orange - signals.zs
137 lines (114 loc) · 5.76 KB
/
orange - signals.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
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
//Signals
import crafttweaker.item.IItemStack;
import crafttweaker.liquid.ILiquidStack;
import crafttweaker.item.IIngredient;
import crafttweaker.oredict.IOreDictEntry;
import crafttweaker.item.IItemTransformer;
import mods.jei.JEI.removeAndHide;
import mods.gregtech.recipe.PBFRecipeBuilder; //PBF
import mods.gregtech.recipe.RecipeMaps; //PBF
import mods.gregtech.recipe.RecipeMap;
val assembler as RecipeMap = RecipeMap.getByName("assembler");
val redstone = <minecraft:redstone>;
val stone = <ore:stone>;
val dyeGreen = <ore:dyeGreen>;
val dyeRed = <ore:dyeRed>;
val dyeYellow = <ore:dyeYellow>;
val dyeBlue = <ore:dyeBlue>;
val lamp = <minecraft:redstone_lamp>;
val LED = <gtadditions:ga_meta_item:32578>;
val circuit = <ore:circuitBasic>;
recipes.remove(<signals:block_signal>);
recipes.addShaped("SIG_blockSignalA", <signals:block_signal>*8,
[[null,null,null],
[<ore:hardMetalPlate>,LED,<ore:hardMetalPlate>],
[<ore:hardMetalPlate>,circuit,<ore:hardMetalPlate>]]);
recipes.addShaped("SIG_blockSignalB", <signals:block_signal>*8,
[[null,null,null],
[<ore:hardMetalPlate>,lamp,<ore:hardMetalPlate>],
[<ore:hardMetalPlate>,circuit,<ore:hardMetalPlate>]]);
recipes.addShaped("SIG_signalConv1", <signals:block_signal>,
[[null,null,null],
[null,<signals:chain_signal>,null],
[null,null,null]]);
recipes.remove(<signals:chain_signal>);
recipes.addShaped("SIG_chainSignalA", <signals:chain_signal>*8,
[[null,dyeBlue,null],
[<ore:hardMetalPlate>,LED,<ore:hardMetalPlate>],
[<ore:hardMetalPlate>,circuit,<ore:hardMetalPlate>]]);
recipes.addShaped("SIG_chainSignalB", <signals:chain_signal>*8,
[[null,dyeBlue,null],
[<ore:hardMetalPlate>,lamp,<ore:hardMetalPlate>],
[<ore:hardMetalPlate>,circuit,<ore:hardMetalPlate>]]);
recipes.addShaped("SIG_signalConv2", <signals:chain_signal>,
[[null,dyeBlue,null],
[null,<signals:block_signal>,null],
[null,null,null]]);
recipes.remove(<signals:cart_engine>);
recipes.addShaped("SIG_cartEngineA", <signals:cart_engine>,
[[null,null,null],
[<ore:hardMetalPlate>,<minecraft:furnace>,<ore:hardMetalPlate>],
[<ore:gearIron>,circuit,<ore:gearIron>]]);
recipes.addShaped("SIG_cartEngineB", <signals:cart_engine>,
[[null,null,null],
[<ore:hardMetalPlate>,<minecraft:furnace>,<ore:hardMetalPlate>],
[<ore:gearSteel>,circuit,<ore:gearSteel>]]);
recipes.remove(<signals:ticket>);
recipes.addShapeless("SIG_ticketReset", <signals:ticket>, [<signals:ticket>]);
recipes.addShaped("SIG_ticket", <signals:ticket>*8,
[[<ore:paper>,<ore:paper>,<ore:paper>],
[<ore:paper>,<ore:dyeGray>,<ore:paper>],
[<ore:paper>,<ore:paper>,<ore:paper>]]);
recipes.remove(<signals:rail_link>);
recipes.addShaped("SIG_railLink", <signals:rail_link>,
[[null,<ore:dyeYellow>,null],
[null,<signals:station_marker>,null],
[null,null,null]]);
recipes.remove(<signals:transport_rail>);
recipes.addShaped("SIG_transportRail", <signals:transport_rail>,
[[null,null,null],
[null,<minecraft:golden_rail>,null],
[null,<minecraft:comparator>,null]]);
recipes.remove(<signals:limiter_rail>);
recipes.addShaped("SIG_limiterRail", <signals:limiter_rail>,
[[null,null,null],
[null,<minecraft:golden_rail>,null],
[null,null,null]]);
recipes.addShaped("SIG_signalConv3", <minecraft:golden_rail>,
[[null,null,null],
[null,<signals:limiter_rail>,null],
[null,null,null]]);
recipes.remove(<signals:cart_hopper>);
recipes.addShaped("SIG_cartHopper", <signals:cart_hopper>,
[[null,null,null],
[<ore:hardMetalPlate>,circuit,<ore:hardMetalPlate>],
[null,<minecraft:hopper>,null]]);
recipes.remove(<signals:chunkloader_upgrade>);
recipes.addShaped("SIG_CLU", <signals:chunkloader_upgrade>*8,
[[<ore:paper>,<ore:paper>,<ore:paper>],
[<ore:paper>,<minecraft:ender_pearl>,<ore:paper>],
[<ore:paper>,<ore:paper>,<ore:paper>]]);
recipes.remove(<signals:rail_configurator>);
recipes.addShaped("SIG_railConfig", <signals:rail_configurator>,
[[<ore:hardMetalPlate>,<ore:paneGlass>,<ore:hardMetalPlate>],
[circuit,<signals:ticket>,circuit],
[<ore:hardMetalPlate>,circuit,<ore:hardMetalPlate>]]);
val sensorMod = <cd4017be_lib:m:1>;
recipes.remove(<signals:rail_network_controller>);
recipes.addShaped("SIG_RNCA", <signals:rail_network_controller>,
[[<ore:hardMetalPlate>,LED,<ore:hardMetalPlate>],
[<ore:ButtonStone>,circuit,<ore:ButtonStone>],
[<ore:hardMetalPlate>,sensorMod,<ore:hardMetalPlate>]]);
recipes.addShaped("SIG_RNCB", <signals:rail_network_controller>,
[[<ore:hardMetalPlate>,lamp,<ore:hardMetalPlate>],
[<ore:ButtonStone>,circuit,<ore:ButtonStone>],
[<ore:hardMetalPlate>,sensorMod,<ore:hardMetalPlate>]]);
removeAndHide(<signals:teleport_rail>);
// ASSEMBLER RECIPES
assembler.recipeBuilder().inputs(<ore:stickGold>*6,<ore:stickWood>*2,<ore:dustRedstone>).outputs(<minecraft:golden_rail>*8).duration(80).EUt(8).buildAndRegister();
assembler.recipeBuilder().inputs(<ore:stickIron>*6,<ore:stickWood>*3).outputs(<minecraft:rail>*8).duration(80).EUt(8).buildAndRegister();
assembler.recipeBuilder().inputs(<ore:stickSteel>*6,<ore:stickWood>*3).outputs(<minecraft:rail>*16).duration(80).EUt(8).buildAndRegister();
assembler.recipeBuilder().inputs(<ore:stickIron>*6,<ore:stickWood>*2,<minecraft:lever>).outputs(<minecraft:activator_rail>*8).duration(80).EUt(8).buildAndRegister();
assembler.recipeBuilder().inputs(<ore:stickSteel>*6,<ore:stickWood>*2,<minecraft:lever>).outputs(<minecraft:activator_rail>*16).duration(80).EUt(8).buildAndRegister();
assembler.recipeBuilder().inputs(<ore:stickIron>*6,<ore:stickWood>*2,<ore:pressurePlateStone>).outputs(<minecraft:detector_rail>*8).duration(80).EUt(8).buildAndRegister();
assembler.recipeBuilder().inputs(<ore:stickSteel>*6,<ore:stickWood>*2,<ore:pressurePlateStone>).outputs(<minecraft:detector_rail>*16).duration(80).EUt(8).buildAndRegister();