-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathTheDepthsRecipes.cs
1524 lines (1331 loc) · 69.1 KB
/
TheDepthsRecipes.cs
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
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Terraria.ID;
using Terraria;
using Terraria.ModLoader;
using TheDepths.Items.Weapons;
using TheDepths.Items.Armor;
using TheDepths.Items;
using TheDepths.Items.Accessories;
using TheDepths.Items.Placeable;
using TheDepths.Items.Placeable.Furniture;
using Terraria.Localization;
namespace TheDepths
{
public class TheDepthsRecipes : ModSystem
{
public override void AddRecipes()
{
//Vanilla Recipes
#region Vanilla Recipes
//Terraspark boots
Recipe recipe = Recipe.Create(ItemID.TerrasparkBoots);
recipe.AddIngredient(ItemID.FrostsparkBoots)
.AddIngredient(ModContent.ItemType<SilverSlippers>())
.AddTile(TileID.TinkerersWorkbench)
.SortAfterFirstRecipesOf(ItemID.TerrasparkBoots)
.Register();
//Liquid Sensor
Recipe recipe2 = Recipe.Create(ItemID.LogicSensor_Liquid);
recipe2.AddIngredient(ItemID.Cog, 5)
.AddIngredient(ItemID.MagicWaterDropper)
.AddIngredient(ModContent.ItemType<MagicQuicksilverDropper>())
.AddIngredient(ItemID.MagicHoneyDropper)
.AddIngredient(ItemID.Wire)
.AddTile(TileID.MythrilAnvil)
.SortAfterFirstRecipesOf(ItemID.LogicSensor_Liquid)
.Register();
//Dry Bomb
Recipe recipe3 = Recipe.Create(ItemID.DryBomb);
recipe3.AddIngredient(ModContent.ItemType<Items.Weapons.QuicksilverBomb>())
.SortAfterFirstRecipesOf(ItemID.DryBomb)
.Register();
//Dry Rocket
Recipe recipe4 = Recipe.Create(ItemID.DryRocket);
recipe4.AddIngredient(ModContent.ItemType<Items.Weapons.QuicksilverRocket>())
.SortAfterFirstRecipesOf(ItemID.DryRocket)
.Register();
//Seafood dinner
Recipe recipe5 = Recipe.Create(ItemID.SeafoodDinner);
recipe5.AddIngredient(ModContent.ItemType<Items.ShadowFightingFish>(), 2)
.AddTile(TileID.CookingPots)
.SortAfterFirstRecipesOf(ItemID.SeafoodDinner)
.Register();
Recipe recipe6 = Recipe.Create(ItemID.SeafoodDinner);
recipe6.AddIngredient(ModContent.ItemType<Items.QuartzFeeder>(), 2)
.AddTile(TileID.CookingPots)
.SortAfterFirstRecipesOf(ItemID.SeafoodDinner)
.Register();
//Nights edge
Recipe recipe8 = Recipe.Create(ItemID.NightsEdge);
recipe8.AddIngredient(ItemID.LightsBane)
.AddIngredient(ItemID.Muramasa)
.AddIngredient(ItemID.BladeofGrass)
.AddIngredient(ModContent.ItemType<Items.Weapons.Terminex>())
.AddTile(TileID.DemonAltar)
.SortAfterFirstRecipesOf(ItemID.NightsEdge)
.Register();
Recipe recipe9 = Recipe.Create(ItemID.NightsEdge);
recipe9.AddIngredient(ItemID.BloodButcherer)
.AddIngredient(ItemID.Muramasa)
.AddIngredient(ItemID.BladeofGrass)
.AddIngredient(ModContent.ItemType<Items.Weapons.Terminex>())
.AddTile(TileID.DemonAltar)
.SortAfterFirstRecipesOf(ItemID.NightsEdge)
.Register();
//Shellphone
Recipe recipe18 = Recipe.Create(ItemID.ShellphoneDummy);
recipe18.AddIngredient(ItemID.CellPhone)
.AddIngredient(ItemID.MagicConch)
.AddIngredient(ModContent.ItemType<Items.ShalestoneConch>())
.AddTile(TileID.TinkerersWorkbench)
.SortAfterFirstRecipesOf(ItemID.ShellphoneDummy)
.Register();
//Finishing Potion
Recipe recipe7 = Recipe.Create(ItemID.FishingPotion);
recipe7.AddIngredient(ItemID.BottledWater)
.AddIngredient(ModContent.ItemType<Items.Placeable.GlitterBlock>())
.AddIngredient(ItemID.Waterleaf)
.AddTile(TileID.Bottles)
.SortAfterFirstRecipesOf(ItemID.FishingPotion)
.Register();
#endregion
//The Depths Recipes
//Aqua Glove
Recipe AquaGlove = Recipe.Create(ModContent.ItemType<AquaGlove>());
AquaGlove.AddIngredient(ItemID.MechanicalGlove, 1);
AquaGlove.AddIngredient(ModContent.ItemType<AquaStone>(), 1);
AquaGlove.AddTile(TileID.TinkerersWorkbench);
AquaGlove.SortAfterFirstRecipesOf(ItemID.FireGauntlet);
AquaGlove.Register();
//Aqua Quiver
Recipe AquaQuiver = Recipe.Create(ModContent.ItemType<AquaQuiver>());
AquaQuiver.AddIngredient(ItemID.MagicQuiver, 1);
AquaQuiver.AddIngredient(ModContent.ItemType<AquaStone>(), 1);
AquaQuiver.AddTile(TileID.TinkerersWorkbench);
AquaQuiver.SortAfterFirstRecipesOf(ItemID.MoltenQuiver);
AquaQuiver.Register();
#region Crystal Skull Crafting Group
//Crystal Skull
Recipe CrystalSkull = Recipe.Create(ModContent.ItemType<CrystalSkull>());
CrystalSkull.AddIngredient(ModContent.ItemType<Items.Placeable.Quartz>(), 20);
CrystalSkull.AddTile(TileID.Furnaces);
CrystalSkull.SortBeforeFirstRecipesOf(ItemID.ManaFlower);
CrystalSkull.Register();
//Crying Skull
Recipe CryingSkull = Recipe.Create(ModContent.ItemType<CryingSkull>());
CryingSkull.AddIngredient(ModContent.ItemType<CrystalSkull>());
CryingSkull.AddIngredient(ModContent.ItemType<AmalgamAmulet>());
CryingSkull.AddTile(TileID.TinkerersWorkbench);
CryingSkull.SortAfter(CrystalSkull);
CryingSkull.Register();
//Crystal Rose
Recipe CrystalRose = Recipe.Create(ModContent.ItemType<CrystalRose>());
CrystalRose.AddIngredient(ModContent.ItemType<StoneRose>());
CrystalRose.AddIngredient(ModContent.ItemType<CrystalSkull>());
CrystalRose.AddTile(TileID.TinkerersWorkbench);
CrystalRose.SortAfter(CryingSkull);
CrystalRose.Register();
//Azurite Rose
Recipe AzuriteRose = Recipe.Create(ModContent.ItemType<AzuriteRose>());
AzuriteRose.AddIngredient(ModContent.ItemType<AmalgamAmulet>());
AzuriteRose.AddIngredient(ModContent.ItemType<CrystalRose>());
AzuriteRose.AddTile(TileID.TinkerersWorkbench);
AzuriteRose.SortAfter(CrystalRose);
AzuriteRose.Register();
Recipe AzuriteRose2 = Recipe.Create(ModContent.ItemType<AzuriteRose>());
AzuriteRose2.AddIngredient(ModContent.ItemType<CryingSkull>());
AzuriteRose2.AddIngredient(ModContent.ItemType<StoneRose>());
AzuriteRose2.AddTile(TileID.TinkerersWorkbench);
AzuriteRose2.SortAfter(AzuriteRose);
AzuriteRose2.Register();
Recipe AzuriteRose3 = Recipe.Create(ModContent.ItemType<AzuriteRose>());
AzuriteRose3.AddIngredient(ModContent.ItemType<CryingSkull>());
AzuriteRose3.AddIngredient(ModContent.ItemType<CrystalRose>());
AzuriteRose3.AddTile(TileID.TinkerersWorkbench);
AzuriteRose3.SortAfter(AzuriteRose2);
AzuriteRose3.Register();
//Silver Charm
Recipe SilverCharm = Recipe.Create(ModContent.ItemType<SilverCharm>());
SilverCharm.AddIngredient(ModContent.ItemType<AmalgamAmulet>());
SilverCharm.AddIngredient(ModContent.ItemType<CrystalSkull>());
SilverCharm.AddTile(TileID.TinkerersWorkbench);
SilverCharm.SortAfter(AzuriteRose3);
SilverCharm.Register();
//Crystal Walking Boots
Recipe CrystalWaterWalkingBoots = Recipe.Create(ModContent.ItemType<CrystalWaterWalkingBoots>());
CrystalWaterWalkingBoots.AddIngredient(ItemID.WaterWalkingBoots, 1);
CrystalWaterWalkingBoots.AddIngredient(ModContent.ItemType<Items.Accessories.CrystalSkull>(), 1);
CrystalWaterWalkingBoots.AddTile(TileID.TinkerersWorkbench);
CrystalWaterWalkingBoots.SortAfter(SilverCharm);
CrystalWaterWalkingBoots.Register();
//Silver Slippers
Recipe SilverSlippers = Recipe.Create(ModContent.ItemType<SilverSlippers>());
SilverSlippers.AddIngredient(ModContent.ItemType<StoneRose>());
SilverSlippers.AddIngredient(ModContent.ItemType<AmalgamAmulet>());
SilverSlippers.AddIngredient(ModContent.ItemType<CrystalWaterWalkingBoots>());
SilverSlippers.AddTile(TileID.TinkerersWorkbench);
SilverSlippers.SortAfter(CrystalWaterWalkingBoots);
SilverSlippers.Register();
Recipe SilverSlippers2 = Recipe.Create(ModContent.ItemType<SilverSlippers>());
SilverSlippers2.AddIngredient(ModContent.ItemType<StoneRose>());
SilverSlippers2.AddIngredient(ModContent.ItemType<SilverCharm>());
SilverSlippers2.AddIngredient(ModContent.ItemType<CrystalWaterWalkingBoots>());
SilverSlippers2.AddTile(TileID.TinkerersWorkbench);
SilverSlippers2.SortAfter(SilverSlippers);
SilverSlippers2.Register();
Recipe SilverSlippers3 = Recipe.Create(ModContent.ItemType<SilverSlippers>());
SilverSlippers3.AddIngredient(ModContent.ItemType<StoneRose>());
SilverSlippers3.AddIngredient(ModContent.ItemType<SilverCharm>());
SilverSlippers3.AddIngredient(ItemID.WaterWalkingBoots);
SilverSlippers3.AddTile(TileID.TinkerersWorkbench);
SilverSlippers3.SortAfter(SilverSlippers2);
SilverSlippers3.Register();
Recipe SilverSlippers4 = Recipe.Create(ModContent.ItemType<SilverSlippers>());
SilverSlippers4.AddIngredient(ModContent.ItemType<AzuriteRose>());
SilverSlippers4.AddIngredient(ItemID.WaterWalkingBoots);
SilverSlippers4.AddTile(TileID.TinkerersWorkbench);
SilverSlippers4.SortAfter(SilverSlippers3);
SilverSlippers4.Register();
Recipe SilverSlippers5 = Recipe.Create(ModContent.ItemType<SilverSlippers>());
SilverSlippers5.AddIngredient(ModContent.ItemType<AzuriteRose>());
SilverSlippers5.AddIngredient(ModContent.ItemType<CrystalWaterWalkingBoots>());
SilverSlippers5.AddTile(TileID.TinkerersWorkbench);
SilverSlippers5.SortAfter(SilverSlippers4);
SilverSlippers5.Register();
//Nightmare flare treads
Recipe NightmareFlareTreads = Recipe.Create(ModContent.ItemType<NightmareFlareTreads>());
NightmareFlareTreads.AddIngredient(ItemID.SpectreBoots, 1);
NightmareFlareTreads.AddIngredient(ModContent.ItemType<Items.Accessories.ShadowflameEmberedTreads>(), 1);
NightmareFlareTreads.AddTile(TileID.TinkerersWorkbench);
NightmareFlareTreads.SortAfter(SilverSlippers5);
NightmareFlareTreads.Register();
#endregion
//Crystal Horseshoe
Recipe CrystalHorseshoe = Recipe.Create(ModContent.ItemType<CrystalHorseshoe>());
CrystalHorseshoe.AddIngredient(ItemID.LuckyHorseshoe);
CrystalHorseshoe.AddIngredient(ModContent.ItemType<CrystalSkull>());
CrystalHorseshoe.AddTile(TileID.TinkerersWorkbench);
CrystalHorseshoe.SortAfterFirstRecipesOf(ItemID.ObsidianHorseshoe);
CrystalHorseshoe.Register();
#region Crystal Shield Crafting Group
//Crystal Shield
Recipe CrystalShield = Recipe.Create(ModContent.ItemType<CrystalShield>());
CrystalShield.AddIngredient(ModContent.ItemType<Items.Accessories.CrystalSkull>(), 1);
CrystalShield.AddIngredient(ModContent.ItemType<Items.Accessories.PalladiumShield>(), 1);
CrystalShield.AddTile(TileID.TinkerersWorkbench);
CrystalShield.SortAfterFirstRecipesOf(ItemID.AnkhShield);
CrystalShield.Register();
//Sanctus Shield
Recipe SanctusShield = Recipe.Create(ModContent.ItemType<SanctusShield>());
SanctusShield.AddIngredient(ModContent.ItemType<CrystalShield>(), 1);
SanctusShield.AddIngredient(ItemID.AnkhCharm, 1);
SanctusShield.AddTile(TileID.TinkerersWorkbench);
SanctusShield.SortAfter(CrystalShield);
SanctusShield.Register();
#endregion
//Mercury Bobber
Recipe MercuryMossFishingBobber = Recipe.Create(ModContent.ItemType<MercuryMossFishingBobber>());
MercuryMossFishingBobber.AddIngredient(ModContent.ItemType<Items.Placeable.MercuryMoss>(), 5);
MercuryMossFishingBobber.AddIngredient(ItemID.FishingBobberGlowingStar, 1);
MercuryMossFishingBobber.AddTile(TileID.TinkerersWorkbench);
MercuryMossFishingBobber.SortAfterFirstRecipesOf(ItemID.FishingBobberGlowingLava);
MercuryMossFishingBobber.Register();
//Quicksilver proof tackle bag
Recipe QuicksilverproofTackleBag = Recipe.Create(ModContent.ItemType<QuicksilverproofTackleBag>());
QuicksilverproofTackleBag.AddIngredient(ItemID.AnglerTackleBag, 1);
QuicksilverproofTackleBag.AddIngredient(ModContent.ItemType<Items.Accessories.QuicksilverproofFishingHook>(), 1);
QuicksilverproofTackleBag.AddTile(TileID.TinkerersWorkbench);
QuicksilverproofTackleBag.SortAfterFirstRecipesOf(ItemID.LavaproofTackleBag);
QuicksilverproofTackleBag.Register();
//Quicksilver surf board
Recipe QuickSilverSurfboard = Recipe.Create(ModContent.ItemType<QuickSilverSurfboard>());
QuickSilverSurfboard.AddIngredient(ModContent.ItemType<Items.Placeable.DiamondDust>(), 20);
QuickSilverSurfboard.AddIngredient(ModContent.ItemType<Items.Placeable.ArqueriteBar>(), 20);
QuickSilverSurfboard.AddIngredient(ItemID.SoulofFlight, 20);
QuickSilverSurfboard.AddTile(TileID.MythrilAnvil);
QuickSilverSurfboard.SortAfterFirstRecipesOf(ItemID.DemonWings);
QuickSilverSurfboard.Register();
#region Geode Armour Crafting Group
//Shaderang
Recipe Shaderang = Recipe.Create(ModContent.ItemType<Shaderang>());
Shaderang.AddIngredient(ModContent.ItemType<Items.Placeable.Geode>(), 3);
Shaderang.AddIngredient(ItemID.ThornChakram);
Shaderang.AddTile(TileID.Anvils);
Shaderang.SortAfterFirstRecipesOf(ItemID.FossilPants);
Shaderang.Register();
//Geode Helmet
Recipe GeodeHelmet = Recipe.Create(ModContent.ItemType<GeodeHelmet>());
GeodeHelmet.AddIngredient(ModContent.ItemType<Items.Placeable.Geode>(), 5);
GeodeHelmet.AddTile(TileID.Anvils);
GeodeHelmet.SortAfter(Shaderang);
GeodeHelmet.Register();
//Geode Chestplate
Recipe GeodeChestplate = Recipe.Create(ModContent.ItemType<GeodeChestplate>());
GeodeChestplate.AddIngredient(ModContent.ItemType<Items.Placeable.Geode>(), 10);
GeodeChestplate.AddTile(TileID.Anvils);
GeodeChestplate.SortAfter(GeodeHelmet);
GeodeChestplate.Register();
//Geode Leggings
Recipe GeodeLeggings = Recipe.Create(ModContent.ItemType<GeodeLeggings>());
GeodeLeggings.AddIngredient(ModContent.ItemType<Items.Placeable.Geode>(), 8);
GeodeLeggings.AddTile(TileID.Anvils);
GeodeLeggings.SortAfter(GeodeChestplate);
GeodeLeggings.Register();
#endregion
AddNightmareWoodFurnitureArmorAndItems(out Recipe NightwoodToilet);
AddPetrifiedWoodFurnitureArmorAndItems(NightwoodToilet);
//Onyx Robe
Recipe OnyxRobe = Recipe.Create(ModContent.ItemType<OnyxRobe>());
OnyxRobe.AddIngredient(ItemID.Robe, 1);
OnyxRobe.AddIngredient(ModContent.ItemType<Items.Placeable.Onyx>(), 10);
OnyxRobe.AddTile(TileID.Loom);
OnyxRobe.SortAfterFirstRecipesOf(ItemID.AmberRobe);
OnyxRobe.Register();
#region Quartz armour Crafting Group
//Quartz Hood
Recipe QuartzHood = Recipe.Create(ModContent.ItemType<QuartzHood>());
QuartzHood.AddIngredient(ItemID.Silk, 10);
QuartzHood.AddIngredient(ModContent.ItemType<Items.Placeable.Quartz>(), 20);
QuartzHood.AddIngredient(ItemID.ShadowScale, 5);
QuartzHood.AddTile(TileID.Hellforge);
QuartzHood.SortBeforeFirstRecipesOf(ItemID.AmethystRobe);
QuartzHood.Register();
//Quartz Winter Coat
Recipe QuartzWinterCoat = Recipe.Create(ModContent.ItemType<QuartzWinterCoat>());
QuartzWinterCoat.AddIngredient(ItemID.Silk, 10);
QuartzWinterCoat.AddIngredient(ModContent.ItemType<Items.Placeable.Quartz>(), 20);
QuartzWinterCoat.AddIngredient(ItemID.ShadowScale, 10);
QuartzWinterCoat.AddTile(TileID.Hellforge);
QuartzWinterCoat.SortAfter(QuartzHood);
QuartzWinterCoat.Register();
//Quartz Leggings
Recipe QuartzLeggings = Recipe.Create(ModContent.ItemType<QuartzLeggings>());
QuartzLeggings.AddIngredient(ItemID.Silk, 10);
QuartzLeggings.AddIngredient(ModContent.ItemType<Items.Placeable.Quartz>(), 20);
QuartzLeggings.AddIngredient(ItemID.ShadowScale, 5);
QuartzLeggings.AddTile(TileID.Hellforge);
QuartzLeggings.SortAfter(QuartzWinterCoat);
QuartzLeggings.Register();
//Quartz Hood (Tissue)
Recipe QuartzHood2 = Recipe.Create(ModContent.ItemType<QuartzHood>());
QuartzHood2.AddIngredient(ItemID.Silk, 10);
QuartzHood2.AddIngredient(ModContent.ItemType<Items.Placeable.Quartz>(), 20);
QuartzHood2.AddIngredient(ItemID.TissueSample, 5);
QuartzHood2.AddTile(TileID.Hellforge);
QuartzHood2.SortAfter(QuartzLeggings);
QuartzHood2.Register();
//Quartz Winter Coat (Tissue)
Recipe QuartzWinterCoat2 = Recipe.Create(ModContent.ItemType<QuartzWinterCoat>());
QuartzWinterCoat2.AddIngredient(ItemID.Silk, 10);
QuartzWinterCoat2.AddIngredient(ModContent.ItemType<Items.Placeable.Quartz>(), 20);
QuartzWinterCoat2.AddIngredient(ItemID.TissueSample, 10);
QuartzWinterCoat2.AddTile(TileID.Hellforge);
QuartzWinterCoat2.SortAfter(QuartzHood2);
QuartzWinterCoat2.Register();
//Quartz Leggings (Tissue)
Recipe QuartzLeggings2 = Recipe.Create(ModContent.ItemType<QuartzLeggings>());
QuartzLeggings2.AddIngredient(ItemID.Silk, 10);
QuartzLeggings2.AddIngredient(ModContent.ItemType<Items.Placeable.Quartz>(), 20);
QuartzLeggings2.AddIngredient(ItemID.TissueSample, 5);
QuartzLeggings2.AddTile(TileID.Hellforge);
QuartzLeggings2.SortAfter(QuartzWinterCoat2);
QuartzLeggings2.Register();
#endregion
//Black Phaseblade
Recipe BlackPhaseblade = Recipe.Create(ModContent.ItemType<BlackPhaseblade>());
BlackPhaseblade.AddIngredient(ItemID.MeteoriteBar, 15);
BlackPhaseblade.AddIngredient(ModContent.ItemType<Items.Placeable.Onyx>(), 10);
BlackPhaseblade.AddTile(TileID.Anvils);
BlackPhaseblade.SortAfterFirstRecipesOf(ItemID.OrangePhaseblade);
BlackPhaseblade.Register();
//Black Phasesabler
Recipe BlackPhasesaber = Recipe.Create(ModContent.ItemType<BlackPhasesaber>());
BlackPhasesaber.AddIngredient(ItemID.CrystalShard, 25);
BlackPhasesaber.AddIngredient(ModContent.ItemType<BlackPhaseblade>(), 1);
BlackPhasesaber.AddTile(TileID.MythrilAnvil);
BlackPhasesaber.SortAfterFirstRecipesOf(ItemID.OrangePhasesaber);
BlackPhasesaber.Register();
//Diamond Arrow
Recipe DiamondArrow = Recipe.Create(ModContent.ItemType<DiamondArrow>(), 33);
DiamondArrow.AddIngredient(ItemID.WoodenArrow, 33);
DiamondArrow.AddIngredient(ModContent.ItemType<DiamondDust>(), 1);
DiamondArrow.AddTile(TileID.Anvils);
DiamondArrow.SortAfterFirstRecipesOf(ItemID.HellfireArrow);
DiamondArrow.Register();
//Diamond Bolt
Recipe DiamondBolt = Recipe.Create(ModContent.ItemType<DiamondBolt>());
DiamondBolt.AddIngredient(ItemID.DiamondStaff);
DiamondBolt.AddIngredient(ModContent.ItemType<Items.Placeable.DiamondDust>(), 30);
DiamondBolt.AddTile(TileID.MythrilAnvil);
DiamondBolt.SortAfterFirstRecipesOf(ItemID.DiamondStaff);
DiamondBolt.Register();
//Ruby Bolt
Recipe RubyBolt = Recipe.Create(ModContent.ItemType<RubyBolt>());
RubyBolt.AddIngredient(ItemID.RubyStaff);
RubyBolt.AddIngredient(ModContent.ItemType<Items.Placeable.Ember>(), 30);
RubyBolt.AddTile(TileID.MythrilAnvil);
RubyBolt.SortAfterFirstRecipesOf(ItemID.RubyStaff);
RubyBolt.Register();
//Quicksilver Bomb
Recipe QuicksilverBomb = Recipe.Create(ModContent.ItemType<QuicksilverBomb>());
QuicksilverBomb.AddIngredient(ItemID.DryBomb);
QuicksilverBomb.AddCondition(Language.GetOrRegister("Mods.TheDepths.Recipes.NearQuicksilver"), () => Worldgen.TheDepthsWorldGen.isWorldDepths && Main.LocalPlayer.adjLava);
QuicksilverBomb.SortAfterFirstRecipesOf(ItemID.LavaBomb);
QuicksilverBomb.Register();
//Quicksilver Rocket
Recipe QuicksilverRocket = Recipe.Create(ModContent.ItemType<QuicksilverRocket>());
QuicksilverRocket.AddIngredient(ItemID.DryRocket);
QuicksilverRocket.AddCondition(Language.GetOrRegister("Mods.TheDepths.Recipes.NearQuicksilver"), () => Worldgen.TheDepthsWorldGen.isWorldDepths && Main.LocalPlayer.adjLava);
QuicksilverRocket.SortAfterFirstRecipesOf(ItemID.LavaRocket);
QuicksilverRocket.Register();
#region Mercury Equipment Crafting Group
//Terminex
Recipe Terminex = Recipe.Create(ModContent.ItemType<Terminex>());
Terminex.AddIngredient(ModContent.ItemType<Items.Placeable.ArqueriteBar>(), 20);
Terminex.AddTile(TileID.Anvils);
Terminex.SortAfterFirstRecipesOf(ItemID.FireproofBugNet);
Terminex.Register();
//Mercury Pickaxe
Recipe MercuryPickaxe = Recipe.Create(ModContent.ItemType<MercuryPickaxe>());
MercuryPickaxe.AddIngredient(ModContent.ItemType<Items.Placeable.ArqueriteBar>(), 20);
MercuryPickaxe.AddTile(TileID.Anvils);
MercuryPickaxe.SortAfter(Terminex);
MercuryPickaxe.Register();
//Mercury Hamaxe
Recipe MercuryHamaxe = Recipe.Create(ModContent.ItemType<MercuryHamaxe>());
MercuryHamaxe.AddIngredient(ModContent.ItemType<Items.Placeable.ArqueriteBar>(), 15);
MercuryHamaxe.AddTile(TileID.Anvils);
MercuryHamaxe.SortAfter(MercuryPickaxe);
MercuryHamaxe.Register();
//Silverado
Recipe Silverado = Recipe.Create(ModContent.ItemType<Silverado>());
Silverado.AddIngredient(ModContent.ItemType<Items.Placeable.ArqueriteBar>(), 10);
Silverado.AddIngredient(ItemID.Handgun, 1);
Silverado.AddTile(TileID.Anvils);
Silverado.SortAfter(MercuryHamaxe);
Silverado.Register();
//Onyx Septre
Recipe OnyxSepter = Recipe.Create(ModContent.ItemType<OnyxSepter>());
OnyxSepter.AddIngredient(ModContent.ItemType<Items.Placeable.ArqueriteBar>(), 10);
OnyxSepter.AddIngredient(ModContent.ItemType<Items.Placeable.Geode>(), 6);
OnyxSepter.AddIngredient(ModContent.ItemType<Items.Placeable.Onyx>(), 8);
OnyxSepter.AddTile(TileID.MythrilAnvil);
OnyxSepter.SortAfter(Silverado);
OnyxSepter.Register();
//Mercury Helmet
Recipe MercuryHelmet = Recipe.Create(ModContent.ItemType<MercuryHelmet>());
MercuryHelmet.AddIngredient(ModContent.ItemType<Items.Placeable.ArqueriteBar>(), 10);
MercuryHelmet.AddTile(TileID.Anvils);
MercuryHelmet.SortAfter(OnyxSepter);
MercuryHelmet.Register();
//Mercury Chestplate
Recipe MercuryChestplate = Recipe.Create(ModContent.ItemType<MercuryChestplate>());
MercuryChestplate.AddIngredient(ModContent.ItemType<Items.Placeable.ArqueriteBar>(), 20);
MercuryChestplate.AddTile(TileID.Anvils);
MercuryChestplate.SortAfter(MercuryHelmet);
MercuryChestplate.Register();
//Mercury Greaves
Recipe MercuryGreaves = Recipe.Create(ModContent.ItemType<MercuryGreaves>());
MercuryGreaves.AddIngredient(ModContent.ItemType<Items.Placeable.ArqueriteBar>(), 15);
MercuryGreaves.AddTile(TileID.Anvils);
MercuryGreaves.SortAfter(MercuryChestplate);
MercuryGreaves.Register();
//Quicksilver Proof Bug Net
Recipe QuicksilverproofBugNet = Recipe.Create(ModContent.ItemType<QuicksilverproofBugNet>());
QuicksilverproofBugNet.AddIngredient(ModContent.ItemType<Items.Placeable.ArqueriteBar>(), 15);
QuicksilverproofBugNet.AddIngredient(ItemID.BugNet, 1);
QuicksilverproofBugNet.AddTile(TileID.Hellforge);
QuicksilverproofBugNet.SortAfter(MercuryGreaves);
QuicksilverproofBugNet.Register();
//Core Builder
Recipe CoreBuilder = Recipe.Create(ModContent.ItemType<CoreBuilder>());
CoreBuilder.AddIngredient(ItemID.AshBlock, 50);
CoreBuilder.AddIngredient(ItemID.Hellforge, 1);
CoreBuilder.AddIngredient(ItemID.HellstoneBar, 10);
CoreBuilder.AddTile(TileID.Anvils);
CoreBuilder.SortAfter(QuicksilverproofBugNet);
CoreBuilder.Register();
AddAndReplaceCoreBuilder<RubyRelic>(ItemID.GuideVoodooDoll, CoreBuilder);
AddAndReplaceCoreBuilder<ShalestoneConch>(ItemID.DemonConch, CoreBuilder);
AddAndReplaceCoreBuilder<AquaStone>(ItemID.MagmaStone, CoreBuilder);
#endregion
//Crystal Skin potion
Recipe CrystalSkinPotion = Recipe.Create(ModContent.ItemType<CrystalSkinPotion>());
CrystalSkinPotion.AddIngredient(ItemID.BottledWater, 1);
CrystalSkinPotion.AddIngredient(ItemID.Waterleaf, 1);
CrystalSkinPotion.AddIngredient(ModContent.ItemType<Items.ShadowShrub>(), 1);
CrystalSkinPotion.AddIngredient(ModContent.ItemType<Items.Placeable.Quartz>(), 1);
CrystalSkinPotion.AddTile(TileID.Bottles);
CrystalSkinPotion.SortAfterFirstRecipesOf(ItemID.ObsidianSkinPotion);
CrystalSkinPotion.Register();
//Flask of Mercury
Recipe FlaskofMercury = Recipe.Create(ModContent.ItemType<FlaskofMercury>());
FlaskofMercury.AddIngredient(ItemID.BottledWater, 1);
FlaskofMercury.AddIngredient(ModContent.ItemType<Items.Placeable.ArqueriteOre>(), 3);
FlaskofMercury.AddTile(TileID.ImbuingStation);
FlaskofMercury.SortAfterFirstRecipesOf(ItemID.FlaskofFire);
FlaskofMercury.Register();
//Intense Shadow Dye
Recipe IntenseShadowDye = Recipe.Create(ModContent.ItemType<IntenseShadowDye>());
IntenseShadowDye.AddIngredient(ItemID.ShadowDye, 2);
IntenseShadowDye.AddTile(TileID.DyeVat);
IntenseShadowDye.SortAfterFirstRecipesOf(ItemID.IntenseRainbowDye);
IntenseShadowDye.Register();
//Large Onyx
Recipe LargeOnyx = Recipe.Create(ModContent.ItemType<LargeOnyx>());
LargeOnyx.AddIngredient(ModContent.ItemType<Onyx>(), 15);
LargeOnyx.AddTile(TileID.Anvils);
LargeOnyx.SortAfterFirstRecipesOf(ItemID.LargeAmber);
LargeOnyx.Register();
//Onyx Hook
Recipe OnyxHook = Recipe.Create(ModContent.ItemType<OnyxHook>());
OnyxHook.AddIngredient(ModContent.ItemType<Onyx>(), 15);
OnyxHook.AddTile(TileID.Anvils);
OnyxHook.SortAfterFirstRecipesOf(ItemID.AmberHook);
OnyxHook.Register();
//Onyx Minecart
Recipe OnyxMinecart = Recipe.Create(ModContent.ItemType<OnyxMinecart>());
OnyxMinecart.AddIngredient(ItemID.Minecart);
OnyxMinecart.AddIngredient(ModContent.ItemType<LargeOnyx>());
OnyxMinecart.AddTile(TileID.Anvils);
OnyxMinecart.SortAfterFirstRecipesOf(ItemID.AmberMinecart);
OnyxMinecart.Register();
//Silver Sphere Potion
Recipe SilverSpherePotion = Recipe.Create(ModContent.ItemType<SilverSpherePotion>());
SilverSpherePotion.AddIngredient(ItemID.BottledWater, 1);
SilverSpherePotion.AddIngredient(ModContent.ItemType<ShadowFightingFish>(), 1);
SilverSpherePotion.AddIngredient(ModContent.ItemType<QuartzFeeder>(), 2);
SilverSpherePotion.AddIngredient(ModContent.ItemType<ShadowShrub>(), 1);
SilverSpherePotion.AddTile(TileID.Bottles);
SilverSpherePotion.SortAfterFirstRecipesOf(ItemID.InfernoPotion);
SilverSpherePotion.Register();
#region Depths Critters Crafting Group
//Albino Rat Cage
Recipe AlbinoRatCage = Recipe.Create(ModContent.ItemType<AlbinoRatCage>());
AlbinoRatCage.AddIngredient(ModContent.ItemType<Items.AlbinoRat>());
AlbinoRatCage.AddIngredient(ItemID.Terrarium, 1);
AlbinoRatCage.SortAfterFirstRecipesOf(ItemID.MagmaSnailCage);
AlbinoRatCage.Register();
//Enchanted Nightmare Worm Cage
Recipe EnchantedNightmareWormCage = Recipe.Create(ModContent.ItemType<EnchantedNightmareWormCage>());
EnchantedNightmareWormCage.AddIngredient(ModContent.ItemType<Items.EnchantedNightmareWorm>());
EnchantedNightmareWormCage.AddIngredient(ItemID.Terrarium, 1);
EnchantedNightmareWormCage.SortAfter(AlbinoRatCage);
EnchantedNightmareWormCage.Register();
//Quartz Crawler Cage
Recipe QuartzCrawlerCage = Recipe.Create(ModContent.ItemType<QuartzCrawlerCage>());
QuartzCrawlerCage.AddIngredient(ModContent.ItemType<Items.QuartzCrawler>());
QuartzCrawlerCage.AddIngredient(ItemID.Terrarium, 1);
QuartzCrawlerCage.SortAfter(EnchantedNightmareWormCage);
QuartzCrawlerCage.Register();
#endregion
#region Gem stone blocks
//Onyx Stone Block
Recipe OnyxStoneBlock = Recipe.Create(ModContent.ItemType<OnyxStoneBlock>());
OnyxStoneBlock.AddIngredient(ModContent.ItemType<Onyx>());
OnyxStoneBlock.AddIngredient(ItemID.StoneBlock);
OnyxStoneBlock.AddCondition(Condition.InGraveyard);
OnyxStoneBlock.AddTile(TileID.HeavyWorkBench);
OnyxStoneBlock.SortAfterFirstRecipesOf(ItemID.AmberStoneBlock);
OnyxStoneBlock.Register();
//Amethyst Shalestone Block
Recipe AmethystShalestoneBlock = Recipe.Create(ModContent.ItemType<AmethystShalestoneBlock>());
AmethystShalestoneBlock.AddIngredient(ItemID.Amethyst);
AmethystShalestoneBlock.AddIngredient(ModContent.ItemType<Shalestone>());
AmethystShalestoneBlock.AddCondition(Condition.InGraveyard);
AmethystShalestoneBlock.AddTile(TileID.HeavyWorkBench);
AmethystShalestoneBlock.SortAfter(OnyxStoneBlock);
AmethystShalestoneBlock.Register();
//Topaz Shalestone Block
Recipe TopazShalestoneBlock = Recipe.Create(ModContent.ItemType<TopazShalestoneBlock>());
TopazShalestoneBlock.AddIngredient(ItemID.Topaz);
TopazShalestoneBlock.AddIngredient(ModContent.ItemType<Shalestone>());
TopazShalestoneBlock.AddCondition(Condition.InGraveyard);
TopazShalestoneBlock.AddTile(TileID.HeavyWorkBench);
TopazShalestoneBlock.SortAfter(AmethystShalestoneBlock);
TopazShalestoneBlock.Register();
//Sapphire Shalestone Block
Recipe SapphireShalestoneBlock = Recipe.Create(ModContent.ItemType<SapphireShalestoneBlock>());
SapphireShalestoneBlock.AddIngredient(ItemID.Sapphire);
SapphireShalestoneBlock.AddIngredient(ModContent.ItemType<Shalestone>());
SapphireShalestoneBlock.AddCondition(Condition.InGraveyard);
SapphireShalestoneBlock.AddTile(TileID.HeavyWorkBench);
SapphireShalestoneBlock.SortAfter(TopazShalestoneBlock);
SapphireShalestoneBlock.Register();
//Emerald Shalestone Block
Recipe EmeraldShalestoneBlock = Recipe.Create(ModContent.ItemType<EmeraldShalestoneBlock>());
EmeraldShalestoneBlock.AddIngredient(ItemID.Emerald);
EmeraldShalestoneBlock.AddIngredient(ModContent.ItemType<Shalestone>());
EmeraldShalestoneBlock.AddCondition(Condition.InGraveyard);
EmeraldShalestoneBlock.AddTile(TileID.HeavyWorkBench);
EmeraldShalestoneBlock.SortAfter(SapphireShalestoneBlock);
EmeraldShalestoneBlock.Register();
//Ruby Shalestone Block
Recipe RubyShalestoneBlock = Recipe.Create(ModContent.ItemType<RubyShalestoneBlock>());
RubyShalestoneBlock.AddIngredient(ItemID.Ruby);
RubyShalestoneBlock.AddIngredient(ModContent.ItemType<Shalestone>());
RubyShalestoneBlock.AddCondition(Condition.InGraveyard);
RubyShalestoneBlock.AddTile(TileID.HeavyWorkBench);
RubyShalestoneBlock.SortAfter(EmeraldShalestoneBlock);
RubyShalestoneBlock.Register();
//Diamond Shalestone Block
Recipe DiamondShalestoneBlock = Recipe.Create(ModContent.ItemType<DiamondShalestoneBlock>());
DiamondShalestoneBlock.AddIngredient(ItemID.Diamond);
DiamondShalestoneBlock.AddIngredient(ModContent.ItemType<Shalestone>());
DiamondShalestoneBlock.AddCondition(Condition.InGraveyard);
DiamondShalestoneBlock.AddTile(TileID.HeavyWorkBench);
DiamondShalestoneBlock.SortAfter(RubyShalestoneBlock);
DiamondShalestoneBlock.Register();
//Onyx Shalestone Block
Recipe OnyxShalestoneBlock = Recipe.Create(ModContent.ItemType<OnyxShalestoneBlock>());
OnyxShalestoneBlock.AddIngredient(ModContent.ItemType<Onyx>());
OnyxShalestoneBlock.AddIngredient(ModContent.ItemType<Shalestone>());
OnyxShalestoneBlock.AddCondition(Condition.InGraveyard);
OnyxShalestoneBlock.AddTile(TileID.HeavyWorkBench);
OnyxShalestoneBlock.SortAfter(DiamondShalestoneBlock);
OnyxShalestoneBlock.Register();
#endregion
//Arquerite Bar
Recipe ArqueriteBar = Recipe.Create(ModContent.ItemType<ArqueriteBar>());
ArqueriteBar.AddIngredient(ModContent.ItemType<ArqueriteOre>(), 3);
ArqueriteBar.AddIngredient(ModContent.ItemType<Quartz>(), 1);
ArqueriteBar.AddTile(TileID.Hellforge);
ArqueriteBar.SortAfterFirstRecipesOf(ItemID.HellstoneBar);
ArqueriteBar.Register();
#region Ore Brick Crafting Groups
//Arquerite Bricks
Recipe ArqueriteBricks = Recipe.Create(ModContent.ItemType<ArqueriteBricks>(), 5);
ArqueriteBricks.AddIngredient(ItemID.StoneBlock, 5);
ArqueriteBricks.AddIngredient(ModContent.ItemType<Items.Placeable.ArqueriteOre>(), 1);
ArqueriteBricks.AddTile(TileID.Furnaces);
ArqueriteBricks.DisableDecraft();
ArqueriteBricks.SortAfterFirstRecipesOf(ItemID.ObsidianBackEcho);
ArqueriteBricks.Register();
//Arquerite Brick wall
Recipe ArqueriteBrickWall = Recipe.Create(ModContent.ItemType<ArqueriteBrickWall>(), 4);
ArqueriteBrickWall.AddIngredient(ModContent.ItemType<ArqueriteBricks>());
ArqueriteBrickWall.AddTile(TileID.WorkBenches);
ArqueriteBrickWall.SortAfter(ArqueriteBricks);
ArqueriteBrickWall.Register();
Recipe ArqueriteBricks2 = Recipe.Create(ModContent.ItemType<ArqueriteBricks>());
ArqueriteBricks2.AddIngredient(ModContent.ItemType<Items.Placeable.ArqueriteBrickWall>(), 4);
ArqueriteBricks2.AddTile(TileID.WorkBenches);
ArqueriteBricks2.SortAfter(ArqueriteBrickWall);
ArqueriteBricks2.Register();
//Leaky Mercury Wall
Recipe LeakyMercuryWall = Recipe.Create(ModContent.ItemType<LeakyMercuryWall>(), 4);
LeakyMercuryWall.AddIngredient(ModContent.ItemType<ArqueriteOre>());
LeakyMercuryWall.AddCondition(Condition.InGraveyard);
LeakyMercuryWall.AddTile(TileID.WorkBenches);
LeakyMercuryWall.SortAfter(ArqueriteBrickWall);
LeakyMercuryWall.Register();
Recipe ArqueriteOre = Recipe.Create(ModContent.ItemType<ArqueriteOre>());
ArqueriteOre.AddIngredient(ModContent.ItemType<LeakyMercuryWall>(), 4);
ArqueriteOre.AddTile(TileID.WorkBenches);
ArqueriteOre.SortAfter(LeakyMercuryWall);
ArqueriteOre.Register();
//Bubble Mercury Wall
Recipe MercuryBubbleWall = Recipe.Create(ModContent.ItemType<MercuryBubbleWall>(), 4);
MercuryBubbleWall.AddIngredient(ModContent.ItemType<ArqueriteOre>());
MercuryBubbleWall.AddCondition(Condition.InGraveyard);
MercuryBubbleWall.AddTile(TileID.WorkBenches);
MercuryBubbleWall.SortAfter(ArqueriteOre);
MercuryBubbleWall.Register();
Recipe ArqueriteOre2 = Recipe.Create(ModContent.ItemType<ArqueriteOre>());
ArqueriteOre2.AddIngredient(ModContent.ItemType<MercuryBubbleWall>(), 4);
ArqueriteOre2.AddTile(TileID.WorkBenches);
ArqueriteOre2.SortAfter(MercuryBubbleWall);
ArqueriteOre2.Register();
//Dotted Quicksilver Wall
Recipe DottedQuicksilverWall = Recipe.Create(ModContent.ItemType<DottedQuicksilverWall>(), 4);
DottedQuicksilverWall.AddIngredient(ModContent.ItemType<ArqueriteOre>());
DottedQuicksilverWall.AddCondition(Condition.InGraveyard);
DottedQuicksilverWall.AddTile(TileID.WorkBenches);
DottedQuicksilverWall.SortAfter(ArqueriteOre2);
DottedQuicksilverWall.Register();
Recipe ArqueriteOre3 = Recipe.Create(ModContent.ItemType<ArqueriteOre>());
ArqueriteOre3.AddIngredient(ModContent.ItemType<DottedQuicksilverWall>(), 4);
ArqueriteOre3.AddTile(TileID.WorkBenches);
ArqueriteOre3.SortAfter(DottedQuicksilverWall);
ArqueriteOre3.Register();
//Quartz Bricks
Recipe QuartzBricks = Recipe.Create(ModContent.ItemType<QuartzBricks>(), 5);
QuartzBricks.AddIngredient(ItemID.StoneBlock, 5);
QuartzBricks.AddIngredient(ModContent.ItemType<Items.Placeable.Quartz>(), 1);
QuartzBricks.AddTile(TileID.Furnaces);
QuartzBricks.SortAfter(ArqueriteOre3);
QuartzBricks.Register();
//Quartz Block
Recipe QuartzBlock = Recipe.Create(ModContent.ItemType<QuartzBlock>());
QuartzBlock.AddIngredient(ModContent.ItemType<Items.Placeable.Quartz>(), 2);
QuartzBlock.AddTile(TileID.Furnaces);
QuartzBlock.SortAfter(QuartzBricks);
QuartzBlock.Register();
//Quartz Pillar
Recipe QuartzPillar = Recipe.Create(ModContent.ItemType<QuartzPillar>());
QuartzPillar.AddIngredient(ModContent.ItemType<Items.Placeable.Quartz>(), 2);
QuartzPillar.AddTile(TileID.Furnaces);
QuartzPillar.SortAfter(QuartzBlock);
QuartzPillar.Register();
//Quartz Brick Wall
Recipe QuartzBrickWall = Recipe.Create(ModContent.ItemType<QuartzBrickWall>(), 4);
QuartzBrickWall.AddIngredient(ModContent.ItemType<QuartzBricks>());
QuartzBrickWall.AddTile(TileID.WorkBenches);
QuartzBrickWall.SortAfter(QuartzPillar);
QuartzBrickWall.Register();
Recipe QuartzBricks2 = Recipe.Create(ModContent.ItemType<QuartzBricks>());
QuartzBricks2.AddIngredient(ModContent.ItemType<Items.Placeable.QuartzBrickWall>(), 4);
QuartzBricks2.AddTile(TileID.WorkBenches);
QuartzBricks2.SortAfter(QuartzBrickWall);
QuartzBricks2.Register();
//Quartz Stack Wall
Recipe QuartzStackWall = Recipe.Create(ModContent.ItemType<QuartzStackWall>(), 4);
QuartzStackWall.AddIngredient(ModContent.ItemType<Quartz>());
QuartzStackWall.AddCondition(Condition.InGraveyard);
QuartzStackWall.AddTile(TileID.WorkBenches);
QuartzStackWall.SortAfter(QuartzBricks2);
QuartzStackWall.Register();
Recipe Quartz = Recipe.Create(ModContent.ItemType<Quartz>());
Quartz.AddIngredient(ModContent.ItemType<QuartzStackWall>(), 4);
Quartz.AddTile(TileID.WorkBenches);
Quartz.SortAfter(QuartzStackWall);
Quartz.Register();
#endregion
//Black Gemspark
Recipe BlackGemspark = Recipe.Create(ModContent.ItemType<BlackGemspark>(), 20);
BlackGemspark.AddIngredient(ItemID.Glass, 20);
BlackGemspark.AddIngredient(ModContent.ItemType<Onyx>(), 1);
BlackGemspark.AddTile(TileID.WorkBenches);
BlackGemspark.SortAfterFirstRecipesOf(ItemID.AmberGemsparkBlock);
BlackGemspark.Register();
//Black Gemspark Wall
Recipe BlackGemsparkWall = Recipe.Create(ModContent.ItemType<BlackGemsparkWall>(), 4);
BlackGemsparkWall.AddIngredient(ModContent.ItemType<BlackGemspark>());
BlackGemsparkWall.AddTile(TileID.WorkBenches);
BlackGemsparkWall.SortAfterFirstRecipesOf(ItemID.AmberGemsparkWallOff);
BlackGemsparkWall.Register();
Recipe BlackGemspark2 = Recipe.Create(ModContent.ItemType<BlackGemspark>());
BlackGemspark2.AddIngredient(ModContent.ItemType<Items.Placeable.BlackGemsparkWall>(), 4);
BlackGemspark2.AddTile(TileID.WorkBenches);
BlackGemspark2.SortAfter(BlackGemsparkWall);
BlackGemspark2.Register();
//Offline Black Gemspark Wall
Recipe BlackGemsparkWallOffline = Recipe.Create(ModContent.ItemType<BlackGemsparkWallOffline>(), 4);
BlackGemsparkWallOffline.AddIngredient(ModContent.ItemType<BlackGemspark>());
BlackGemsparkWallOffline.AddTile(TileID.WorkBenches);
BlackGemsparkWallOffline.SortAfter(BlackGemspark2);
BlackGemsparkWallOffline.Register();
Recipe BlackGemspark3 = Recipe.Create(ModContent.ItemType<BlackGemspark>());
BlackGemspark3.AddIngredient(ModContent.ItemType<Items.Placeable.BlackGemsparkWallOffline>(), 4);
BlackGemspark3.AddTile(TileID.WorkBenches);
BlackGemspark3.SortAfter(BlackGemsparkWall);
BlackGemspark3.Register();
//Black Stained Glass
Recipe BlackStainedGlass = Recipe.Create(ModContent.ItemType<BlackStainedGlass>(), 20);
BlackStainedGlass.AddIngredient(ItemID.GlassWall, 20);
BlackStainedGlass.AddIngredient(ModContent.ItemType<Onyx>());
BlackStainedGlass.AddTile(TileID.WorkBenches);
BlackStainedGlass.SortAfterFirstRecipesOf(ItemID.OrangeStainedGlass);
BlackStainedGlass.Register();
//Black Torch
Recipe BlackTorch = Recipe.Create(ModContent.ItemType<BlackTorch>(), 10);
BlackTorch.AddIngredient(ItemID.Torch, 10);
BlackTorch.AddIngredient(ModContent.ItemType<Items.Placeable.Onyx>(), 1);
BlackTorch.SortAfterFirstRecipesOf(ItemID.OrangeTorch);
BlackTorch.Register();
//Geo Campfire
Recipe GeoCampfire = Recipe.Create(ModContent.ItemType<GeoCampfire>());
GeoCampfire.AddRecipeGroup(RecipeGroupID.Wood, 10);
GeoCampfire.AddIngredient(ModContent.ItemType<GeoTorch>(), 5);
GeoCampfire.SortAfterFirstRecipesOf(ItemID.DemonCampfire);
GeoCampfire.Register();
//Geo Torch
Recipe GeoTorch = Recipe.Create(ModContent.ItemType<GeoTorch>(), 3);
GeoTorch.AddIngredient(ItemID.Torch, 3);
GeoTorch.AddIngredient(ModContent.ItemType<Items.Placeable.Geode>(), 1);
GeoTorch.SortAfterFirstRecipesOf(ItemID.DemonTorch);
GeoTorch.Register();
//Giant Fluorescent Light Bulb
Recipe GiantFluorescentLightBulb = Recipe.Create(ModContent.ItemType<GiantFluorescentLightBulb>());
GiantFluorescentLightBulb.AddIngredient(ModContent.ItemType<FluorescentLightBulb>(), 3);
GiantFluorescentLightBulb.SortAfterFirstRecipesOf(ItemID.VolcanoLarge);
GiantFluorescentLightBulb.Register();
//Hanging Shadow Shrub
Recipe HangingShadowShrub = Recipe.Create(ModContent.ItemType<HangingShadowShrub>());
HangingShadowShrub.AddIngredient(ItemID.PotSuspended);
HangingShadowShrub.AddIngredient(ModContent.ItemType<ShadowShrub>());
HangingShadowShrub.SortAfterFirstRecipesOf(ItemID.PotSuspendedFireblossom);
HangingShadowShrub.Register();
#region Quartz Furniture Crafting Group
//Quartz Chest
Recipe QuartzChest = Recipe.Create(ModContent.ItemType<QuartzChest>());
QuartzChest.AddIngredient(ModContent.ItemType<Quartz>(), 6);
QuartzChest.AddIngredient(ModContent.ItemType<ArqueriteOre>(), 2);
QuartzChest.AddRecipeGroup(RecipeGroupID.IronBar, 2);
QuartzChest.AddTile(TileID.WorkBenches);
QuartzChest.SortAfterFirstRecipesOf(ItemID.ToiletObsidian);
QuartzChest.Register();
//Quartz Sink
Recipe QuartzSink = Recipe.Create(ModContent.ItemType<QuartzSink>());
QuartzSink.AddIngredient(ModContent.ItemType<Items.Placeable.Quartz>(), 4);
QuartzSink.AddIngredient(ModContent.ItemType<Items.Placeable.ArqueriteOre>(), 2);
QuartzSink.AddIngredient(ItemID.WaterBucket, 1);
QuartzSink.AddTile(TileID.WorkBenches);
QuartzSink.SortAfter(QuartzChest);
QuartzSink.Register();
//Quartz Toilet
Recipe QuartzToilet = Recipe.Create(ModContent.ItemType<QuartzToilet>());
QuartzToilet.AddIngredient(ModContent.ItemType<Items.Placeable.Quartz>(), 4);
QuartzToilet.AddIngredient(ModContent.ItemType<Items.Placeable.ArqueriteOre>(), 2);
QuartzToilet.AddTile(TileID.Sawmill);
QuartzToilet.SortAfter(QuartzSink);
QuartzToilet.Register();
//Large Quartz
Recipe LargeCrystal = Recipe.Create(ModContent.ItemType<LargeCrystal>());
LargeCrystal.AddIngredient(ModContent.ItemType<Quartz>(), 4);
LargeCrystal.AddCondition(Condition.InGraveyard);
LargeCrystal.AddTile(TileID.WorkBenches);
LargeCrystal.SortAfter(QuartzToilet);
LargeCrystal.Register();
#endregion
//Quicksilver Dropper
Recipe MagicQuicksilverDropper = Recipe.Create(ModContent.ItemType<MagicQuicksilverDropper>());
MagicQuicksilverDropper.AddIngredient(ItemID.EmptyDropper);
MagicQuicksilverDropper.AddTile(TileID.CrystalBall);
MagicQuicksilverDropper.AddCondition(Language.GetOrRegister("Mods.TheDepths.Recipes.NearQuicksilver"), () => Worldgen.TheDepthsWorldGen.isWorldDepths && Main.LocalPlayer.adjLava);
MagicQuicksilverDropper.SortAfterFirstRecipesOf(ItemID.MagicLavaDropper);
MagicQuicksilverDropper.Register();
//Mercury Moss Brick
Recipe MercuryMossBricks = Recipe.Create(ModContent.ItemType<MercuryMossBricks>(), 10);
MercuryMossBricks.AddIngredient(ModContent.ItemType<MercuryMoss>(), 1);
MercuryMossBricks.AddIngredient(ItemID.ClayBlock, 10);
MercuryMossBricks.AddTile(TileID.Furnaces);
MercuryMossBricks.SortAfterFirstRecipesOf(ItemID.VioletMossBlock);
MercuryMossBricks.Register();
//Mercury Moss Brick Wall
Recipe MercuryMossBrickWall = Recipe.Create(ModContent.ItemType<MercuryMossBrickWall>(), 4);
MercuryMossBrickWall.AddIngredient(ModContent.ItemType<MercuryMossBricks>());
MercuryMossBrickWall.AddTile(TileID.WorkBenches);
MercuryMossBrickWall.SortAfterFirstRecipesOf(ItemID.VioletMossBlockWall);
MercuryMossBrickWall.Register();
Recipe MercuryMossBricks2 = Recipe.Create(ModContent.ItemType<MercuryMossBricks>());
MercuryMossBricks2.AddIngredient(ModContent.ItemType<MercuryMossBrickWall>(), 4);
MercuryMossBricks2.AddTile(TileID.WorkBenches);
MercuryMossBricks2.SortAfter(MercuryMossBrickWall);
MercuryMossBricks2.Register();
//Nightmarewood Fence
Recipe NightwoodFence = Recipe.Create(ModContent.ItemType<NightwoodFence>(), 4);
NightwoodFence.AddIngredient(ModContent.ItemType<NightWood>());
NightwoodFence.AddTile(TileID.WorkBenches);
NightwoodFence.SortAfterFirstRecipesOf(ItemID.AshWoodFence);
NightwoodFence.Register();
//Petrifiedwood Fence
Recipe PetrifiedWoodFence = Recipe.Create(ModContent.ItemType<PetrifiedWoodFence>(), 4);
PetrifiedWoodFence.AddIngredient(ModContent.ItemType<PetrifiedWood>());
PetrifiedWoodFence.AddTile(TileID.WorkBenches);
PetrifiedWoodFence.SortAfter(NightwoodFence);
PetrifiedWoodFence.Register();
//Nightmarewood Wall
Recipe NightwoodWall = Recipe.Create(ModContent.ItemType<NightwoodWall>(), 4);
NightwoodWall.AddIngredient(ModContent.ItemType<NightWood>());
NightwoodWall.AddTile(TileID.WorkBenches);
NightwoodWall.SortAfterFirstRecipesOf(ItemID.AshWoodWall);
NightwoodWall.Register();
Recipe NightWood = Recipe.Create(ModContent.ItemType<NightWood>());
NightWood.AddIngredient(ModContent.ItemType<NightwoodWall>(), 4);
NightWood.AddTile(TileID.WorkBenches);
NightWood.SortAfter(NightwoodWall);
NightWood.Register();
//Petrifiedwood Wall
Recipe PetrifiedWoodWall = Recipe.Create(ModContent.ItemType<PetrifiedWoodWall>(), 4);
PetrifiedWoodWall.AddIngredient(ModContent.ItemType<PetrifiedWood>());
PetrifiedWoodWall.AddTile(TileID.WorkBenches);
PetrifiedWoodWall.SortAfter(NightWood);
PetrifiedWoodWall.Register();
Recipe PetrifiedWood = Recipe.Create(ModContent.ItemType<PetrifiedWood>());
PetrifiedWood.AddIngredient(ModContent.ItemType<PetrifiedWoodWall>(), 4);
PetrifiedWood.AddTile(TileID.WorkBenches);
PetrifiedWood.SortAfter(PetrifiedWoodWall);
PetrifiedWood.Register();
//Onyx Bunny Cage
Recipe OnyxBunnyCage = Recipe.Create(ModContent.ItemType<OnyxBunnyCage>());
OnyxBunnyCage.AddIngredient(ModContent.ItemType<OnyxBunny>());
OnyxBunnyCage.AddIngredient(ItemID.Terrarium, 1);
OnyxBunnyCage.SortAfterFirstRecipesOf(ItemID.AmberBunnyCage);
OnyxBunnyCage.Register();
//Onyx Squirel Cage
Recipe OnyxSquirrelCage = Recipe.Create(ModContent.ItemType<OnyxSquirrelCage>());
OnyxSquirrelCage.AddIngredient(ModContent.ItemType<OnyxSquirrel>());
OnyxSquirrelCage.AddIngredient(ItemID.Terrarium, 1);
OnyxSquirrelCage.SortAfterFirstRecipesOf(ItemID.AmberSquirrelCage);
OnyxSquirrelCage.Register();
//Onyx Gemcorn
Recipe OnyxGemcorn = Recipe.Create(ModContent.ItemType<OnyxGemcorn>());
OnyxGemcorn.AddIngredient(ItemID.Acorn);
OnyxGemcorn.AddIngredient(ModContent.ItemType<Onyx>());
OnyxGemcorn.SortAfterFirstRecipesOf(ItemID.GemTreeAmberSeed);
OnyxGemcorn.Register();
//Onyx Gem Lock
Recipe OnyxGemLock = Recipe.Create(ModContent.ItemType<OnyxGemLock>());
OnyxGemLock.AddIngredient(ModContent.ItemType<Onyx>(), 5);
OnyxGemLock.AddIngredient(ItemID.StoneBlock, 10);
OnyxGemLock.AddTile(TileID.HeavyWorkBench);