forked from EnigmaticaModpacks/Enigmatica2Expert
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBotania.zs
271 lines (236 loc) · 13.5 KB
/
Botania.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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
import crafttweaker.item.IItemStack as IItemStack;
import mods.jei.JEI.removeAndHide as rh;
import crafttweaker.item.IIngredient as IIngredient;
#modloaded botania
# Mana Pool
recipes.remove(<botania:pool>);
recipes.addShapedMirrored("Mana Pool",
<botania:pool>,
[[<botania:petalblock:8>, <astralsorcery:itemrockcrystalsimple>.anyDamage(), <botania:petalblock>],
[<ore:livingrock>, null, <ore:livingrock>],
[<ore:livingrock>, <botania:pool:2>, <ore:livingrock>]]);
# Diluted Mana Pool
recipes.remove(<botania:pool:2>);
recipes.addShapedMirrored("Diluted Mana Pool",
<botania:pool:2>,
[[<ore:dyeLightBlue>, <ore:dyeLightBlue>, <ore:dyeLightBlue>],
[<ore:livingrock>, null, <ore:livingrock>],
[<ore:livingrock>, <ore:livingrock>, <ore:livingrock>]]);
# Mana Spreaders
# Normal
recipes.remove(<botania:spreader>);
recipes.addShapedMirrored("Mana Spreader",
<botania:spreader>,
[[<botania:livingwood:5>, <ore:livingwood>, <ore:livingwood>],
[<astralsorcery:itemusabledust>, <botania:petalblock:5>, <ore:livingwood>],
[<botania:livingwood:5>, <ore:livingwood>, <ore:livingwood>]]);
# Elven
recipes.remove(<botania:spreader:2>);
recipes.addShapedMirrored("Elven Mana Spreader",
<botania:spreader:2>,
[[<ore:dreamwood>, <ore:dreamwood>, <ore:dreamwood>],
[<ore:dustAstralStarmetal>, <botania:spreader>, <plustic:pipe_piece>.withTag({Material: "elementium"})],
[<ore:dreamwood>, <ore:dreamwood>, <ore:dreamwood>]]);
# Gaia
recipes.remove(<botania:spreader:3>);
recipes.addShapedMirrored("Gaia Mana Spreader",
<botania:spreader:3>,
[[<botania:bifrostperm>, <botania:bifrostperm>, <botania:bifrostperm>],
[<ore:eternalLifeEssence>, <botania:spreader:2>, <astralsorcery:itemcoloredlens>.anyDamage()],
[<botania:bifrostperm>, <botania:bifrostperm>, <botania:bifrostperm>]]);
# Gaia Spirit Duplication
mods.bloodmagic.AlchemyTable.addRecipe(<botania:manaresource:5> * 4,
[<botania:manaresource:5>, <bloodmagic:item_demon_crystal:1>, <bloodmagic:item_demon_crystal:2>,
<bloodmagic:item_demon_crystal:3>, <bloodmagic:item_demon_crystal:4>, <bloodmagic:points_upgrade>], 100000, 300, 4);
# Shh, intended for later
function runicAltarRecipeMaker(output as IItemStack, input as IIngredient[], tier as int) {
# Tier 1 runes
var mana = 4000;
if (tier == 2) {
# Tier 2 runes
mana = 8000;
} else if (tier == 3) {
# Tier 3 runes
mana = 12000;
} else if (tier >= 5) {
# Turning tier into mana
mana = tier;
}
mods.botania.RuneAltar.removeRecipe(output);
mods.botania.RuneAltar.addRecipe(output, input, mana);
}
# Livingrock
mods.botania.PureDaisy.addRecipe(<thaumcraft:stone_arcane>, <botania:livingrock>);
mods.botania.PureDaisy.removeRecipe(<botania:livingrock>);
# Livingwood
mods.botania.PureDaisy.addRecipe(<astralsorcery:blockinfusedwood>, <botania:livingwood>);
mods.botania.PureDaisy.removeRecipe(<botania:livingwood>);
# Gaia Ingot
recipes.remove(<botania:manaresource:14>);
recipes.addShapedMirrored("Gaia Ingot",
<botania:manaresource:14>,
[[<ore:dustMana>, <ore:eternalLifeEssence>, <ore:dustMana>],
[<ore:eternalLifeEssence>, <ore:ingotTerrasteel>, <ore:eternalLifeEssence>],
[<ore:ingotMithril>, <ore:eternalLifeEssence>, <ore:ingotMithril>]]);
# Gaia Pylon
recipes.remove(<botania:pylon:2>);
recipes.addShapedMirrored("Gaia Pylon",
<botania:pylon:2>,
[[<ore:dustMana>, <ore:elvenPixieDust>, <ore:dustMana>],
[<ore:ingotElvenElementium>, <botania:pylon>, <ore:ingotElvenElementium>],
[<ore:dustMana>, <ore:elvenPixieDust>, <ore:dustMana>]]);
# Elven Gateway Core
recipes.remove(<botania:alfheimportal>);
mods.astralsorcery.Altar.addConstellationAltarRecipe("enigmatica2expert:shaped/internal/altar/elven_gateway_core",
<botania:alfheimportal>, 2800, 300, [
<ore:livingwood>, <botania:livingwood:5>, <ore:livingwood>,
<botania:livingwood:5>, <botania:petalblock:5>, <botania:livingwood:5>,
<ore:livingwood>, <botania:livingwood:5>, <ore:livingwood>,
<ore:nuggetTerrasteel>, <ore:nuggetTerrasteel>, <ore:nuggetTerrasteel>, <ore:nuggetTerrasteel>,
<astralsorcery:blockmarble:6>, <astralsorcery:blockmarble:6>,
<ore:ingotAstralStarmetal>, <ore:ingotAstralStarmetal>,
<astralsorcery:itemcraftingcomponent:4>, <astralsorcery:itemcraftingcomponent:4>,
<astralsorcery:blockmarble:6>, <astralsorcery:blockmarble:6>]);
# Petal Apothecary
recipes.remove(<botania:altar>);
mods.astralsorcery.Altar.addDiscoveryAltarRecipe("enigmatica2expert:shaped/internal/altar/petal_apothecary",
<botania:altar>, 200, 450,
[<minecraft:stone_slab:3>, <botania:petal>, <minecraft:stone_slab:3>,
null, <ore:cobblestone>, null,
<ore:cobblestone>, <ore:cobblestone>, <ore:cobblestone>]);
# Runic Altar
recipes.remove(<botania:runealtar>);
mods.astralsorcery.Altar.addDiscoveryAltarRecipe("enigmatica2expert:shaped/internal/altar/runic_altar1",
<botania:runealtar>, 200, 800,
[null, <astralsorcery:itemrockcrystalsimple>.anyDamage(), null,
<botania:livingrock>, <botania:manaresource:1>, <botania:livingrock>,
<botania:livingrock>, <botania:livingrock>, <botania:livingrock>]);
mods.astralsorcery.Altar.addDiscoveryAltarRecipe("enigmatica2expert:shaped/internal/altar/runic_altar2",
<botania:runealtar>, 200, 800,
[null, <astralsorcery:itemrockcrystalsimple>.anyDamage(), null,
<botania:livingrock>, <botania:manaresource:2>, <botania:livingrock>,
<botania:livingrock>, <botania:livingrock>, <botania:livingrock>]);
# Removing double flower recipes
# recipes.remove(<botania:petal:*> * 4, <botania:doubleflower1:*>);
# recipes.remove(<botania:petal:*> * 4, <botania:doubleflower2:*>);
# Disabled, as those were removing even normal petal recipe for some reason ^-^"
# Super travel belt
recipes.remove(<botania:supertravelbelt>);
recipes.addShaped("Botania Globetrotter's Sash",
<botania:supertravelbelt>,
[[null, <botania:manaresource:14>, null],
[<botania:manaresource:7>, <botania:travelbelt>, <botania:manaresource:7>],
[null, <thaumcraft:baubles:6>, null]]);
# Knockback belt
recipes.remove(<botania:knockbackbelt>);
recipes.addShaped("Botania Knockback belt",<botania:knockbackbelt>,
[[null, <ore:ingotManasteel>, null],
[<ore:runeEarthB>, <thaumcraft:baubles:2>, <ore:runeFireB>],
[null, null, null]]);
# travel belt
recipes.remove(<botania:travelbelt>);
recipes.addShaped("Botania travel belt",
<botania:travelbelt>,
[[null, <ore:ingotManasteel>, null],
[<ore:runeEarthB>, <thaumcraft:baubles:2>, <ore:runeAirB>],
[null, null, null]]);
# rings
recipes.remove(<botania:swapring>);
recipes.remove(<botania:manaring>);
recipes.remove(<botania:pixiering>);
recipes.remove(<botania:reachring>);
recipes.remove(<botania:dodgering>);
recipes.remove(<botania:magnetring>);
recipes.remove(<botania:miningring>);
recipes.remove(<botania:waterring>);
recipes.remove(<botania:auraring>);
recipes.addShapeless("Botania ring 1", <botania:swapring>, [<minecraft:clay>, <thaumcraft:baubles:5>]);
recipes.addShapeless("Botania ring 2", <botania:manaring>, [<botania:manatablet>, <thaumcraft:baubles:5>]);
recipes.addShapeless("Botania ring 3", <botania:pixiering>, [<botania:manaresource:8>, <thaumcraft:baubles:5>, <botania:manaresource:7>]);
recipes.addShapeless("Botania ring 4", <botania:reachring>, [<botania:rune:15>, <thaumcraft:baubles:5>, <botania:manaresource:7>]);
recipes.addShapeless("Botania ring 5", <botania:dodgering>, [<botania:rune:3>, <thaumcraft:baubles:5>, <minecraft:emerald>]);
recipes.addShapeless("Botania ring 6", <botania:magnetring>, [<botania:lens:10>, <thaumcraft:baubles:5>]);
recipes.addShapeless("Botania ring 7", <botania:miningring>, [<botania:rune:2>, <thaumcraft:baubles:5>, <minecraft:golden_pickaxe>]);
recipes.addShapeless("Botania ring 8", <botania:waterring>, [<botania:rune>, <thaumcraft:baubles:5>, <minecraft:fish:1>, <minecraft:fish:3>]);
recipes.addShapeless("Botania ring 9", <botania:auraring>, [<botania:rune:8>, <thaumcraft:baubles:5>]);
# Mystical Flower Petal Duplication
recipes.addShapeless("Petal Duplication0", <botania:petal> * 4, [<botania:petal>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>]);
recipes.addShapeless("Petal Duplication1", <botania:petal:1> * 4, [<botania:petal:1>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>]);
recipes.addShapeless("Petal Duplication2", <botania:petal:2> * 4, [<botania:petal:2>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>]);
recipes.addShapeless("Petal Duplication3", <botania:petal:3> * 4, [<botania:petal:3>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>]);
recipes.addShapeless("Petal Duplication4", <botania:petal:4> * 4, [<botania:petal:4>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>]);
recipes.addShapeless("Petal Duplication5", <botania:petal:5> * 4, [<botania:petal:5>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>]);
recipes.addShapeless("Petal Duplication6", <botania:petal:6> * 4, [<botania:petal:6>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>]);
recipes.addShapeless("Petal Duplication7", <botania:petal:7> * 4, [<botania:petal:7>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>]);
recipes.addShapeless("Petal Duplication8", <botania:petal:8> * 4, [<botania:petal:8>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>]);
recipes.addShapeless("Petal Duplication9", <botania:petal:9> * 4, [<botania:petal:9>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>]);
recipes.addShapeless("Petal Duplication10", <botania:petal:10> * 4, [<botania:petal:10>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>]);
recipes.addShapeless("Petal Duplication11", <botania:petal:11> * 4, [<botania:petal:11>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>]);
recipes.addShapeless("Petal Duplication12", <botania:petal:12> * 4, [<botania:petal:12>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>]);
recipes.addShapeless("Petal Duplication13", <botania:petal:13> * 4, [<botania:petal:13>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>]);
recipes.addShapeless("Petal Duplication14", <botania:petal:14> * 4, [<botania:petal:14>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>]);
recipes.addShapeless("Petal Duplication15", <botania:petal:15> * 4, [<botania:petal:15>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>, <ore:fertilizer>]);
# Add missed ORE
mods.botania.Orechid.addOre("oreThorium", 1285);
mods.botania.Orechid.addOre("oreMagnesium", 1285);
mods.botania.Orechid.addOre("oreLithium", 1285);
mods.botania.Orechid.addOre("oreBoron", 1285);
mods.botania.Orechid.addOre("oreProsperity", 900);
//mods.botania.ManaInfusion.addAlchemy(IItemStack output, IIngredient input, int mana);
#mods.botania.ManaInfusion.addAlchemy(<minecraft:gold_ore>, <ore:stone>, 5000);
//mods.botania.ManaInfusion.addConjuration(IItemStack output, IIngredient input, int mana);
#mods.botania.ManaInfusion.addConjuration(<minecraft:stone>, <minecraft:stone>, 1000);
#----- Sapling Cycling -----#
# Remove vanilla loop
mods.botania.ManaInfusion.removeRecipe(<minecraft:sapling>);
# Add modded in loop
var saplings = [
<minecraft:sapling:5>,
<ic2:sapling>,
<integrateddynamics:menril_sapling>,
<quark:variant_sapling>,
<quark:variant_sapling:1>,
<rustic:sapling>,
<rustic:sapling:1>,
<rustic:sapling_apple>,
<thaumcraft:sapling_greatwood>,
<thaumcraft:sapling_silverwood>,
<minecraft:sapling>,
] as IItemStack[];
for i, sapling in saplings {
if (i != 0) {
mods.botania.ManaInfusion.addAlchemy(saplings[i], saplings[i - 1], 120);
}
}
# Colored Glass -> Quark Cave Crystals
mods.botania.PureDaisy.addRecipe(<ore:blockGlassWhite>, <quark:crystal>);
mods.botania.PureDaisy.addRecipe(<ore:blockGlassRed>, <quark:crystal:1>);
mods.botania.PureDaisy.addRecipe(<ore:blockGlassOrange>, <quark:crystal:2>);
mods.botania.PureDaisy.addRecipe(<ore:blockGlassYellow>, <quark:crystal:3>);
mods.botania.PureDaisy.addRecipe(<ore:blockGlassLime>, <quark:crystal:4>);
mods.botania.PureDaisy.addRecipe(<ore:blockGlassCyan>, <quark:crystal:5>);
mods.botania.PureDaisy.addRecipe(<ore:blockGlassBlue>, <quark:crystal:6>);
mods.botania.PureDaisy.addRecipe(<ore:blockGlassPurple>, <quark:crystal:7>);
mods.botania.PureDaisy.addRecipe(<ore:blockGlassBlack>, <quark:crystal:8>);
## *======= Petal Apothecary =======*
//OutputStack, InputArray
//mods.botania.Apothecary.addRecipe("bubbell", [<ore:petalCyan>, <ore:petalBlue>, <Botania:manaresource:6>, <Botania:manaresource:10> * 1]);
//mods.botania.Apothecary.addRecipe(<minecraft:melon>, [<ore:petalLime>, <ore:petalRed>, <minecraft:wheat_seeds>]);
//OutputStack OR String (String is for subtiled Botania Flowers)
//mods.botania.Apothecary.removeRecipe("daybloom");
## *======= Pure Daisy =======*
//InputBlock, OutputBlock
//mods.botania.PureDaisy.addRecipe(<minecraft:emerald_block>, <minecraft:diamond_block>);
//OutputBlock
//mods.botania.PureDaisy.removeRecipe(<minecraft:obsidian>);
## *======= Rune Altar =======*
//OutputStack, InputArray, ManaCost
//mods.botania.RuneAltar.addRecipe(<minecraft:stonebrick:2>, [<minecraft:stonebrick>, <minecraft:gunpowder>], 5);
//OutputStack
//mods.botania.RuneAltar.removeRecipe(<botania:rune>);
# Add missed ORE
mods.botania.Orechid.addOre("oreThorium", 1285);
mods.botania.Orechid.addOre("oreMagnesium", 1285);
mods.botania.Orechid.addOre("oreLithium", 1285);
mods.botania.Orechid.addOre("oreBoron", 1285);
mods.botania.Orechid.addOre("oreProsperity", 900);