-
Notifications
You must be signed in to change notification settings - Fork 64
/
Fargowiltas.cs
1781 lines (1671 loc) · 69.4 KB
/
Fargowiltas.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 FargowiltasSouls.NPCs;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.IO;
using FargowiltasSouls.ModCompatibilities;
using Terraria;
using Terraria.ID;
using Terraria.Localization;
using Terraria.ModLoader;
using Terraria.UI;
namespace FargowiltasSouls
{
internal class Fargowiltas : Mod
{
internal static ModHotKey FreezeKey;
internal static ModHotKey GoldKey;
internal static ModHotKey SmokeBombKey;
internal static ModHotKey BetsyDashKey;
internal static List<int> DebuffIDs;
internal static Fargowiltas Instance;
internal bool LoadedNewSprites;
public UserInterface CustomResources;
internal static readonly Dictionary<int, int> ModProjDict = new Dictionary<int, int>();
internal bool FargowiltasLoaded;
public Fargowiltas()
{
Properties = new ModProperties
{
Autoload = true,
AutoloadGores = true,
AutoloadSounds = true
};
}
public override void Load()
{
Instance = this;
if (Language.ActiveCulture == GameCulture.Chinese)
{
FreezeKey = RegisterHotKey("冻结时间", "P");
GoldKey = RegisterHotKey("金身", "O");
SmokeBombKey = RegisterHotKey("Throw Smoke Bomb", "I");
BetsyDashKey = RegisterHotKey("Betsy Dash", "C");
}
else
{
FreezeKey = RegisterHotKey("Freeze Time", "P");
GoldKey = RegisterHotKey("Turn Gold", "O");
SmokeBombKey = RegisterHotKey("Throw Smoke Bomb", "I");
BetsyDashKey = RegisterHotKey("Fireball Dash", "C");
}
AddMusicBox(GetSoundSlot(SoundType.Music, "Sounds/Music/SteelRed"), ItemType("MutantMusicBox"), TileType("MutantMusicBoxSheet"));
#region Toggles
#region enchants
ModTranslation text = CreateTranslation("WoodHeader");
text.SetDefault("[i:" + Instance.ItemType("WoodForce") + "] Force of Wood");
AddTranslation(text);
text = CreateTranslation("LifeHeader");
text.SetDefault("[i:" + Instance.ItemType("LifeForce") + "] Force of Life");
AddTranslation(text);
text = CreateTranslation("NatureHeader");
text.SetDefault("[i:" + Instance.ItemType("NatureForce") + "] Force of Nature");
AddTranslation(text);
text = CreateTranslation("ShadowHeader");
text.SetDefault("[i:" + Instance.ItemType("ShadowForce") + "] Shadow Force");
AddTranslation(text);
text = CreateTranslation("SpiritHeader");
text.SetDefault("[i:" + Instance.ItemType("SpiritForce") + "] Force of Spirit");
AddTranslation(text);
text = CreateTranslation("CosmoHeader");
text.SetDefault("[i:" + Instance.ItemType("CosmoForce") + "] Force of Cosmos");
AddTranslation(text);
ModTranslation borealtrans = CreateTranslation("BorealConfig");
borealtrans.SetDefault("[i:" + Instance.ItemType("BorealWoodEnchant") + "][c/8B7464: Boreal Snowballs]");
AddTranslation(borealtrans);
text = CreateTranslation("MahoganyConfig");
text.SetDefault("[i:" + Instance.ItemType("RichMahoganyEnchant") + "][c/b56c64: Mahogany Hook Speed]");
AddTranslation(text);
text = CreateTranslation("EbonConfig");
text.SetDefault("[i:" + Instance.ItemType("EbonwoodEnchant") + "][c/645a8d: Ebonwood Shadowflame]");
AddTranslation(text);
text = CreateTranslation("ShadeConfig");
text.SetDefault("[i:" + Instance.ItemType("ShadewoodEnchant") + "][c/586876: Blood Geyser On Hit]");
AddTranslation(text);
text = CreateTranslation("PalmConfig");
text.SetDefault("[i:" + Instance.ItemType("PalmWoodEnchant") + "][c/b78d56: Palmwood Sentry]");
AddTranslation(text);
text = CreateTranslation("PearlConfig");
text.SetDefault("[i:" + Instance.ItemType("PearlwoodEnchant") + "][c/ad9a5f: Pearlwood Rainbow]");
AddTranslation(text);
text = CreateTranslation("EarthHeader");
text.SetDefault("[i:" + Instance.ItemType("EarthForce") + "] Force of Earth");
AddTranslation(text);
text = CreateTranslation("AdamantiteConfig");
text.SetDefault("[i:" + Instance.ItemType("AdamantiteEnchant") + "][c/dd557d: Adamantite Projectile Splitting]");
AddTranslation(text);
text = CreateTranslation("CobaltConfig");
text.SetDefault("[i:" + Instance.ItemType("CobaltEnchant") + "][c/3da4c4: Cobalt Shards]");
AddTranslation(text);
text = CreateTranslation("MythrilConfig");
text.SetDefault("[i:" + Instance.ItemType("MythrilEnchant") + "][c/9dd290: Mythril Weapon Speed]");
AddTranslation(text);
text = CreateTranslation("OrichalcumConfig");
text.SetDefault("[i:" + Instance.ItemType("OrichalcumEnchant") + "][c/eb3291: Orichalcum Fireballs]");
AddTranslation(text);
text = CreateTranslation("PalladiumConfig");
text.SetDefault("[i:" + Instance.ItemType("PalladiumEnchant") + "][c/f5ac28: Palladium Healing]");
AddTranslation(text);
text = CreateTranslation("TitaniumConfig");
text.SetDefault("[i:" + Instance.ItemType("TitaniumEnchant") + "][c/828c88: Titanium Shadow Dodge]");
AddTranslation(text);
text = CreateTranslation("TerraHeader");
text.SetDefault("[i:" + Instance.ItemType("TerraForce") + "] Terra Force");
AddTranslation(text);
text = CreateTranslation("CopperConfig");
text.SetDefault("[i:" + Instance.ItemType("CopperEnchant") + "][c/d56617: Copper Lightning]");
AddTranslation(text);
text = CreateTranslation("IronMConfig");
text.SetDefault("[i:" + Instance.ItemType("IronEnchant") + "][c/988e83: Iron Magnet]");
AddTranslation(text);
text = CreateTranslation("IronSConfig");
text.SetDefault("[i:" + Instance.ItemType("IronEnchant") + "][c/988e83: Iron Shield]");
AddTranslation(text);
text = CreateTranslation("CthulhuShield");
text.SetDefault("[i:" + Instance.ItemType("IronEnchant") + "][c/988e83: Shield of Cthulhu]");
AddTranslation(text);
text = CreateTranslation("TinConfig");
text.SetDefault("[i:" + Instance.ItemType("TinEnchant") + "][c/a28b4e: Tin Crits]");
AddTranslation(text);
text = CreateTranslation("TungstenConfig");
text.SetDefault("[i:" + Instance.ItemType("TungstenEnchant") + "][c/b0d2b2: Tungsten Effect]");
AddTranslation(text);
text = CreateTranslation("WillHeader");
text.SetDefault("[i:" + Instance.ItemType("WillForce") + "] Force of Will");
AddTranslation(text);
text = CreateTranslation("GladiatorConfig");
text.SetDefault("[i:" + Instance.ItemType("GladiatorEnchant") + "][c/9c924e: Gladiator Rain]");
AddTranslation(text);
text = CreateTranslation("GoldConfig");
text.SetDefault("[i:" + Instance.ItemType("GoldEnchant") + "][c/e7b21c: Gold Lucky Coin]");
AddTranslation(text);
text = CreateTranslation("RedRidingConfig");
text.SetDefault("[i:" + Instance.ItemType("RedRidingEnchant") + "][c/c01b3c: Red Riding Super Bleed]");
AddTranslation(text);
text = CreateTranslation("ValhallaConfig");
text.SetDefault("[i:" + Instance.ItemType("ValhallaKnightEnchant") + "][c/93651e: Valhalla Knockback]");
AddTranslation(text);
string[] EnchConfig = {
//force of life
"BeetleConfig",
"CactusConfig",
"PumpkinConfig",
"SpiderConfig",
"TurtleConfig",
//force of nature
"ChlorophyteConfig",
"CrimsonConfig",
"FrostConfig",
"JungleConfig",
"MoltenConfig",
"ShroomiteConfig",
//shadow force
"DarkArtConfig",
"NecroConfig",
"ShadowConfig",
"ShinobiConfig",
"ShinobiTabiConfig",
"SpookyConfig",
//force of spirit
"ForbiddenConfig",
"HallowedConfig",
"HalllowSConfig",
"SilverConfig",
"SpectreConfig",
"TikiConfig",
//force of cosmos
"MeteorConfig",
"NebulaConfig",
"SolarConfig",
"StardustConfig",
"VortexSConfig",
"VortexVConfig"
};
string[] EnchName = {
//force of life
"Beetles",
"Cactus Needles",
"Pumpkin Fire",
"Spider Swarm",
"Turtle Shell Buff",
//force of nature
"Chlorophyte Leaf Crystal",
"Crimson Regen",
"Frost Icicles",
"Jungle Spores",
"Molten Inferno Buff",
"Shroomite Stealth",
//shadow force
"Dark Artist Effect",
"Necro Guardian",
"Shadow Darkness",
"Shinobi Through Walls",
"Tabi Dash",
"Spooky Scythes",
//force of spirit
"Forbidden Storm",
"Hallowed Enchanted Sword Familiar",
"Hallowed Shield",
"Silver Sword Familiar",
"Spectre Orbs",
"Tiki Minions",
//force of cosmos
"Meteor Shower",
"Nebula Boosters",
"Solar Shield",
"Stardust Guardian",
"Vortex Stealth",
"Vortex Voids"
};
string[] EnchColor = {
//force of life
"6D5C85",
"799e1d",
"e3651c",
"6d4e45",
"f89c5c",
//force of nature
"248900",
"C8364B",
"7abdb9",
"71971f",
"c12b2b",
"008cf4",
//shadow force
"9b5cb0",
"565643",
"42356f",
"935b18",
"935b18",
"644e74",
//force of spirit
"e7b21c",
"968564",
"968564",
"b4b4cc",
"accdfc",
"56A52B",
//force of cosmos
"5f4752",
"fe7ee5",
"fe9e23",
"00aeee",
"00f2aa",
"00f2aa"
};
string[] EnchItem = {
//force of life
"BeetleEnchant",
"CactusEnchant",
"PumpkinEnchant",
"SpiderEnchant",
"TurtleEnchant",
//force of nature
"ChlorophyteEnchant",
"CrimsonEnchant",
"FrostEnchant",
"JungleEnchant",
"MoltenEnchant",
"ShroomiteEnchant",
//shadow force
"DarkArtistEnchant",
"NecroEnchant",
"ShadowEnchant",
"ShinobiEnchant",
"ShinobiEnchant",
"SpookyEnchant",
//force of spirit
"ForbiddenEnchant",
"HallowEnchant",
"HallowEnchant",
"SilverEnchant",
"SpectreEnchant",
"TikiEnchant",
//force of cosmos
"MeteorEnchant",
"NebulaEnchant",
"SolarEnchant",
"StardustEnchant",
"VortexEnchant",
"VortexEnchant"
};
for (int x = 0; x < EnchConfig.Length; x++)
{
text = CreateTranslation(EnchConfig[x]);
text.SetDefault("[i:" + Instance.ItemType(EnchItem[x]) + "][c/" + EnchColor[x] + ": " + EnchName[x] + "]");
AddTranslation(text);
}
#endregion
#region masomode toggles
string[] masoTogName = {
//deathbringer fairy
"Slimy Shield Effects",
"Scythes When Dashing",
"Skeletron Arms Minion",
//pure heart
"Tiny Eaters",
"Creeper Shield",
//bionomic cluster
"Tim's Concoction",
"Rainbow Slime Minion",
"Frostfireballs",
"Attacks Spawn Hearts",
"Squeaky Toy On Hit",
"Tentacles On Hit",
"Inflict Clipped Wings",
//dubious circutry
"Inflict Lightning Rod",
"Probes Minion",
//heart of the masochist
"Gravity Control",
"Stabilized Gravity",
"Pumpking's Cape Support",
"Flocko Minion",
"Saucer Minion",
"True Eyes Minion",
//chalice of the moon
"Celestial Rune Support",
"Plantera Minion",
"Lihzahrd Ground Pound",
"Ancient Visions On Hit",
"Cultist Minion",
"Spectral Fishron",
//lump of flesh
"Pungent Eye Minion",
//mutant armor
"Abominationn Minion",
"Phantasmal Ring Minion",
//other
"Spiky Balls On Hit",
"Sinister Icon",
"Boss Recolors (Restart to use)"};
string[] masoTogNameCh = {
//deathbringer fairy
"Slimy Shield Effects",
"Scythes When Dashing",
"Skeletron Arms Minion",
//pure heart
"Tiny Eaters",
"Creeper Shield",
//bionomic cluster
"Tim's Concoction",
"Rainbow Slime Minion",
"Frostfireballs",
"Attacks Spawn Hearts",
"Squeaky Toy On Hit",
"Tentacles On Hit",
"Inflict Clipped Wings",
//dubious circutry
"Inflict Lightning Rod",
"Probes Minion",
//heart of the masochist
"Gravity Control",
"Stabilized Gravity",
"Pumpking's Cape Support",
"Flocko Minion",
"Saucer Minion",
"True Eyes Minion",
//chalice of the moon
"Celestial Rune Support",
"Plantera Minion",
"Lihzahrd Ground Pound",
"Ancient Visions On Hit",
"Cultist Minion",
"Spectral Fishron",
//lump of flesh
"Pungent Eye Minion",
//mutant armor
"Abominationn Minion",
"Phantasmal Ring Minion",
//other
"Spiky Balls On Hit",
"Sinister Icon",
"Boss Recolors (Restart to use)"};
string[] masoTogConfigName = {
//deathbringer fairy
"MasoSlimeConfig",
"MasoEyeConfig",
"MasoSkeleConfig",
//pure heart
"MasoEaterConfig",
"MasoBrainConfig",
//bionomic cluster
"MasoConcoctionConfig",
"MasoRainbowConfig",
"MasoFrigidConfig",
"MasoNymphConfig",
"MasoSqueakConfig",
"MasoPouchConfig",
"MasoClippedConfig",
//dubious circutry
"MasoLightningConfig",
"MasoProbeConfig",
//heart of the masochist
"MasoGravConfig",
"MasoGrav2Config",
"MasoPump",
"MasoFlockoConfig",
"MasoUfoConfig",
"MasoTrueEyeConfig",
//chalice of the moon
"MasoCelestConfig",
"MasoPlantConfig",
"MasoGolemConfig",
"MasoVisionConfig",
"MasoCultistConfig",
"MasoFishronConfig",
//lump of flesh
"MasoPugentConfig",
//mutant armor
"MasoAbomConfig",
"MasoRingConfig",
//other
"MasoSpikeConfig",
"MasoIconConfig",
"MasoBossRecolors"};
for (int x = 0; x < masoTogName.Length; x++)
{
text = CreateTranslation(masoTogConfigName[x]);
if (Language.ActiveCulture == GameCulture.Chinese)
{
text.SetDefault(masoTogNameCh[x]);
}
else
{
text.SetDefault(masoTogName[x]);
}
AddTranslation(text);
}
#endregion
#region pet toggles
int[] petnums = {
//NORMAL PETS
1810,//black cat
3628,//companion cube
1837, //cursed sapling
1242, //dino pet
3857, //dragon
994, //eater
1311, //eye spring
3060, //face monster
3855, //gato
1170, //hornet
1172, //lizard
2587, //mini minitaur
1180, //parrot
669, //penguin
1927, //puppy
1182, //seedling
1169, //dungeon guardian
1312, // snowman
1798, // spider
1799, //squashling
1171, //tiki
1181, //truffle
753, //turtle
2420, //zephyr fish
//LIGHT PETS
3062, //crimson heart
425, //fairy
3856, //flickerwick
3043, //magic lanturn
115, //shadow orb
3577, //suspicious eye
1183//wisp
};
string[] petTogName = {
"Black Cat Pet",
"Companion Cube Pet",
"Cursed Sapling Pet",
"Dino Pet",
"Dragon Pet",
"Eater Pet",
"Eye Spring Pet",
"Face Monster Pet",
"Gato Pet",
"Hornet Pet",
"Lizard Pet",
"Mini Minotaur Pet",
"Parrot Pet",
"Penguin Pet",
"Puppy Pet",
"Seedling Pet",
"Skeletron Pet",
"Snowman Pet",
"Spider Pet",
"Squashling Pet",
"Tiki Pet",
"Truffle Pet",
"Turtle Pet",
"Zephyr Fish Pet",
//LIGHT PETS
"Crimson Heart Pet",
"Fairy Pet",
"Flickerwick Pet",
"Magic Lantern Pet",
"Shadow Orb Pet",
"Suspicious Eye Pet",
"Wisp Pet" };
string[] petTogConfigName = {
"PetCatConfig",
"PetCubeConfig",
"PetCurseSapConfig",
"PetDinoConfig",
"PetDragonConfig",
"PetEaterConfig",
"PetEyeSpringConfig",
"PetFaceMonsterConfig",
"PetGatoConfig",
"PetHornetConfig",
"PetLizardConfig",
"PetMinitaurConfig",
"PetParrotConfig",
"PetPenguinConfig",
"PetPupConfig",
"PetSeedConfig",
"PetDGConfig",
"PetSnowmanConfig",
"PetSpiderConfig",
"PetSquashConfig",
"PetTikiConfig",
"PetShroomConfig",
"PetTurtleConfig",
"PetZephyrConfig",
//LIGHT PETS
"PetHeartConfig",
"PetNaviConfig",
"PetFlickerConfig",
"PetLanturnConfig",
"PetOrbConfig",
"PetSuspEyeConfig",
"PetWispConfig" };
for (int x = 0; x <= 30; x++)
{
text = CreateTranslation(petTogConfigName[x]);
text.SetDefault("[I:" + petnums[x] + "] " + petTogName[x]);
AddTranslation(text);
}
#endregion
#region wallet toggles
string[] prefix = {
"Warding",
"Violent",
"Quick",
"Lucky",
"Menacing",
"Legendary",
"Unreal",
"Mythical",
"Godly",
"Demonic",
"Ruthless",
"Light",
"Deadly",
"Rapid"};
string[] prefixconf = {
"WalletWardingConfig",
"WalletViolentConfig",
"WalletQuickConfig",
"WalletLuckyConfig",
"WalletMenacingConfig",
"WalletLegendaryConfig",
"WalletUnrealConfig",
"WalletMythicalConfig",
"WalletGodlyConfig",
"WalletDemonicConfig",
"WalletRuthlessConfig",
"WalletLightConfig",
"WalletDeadlyConfig",
"WalletRapidConfig" };
for (int x = 0; x <= 13; x++)
{
text = CreateTranslation(prefixconf[x]);
text.SetDefault(prefix[x]);
AddTranslation(text);
}
#endregion
#region soul toggles
string[] soultognames = {
//Universe
"Melee Speed",
"Sniper Scope",
"Universe Attack Speed",
//dimensions
"Mining Hunter Buff",
"Mining Dangersense Buff",
"Mining Spelunker Buff",
"Mining Shine Buff",
"Builder Mode",
"Spore Sac",
"Stars On Hit",
"Bees On Hit",
"Supersonic Speed Boosts",
//idk
"Eternity Stacking"};
string[] soultogconfig = {
//Universe
"MeleeConfig",
"SniperConfig",
"UniverseConfig",
//dimensions
"MiningHuntConfig",
"MiningDangerConfig",
"MiningSpelunkConfig",
"MiningShineConfig",
"BuilderConfig",
"DefenseSporeConfig",
"DefenseStarConfig",
"DefenseBeeConfig",
"SupersonicConfig",
//idk
"EternityConfig" };
string[] soultogitemnames = {
//Universe
"GladiatorsSoul",
"SharpshootersSoul",
"UniverseSoul",
//dimensions
"MinerEnchant",
"MinerEnchant",
"MinerEnchant",
"MinerEnchant",
"WorldShaperSoul",
"ColossusSoul",
"ColossusSoul",
"ColossusSoul",
"SupersonicSoul",
//idk
"EternitySoul" };
string[] soulcolor = {
//Universe
"ffffff",
"ffffff",
"ffffff",
//dimensions
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
//idk
"ffffff" };
for (int x = 0; x <= 12; x++)
{
text = CreateTranslation(soultogconfig[x]);
text.SetDefault("[i:" + Instance.ItemType(soultogitemnames[x]) + "][c/" + soulcolor[x] + ": " + soultognames[x] + "]");
AddTranslation(text);
}
#endregion
#region thorium
string[] thoriumTogNames = {
"Air Walkers",
"Crystal Scorpion",
"Yuma's Pendant",
"Head Mirror",
"Celestial Aura",
"Ascension Statuette",
"Mana-Charged Rocketeers",
"Bronze Lightning",
"Illumite Missile",
"Jester Bell",
"Eye of the Beholder",
"Terrarium Spirits",
"Crietz",
"Yew Wood Crits",
"Cryo-Magus Damage",
"White Dwarf Flares",
"Tide Hunter Foam",
"Whispering Tentacles",
"Icy Barrier",
"Plague Lord's Flask",
"Tide Turner Globules",
"Tide Turner Daggers",
"Folv's Aura",
"Folv's Bolts",
"Vampire Gland",
"Flesh Drops",
"Dragon Flames",
"Harbinger Overcharge",
"Assassin Damage",
"Pyromancer Bursts",
"Conduit Shield",
"Incandescent Spark",
"Greedy Magnet",
"Cyber Punk States",
"Metronome",
"Mix Tape",
"Lodestone Resistance",
"Biotech Probe",
"Proof of Avarice",
"Slag Stompers",
"Spring Steps",
"Berserker Effect",
"Bee Booties",
"Ghastly Carapace",
"Spirit Trapper Wisps",
"Warlock Wisps",
"Dread Speed",
"Spawn Divers",
"Demon Blood Effect",
"Li'l Devil Minion",
"Li'l Cherub Minion",
"Sapling Minion",
"Omega Pet",
"I.F.O. Pet",
"Bio-Feeder Pet",
"Blister Pet",
"Wyvern Pet",
"Inspiring Lantern Pet",
"Lock Box Pet",
"Life Spirit Pet",
"Holy Goat Pet",
"Owl Pet",
"Jellyfish Pet",
"Moogle Pet",
"Maid Pet",
"Pink Slime Pet",
"Glitter Pet",
"Coin Bag Pet"};
string[] thoriumTogConfig = {
"ThoriumAirWalkersConfig",
"ThoriumCrystalScorpionConfig",
"ThoriumYumasPendantConfig",
"ThoriumHeadMirrorConfig",
"ThoriumCelestialAuraConfig",
"ThoriumAscensionStatueConfig",
"ThoriumManaBootsConfig",
"ThoriumBronzeLightningConfig",
"ThoriumIllumiteMissileConfig",
"ThoriumJesterBellConfig",
"ThoriumBeholderEyeConfig",
"ThoriumTerrariumSpiritsConfig",
"ThoriumCrietzConfig",
"ThoriumYewCritsConfig",
"ThoriumCryoDamageConfig",
"ThoriumWhiteDwarfConfig",
"ThoriumTideFoamConfig",
"ThoriumWhisperingTentaclesConfig",
"ThoriumIcyBarrierConfig",
"ThoriumPlagueFlaskConfig",
"ThoriumTideGlobulesConfig",
"ThoriumTideDaggersConfig",
"ThoriumFolvAuraConfig",
"ThoriumFolvBoltsConfig",
"ThoriumVampireGlandConfig",
"ThoriumFleshDropsConfig",
"ThoriumDragonFlamesConfig",
"ThoriumHarbingerOverchargeConfig",
"ThoriumAssassinDamageConfig",
"ThoriumpyromancerBurstsConfig",
"ThoriumConduitShieldConfig",
"ThoriumIncandescentSparkConfig",
"ThoriumGreedyMagnetConfig",
"ThoriumCyberStatesConfig",
"ThoriumMetronomeConfig",
"ThoriumMixTapeConfig",
"ThoriumLodestoneConfig",
"ThoriumBiotechProbeConfig",
"ThoriumProofAvariceConfig",
"ThoriumSlagStompersConfig",
"ThoriumSpringStepsConfig",
"ThoriumBerserkerConfig",
"ThoriumBeeBootiesConfig",
"ThoriumGhastlyCarapaceConfig",
"ThoriumSpiritWispsConfig",
"ThoriumWarlockWispsConfig",
"ThoriumDreadConfig",
"ThoriumDiverConfig",
"ThoriumDemonBloodConfig",
"ThoriumDevilMinionConfig",
"ThoriumCherubMinionConfig",
"ThoriumSaplingMinionConfig",
"ThoriumOmegaPetConfig",
"ThoriumIFOPetConfig",
"ThoriumBioFeederPetConfig",
"ThoriumBlisterPetConfig",
"ThoriumWyvernPetConfig",
"ThoriumLanternPetConfig",
"ThoriumBoxPetConfig",
"ThoriumSpiritPetConfig",
"ThoriumGoatPetConfig",
"ThoriumOwlPetConfig",
"ThoriumJellyfishPetConfig",
"ThoriumMooglePetConfig",
"ThoriumMaidPetConfig",
"ThoriumSlimePetConfig",
"ThoriumGlitterPetConfig",
"ThoriumCoinPetConfig"};
string[] thoriumTogItems = {
"SupersonicSoul",
"ConjuristsSoul",
"ConjuristsSoul",
"GuardianAngelsSoul",
"CelestialEnchant",
"CelestialEnchant",
"MalignantEnchant",
"BronzeEnchant",
"IllumiteEnchant",
"JesterEnchant",
"ValadiumEnchant",
"TerrariumEnchant",
"ThoriumEnchant",
"YewWoodEnchant",
"CryoMagusEnchant",
"WhiteDwarfEnchant",
"TideHunterEnchant",
"WhisperingEnchant",
"IcyEnchant",
"PlagueDoctorEnchant",
"TideTurnerEnchant",
"TideTurnerEnchant",
"FolvEnchant",
"FolvEnchant",
"FleshEnchant",
"FleshEnchant",
"DragonEnchant",
"HarbingerEnchant",
"AssassinEnchant",
"PyromancerEnchant",
"ConduitEnchant",
"DurasteelEnchant",
"DurasteelEnchant",
"CyberPunkEnchant",
"ConductorEnchant",
"NobleEnchant",
"LodestoneEnchant",
"BiotechEnchant",
"GoldEnchant",
"MagmaEnchant",
"MagmaEnchant",
"BerserkerEnchant",
"BeeEnchant",
"SpectreEnchant",
"SpiritTrapperEnchant",
"WarlockEnchant",
"DreadEnchant",
"ThoriumEnchant",
"DemonBloodEnchant",
"WarlockEnchant",
"SacredEnchant",
"LivingWoodEnchant",
"ConduitEnchant",
"ConduitEnchant",
"MeteorEnchant",
"FleshEnchant",
"DragonEnchant",
"GeodeEnchant",
"GeodeEnchant",
"SacredEnchant",
"LifeBinderEnchant",
"CryoMagusEnchant",
"DepthDiverEnchant",
"WhiteKnightEnchant",
"DreamWeaverEnchant",
"IllumiteEnchant",
"PlatinumEnchant",
"GoldEnchant"};
string[] thoriumColor = {
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff",
"ffffff"};
for (int x = 0; x < thoriumTogNames.Length; x++)
{
text = CreateTranslation(thoriumTogConfig[x]);
text.SetDefault("[i:" + Instance.ItemType(thoriumTogItems[x]) + "][c/" + thoriumColor[x] + ": " + thoriumTogNames[x] + "]");
AddTranslation(text);
}
#endregion
#region calamity
string[] calamityTogNames = {
"Victide Sea Urchin",
"Profaned Soul Artifact",
"Slime God Minion",
"Reaver Orb Minion",
"Omega Blue Tentacles",
"Silva Crystal Minion",
"Godly Soul Artifact",
"Mechworm Minion",
"Nebulous Core",
"Red Devil Minion",
"Permafrost's Concoction",
"Daedalus Crystal Minion",
"Polterghast Mines",
"Plague Hive",
"Chaos Spirit Minion",
"Valkyrie Minion",
"Yharim's Gift",
"Fungal Clump Minion",
"Elemental Waifus",
"Shellfish Minions",
"Amidias' Pendant",
"Giant Pearl",
"Poisonous Sea Water",
"Daedalus Effects",
"Reaver Effects",
"Astral Stars",
"Ataxia Effects",
"Xeroc Effects",
"Tarragon Effects",
"Bloodflare Effects",
"God Slayer Effects",