Terraria 1.3.5.3 Source Code
This commit is contained in:
commit
4b21dac4b6
503 changed files with 409032 additions and 0 deletions
751
Initializers/AchievementInitializer.cs
Normal file
751
Initializers/AchievementInitializer.cs
Normal file
|
@ -0,0 +1,751 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.Initializers.AchievementInitializer
|
||||
// Assembly: Terraria, Version=1.3.5.3, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 68659D26-2BE6-448F-8663-74FA559E6F08
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
using Terraria.Achievements;
|
||||
using Terraria.GameContent.Achievements;
|
||||
using Terraria.GameContent.UI.Chat;
|
||||
using Terraria.Localization;
|
||||
|
||||
namespace Terraria.Initializers
|
||||
{
|
||||
public class AchievementInitializer
|
||||
{
|
||||
public static void Load()
|
||||
{
|
||||
if (Main.netMode == 2)
|
||||
return;
|
||||
Achievement achievement1 = new Achievement("TIMBER");
|
||||
achievement1.AddCondition(ItemPickupCondition.Create((short) 9, (short) 619, (short) 2504, (short) 620, (short) 2503, (short) 2260, (short) 621, (short) 911, (short) 1729));
|
||||
Main.Achievements.Register(achievement1);
|
||||
Achievement achievement2 = new Achievement("NO_HOBO");
|
||||
achievement2.AddCondition((AchievementCondition) ProgressionEventCondition.Create(8));
|
||||
Main.Achievements.Register(achievement2);
|
||||
Achievement achievement3 = new Achievement("OBTAIN_HAMMER");
|
||||
achievement3.AddCondition(ItemPickupCondition.Create((short) 2775, (short) 2746, (short) 3505, (short) 654, (short) 3517, (short) 7, (short) 3493, (short) 2780, (short) 1513, (short) 2516, (short) 660, (short) 3481, (short) 657, (short) 922, (short) 3511, (short) 2785, (short) 3499, (short) 3487, (short) 196, (short) 367, (short) 104, (short) 797, (short) 2320, (short) 787, (short) 1234, (short) 1262, (short) 3465, (short) 204, (short) 217, (short) 1507, (short) 3524, (short) 3522, (short) 3525, (short) 3523, (short) 1305));
|
||||
Main.Achievements.Register(achievement3);
|
||||
Achievement achievement4 = new Achievement("OOO_SHINY");
|
||||
achievement4.AddCondition(TileDestroyedCondition.Create((ushort) 7, (ushort) 6, (ushort) 9, (ushort) 8, (ushort) 166, (ushort) 167, (ushort) 168, (ushort) 169, (ushort) 22, (ushort) 204, (ushort) 58, (ushort) 107, (ushort) 108, (ushort) 111, (ushort) 221, (ushort) 222, (ushort) 223, (ushort) 211));
|
||||
Main.Achievements.Register(achievement4);
|
||||
Achievement achievement5 = new Achievement("HEART_BREAKER");
|
||||
achievement5.AddCondition(TileDestroyedCondition.Create((ushort) 12));
|
||||
Main.Achievements.Register(achievement5);
|
||||
Achievement achievement6 = new Achievement("HEAVY_METAL");
|
||||
achievement6.AddCondition(ItemPickupCondition.Create((short) 35, (short) 716));
|
||||
Main.Achievements.Register(achievement6);
|
||||
Achievement achievement7 = new Achievement("I_AM_LOOT");
|
||||
achievement7.AddCondition(CustomFlagCondition.Create("Peek"));
|
||||
Main.Achievements.Register(achievement7);
|
||||
Achievement achievement8 = new Achievement("STAR_POWER");
|
||||
achievement8.AddCondition(CustomFlagCondition.Create("Use"));
|
||||
Main.Achievements.Register(achievement8);
|
||||
Achievement achievement9 = new Achievement("HOLD_ON_TIGHT");
|
||||
achievement9.AddCondition(CustomFlagCondition.Create("Equip"));
|
||||
Main.Achievements.Register(achievement9);
|
||||
Achievement achievement10 = new Achievement("EYE_ON_YOU");
|
||||
achievement10.AddCondition(NPCKilledCondition.Create((short) 4));
|
||||
Main.Achievements.Register(achievement10);
|
||||
Achievement achievement11 = new Achievement("SMASHING_POPPET");
|
||||
achievement11.AddCondition((AchievementCondition) ProgressionEventCondition.Create(7));
|
||||
Main.Achievements.Register(achievement11);
|
||||
Achievement achievement12 = new Achievement("WORM_FODDER");
|
||||
achievement12.AddCondition(NPCKilledCondition.Create((short) 13, (short) 14, (short) 15));
|
||||
Main.Achievements.Register(achievement12);
|
||||
Achievement achievement13 = new Achievement("MASTERMIND");
|
||||
achievement13.AddCondition(NPCKilledCondition.Create((short) 266));
|
||||
Main.Achievements.Register(achievement13);
|
||||
Achievement achievement14 = new Achievement("WHERES_MY_HONEY");
|
||||
achievement14.AddCondition(CustomFlagCondition.Create("Reach"));
|
||||
Main.Achievements.Register(achievement14);
|
||||
Achievement achievement15 = new Achievement("STING_OPERATION");
|
||||
achievement15.AddCondition(NPCKilledCondition.Create((short) 222));
|
||||
Main.Achievements.Register(achievement15);
|
||||
Achievement achievement16 = new Achievement("BONED");
|
||||
achievement16.AddCondition(NPCKilledCondition.Create((short) 35));
|
||||
Main.Achievements.Register(achievement16);
|
||||
Achievement achievement17 = new Achievement("DUNGEON_HEIST");
|
||||
achievement17.AddCondition(ItemPickupCondition.Create((short) 327));
|
||||
achievement17.AddCondition((AchievementCondition) ProgressionEventCondition.Create(19));
|
||||
Main.Achievements.Register(achievement17);
|
||||
Achievement achievement18 = new Achievement("ITS_GETTING_HOT_IN_HERE");
|
||||
achievement18.AddCondition(CustomFlagCondition.Create("Reach"));
|
||||
Main.Achievements.Register(achievement18);
|
||||
Achievement achievement19 = new Achievement("MINER_FOR_FIRE");
|
||||
achievement19.AddCondition(ItemCraftCondition.Create((short) 122));
|
||||
Main.Achievements.Register(achievement19);
|
||||
Achievement achievement20 = new Achievement("STILL_HUNGRY");
|
||||
achievement20.AddCondition(NPCKilledCondition.Create((short) 113, (short) 114));
|
||||
Main.Achievements.Register(achievement20);
|
||||
Achievement achievement21 = new Achievement("ITS_HARD");
|
||||
achievement21.AddCondition((AchievementCondition) ProgressionEventCondition.Create(9));
|
||||
Main.Achievements.Register(achievement21);
|
||||
Achievement achievement22 = new Achievement("BEGONE_EVIL");
|
||||
achievement22.AddCondition((AchievementCondition) ProgressionEventCondition.Create(6));
|
||||
Main.Achievements.Register(achievement22);
|
||||
Achievement achievement23 = new Achievement("EXTRA_SHINY");
|
||||
achievement23.AddCondition(TileDestroyedCondition.Create((ushort) 107, (ushort) 108, (ushort) 111, (ushort) 221, (ushort) 222, (ushort) 223));
|
||||
Main.Achievements.Register(achievement23);
|
||||
Achievement achievement24 = new Achievement("HEAD_IN_THE_CLOUDS");
|
||||
achievement24.AddCondition(CustomFlagCondition.Create("Equip"));
|
||||
Main.Achievements.Register(achievement24);
|
||||
Achievement achievement25 = new Achievement("LIKE_A_BOSS");
|
||||
achievement25.AddCondition(ItemPickupCondition.Create((short) 1133, (short) 1331, (short) 1307, (short) 267, (short) 1293, (short) 557, (short) 544, (short) 556, (short) 560, (short) 43, (short) 70));
|
||||
Main.Achievements.Register(achievement25);
|
||||
Achievement achievement26 = new Achievement("BUCKETS_OF_BOLTS");
|
||||
achievement26.AddCondition(NPCKilledCondition.Create((short) 125, (short) 126));
|
||||
achievement26.AddConditions(NPCKilledCondition.CreateMany((short) sbyte.MaxValue, (short) 134));
|
||||
achievement26.UseConditionsCompletedTracker();
|
||||
Main.Achievements.Register(achievement26);
|
||||
Achievement achievement27 = new Achievement("DRAX_ATTAX");
|
||||
achievement27.AddCondition(ItemCraftCondition.Create((short) 579, (short) 990));
|
||||
Main.Achievements.Register(achievement27);
|
||||
Achievement achievement28 = new Achievement("PHOTOSYNTHESIS");
|
||||
achievement28.AddCondition(TileDestroyedCondition.Create((ushort) 211));
|
||||
Main.Achievements.Register(achievement28);
|
||||
Achievement achievement29 = new Achievement("GET_A_LIFE");
|
||||
achievement29.AddCondition(CustomFlagCondition.Create("Use"));
|
||||
Main.Achievements.Register(achievement29);
|
||||
Achievement achievement30 = new Achievement("THE_GREAT_SOUTHERN_PLANTKILL");
|
||||
achievement30.AddCondition(NPCKilledCondition.Create((short) 262));
|
||||
Main.Achievements.Register(achievement30);
|
||||
Achievement achievement31 = new Achievement("TEMPLE_RAIDER");
|
||||
achievement31.AddCondition(TileDestroyedCondition.Create((ushort) 226));
|
||||
Main.Achievements.Register(achievement31);
|
||||
Achievement achievement32 = new Achievement("LIHZAHRDIAN_IDOL");
|
||||
achievement32.AddCondition(NPCKilledCondition.Create((short) 245));
|
||||
Main.Achievements.Register(achievement32);
|
||||
Achievement achievement33 = new Achievement("ROBBING_THE_GRAVE");
|
||||
achievement33.AddCondition(ItemPickupCondition.Create((short) 1513, (short) 938, (short) 963, (short) 977, (short) 1300, (short) 1254, (short) 1514, (short) 679, (short) 759, (short) 1446, (short) 1445, (short) 1444, (short) 1183, (short) 1266, (short) 671));
|
||||
Main.Achievements.Register(achievement33);
|
||||
Achievement achievement34 = new Achievement("BIG_BOOTY");
|
||||
achievement34.AddCondition((AchievementCondition) ProgressionEventCondition.Create(20));
|
||||
Main.Achievements.Register(achievement34);
|
||||
Achievement achievement35 = new Achievement("FISH_OUT_OF_WATER");
|
||||
achievement35.AddCondition(NPCKilledCondition.Create((short) 370));
|
||||
Main.Achievements.Register(achievement35);
|
||||
Achievement achievement36 = new Achievement("OBSESSIVE_DEVOTION");
|
||||
achievement36.AddCondition(NPCKilledCondition.Create((short) 439));
|
||||
Main.Achievements.Register(achievement36);
|
||||
Achievement achievement37 = new Achievement("STAR_DESTROYER");
|
||||
achievement37.AddConditions(NPCKilledCondition.CreateMany((short) 517, (short) 422, (short) 507, (short) 493));
|
||||
Main.Achievements.Register(achievement37);
|
||||
Achievement achievement38 = new Achievement("CHAMPION_OF_TERRARIA");
|
||||
achievement38.AddCondition(NPCKilledCondition.Create((short) 398));
|
||||
Main.Achievements.Register(achievement38);
|
||||
Achievement achievement39 = new Achievement("BLOODBATH");
|
||||
achievement39.AddCondition((AchievementCondition) ProgressionEventCondition.Create(5));
|
||||
Main.Achievements.Register(achievement39);
|
||||
Achievement achievement40 = new Achievement("SLIPPERY_SHINOBI");
|
||||
achievement40.AddCondition(NPCKilledCondition.Create((short) 50));
|
||||
Main.Achievements.Register(achievement40);
|
||||
Achievement achievement41 = new Achievement("GOBLIN_PUNTER");
|
||||
achievement41.AddCondition((AchievementCondition) ProgressionEventCondition.Create(10));
|
||||
Main.Achievements.Register(achievement41);
|
||||
Achievement achievement42 = new Achievement("WALK_THE_PLANK");
|
||||
achievement42.AddCondition((AchievementCondition) ProgressionEventCondition.Create(11));
|
||||
Main.Achievements.Register(achievement42);
|
||||
Achievement achievement43 = new Achievement("KILL_THE_SUN");
|
||||
achievement43.AddCondition((AchievementCondition) ProgressionEventCondition.Create(3));
|
||||
Main.Achievements.Register(achievement43);
|
||||
Achievement achievement44 = new Achievement("DO_YOU_WANT_TO_SLAY_A_SNOWMAN");
|
||||
achievement44.AddCondition((AchievementCondition) ProgressionEventCondition.Create(12));
|
||||
Main.Achievements.Register(achievement44);
|
||||
Achievement achievement45 = new Achievement("TIN_FOIL_HATTER");
|
||||
achievement45.AddCondition((AchievementCondition) ProgressionEventCondition.Create(13));
|
||||
Main.Achievements.Register(achievement45);
|
||||
Achievement achievement46 = new Achievement("BALEFUL_HARVEST");
|
||||
achievement46.AddCondition((AchievementCondition) ProgressionEventCondition.Create(15));
|
||||
Main.Achievements.Register(achievement46);
|
||||
Achievement achievement47 = new Achievement("ICE_SCREAM");
|
||||
achievement47.AddCondition((AchievementCondition) ProgressionEventCondition.Create(14));
|
||||
Main.Achievements.Register(achievement47);
|
||||
Achievement achievement48 = new Achievement("STICKY_SITUATION");
|
||||
achievement48.AddCondition((AchievementCondition) ProgressionEventCondition.Create(16));
|
||||
Main.Achievements.Register(achievement48);
|
||||
Achievement achievement49 = new Achievement("REAL_ESTATE_AGENT");
|
||||
achievement49.AddCondition((AchievementCondition) ProgressionEventCondition.Create(17));
|
||||
Main.Achievements.Register(achievement49);
|
||||
Achievement achievement50 = new Achievement("NOT_THE_BEES");
|
||||
achievement50.AddCondition(CustomFlagCondition.Create("Use"));
|
||||
Main.Achievements.Register(achievement50);
|
||||
Achievement achievement51 = new Achievement("JEEPERS_CREEPERS");
|
||||
achievement51.AddCondition(CustomFlagCondition.Create("Reach"));
|
||||
Main.Achievements.Register(achievement51);
|
||||
Achievement achievement52 = new Achievement("FUNKYTOWN");
|
||||
achievement52.AddCondition(CustomFlagCondition.Create("Reach"));
|
||||
Main.Achievements.Register(achievement52);
|
||||
Achievement achievement53 = new Achievement("INTO_ORBIT");
|
||||
achievement53.AddCondition(CustomFlagCondition.Create("Reach"));
|
||||
Main.Achievements.Register(achievement53);
|
||||
Achievement achievement54 = new Achievement("ROCK_BOTTOM");
|
||||
achievement54.AddCondition(CustomFlagCondition.Create("Reach"));
|
||||
Main.Achievements.Register(achievement54);
|
||||
Achievement achievement55 = new Achievement("MECHA_MAYHEM");
|
||||
achievement55.AddCondition((AchievementCondition) ProgressionEventCondition.Create(21));
|
||||
Main.Achievements.Register(achievement55);
|
||||
Achievement achievement56 = new Achievement("GELATIN_WORLD_TOUR");
|
||||
achievement56.AddConditions(NPCKilledCondition.CreateMany((short) -5, (short) -6, (short) 1, (short) 81, (short) 71, (short) -3, (short) 147, (short) 138, (short) -10, (short) 50, (short) 59, (short) 16, (short) -7, (short) 244, (short) -8, (short) -1, (short) -2, (short) 184, (short) 204, (short) 225, (short) -9, (short) 141, (short) 183, (short) -4));
|
||||
achievement56.UseConditionsCompletedTracker();
|
||||
Main.Achievements.Register(achievement56);
|
||||
Achievement achievement57 = new Achievement("FASHION_STATEMENT");
|
||||
achievement57.AddCondition(CustomFlagCondition.Create("Equip"));
|
||||
Main.Achievements.Register(achievement57);
|
||||
Achievement achievement58 = new Achievement("VEHICULAR_MANSLAUGHTER");
|
||||
achievement58.AddCondition(CustomFlagCondition.Create("Hit"));
|
||||
Main.Achievements.Register(achievement58);
|
||||
Achievement achievement59 = new Achievement("BULLDOZER");
|
||||
achievement59.AddCondition(CustomIntCondition.Create("Pick", 10000));
|
||||
achievement59.UseTrackerFromCondition("Pick");
|
||||
Main.Achievements.Register(achievement59);
|
||||
Achievement achievement60 = new Achievement("THERE_ARE_SOME_WHO_CALL_HIM");
|
||||
achievement60.AddCondition(NPCKilledCondition.Create((short) 45));
|
||||
Main.Achievements.Register(achievement60);
|
||||
Achievement achievement61 = new Achievement("DECEIVER_OF_FOOLS");
|
||||
achievement61.AddCondition(NPCKilledCondition.Create((short) 196));
|
||||
Main.Achievements.Register(achievement61);
|
||||
Achievement achievement62 = new Achievement("SWORD_OF_THE_HERO");
|
||||
achievement62.AddCondition(ItemPickupCondition.Create((short) 757));
|
||||
Main.Achievements.Register(achievement62);
|
||||
Achievement achievement63 = new Achievement("LUCKY_BREAK");
|
||||
achievement63.AddCondition(CustomFlagCondition.Create("Hit"));
|
||||
Main.Achievements.Register(achievement63);
|
||||
Achievement achievement64 = new Achievement("THROWING_LINES");
|
||||
achievement64.AddCondition(CustomFlagCondition.Create("Use"));
|
||||
Main.Achievements.Register(achievement64);
|
||||
Achievement achievement65 = new Achievement("DYE_HARD");
|
||||
achievement65.AddCondition(CustomFlagCondition.Create("Equip"));
|
||||
Main.Achievements.Register(achievement65);
|
||||
Achievement achievement66 = new Achievement("SICK_THROW");
|
||||
achievement66.AddCondition(ItemPickupCondition.Create((short) 3389));
|
||||
Main.Achievements.Register(achievement66);
|
||||
Achievement achievement67 = new Achievement("FREQUENT_FLYER");
|
||||
achievement67.AddCondition(CustomFloatCondition.Create("Pay", 10000f));
|
||||
achievement67.UseTrackerFromCondition("Pay");
|
||||
Main.Achievements.Register(achievement67);
|
||||
Achievement achievement68 = new Achievement("THE_CAVALRY");
|
||||
achievement68.AddCondition(CustomFlagCondition.Create("Equip"));
|
||||
Main.Achievements.Register(achievement68);
|
||||
Achievement achievement69 = new Achievement("COMPLETELY_AWESOME");
|
||||
achievement69.AddCondition(ItemPickupCondition.Create((short) 98));
|
||||
Main.Achievements.Register(achievement69);
|
||||
Achievement achievement70 = new Achievement("TIL_DEATH");
|
||||
achievement70.AddCondition(NPCKilledCondition.Create((short) 53));
|
||||
Main.Achievements.Register(achievement70);
|
||||
Achievement achievement71 = new Achievement("ARCHAEOLOGIST");
|
||||
achievement71.AddCondition(NPCKilledCondition.Create((short) 52));
|
||||
Main.Achievements.Register(achievement71);
|
||||
Achievement achievement72 = new Achievement("PRETTY_IN_PINK");
|
||||
achievement72.AddCondition(NPCKilledCondition.Create((short) -4));
|
||||
Main.Achievements.Register(achievement72);
|
||||
Achievement achievement73 = new Achievement("RAINBOWS_AND_UNICORNS");
|
||||
achievement73.AddCondition(CustomFlagCondition.Create("Use"));
|
||||
Main.Achievements.Register(achievement73);
|
||||
Achievement achievement74 = new Achievement("YOU_AND_WHAT_ARMY");
|
||||
achievement74.AddCondition(CustomFlagCondition.Create("Spawn"));
|
||||
Main.Achievements.Register(achievement74);
|
||||
Achievement achievement75 = new Achievement("PRISMANCER");
|
||||
achievement75.AddCondition(ItemPickupCondition.Create((short) 495));
|
||||
Main.Achievements.Register(achievement75);
|
||||
Achievement achievement76 = new Achievement("IT_CAN_TALK");
|
||||
achievement76.AddCondition((AchievementCondition) ProgressionEventCondition.Create(18));
|
||||
Main.Achievements.Register(achievement76);
|
||||
Achievement achievement77 = new Achievement("WATCH_YOUR_STEP");
|
||||
achievement77.AddCondition(CustomFlagCondition.Create("Hit"));
|
||||
Main.Achievements.Register(achievement77);
|
||||
Achievement achievement78 = new Achievement("MARATHON_MEDALIST");
|
||||
achievement78.AddCondition(CustomFloatCondition.Create("Move", 1106688f));
|
||||
achievement78.UseTrackerFromCondition("Move");
|
||||
Main.Achievements.Register(achievement78);
|
||||
Achievement achievement79 = new Achievement("GLORIOUS_GOLDEN_POLE");
|
||||
achievement79.AddCondition(ItemPickupCondition.Create((short) 2294));
|
||||
Main.Achievements.Register(achievement79);
|
||||
Achievement achievement80 = new Achievement("SERVANT_IN_TRAINING");
|
||||
achievement80.AddCondition(CustomFlagCondition.Create("Finish"));
|
||||
Main.Achievements.Register(achievement80);
|
||||
Achievement achievement81 = new Achievement("GOOD_LITTLE_SLAVE");
|
||||
achievement81.AddCondition(CustomIntCondition.Create("Finish", 10));
|
||||
achievement81.UseTrackerFromCondition("Finish");
|
||||
Main.Achievements.Register(achievement81);
|
||||
Achievement achievement82 = new Achievement("TROUT_MONKEY");
|
||||
achievement82.AddCondition(CustomIntCondition.Create("Finish", 25));
|
||||
achievement82.UseTrackerFromCondition("Finish");
|
||||
Main.Achievements.Register(achievement82);
|
||||
Achievement achievement83 = new Achievement("FAST_AND_FISHIOUS");
|
||||
achievement83.AddCondition(CustomIntCondition.Create("Finish", 50));
|
||||
achievement83.UseTrackerFromCondition("Finish");
|
||||
Main.Achievements.Register(achievement83);
|
||||
Achievement achievement84 = new Achievement("SUPREME_HELPER_MINION");
|
||||
achievement84.AddCondition(CustomIntCondition.Create("Finish", 200));
|
||||
achievement84.UseTrackerFromCondition("Finish");
|
||||
Main.Achievements.Register(achievement84);
|
||||
Achievement achievement85 = new Achievement("TOPPED_OFF");
|
||||
achievement85.AddCondition(CustomFlagCondition.Create("Use"));
|
||||
Main.Achievements.Register(achievement85);
|
||||
Achievement achievement86 = new Achievement("SLAYER_OF_WORLDS");
|
||||
achievement86.AddCondition(NPCKilledCondition.Create((short) 13, (short) 14, (short) 15));
|
||||
achievement86.AddCondition(NPCKilledCondition.Create((short) 113, (short) 114));
|
||||
achievement86.AddCondition(NPCKilledCondition.Create((short) 125, (short) 126));
|
||||
achievement86.AddConditions(NPCKilledCondition.CreateMany((short) 4, (short) 35, (short) 50, (short) 222, (short) 113, (short) 134, (short) sbyte.MaxValue, (short) 262, (short) 245, (short) 439, (short) 398, (short) 370));
|
||||
achievement86.UseConditionsCompletedTracker();
|
||||
Main.Achievements.Register(achievement86);
|
||||
Achievement achievement87 = new Achievement("YOU_CAN_DO_IT");
|
||||
achievement87.AddCondition((AchievementCondition) ProgressionEventCondition.Create(1));
|
||||
Main.Achievements.Register(achievement87);
|
||||
Achievement achievement88 = new Achievement("MATCHING_ATTIRE");
|
||||
achievement88.AddCondition(CustomFlagCondition.Create("Equip"));
|
||||
Main.Achievements.Register(achievement88);
|
||||
int num1 = 0;
|
||||
AchievementManager achievements1 = Main.Achievements;
|
||||
int iconIndex1 = num1;
|
||||
int num2 = iconIndex1 + 1;
|
||||
achievements1.RegisterIconIndex("TIMBER", iconIndex1);
|
||||
AchievementManager achievements2 = Main.Achievements;
|
||||
int iconIndex2 = num2;
|
||||
int num3 = iconIndex2 + 1;
|
||||
achievements2.RegisterIconIndex("NO_HOBO", iconIndex2);
|
||||
AchievementManager achievements3 = Main.Achievements;
|
||||
int iconIndex3 = num3;
|
||||
int num4 = iconIndex3 + 1;
|
||||
achievements3.RegisterIconIndex("OBTAIN_HAMMER", iconIndex3);
|
||||
AchievementManager achievements4 = Main.Achievements;
|
||||
int iconIndex4 = num4;
|
||||
int num5 = iconIndex4 + 1;
|
||||
achievements4.RegisterIconIndex("HEART_BREAKER", iconIndex4);
|
||||
AchievementManager achievements5 = Main.Achievements;
|
||||
int iconIndex5 = num5;
|
||||
int num6 = iconIndex5 + 1;
|
||||
achievements5.RegisterIconIndex("OOO_SHINY", iconIndex5);
|
||||
AchievementManager achievements6 = Main.Achievements;
|
||||
int iconIndex6 = num6;
|
||||
int num7 = iconIndex6 + 1;
|
||||
achievements6.RegisterIconIndex("HEAVY_METAL", iconIndex6);
|
||||
AchievementManager achievements7 = Main.Achievements;
|
||||
int iconIndex7 = num7;
|
||||
int num8 = iconIndex7 + 1;
|
||||
achievements7.RegisterIconIndex("I_AM_LOOT", iconIndex7);
|
||||
AchievementManager achievements8 = Main.Achievements;
|
||||
int iconIndex8 = num8;
|
||||
int num9 = iconIndex8 + 1;
|
||||
achievements8.RegisterIconIndex("STAR_POWER", iconIndex8);
|
||||
AchievementManager achievements9 = Main.Achievements;
|
||||
int iconIndex9 = num9;
|
||||
int num10 = iconIndex9 + 1;
|
||||
achievements9.RegisterIconIndex("HOLD_ON_TIGHT", iconIndex9);
|
||||
AchievementManager achievements10 = Main.Achievements;
|
||||
int iconIndex10 = num10;
|
||||
int num11 = iconIndex10 + 1;
|
||||
achievements10.RegisterIconIndex("EYE_ON_YOU", iconIndex10);
|
||||
AchievementManager achievements11 = Main.Achievements;
|
||||
int iconIndex11 = num11;
|
||||
int num12 = iconIndex11 + 1;
|
||||
achievements11.RegisterIconIndex("SMASHING_POPPET", iconIndex11);
|
||||
AchievementManager achievements12 = Main.Achievements;
|
||||
int iconIndex12 = num12;
|
||||
int num13 = iconIndex12 + 1;
|
||||
achievements12.RegisterIconIndex("WORM_FODDER", iconIndex12);
|
||||
AchievementManager achievements13 = Main.Achievements;
|
||||
int iconIndex13 = num13;
|
||||
int num14 = iconIndex13 + 1;
|
||||
achievements13.RegisterIconIndex("MASTERMIND", iconIndex13);
|
||||
AchievementManager achievements14 = Main.Achievements;
|
||||
int iconIndex14 = num14;
|
||||
int num15 = iconIndex14 + 1;
|
||||
achievements14.RegisterIconIndex("WHERES_MY_HONEY", iconIndex14);
|
||||
AchievementManager achievements15 = Main.Achievements;
|
||||
int iconIndex15 = num15;
|
||||
int num16 = iconIndex15 + 1;
|
||||
achievements15.RegisterIconIndex("STING_OPERATION", iconIndex15);
|
||||
AchievementManager achievements16 = Main.Achievements;
|
||||
int iconIndex16 = num16;
|
||||
int num17 = iconIndex16 + 1;
|
||||
achievements16.RegisterIconIndex("BONED", iconIndex16);
|
||||
AchievementManager achievements17 = Main.Achievements;
|
||||
int iconIndex17 = num17;
|
||||
int num18 = iconIndex17 + 1;
|
||||
achievements17.RegisterIconIndex("DUNGEON_HEIST", iconIndex17);
|
||||
AchievementManager achievements18 = Main.Achievements;
|
||||
int iconIndex18 = num18;
|
||||
int num19 = iconIndex18 + 1;
|
||||
achievements18.RegisterIconIndex("ITS_GETTING_HOT_IN_HERE", iconIndex18);
|
||||
AchievementManager achievements19 = Main.Achievements;
|
||||
int iconIndex19 = num19;
|
||||
int num20 = iconIndex19 + 1;
|
||||
achievements19.RegisterIconIndex("MINER_FOR_FIRE", iconIndex19);
|
||||
AchievementManager achievements20 = Main.Achievements;
|
||||
int iconIndex20 = num20;
|
||||
int num21 = iconIndex20 + 1;
|
||||
achievements20.RegisterIconIndex("STILL_HUNGRY", iconIndex20);
|
||||
AchievementManager achievements21 = Main.Achievements;
|
||||
int iconIndex21 = num21;
|
||||
int num22 = iconIndex21 + 1;
|
||||
achievements21.RegisterIconIndex("ITS_HARD", iconIndex21);
|
||||
AchievementManager achievements22 = Main.Achievements;
|
||||
int iconIndex22 = num22;
|
||||
int num23 = iconIndex22 + 1;
|
||||
achievements22.RegisterIconIndex("BEGONE_EVIL", iconIndex22);
|
||||
AchievementManager achievements23 = Main.Achievements;
|
||||
int iconIndex23 = num23;
|
||||
int num24 = iconIndex23 + 1;
|
||||
achievements23.RegisterIconIndex("EXTRA_SHINY", iconIndex23);
|
||||
AchievementManager achievements24 = Main.Achievements;
|
||||
int iconIndex24 = num24;
|
||||
int num25 = iconIndex24 + 1;
|
||||
achievements24.RegisterIconIndex("HEAD_IN_THE_CLOUDS", iconIndex24);
|
||||
AchievementManager achievements25 = Main.Achievements;
|
||||
int iconIndex25 = num25;
|
||||
int num26 = iconIndex25 + 1;
|
||||
achievements25.RegisterIconIndex("LIKE_A_BOSS", iconIndex25);
|
||||
AchievementManager achievements26 = Main.Achievements;
|
||||
int iconIndex26 = num26;
|
||||
int num27 = iconIndex26 + 1;
|
||||
achievements26.RegisterIconIndex("BUCKETS_OF_BOLTS", iconIndex26);
|
||||
AchievementManager achievements27 = Main.Achievements;
|
||||
int iconIndex27 = num27;
|
||||
int num28 = iconIndex27 + 1;
|
||||
achievements27.RegisterIconIndex("DRAX_ATTAX", iconIndex27);
|
||||
AchievementManager achievements28 = Main.Achievements;
|
||||
int iconIndex28 = num28;
|
||||
int num29 = iconIndex28 + 1;
|
||||
achievements28.RegisterIconIndex("PHOTOSYNTHESIS", iconIndex28);
|
||||
AchievementManager achievements29 = Main.Achievements;
|
||||
int iconIndex29 = num29;
|
||||
int num30 = iconIndex29 + 1;
|
||||
achievements29.RegisterIconIndex("GET_A_LIFE", iconIndex29);
|
||||
AchievementManager achievements30 = Main.Achievements;
|
||||
int iconIndex30 = num30;
|
||||
int num31 = iconIndex30 + 1;
|
||||
achievements30.RegisterIconIndex("THE_GREAT_SOUTHERN_PLANTKILL", iconIndex30);
|
||||
AchievementManager achievements31 = Main.Achievements;
|
||||
int iconIndex31 = num31;
|
||||
int num32 = iconIndex31 + 1;
|
||||
achievements31.RegisterIconIndex("TEMPLE_RAIDER", iconIndex31);
|
||||
AchievementManager achievements32 = Main.Achievements;
|
||||
int iconIndex32 = num32;
|
||||
int num33 = iconIndex32 + 1;
|
||||
achievements32.RegisterIconIndex("LIHZAHRDIAN_IDOL", iconIndex32);
|
||||
AchievementManager achievements33 = Main.Achievements;
|
||||
int iconIndex33 = num33;
|
||||
int num34 = iconIndex33 + 1;
|
||||
achievements33.RegisterIconIndex("ROBBING_THE_GRAVE", iconIndex33);
|
||||
AchievementManager achievements34 = Main.Achievements;
|
||||
int iconIndex34 = num34;
|
||||
int num35 = iconIndex34 + 1;
|
||||
achievements34.RegisterIconIndex("BIG_BOOTY", iconIndex34);
|
||||
AchievementManager achievements35 = Main.Achievements;
|
||||
int iconIndex35 = num35;
|
||||
int num36 = iconIndex35 + 1;
|
||||
achievements35.RegisterIconIndex("FISH_OUT_OF_WATER", iconIndex35);
|
||||
AchievementManager achievements36 = Main.Achievements;
|
||||
int iconIndex36 = num36;
|
||||
int num37 = iconIndex36 + 1;
|
||||
achievements36.RegisterIconIndex("OBSESSIVE_DEVOTION", iconIndex36);
|
||||
AchievementManager achievements37 = Main.Achievements;
|
||||
int iconIndex37 = num37;
|
||||
int num38 = iconIndex37 + 1;
|
||||
achievements37.RegisterIconIndex("STAR_DESTROYER", iconIndex37);
|
||||
AchievementManager achievements38 = Main.Achievements;
|
||||
int iconIndex38 = num38;
|
||||
int num39 = iconIndex38 + 1;
|
||||
achievements38.RegisterIconIndex("CHAMPION_OF_TERRARIA", iconIndex38);
|
||||
AchievementManager achievements39 = Main.Achievements;
|
||||
int iconIndex39 = num39;
|
||||
int num40 = iconIndex39 + 1;
|
||||
achievements39.RegisterIconIndex("BLOODBATH", iconIndex39);
|
||||
AchievementManager achievements40 = Main.Achievements;
|
||||
int iconIndex40 = num40;
|
||||
int num41 = iconIndex40 + 1;
|
||||
achievements40.RegisterIconIndex("GOBLIN_PUNTER", iconIndex40);
|
||||
AchievementManager achievements41 = Main.Achievements;
|
||||
int iconIndex41 = num41;
|
||||
int num42 = iconIndex41 + 1;
|
||||
achievements41.RegisterIconIndex("KILL_THE_SUN", iconIndex41);
|
||||
AchievementManager achievements42 = Main.Achievements;
|
||||
int iconIndex42 = num42;
|
||||
int num43 = iconIndex42 + 1;
|
||||
achievements42.RegisterIconIndex("WALK_THE_PLANK", iconIndex42);
|
||||
AchievementManager achievements43 = Main.Achievements;
|
||||
int iconIndex43 = num43;
|
||||
int num44 = iconIndex43 + 1;
|
||||
achievements43.RegisterIconIndex("DO_YOU_WANT_TO_SLAY_A_SNOWMAN", iconIndex43);
|
||||
AchievementManager achievements44 = Main.Achievements;
|
||||
int iconIndex44 = num44;
|
||||
int num45 = iconIndex44 + 1;
|
||||
achievements44.RegisterIconIndex("TIN_FOIL_HATTER", iconIndex44);
|
||||
AchievementManager achievements45 = Main.Achievements;
|
||||
int iconIndex45 = num45;
|
||||
int num46 = iconIndex45 + 1;
|
||||
achievements45.RegisterIconIndex("BALEFUL_HARVEST", iconIndex45);
|
||||
AchievementManager achievements46 = Main.Achievements;
|
||||
int iconIndex46 = num46;
|
||||
int num47 = iconIndex46 + 1;
|
||||
achievements46.RegisterIconIndex("ICE_SCREAM", iconIndex46);
|
||||
AchievementManager achievements47 = Main.Achievements;
|
||||
int iconIndex47 = num47;
|
||||
int num48 = iconIndex47 + 1;
|
||||
achievements47.RegisterIconIndex("SLIPPERY_SHINOBI", iconIndex47);
|
||||
AchievementManager achievements48 = Main.Achievements;
|
||||
int iconIndex48 = num48;
|
||||
int num49 = iconIndex48 + 1;
|
||||
achievements48.RegisterIconIndex("STICKY_SITUATION", iconIndex48);
|
||||
AchievementManager achievements49 = Main.Achievements;
|
||||
int iconIndex49 = num49;
|
||||
int num50 = iconIndex49 + 1;
|
||||
achievements49.RegisterIconIndex("REAL_ESTATE_AGENT", iconIndex49);
|
||||
AchievementManager achievements50 = Main.Achievements;
|
||||
int iconIndex50 = num50;
|
||||
int num51 = iconIndex50 + 1;
|
||||
achievements50.RegisterIconIndex("NOT_THE_BEES", iconIndex50);
|
||||
AchievementManager achievements51 = Main.Achievements;
|
||||
int iconIndex51 = num51;
|
||||
int num52 = iconIndex51 + 1;
|
||||
achievements51.RegisterIconIndex("JEEPERS_CREEPERS", iconIndex51);
|
||||
AchievementManager achievements52 = Main.Achievements;
|
||||
int iconIndex52 = num52;
|
||||
int num53 = iconIndex52 + 1;
|
||||
achievements52.RegisterIconIndex("FUNKYTOWN", iconIndex52);
|
||||
AchievementManager achievements53 = Main.Achievements;
|
||||
int iconIndex53 = num53;
|
||||
int num54 = iconIndex53 + 1;
|
||||
achievements53.RegisterIconIndex("INTO_ORBIT", iconIndex53);
|
||||
AchievementManager achievements54 = Main.Achievements;
|
||||
int iconIndex54 = num54;
|
||||
int num55 = iconIndex54 + 1;
|
||||
achievements54.RegisterIconIndex("ROCK_BOTTOM", iconIndex54);
|
||||
AchievementManager achievements55 = Main.Achievements;
|
||||
int iconIndex55 = num55;
|
||||
int num56 = iconIndex55 + 1;
|
||||
achievements55.RegisterIconIndex("MECHA_MAYHEM", iconIndex55);
|
||||
AchievementManager achievements56 = Main.Achievements;
|
||||
int iconIndex56 = num56;
|
||||
int num57 = iconIndex56 + 1;
|
||||
achievements56.RegisterIconIndex("GELATIN_WORLD_TOUR", iconIndex56);
|
||||
AchievementManager achievements57 = Main.Achievements;
|
||||
int iconIndex57 = num57;
|
||||
int num58 = iconIndex57 + 1;
|
||||
achievements57.RegisterIconIndex("FASHION_STATEMENT", iconIndex57);
|
||||
AchievementManager achievements58 = Main.Achievements;
|
||||
int iconIndex58 = num58;
|
||||
int num59 = iconIndex58 + 1;
|
||||
achievements58.RegisterIconIndex("VEHICULAR_MANSLAUGHTER", iconIndex58);
|
||||
AchievementManager achievements59 = Main.Achievements;
|
||||
int iconIndex59 = num59;
|
||||
int num60 = iconIndex59 + 1;
|
||||
achievements59.RegisterIconIndex("BULLDOZER", iconIndex59);
|
||||
AchievementManager achievements60 = Main.Achievements;
|
||||
int iconIndex60 = num60;
|
||||
int num61 = iconIndex60 + 1;
|
||||
achievements60.RegisterIconIndex("THERE_ARE_SOME_WHO_CALL_HIM", iconIndex60);
|
||||
AchievementManager achievements61 = Main.Achievements;
|
||||
int iconIndex61 = num61;
|
||||
int num62 = iconIndex61 + 1;
|
||||
achievements61.RegisterIconIndex("DECEIVER_OF_FOOLS", iconIndex61);
|
||||
AchievementManager achievements62 = Main.Achievements;
|
||||
int iconIndex62 = num62;
|
||||
int num63 = iconIndex62 + 1;
|
||||
achievements62.RegisterIconIndex("SWORD_OF_THE_HERO", iconIndex62);
|
||||
AchievementManager achievements63 = Main.Achievements;
|
||||
int iconIndex63 = num63;
|
||||
int num64 = iconIndex63 + 1;
|
||||
achievements63.RegisterIconIndex("LUCKY_BREAK", iconIndex63);
|
||||
AchievementManager achievements64 = Main.Achievements;
|
||||
int iconIndex64 = num64;
|
||||
int num65 = iconIndex64 + 1;
|
||||
achievements64.RegisterIconIndex("THROWING_LINES", iconIndex64);
|
||||
AchievementManager achievements65 = Main.Achievements;
|
||||
int iconIndex65 = num65;
|
||||
int num66 = iconIndex65 + 1;
|
||||
achievements65.RegisterIconIndex("DYE_HARD", iconIndex65);
|
||||
AchievementManager achievements66 = Main.Achievements;
|
||||
int iconIndex66 = num66;
|
||||
int num67 = iconIndex66 + 1;
|
||||
achievements66.RegisterIconIndex("FREQUENT_FLYER", iconIndex66);
|
||||
AchievementManager achievements67 = Main.Achievements;
|
||||
int iconIndex67 = num67;
|
||||
int num68 = iconIndex67 + 1;
|
||||
achievements67.RegisterIconIndex("THE_CAVALRY", iconIndex67);
|
||||
AchievementManager achievements68 = Main.Achievements;
|
||||
int iconIndex68 = num68;
|
||||
int num69 = iconIndex68 + 1;
|
||||
achievements68.RegisterIconIndex("COMPLETELY_AWESOME", iconIndex68);
|
||||
AchievementManager achievements69 = Main.Achievements;
|
||||
int iconIndex69 = num69;
|
||||
int num70 = iconIndex69 + 1;
|
||||
achievements69.RegisterIconIndex("TIL_DEATH", iconIndex69);
|
||||
AchievementManager achievements70 = Main.Achievements;
|
||||
int iconIndex70 = num70;
|
||||
int num71 = iconIndex70 + 1;
|
||||
achievements70.RegisterIconIndex("ARCHAEOLOGIST", iconIndex70);
|
||||
AchievementManager achievements71 = Main.Achievements;
|
||||
int iconIndex71 = num71;
|
||||
int num72 = iconIndex71 + 1;
|
||||
achievements71.RegisterIconIndex("PRETTY_IN_PINK", iconIndex71);
|
||||
AchievementManager achievements72 = Main.Achievements;
|
||||
int iconIndex72 = num72;
|
||||
int num73 = iconIndex72 + 1;
|
||||
achievements72.RegisterIconIndex("RAINBOWS_AND_UNICORNS", iconIndex72);
|
||||
AchievementManager achievements73 = Main.Achievements;
|
||||
int iconIndex73 = num73;
|
||||
int num74 = iconIndex73 + 1;
|
||||
achievements73.RegisterIconIndex("YOU_AND_WHAT_ARMY", iconIndex73);
|
||||
AchievementManager achievements74 = Main.Achievements;
|
||||
int iconIndex74 = num74;
|
||||
int num75 = iconIndex74 + 1;
|
||||
achievements74.RegisterIconIndex("PRISMANCER", iconIndex74);
|
||||
AchievementManager achievements75 = Main.Achievements;
|
||||
int iconIndex75 = num75;
|
||||
int num76 = iconIndex75 + 1;
|
||||
achievements75.RegisterIconIndex("IT_CAN_TALK", iconIndex75);
|
||||
AchievementManager achievements76 = Main.Achievements;
|
||||
int iconIndex76 = num76;
|
||||
int num77 = iconIndex76 + 1;
|
||||
achievements76.RegisterIconIndex("WATCH_YOUR_STEP", iconIndex76);
|
||||
AchievementManager achievements77 = Main.Achievements;
|
||||
int iconIndex77 = num77;
|
||||
int num78 = iconIndex77 + 1;
|
||||
achievements77.RegisterIconIndex("MARATHON_MEDALIST", iconIndex77);
|
||||
AchievementManager achievements78 = Main.Achievements;
|
||||
int iconIndex78 = num78;
|
||||
int num79 = iconIndex78 + 1;
|
||||
achievements78.RegisterIconIndex("GLORIOUS_GOLDEN_POLE", iconIndex78);
|
||||
AchievementManager achievements79 = Main.Achievements;
|
||||
int iconIndex79 = num79;
|
||||
int num80 = iconIndex79 + 1;
|
||||
achievements79.RegisterIconIndex("SERVANT_IN_TRAINING", iconIndex79);
|
||||
AchievementManager achievements80 = Main.Achievements;
|
||||
int iconIndex80 = num80;
|
||||
int num81 = iconIndex80 + 1;
|
||||
achievements80.RegisterIconIndex("GOOD_LITTLE_SLAVE", iconIndex80);
|
||||
AchievementManager achievements81 = Main.Achievements;
|
||||
int iconIndex81 = num81;
|
||||
int num82 = iconIndex81 + 1;
|
||||
achievements81.RegisterIconIndex("TROUT_MONKEY", iconIndex81);
|
||||
AchievementManager achievements82 = Main.Achievements;
|
||||
int iconIndex82 = num82;
|
||||
int num83 = iconIndex82 + 1;
|
||||
achievements82.RegisterIconIndex("FAST_AND_FISHIOUS", iconIndex82);
|
||||
AchievementManager achievements83 = Main.Achievements;
|
||||
int iconIndex83 = num83;
|
||||
int num84 = iconIndex83 + 1;
|
||||
achievements83.RegisterIconIndex("SUPREME_HELPER_MINION", iconIndex83);
|
||||
AchievementManager achievements84 = Main.Achievements;
|
||||
int iconIndex84 = num84;
|
||||
int num85 = iconIndex84 + 1;
|
||||
achievements84.RegisterIconIndex("TOPPED_OFF", iconIndex84);
|
||||
AchievementManager achievements85 = Main.Achievements;
|
||||
int iconIndex85 = num85;
|
||||
int num86 = iconIndex85 + 1;
|
||||
achievements85.RegisterIconIndex("SLAYER_OF_WORLDS", iconIndex85);
|
||||
AchievementManager achievements86 = Main.Achievements;
|
||||
int iconIndex86 = num86;
|
||||
int num87 = iconIndex86 + 1;
|
||||
achievements86.RegisterIconIndex("YOU_CAN_DO_IT", iconIndex86);
|
||||
AchievementManager achievements87 = Main.Achievements;
|
||||
int iconIndex87 = num87;
|
||||
int num88 = iconIndex87 + 1;
|
||||
achievements87.RegisterIconIndex("SICK_THROW", iconIndex87);
|
||||
AchievementManager achievements88 = Main.Achievements;
|
||||
int iconIndex88 = num88;
|
||||
int num89 = iconIndex88 + 1;
|
||||
achievements88.RegisterIconIndex("MATCHING_ATTIRE", iconIndex88);
|
||||
AchievementCategory category1 = AchievementCategory.Slayer;
|
||||
Main.Achievements.RegisterAchievementCategory("EYE_ON_YOU", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("SLIPPERY_SHINOBI", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("WORM_FODDER", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("MASTERMIND", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("STING_OPERATION", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("BONED", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("STILL_HUNGRY", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("BUCKETS_OF_BOLTS", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("THE_GREAT_SOUTHERN_PLANTKILL", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("LIHZAHRDIAN_IDOL", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("FISH_OUT_OF_WATER", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("OBSESSIVE_DEVOTION", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("STAR_DESTROYER", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("CHAMPION_OF_TERRARIA", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("GOBLIN_PUNTER", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("DO_YOU_WANT_TO_SLAY_A_SNOWMAN", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("WALK_THE_PLANK", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("BALEFUL_HARVEST", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("ICE_SCREAM", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("TIN_FOIL_HATTER", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("TIL_DEATH", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("THERE_ARE_SOME_WHO_CALL_HIM", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("ARCHAEOLOGIST", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("PRETTY_IN_PINK", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("DECEIVER_OF_FOOLS", category1);
|
||||
Main.Achievements.RegisterAchievementCategory("VEHICULAR_MANSLAUGHTER", category1);
|
||||
AchievementCategory category2 = AchievementCategory.Explorer;
|
||||
Main.Achievements.RegisterAchievementCategory("SMASHING_POPPET", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("BEGONE_EVIL", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("ITS_HARD", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("FUNKYTOWN", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("WATCH_YOUR_STEP", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("YOU_CAN_DO_IT", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("BLOODBATH", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("KILL_THE_SUN", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("STICKY_SITUATION", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("NO_HOBO", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("IT_CAN_TALK", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("HEART_BREAKER", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("I_AM_LOOT", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("ROBBING_THE_GRAVE", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("GET_A_LIFE", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("JEEPERS_CREEPERS", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("WHERES_MY_HONEY", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("DUNGEON_HEIST", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("BIG_BOOTY", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("ITS_GETTING_HOT_IN_HERE", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("INTO_ORBIT", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("ROCK_BOTTOM", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("OOO_SHINY", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("EXTRA_SHINY", category2);
|
||||
Main.Achievements.RegisterAchievementCategory("PHOTOSYNTHESIS", category2);
|
||||
AchievementCategory category3 = AchievementCategory.Challenger;
|
||||
Main.Achievements.RegisterAchievementCategory("GELATIN_WORLD_TOUR", category3);
|
||||
Main.Achievements.RegisterAchievementCategory("SLAYER_OF_WORLDS", category3);
|
||||
Main.Achievements.RegisterAchievementCategory("REAL_ESTATE_AGENT", category3);
|
||||
Main.Achievements.RegisterAchievementCategory("YOU_AND_WHAT_ARMY", category3);
|
||||
Main.Achievements.RegisterAchievementCategory("TOPPED_OFF", category3);
|
||||
Main.Achievements.RegisterAchievementCategory("MECHA_MAYHEM", category3);
|
||||
Main.Achievements.RegisterAchievementCategory("BULLDOZER", category3);
|
||||
Main.Achievements.RegisterAchievementCategory("NOT_THE_BEES", category3);
|
||||
Main.Achievements.RegisterAchievementCategory("RAINBOWS_AND_UNICORNS", category3);
|
||||
Main.Achievements.RegisterAchievementCategory("THROWING_LINES", category3);
|
||||
Main.Achievements.RegisterAchievementCategory("FREQUENT_FLYER", category3);
|
||||
Main.Achievements.RegisterAchievementCategory("LUCKY_BREAK", category3);
|
||||
Main.Achievements.RegisterAchievementCategory("MARATHON_MEDALIST", category3);
|
||||
Main.Achievements.RegisterAchievementCategory("SERVANT_IN_TRAINING", category3);
|
||||
Main.Achievements.RegisterAchievementCategory("GOOD_LITTLE_SLAVE", category3);
|
||||
Main.Achievements.RegisterAchievementCategory("TROUT_MONKEY", category3);
|
||||
Main.Achievements.RegisterAchievementCategory("FAST_AND_FISHIOUS", category3);
|
||||
Main.Achievements.RegisterAchievementCategory("SUPREME_HELPER_MINION", category3);
|
||||
AchievementCategory category4 = AchievementCategory.Collector;
|
||||
Main.Achievements.RegisterAchievementCategory("OBTAIN_HAMMER", category4);
|
||||
Main.Achievements.RegisterAchievementCategory("HEAVY_METAL", category4);
|
||||
Main.Achievements.RegisterAchievementCategory("STAR_POWER", category4);
|
||||
Main.Achievements.RegisterAchievementCategory("MINER_FOR_FIRE", category4);
|
||||
Main.Achievements.RegisterAchievementCategory("HEAD_IN_THE_CLOUDS", category4);
|
||||
Main.Achievements.RegisterAchievementCategory("DRAX_ATTAX", category4);
|
||||
Main.Achievements.RegisterAchievementCategory("PRISMANCER", category4);
|
||||
Main.Achievements.RegisterAchievementCategory("SWORD_OF_THE_HERO", category4);
|
||||
Main.Achievements.RegisterAchievementCategory("HOLD_ON_TIGHT", category4);
|
||||
Main.Achievements.RegisterAchievementCategory("THE_CAVALRY", category4);
|
||||
Main.Achievements.RegisterAchievementCategory("DYE_HARD", category4);
|
||||
Main.Achievements.RegisterAchievementCategory("MATCHING_ATTIRE", category4);
|
||||
Main.Achievements.RegisterAchievementCategory("FASHION_STATEMENT", category4);
|
||||
Main.Achievements.RegisterAchievementCategory("COMPLETELY_AWESOME", category4);
|
||||
Main.Achievements.RegisterAchievementCategory("TIMBER", category4);
|
||||
Main.Achievements.RegisterAchievementCategory("SICK_THROW", category4);
|
||||
Main.Achievements.RegisterAchievementCategory("GLORIOUS_GOLDEN_POLE", category4);
|
||||
Main.Achievements.RegisterAchievementCategory("TEMPLE_RAIDER", category4);
|
||||
Main.Achievements.RegisterAchievementCategory("LIKE_A_BOSS", category4);
|
||||
Main.Achievements.Load();
|
||||
Main.Achievements.OnAchievementCompleted += new Achievement.AchievementCompleted(AchievementInitializer.OnAchievementCompleted);
|
||||
AchievementsHelper.Initialize();
|
||||
}
|
||||
|
||||
private static void OnAchievementCompleted(Achievement achievement) => Main.NewText(Language.GetTextValue("Achievements.Completed", (object) AchievementTagHandler.GenerateTag(achievement)));
|
||||
}
|
||||
}
|
25
Initializers/ChatInitializer.cs
Normal file
25
Initializers/ChatInitializer.cs
Normal file
|
@ -0,0 +1,25 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.Initializers.ChatInitializer
|
||||
// Assembly: Terraria, Version=1.3.5.3, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 68659D26-2BE6-448F-8663-74FA559E6F08
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
using Terraria.Chat.Commands;
|
||||
using Terraria.GameContent.UI.Chat;
|
||||
using Terraria.UI.Chat;
|
||||
|
||||
namespace Terraria.Initializers
|
||||
{
|
||||
public static class ChatInitializer
|
||||
{
|
||||
public static void Load()
|
||||
{
|
||||
ChatManager.Register<ColorTagHandler>("c", "color");
|
||||
ChatManager.Register<ItemTagHandler>("i", "item");
|
||||
ChatManager.Register<NameTagHandler>("n", "name");
|
||||
ChatManager.Register<AchievementTagHandler>("a", "achievement");
|
||||
ChatManager.Register<GlyphTagHandler>("g", "glyph");
|
||||
ChatManager.Commands.AddCommand<PartyChatCommand>().AddCommand<RollCommand>().AddCommand<EmoteCommand>().AddCommand<ListPlayersCommand>().AddDefaultCommand<SayChatCommand>();
|
||||
}
|
||||
}
|
||||
}
|
450
Initializers/DyeInitializer.cs
Normal file
450
Initializers/DyeInitializer.cs
Normal file
|
@ -0,0 +1,450 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.Initializers.DyeInitializer
|
||||
// Assembly: Terraria, Version=1.3.5.3, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 68659D26-2BE6-448F-8663-74FA559E6F08
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using System;
|
||||
using Terraria.GameContent.Dyes;
|
||||
using Terraria.Graphics.Shaders;
|
||||
|
||||
namespace Terraria.Initializers
|
||||
{
|
||||
public static class DyeInitializer
|
||||
{
|
||||
private static void LoadBasicColorDye(
|
||||
int baseDyeItem,
|
||||
int blackDyeItem,
|
||||
int brightDyeItem,
|
||||
int silverDyeItem,
|
||||
float r,
|
||||
float g,
|
||||
float b,
|
||||
float saturation = 1f,
|
||||
int oldShader = 1)
|
||||
{
|
||||
Ref<Effect> pixelShaderRef = Main.PixelShaderRef;
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(baseDyeItem, new ArmorShaderData(pixelShaderRef, "ArmorColored")).UseColor(r, g, b).UseSaturation(saturation);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(blackDyeItem, new ArmorShaderData(pixelShaderRef, "ArmorColoredAndBlack")).UseColor(r, g, b).UseSaturation(saturation);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(brightDyeItem, new ArmorShaderData(pixelShaderRef, "ArmorColored")).UseColor((float) ((double) r * 0.5 + 0.5), (float) ((double) g * 0.5 + 0.5), (float) ((double) b * 0.5 + 0.5)).UseSaturation(saturation);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(silverDyeItem, new ArmorShaderData(pixelShaderRef, "ArmorColoredAndSilverTrim")).UseColor(r, g, b).UseSaturation(saturation);
|
||||
}
|
||||
|
||||
private static void LoadBasicColorDye(
|
||||
int baseDyeItem,
|
||||
float r,
|
||||
float g,
|
||||
float b,
|
||||
float saturation = 1f,
|
||||
int oldShader = 1)
|
||||
{
|
||||
DyeInitializer.LoadBasicColorDye(baseDyeItem, baseDyeItem + 12, baseDyeItem + 31, baseDyeItem + 44, r, g, b, saturation, oldShader);
|
||||
}
|
||||
|
||||
private static void LoadBasicColorDyes()
|
||||
{
|
||||
DyeInitializer.LoadBasicColorDye(1007, 1f, 0.0f, 0.0f, 1.2f);
|
||||
DyeInitializer.LoadBasicColorDye(1008, 1f, 0.5f, 0.0f, 1.2f, 2);
|
||||
DyeInitializer.LoadBasicColorDye(1009, 1f, 1f, 0.0f, 1.2f, 3);
|
||||
DyeInitializer.LoadBasicColorDye(1010, 0.5f, 1f, 0.0f, 1.2f, 4);
|
||||
DyeInitializer.LoadBasicColorDye(1011, 0.0f, 1f, 0.0f, 1.2f, 5);
|
||||
DyeInitializer.LoadBasicColorDye(1012, 0.0f, 1f, 0.5f, 1.2f, 6);
|
||||
DyeInitializer.LoadBasicColorDye(1013, 0.0f, 1f, 1f, 1.2f, 7);
|
||||
DyeInitializer.LoadBasicColorDye(1014, 0.2f, 0.5f, 1f, 1.2f, 8);
|
||||
DyeInitializer.LoadBasicColorDye(1015, 0.0f, 0.0f, 1f, 1.2f, 9);
|
||||
DyeInitializer.LoadBasicColorDye(1016, 0.5f, 0.0f, 1f, 1.2f, 10);
|
||||
DyeInitializer.LoadBasicColorDye(1017, 1f, 0.0f, 1f, 1.2f, 11);
|
||||
DyeInitializer.LoadBasicColorDye(1018, 1f, 0.1f, 0.5f, 1.3f, 12);
|
||||
DyeInitializer.LoadBasicColorDye(2874, 2875, 2876, 2877, 0.4f, 0.2f, 0.0f);
|
||||
}
|
||||
|
||||
private static void LoadArmorDyes()
|
||||
{
|
||||
Ref<Effect> pixelShaderRef = Main.PixelShaderRef;
|
||||
DyeInitializer.LoadBasicColorDyes();
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(1050, new ArmorShaderData(pixelShaderRef, "ArmorBrightnessColored")).UseColor(0.6f, 0.6f, 0.6f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(1037, new ArmorShaderData(pixelShaderRef, "ArmorBrightnessColored")).UseColor(1f, 1f, 1f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3558, new ArmorShaderData(pixelShaderRef, "ArmorBrightnessColored")).UseColor(1.5f, 1.5f, 1.5f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(2871, new ArmorShaderData(pixelShaderRef, "ArmorBrightnessColored")).UseColor(0.05f, 0.05f, 0.05f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3559, new ArmorShaderData(pixelShaderRef, "ArmorColoredAndBlack")).UseColor(1f, 1f, 1f).UseSaturation(1.2f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(1031, new ArmorShaderData(pixelShaderRef, "ArmorColoredGradient")).UseColor(1f, 0.0f, 0.0f).UseSecondaryColor(1f, 1f, 0.0f).UseSaturation(1.2f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(1032, new ArmorShaderData(pixelShaderRef, "ArmorColoredAndBlackGradient")).UseColor(1f, 0.0f, 0.0f).UseSecondaryColor(1f, 1f, 0.0f).UseSaturation(1.5f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3550, new ArmorShaderData(pixelShaderRef, "ArmorColoredAndSilverTrimGradient")).UseColor(1f, 0.0f, 0.0f).UseSecondaryColor(1f, 1f, 0.0f).UseSaturation(1.5f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(1063, new ArmorShaderData(pixelShaderRef, "ArmorBrightnessGradient")).UseColor(1f, 0.0f, 0.0f).UseSecondaryColor(1f, 1f, 0.0f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(1035, new ArmorShaderData(pixelShaderRef, "ArmorColoredGradient")).UseColor(0.0f, 0.0f, 1f).UseSecondaryColor(0.0f, 1f, 1f).UseSaturation(1.2f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(1036, new ArmorShaderData(pixelShaderRef, "ArmorColoredAndBlackGradient")).UseColor(0.0f, 0.0f, 1f).UseSecondaryColor(0.0f, 1f, 1f).UseSaturation(1.5f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3552, new ArmorShaderData(pixelShaderRef, "ArmorColoredAndSilverTrimGradient")).UseColor(0.0f, 0.0f, 1f).UseSecondaryColor(0.0f, 1f, 1f).UseSaturation(1.5f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(1065, new ArmorShaderData(pixelShaderRef, "ArmorBrightnessGradient")).UseColor(0.0f, 0.0f, 1f).UseSecondaryColor(0.0f, 1f, 1f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(1033, new ArmorShaderData(pixelShaderRef, "ArmorColoredGradient")).UseColor(0.0f, 1f, 0.0f).UseSecondaryColor(1f, 1f, 0.0f).UseSaturation(1.2f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(1034, new ArmorShaderData(pixelShaderRef, "ArmorColoredAndBlackGradient")).UseColor(0.0f, 1f, 0.0f).UseSecondaryColor(1f, 1f, 0.0f).UseSaturation(1.5f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3551, new ArmorShaderData(pixelShaderRef, "ArmorColoredAndSilverTrimGradient")).UseColor(0.0f, 1f, 0.0f).UseSecondaryColor(1f, 1f, 0.0f).UseSaturation(1.5f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(1064, new ArmorShaderData(pixelShaderRef, "ArmorBrightnessGradient")).UseColor(0.0f, 1f, 0.0f).UseSecondaryColor(1f, 1f, 0.0f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(1068, new ArmorShaderData(pixelShaderRef, "ArmorColoredGradient")).UseColor(0.5f, 1f, 0.0f).UseSecondaryColor(1f, 0.5f, 0.0f).UseSaturation(1.5f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(1069, new ArmorShaderData(pixelShaderRef, "ArmorColoredGradient")).UseColor(0.0f, 1f, 0.5f).UseSecondaryColor(0.0f, 0.5f, 1f).UseSaturation(1.5f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(1070, new ArmorShaderData(pixelShaderRef, "ArmorColoredGradient")).UseColor(1f, 0.0f, 0.5f).UseSecondaryColor(0.5f, 0.0f, 1f).UseSaturation(1.5f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(1066, new ArmorShaderData(pixelShaderRef, "ArmorColoredRainbow"));
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(1067, new ArmorShaderData(pixelShaderRef, "ArmorBrightnessRainbow"));
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3556, new ArmorShaderData(pixelShaderRef, "ArmorMidnightRainbow"));
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(2869, new ArmorShaderData(pixelShaderRef, "ArmorLivingFlame")).UseColor(1f, 0.9f, 0.0f).UseSecondaryColor(1f, 0.2f, 0.0f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(2870, new ArmorShaderData(pixelShaderRef, "ArmorLivingRainbow"));
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(2873, new ArmorShaderData(pixelShaderRef, "ArmorLivingOcean"));
|
||||
GameShaders.Armor.BindShader<ReflectiveArmorShaderData>(3026, new ReflectiveArmorShaderData(pixelShaderRef, "ArmorReflectiveColor")).UseColor(1f, 1f, 1f);
|
||||
GameShaders.Armor.BindShader<ReflectiveArmorShaderData>(3027, new ReflectiveArmorShaderData(pixelShaderRef, "ArmorReflectiveColor")).UseColor(1.5f, 1.2f, 0.5f);
|
||||
GameShaders.Armor.BindShader<ReflectiveArmorShaderData>(3553, new ReflectiveArmorShaderData(pixelShaderRef, "ArmorReflectiveColor")).UseColor(1.35f, 0.7f, 0.4f);
|
||||
GameShaders.Armor.BindShader<ReflectiveArmorShaderData>(3554, new ReflectiveArmorShaderData(pixelShaderRef, "ArmorReflectiveColor")).UseColor(0.25f, 0.0f, 0.7f);
|
||||
GameShaders.Armor.BindShader<ReflectiveArmorShaderData>(3555, new ReflectiveArmorShaderData(pixelShaderRef, "ArmorReflectiveColor")).UseColor(0.4f, 0.4f, 0.4f);
|
||||
GameShaders.Armor.BindShader<ReflectiveArmorShaderData>(3190, new ReflectiveArmorShaderData(pixelShaderRef, "ArmorReflective"));
|
||||
GameShaders.Armor.BindShader<TeamArmorShaderData>(1969, new TeamArmorShaderData(pixelShaderRef, "ArmorColored"));
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(2864, new ArmorShaderData(pixelShaderRef, "ArmorMartian")).UseColor(0.0f, 2f, 3f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(2872, new ArmorShaderData(pixelShaderRef, "ArmorInvert"));
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(2878, new ArmorShaderData(pixelShaderRef, "ArmorWisp")).UseColor(0.7f, 1f, 0.9f).UseSecondaryColor(0.35f, 0.85f, 0.8f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(2879, new ArmorShaderData(pixelShaderRef, "ArmorWisp")).UseColor(1f, 1.2f, 0.0f).UseSecondaryColor(1f, 0.6f, 0.3f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(2885, new ArmorShaderData(pixelShaderRef, "ArmorWisp")).UseColor(1.2f, 0.8f, 0.0f).UseSecondaryColor(0.8f, 0.2f, 0.0f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(2884, new ArmorShaderData(pixelShaderRef, "ArmorWisp")).UseColor(1f, 0.0f, 1f).UseSecondaryColor(1f, 0.3f, 0.6f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(2883, new ArmorShaderData(pixelShaderRef, "ArmorHighContrastGlow")).UseColor(0.0f, 1f, 0.0f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3025, new ArmorShaderData(pixelShaderRef, "ArmorFlow")).UseColor(1f, 0.5f, 1f).UseSecondaryColor(0.6f, 0.1f, 1f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3039, new ArmorShaderData(pixelShaderRef, "ArmorTwilight")).UseImage("Images/Misc/noise").UseColor(0.5f, 0.1f, 1f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3040, new ArmorShaderData(pixelShaderRef, "ArmorAcid")).UseColor(0.5f, 1f, 0.3f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3041, new ArmorShaderData(pixelShaderRef, "ArmorMushroom")).UseColor(0.05f, 0.2f, 1f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3042, new ArmorShaderData(pixelShaderRef, "ArmorPhase")).UseImage("Images/Misc/noise").UseColor(0.4f, 0.2f, 1.5f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3560, new ArmorShaderData(pixelShaderRef, "ArmorAcid")).UseColor(0.9f, 0.2f, 0.2f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3561, new ArmorShaderData(pixelShaderRef, "ArmorGel")).UseImage("Images/Misc/noise").UseColor(0.4f, 0.7f, 1.4f).UseSecondaryColor(0.0f, 0.0f, 0.1f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3562, new ArmorShaderData(pixelShaderRef, "ArmorGel")).UseImage("Images/Misc/noise").UseColor(1.4f, 0.75f, 1f).UseSecondaryColor(0.45f, 0.1f, 0.3f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3024, new ArmorShaderData(pixelShaderRef, "ArmorGel")).UseImage("Images/Misc/noise").UseColor(-0.5f, -1f, 0.0f).UseSecondaryColor(1.5f, 1f, 2.2f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3534, new ArmorShaderData(pixelShaderRef, "ArmorMirage"));
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3028, new ArmorShaderData(pixelShaderRef, "ArmorAcid")).UseColor(0.5f, 0.7f, 1.5f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3557, new ArmorShaderData(pixelShaderRef, "ArmorPolarized"));
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3038, new ArmorShaderData(pixelShaderRef, "ArmorHades")).UseColor(0.5f, 0.7f, 1.3f).UseSecondaryColor(0.5f, 0.7f, 1.3f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3600, new ArmorShaderData(pixelShaderRef, "ArmorHades")).UseColor(0.7f, 0.4f, 1.5f).UseSecondaryColor(0.7f, 0.4f, 1.5f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3597, new ArmorShaderData(pixelShaderRef, "ArmorHades")).UseColor(1.5f, 0.6f, 0.4f).UseSecondaryColor(1.5f, 0.6f, 0.4f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3598, new ArmorShaderData(pixelShaderRef, "ArmorHades")).UseColor(0.1f, 0.1f, 0.1f).UseSecondaryColor(0.4f, 0.05f, 0.025f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3599, new ArmorShaderData(pixelShaderRef, "ArmorLoki")).UseColor(0.1f, 0.1f, 0.1f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3533, new ArmorShaderData(pixelShaderRef, "ArmorShiftingSands")).UseImage("Images/Misc/noise").UseColor(1.1f, 1f, 0.5f).UseSecondaryColor(0.7f, 0.5f, 0.3f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3535, new ArmorShaderData(pixelShaderRef, "ArmorShiftingPearlsands")).UseImage("Images/Misc/noise").UseColor(1.1f, 0.8f, 0.9f).UseSecondaryColor(0.35f, 0.25f, 0.44f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3526, new ArmorShaderData(pixelShaderRef, "ArmorSolar")).UseColor(1f, 0.0f, 0.0f).UseSecondaryColor(1f, 1f, 0.0f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3527, new ArmorShaderData(pixelShaderRef, "ArmorNebula")).UseImage("Images/Misc/noise").UseColor(1f, 0.0f, 1f).UseSecondaryColor(1f, 1f, 1f).UseSaturation(1f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3528, new ArmorShaderData(pixelShaderRef, "ArmorVortex")).UseImage("Images/Misc/noise").UseColor(0.1f, 0.5f, 0.35f).UseSecondaryColor(1f, 1f, 1f).UseSaturation(1f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3529, new ArmorShaderData(pixelShaderRef, "ArmorStardust")).UseImage("Images/Misc/noise").UseColor(0.4f, 0.6f, 1f).UseSecondaryColor(1f, 1f, 1f).UseSaturation(1f);
|
||||
GameShaders.Armor.BindShader<ArmorShaderData>(3530, new ArmorShaderData(pixelShaderRef, "ArmorVoid"));
|
||||
DyeInitializer.FixRecipes();
|
||||
}
|
||||
|
||||
private static void LoadHairDyes()
|
||||
{
|
||||
Ref<Effect> pixelShaderRef = Main.PixelShaderRef;
|
||||
DyeInitializer.LoadLegacyHairdyes();
|
||||
GameShaders.Hair.BindShader<HairShaderData>(3259, new HairShaderData(pixelShaderRef, "ArmorTwilight")).UseImage("Images/Misc/noise").UseColor(0.5f, 0.1f, 1f);
|
||||
}
|
||||
|
||||
private static void LoadLegacyHairdyes()
|
||||
{
|
||||
Ref<Effect> pixelShaderRef = Main.PixelShaderRef;
|
||||
GameShaders.Hair.BindShader<LegacyHairShaderData>(1977, new LegacyHairShaderData().UseLegacyMethod((LegacyHairShaderData.ColorProcessingMethod) ((Player player, Color newColor, ref bool lighting) =>
|
||||
{
|
||||
newColor.R = (byte) ((double) player.statLife / (double) player.statLifeMax2 * 235.0 + 20.0);
|
||||
newColor.B = (byte) 20;
|
||||
newColor.G = (byte) 20;
|
||||
return newColor;
|
||||
})));
|
||||
GameShaders.Hair.BindShader<LegacyHairShaderData>(1978, new LegacyHairShaderData().UseLegacyMethod((LegacyHairShaderData.ColorProcessingMethod) ((Player player, Color newColor, ref bool lighting) =>
|
||||
{
|
||||
newColor.R = (byte) ((1.0 - (double) player.statMana / (double) player.statManaMax2) * 200.0 + 50.0);
|
||||
newColor.B = byte.MaxValue;
|
||||
newColor.G = (byte) ((1.0 - (double) player.statMana / (double) player.statManaMax2) * 180.0 + 75.0);
|
||||
return newColor;
|
||||
})));
|
||||
GameShaders.Hair.BindShader<LegacyHairShaderData>(1979, new LegacyHairShaderData().UseLegacyMethod((LegacyHairShaderData.ColorProcessingMethod) ((Player player, Color newColor, ref bool lighting) =>
|
||||
{
|
||||
float num1 = (float) (Main.worldSurface * 0.45) * 16f;
|
||||
float num2 = (float) (Main.worldSurface + Main.rockLayer) * 8f;
|
||||
float num3 = ((float) Main.rockLayer + (float) Main.maxTilesY) * 8f;
|
||||
float num4 = (float) (Main.maxTilesY - 150) * 16f;
|
||||
Vector2 center = player.Center;
|
||||
if ((double) center.Y < (double) num1)
|
||||
{
|
||||
float num5 = center.Y / num1;
|
||||
float num6 = 1f - num5;
|
||||
newColor.R = (byte) (116.0 * (double) num6 + 28.0 * (double) num5);
|
||||
newColor.G = (byte) (160.0 * (double) num6 + 216.0 * (double) num5);
|
||||
newColor.B = (byte) (249.0 * (double) num6 + 94.0 * (double) num5);
|
||||
}
|
||||
else if ((double) center.Y < (double) num2)
|
||||
{
|
||||
float num7 = num1;
|
||||
float num8 = (float) (((double) center.Y - (double) num7) / ((double) num2 - (double) num7));
|
||||
float num9 = 1f - num8;
|
||||
newColor.R = (byte) (28.0 * (double) num9 + 151.0 * (double) num8);
|
||||
newColor.G = (byte) (216.0 * (double) num9 + 107.0 * (double) num8);
|
||||
newColor.B = (byte) (94.0 * (double) num9 + 75.0 * (double) num8);
|
||||
}
|
||||
else if ((double) center.Y < (double) num3)
|
||||
{
|
||||
float num10 = num2;
|
||||
float num11 = (float) (((double) center.Y - (double) num10) / ((double) num3 - (double) num10));
|
||||
float num12 = 1f - num11;
|
||||
newColor.R = (byte) (151.0 * (double) num12 + 128.0 * (double) num11);
|
||||
newColor.G = (byte) (107.0 * (double) num12 + 128.0 * (double) num11);
|
||||
newColor.B = (byte) (75.0 * (double) num12 + 128.0 * (double) num11);
|
||||
}
|
||||
else if ((double) center.Y < (double) num4)
|
||||
{
|
||||
float num13 = num3;
|
||||
float num14 = (float) (((double) center.Y - (double) num13) / ((double) num4 - (double) num13));
|
||||
float num15 = 1f - num14;
|
||||
newColor.R = (byte) (128.0 * (double) num15 + (double) byte.MaxValue * (double) num14);
|
||||
newColor.G = (byte) (128.0 * (double) num15 + 50.0 * (double) num14);
|
||||
newColor.B = (byte) (128.0 * (double) num15 + 15.0 * (double) num14);
|
||||
}
|
||||
else
|
||||
{
|
||||
newColor.R = byte.MaxValue;
|
||||
newColor.G = (byte) 50;
|
||||
newColor.B = (byte) 10;
|
||||
}
|
||||
return newColor;
|
||||
})));
|
||||
GameShaders.Hair.BindShader<LegacyHairShaderData>(1980, new LegacyHairShaderData().UseLegacyMethod((LegacyHairShaderData.ColorProcessingMethod) ((Player player, Color newColor, ref bool lighting) =>
|
||||
{
|
||||
int num16 = 0;
|
||||
for (int index = 0; index < 54; ++index)
|
||||
{
|
||||
if (player.inventory[index].type == 71)
|
||||
num16 += player.inventory[index].stack;
|
||||
if (player.inventory[index].type == 72)
|
||||
num16 += player.inventory[index].stack * 100;
|
||||
if (player.inventory[index].type == 73)
|
||||
num16 += player.inventory[index].stack * 10000;
|
||||
if (player.inventory[index].type == 74)
|
||||
num16 += player.inventory[index].stack * 1000000;
|
||||
}
|
||||
float num17 = (float) Item.buyPrice(gold: 5);
|
||||
float num18 = (float) Item.buyPrice(gold: 50);
|
||||
float num19 = (float) Item.buyPrice(2);
|
||||
Color color1 = new Color(226, 118, 76);
|
||||
Color color2 = new Color(174, 194, 196);
|
||||
Color color3 = new Color(204, 181, 72);
|
||||
Color color4 = new Color(161, 172, 173);
|
||||
if ((double) num16 < (double) num17)
|
||||
{
|
||||
float num20 = (float) num16 / num17;
|
||||
float num21 = 1f - num20;
|
||||
newColor.R = (byte) ((double) color1.R * (double) num21 + (double) color2.R * (double) num20);
|
||||
newColor.G = (byte) ((double) color1.G * (double) num21 + (double) color2.G * (double) num20);
|
||||
newColor.B = (byte) ((double) color1.B * (double) num21 + (double) color2.B * (double) num20);
|
||||
}
|
||||
else if ((double) num16 < (double) num18)
|
||||
{
|
||||
float num22 = num17;
|
||||
float num23 = (float) (((double) num16 - (double) num22) / ((double) num18 - (double) num22));
|
||||
float num24 = 1f - num23;
|
||||
newColor.R = (byte) ((double) color2.R * (double) num24 + (double) color3.R * (double) num23);
|
||||
newColor.G = (byte) ((double) color2.G * (double) num24 + (double) color3.G * (double) num23);
|
||||
newColor.B = (byte) ((double) color2.B * (double) num24 + (double) color3.B * (double) num23);
|
||||
}
|
||||
else if ((double) num16 < (double) num19)
|
||||
{
|
||||
float num25 = num18;
|
||||
float num26 = (float) (((double) num16 - (double) num25) / ((double) num19 - (double) num25));
|
||||
float num27 = 1f - num26;
|
||||
newColor.R = (byte) ((double) color3.R * (double) num27 + (double) color4.R * (double) num26);
|
||||
newColor.G = (byte) ((double) color3.G * (double) num27 + (double) color4.G * (double) num26);
|
||||
newColor.B = (byte) ((double) color3.B * (double) num27 + (double) color4.B * (double) num26);
|
||||
}
|
||||
else
|
||||
newColor = color4;
|
||||
return newColor;
|
||||
})));
|
||||
GameShaders.Hair.BindShader<LegacyHairShaderData>(1981, new LegacyHairShaderData().UseLegacyMethod((LegacyHairShaderData.ColorProcessingMethod) ((Player player, Color newColor, ref bool lighting) =>
|
||||
{
|
||||
Color color5 = new Color(1, 142, (int) byte.MaxValue);
|
||||
Color color6 = new Color((int) byte.MaxValue, (int) byte.MaxValue, 0);
|
||||
Color color7 = new Color(211, 45, (int) sbyte.MaxValue);
|
||||
Color color8 = new Color(67, 44, 118);
|
||||
if (Main.dayTime)
|
||||
{
|
||||
if (Main.time < 27000.0)
|
||||
{
|
||||
float num28 = (float) (Main.time / 27000.0);
|
||||
float num29 = 1f - num28;
|
||||
newColor.R = (byte) ((double) color5.R * (double) num29 + (double) color6.R * (double) num28);
|
||||
newColor.G = (byte) ((double) color5.G * (double) num29 + (double) color6.G * (double) num28);
|
||||
newColor.B = (byte) ((double) color5.B * (double) num29 + (double) color6.B * (double) num28);
|
||||
}
|
||||
else
|
||||
{
|
||||
float num30 = 27000f;
|
||||
float num31 = (float) ((Main.time - (double) num30) / (54000.0 - (double) num30));
|
||||
float num32 = 1f - num31;
|
||||
newColor.R = (byte) ((double) color6.R * (double) num32 + (double) color7.R * (double) num31);
|
||||
newColor.G = (byte) ((double) color6.G * (double) num32 + (double) color7.G * (double) num31);
|
||||
newColor.B = (byte) ((double) color6.B * (double) num32 + (double) color7.B * (double) num31);
|
||||
}
|
||||
}
|
||||
else if (Main.time < 16200.0)
|
||||
{
|
||||
float num33 = (float) (Main.time / 16200.0);
|
||||
float num34 = 1f - num33;
|
||||
newColor.R = (byte) ((double) color7.R * (double) num34 + (double) color8.R * (double) num33);
|
||||
newColor.G = (byte) ((double) color7.G * (double) num34 + (double) color8.G * (double) num33);
|
||||
newColor.B = (byte) ((double) color7.B * (double) num34 + (double) color8.B * (double) num33);
|
||||
}
|
||||
else
|
||||
{
|
||||
float num35 = 16200f;
|
||||
float num36 = (float) ((Main.time - (double) num35) / (32400.0 - (double) num35));
|
||||
float num37 = 1f - num36;
|
||||
newColor.R = (byte) ((double) color8.R * (double) num37 + (double) color5.R * (double) num36);
|
||||
newColor.G = (byte) ((double) color8.G * (double) num37 + (double) color5.G * (double) num36);
|
||||
newColor.B = (byte) ((double) color8.B * (double) num37 + (double) color5.B * (double) num36);
|
||||
}
|
||||
return newColor;
|
||||
})));
|
||||
GameShaders.Hair.BindShader<LegacyHairShaderData>(1982, new LegacyHairShaderData().UseLegacyMethod((LegacyHairShaderData.ColorProcessingMethod) ((Player player, Color newColor, ref bool lighting) =>
|
||||
{
|
||||
if (player.team >= 0 && player.team < Main.teamColor.Length)
|
||||
newColor = Main.teamColor[player.team];
|
||||
return newColor;
|
||||
})));
|
||||
GameShaders.Hair.BindShader<LegacyHairShaderData>(1983, new LegacyHairShaderData().UseLegacyMethod((LegacyHairShaderData.ColorProcessingMethod) ((Player player, Color newColor, ref bool lighting) =>
|
||||
{
|
||||
Color color9 = new Color();
|
||||
switch (Main.waterStyle)
|
||||
{
|
||||
case 2:
|
||||
color9 = new Color(124, 118, 242);
|
||||
break;
|
||||
case 3:
|
||||
color9 = new Color(143, 215, 29);
|
||||
break;
|
||||
case 4:
|
||||
color9 = new Color(78, 193, 227);
|
||||
break;
|
||||
case 5:
|
||||
color9 = new Color(189, 231, (int) byte.MaxValue);
|
||||
break;
|
||||
case 6:
|
||||
color9 = new Color(230, 219, 100);
|
||||
break;
|
||||
case 7:
|
||||
color9 = new Color(151, 107, 75);
|
||||
break;
|
||||
case 8:
|
||||
color9 = new Color(128, 128, 128);
|
||||
break;
|
||||
case 9:
|
||||
color9 = new Color(200, 0, 0);
|
||||
break;
|
||||
case 10:
|
||||
color9 = new Color(208, 80, 80);
|
||||
break;
|
||||
default:
|
||||
color9 = new Color(28, 216, 94);
|
||||
break;
|
||||
}
|
||||
Color color10 = player.hairDyeColor;
|
||||
if (color10.A == (byte) 0)
|
||||
color10 = color9;
|
||||
if ((int) color10.R > (int) color9.R)
|
||||
--color10.R;
|
||||
if ((int) color10.R < (int) color9.R)
|
||||
++color10.R;
|
||||
if ((int) color10.G > (int) color9.G)
|
||||
--color10.G;
|
||||
if ((int) color10.G < (int) color9.G)
|
||||
++color10.G;
|
||||
if ((int) color10.B > (int) color9.B)
|
||||
--color10.B;
|
||||
if ((int) color10.B < (int) color9.B)
|
||||
++color10.B;
|
||||
newColor = color10;
|
||||
return newColor;
|
||||
})));
|
||||
GameShaders.Hair.BindShader<LegacyHairShaderData>(1984, new LegacyHairShaderData().UseLegacyMethod((LegacyHairShaderData.ColorProcessingMethod) ((Player player, Color newColor, ref bool lighting) =>
|
||||
{
|
||||
newColor = new Color(244, 22, 175);
|
||||
if (!Main.gameMenu && !Main.gamePaused)
|
||||
{
|
||||
if (Main.rand.Next(45) == 0)
|
||||
{
|
||||
int Type = Main.rand.Next(139, 143);
|
||||
int index = Dust.NewDust(player.position, player.width, 8, Type, Scale: 1.2f);
|
||||
Main.dust[index].velocity.X *= (float) (1.0 + (double) Main.rand.Next(-50, 51) * 0.00999999977648258);
|
||||
Main.dust[index].velocity.Y *= (float) (1.0 + (double) Main.rand.Next(-50, 51) * 0.00999999977648258);
|
||||
Main.dust[index].velocity.X += (float) Main.rand.Next(-50, 51) * 0.01f;
|
||||
Main.dust[index].velocity.Y += (float) Main.rand.Next(-50, 51) * 0.01f;
|
||||
--Main.dust[index].velocity.Y;
|
||||
Main.dust[index].scale *= (float) (0.699999988079071 + (double) Main.rand.Next(-30, 31) * 0.00999999977648258);
|
||||
Main.dust[index].velocity += player.velocity * 0.2f;
|
||||
}
|
||||
if (Main.rand.Next(225) == 0)
|
||||
{
|
||||
int Type = Main.rand.Next(276, 283);
|
||||
int index = Gore.NewGore(new Vector2(player.position.X + (float) Main.rand.Next(player.width), player.position.Y + (float) Main.rand.Next(8)), player.velocity, Type);
|
||||
Main.gore[index].velocity.X *= (float) (1.0 + (double) Main.rand.Next(-50, 51) * 0.00999999977648258);
|
||||
Main.gore[index].velocity.Y *= (float) (1.0 + (double) Main.rand.Next(-50, 51) * 0.00999999977648258);
|
||||
Main.gore[index].scale *= (float) (1.0 + (double) Main.rand.Next(-20, 21) * 0.00999999977648258);
|
||||
Main.gore[index].velocity.X += (float) Main.rand.Next(-50, 51) * 0.01f;
|
||||
Main.gore[index].velocity.Y += (float) Main.rand.Next(-50, 51) * 0.01f;
|
||||
--Main.gore[index].velocity.Y;
|
||||
Main.gore[index].velocity += player.velocity * 0.2f;
|
||||
}
|
||||
}
|
||||
return newColor;
|
||||
})));
|
||||
GameShaders.Hair.BindShader<LegacyHairShaderData>(1985, new LegacyHairShaderData().UseLegacyMethod((LegacyHairShaderData.ColorProcessingMethod) ((Player player, Color newColor, ref bool lighting) =>
|
||||
{
|
||||
newColor = new Color(Main.DiscoR, Main.DiscoG, Main.DiscoB);
|
||||
return newColor;
|
||||
})));
|
||||
GameShaders.Hair.BindShader<LegacyHairShaderData>(1986, new LegacyHairShaderData().UseLegacyMethod((LegacyHairShaderData.ColorProcessingMethod) ((Player player, Color newColor, ref bool lighting) =>
|
||||
{
|
||||
float num38 = Math.Abs(player.velocity.X) + Math.Abs(player.velocity.Y);
|
||||
float num39 = 10f;
|
||||
if ((double) num38 > (double) num39)
|
||||
num38 = num39;
|
||||
float num40 = num38 / num39;
|
||||
float num41 = 1f - num40;
|
||||
newColor.R = (byte) (75.0 * (double) num40 + (double) player.hairColor.R * (double) num41);
|
||||
newColor.G = (byte) ((double) byte.MaxValue * (double) num40 + (double) player.hairColor.G * (double) num41);
|
||||
newColor.B = (byte) (200.0 * (double) num40 + (double) player.hairColor.B * (double) num41);
|
||||
return newColor;
|
||||
})));
|
||||
GameShaders.Hair.BindShader<LegacyHairShaderData>(2863, new LegacyHairShaderData().UseLegacyMethod((LegacyHairShaderData.ColorProcessingMethod) ((Player player, Color newColor, ref bool lighting) =>
|
||||
{
|
||||
lighting = false;
|
||||
Color color = Lighting.GetColor((int) ((double) player.position.X + (double) player.width * 0.5) / 16, (int) (((double) player.position.Y + (double) player.height * 0.25) / 16.0));
|
||||
newColor.R = (byte) ((int) color.R + (int) newColor.R >> 1);
|
||||
newColor.G = (byte) ((int) color.G + (int) newColor.G >> 1);
|
||||
newColor.B = (byte) ((int) color.B + (int) newColor.B >> 1);
|
||||
return newColor;
|
||||
})));
|
||||
}
|
||||
|
||||
private static void LoadMisc()
|
||||
{
|
||||
Ref<Effect> pixelShaderRef = Main.PixelShaderRef;
|
||||
GameShaders.Misc["ForceField"] = new MiscShaderData(pixelShaderRef, "ForceField");
|
||||
GameShaders.Misc["WaterProcessor"] = new MiscShaderData(pixelShaderRef, "WaterProcessor");
|
||||
GameShaders.Misc["WaterDistortionObject"] = new MiscShaderData(pixelShaderRef, "WaterDistortionObject");
|
||||
GameShaders.Misc["WaterDebugDraw"] = new MiscShaderData(Main.ScreenShaderRef, "WaterDebugDraw");
|
||||
}
|
||||
|
||||
public static void Load()
|
||||
{
|
||||
DyeInitializer.LoadArmorDyes();
|
||||
DyeInitializer.LoadHairDyes();
|
||||
DyeInitializer.LoadMisc();
|
||||
}
|
||||
|
||||
private static void FixRecipes()
|
||||
{
|
||||
for (int index = 0; index < Recipe.maxRecipes; ++index)
|
||||
{
|
||||
Main.recipe[index].createItem.dye = (byte) GameShaders.Armor.GetShaderIdFromItemId(Main.recipe[index].createItem.type);
|
||||
Main.recipe[index].createItem.hairDye = GameShaders.Hair.GetShaderIdFromItemId(Main.recipe[index].createItem.type);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
203
Initializers/LaunchInitializer.cs
Normal file
203
Initializers/LaunchInitializer.cs
Normal file
|
@ -0,0 +1,203 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.Initializers.LaunchInitializer
|
||||
// Assembly: Terraria, Version=1.3.5.3, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 68659D26-2BE6-448F-8663-74FA559E6F08
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
using System.Diagnostics;
|
||||
using Terraria.Localization;
|
||||
using Terraria.Social;
|
||||
|
||||
namespace Terraria.Initializers
|
||||
{
|
||||
public static class LaunchInitializer
|
||||
{
|
||||
public static void LoadParameters(Main game)
|
||||
{
|
||||
LaunchInitializer.LoadSharedParameters(game);
|
||||
LaunchInitializer.LoadClientParameters(game);
|
||||
}
|
||||
|
||||
private static void LoadSharedParameters(Main game)
|
||||
{
|
||||
string[] strArray1 = new string[1]{ "-loadlib" };
|
||||
string path;
|
||||
if ((path = LaunchInitializer.TryParameter(strArray1)) != null)
|
||||
game.loadLib(path);
|
||||
string[] strArray2 = new string[2]{ "-p", "-port" };
|
||||
string s;
|
||||
int result;
|
||||
if ((s = LaunchInitializer.TryParameter(strArray2)) == null || !int.TryParse(s, out result))
|
||||
return;
|
||||
Netplay.ListenPort = result;
|
||||
}
|
||||
|
||||
private static void LoadClientParameters(Main game)
|
||||
{
|
||||
string[] strArray1 = new string[2]{ "-j", "-join" };
|
||||
string IP;
|
||||
if ((IP = LaunchInitializer.TryParameter(strArray1)) != null)
|
||||
game.AutoJoin(IP);
|
||||
string[] strArray2 = new string[2]
|
||||
{
|
||||
"-pass",
|
||||
"-password"
|
||||
};
|
||||
string str;
|
||||
if ((str = LaunchInitializer.TryParameter(strArray2)) != null)
|
||||
{
|
||||
Netplay.ServerPassword = str;
|
||||
game.AutoPass();
|
||||
}
|
||||
if (!LaunchInitializer.HasParameter("-host"))
|
||||
return;
|
||||
game.AutoHost();
|
||||
}
|
||||
|
||||
private static void LoadServerParameters(Main game)
|
||||
{
|
||||
try
|
||||
{
|
||||
string[] strArray = new string[1]
|
||||
{
|
||||
"-forcepriority"
|
||||
};
|
||||
string s;
|
||||
if ((s = LaunchInitializer.TryParameter(strArray)) != null)
|
||||
{
|
||||
Process currentProcess = Process.GetCurrentProcess();
|
||||
int result;
|
||||
if (int.TryParse(s, out result))
|
||||
{
|
||||
switch (result)
|
||||
{
|
||||
case 0:
|
||||
currentProcess.PriorityClass = ProcessPriorityClass.RealTime;
|
||||
break;
|
||||
case 1:
|
||||
currentProcess.PriorityClass = ProcessPriorityClass.High;
|
||||
break;
|
||||
case 2:
|
||||
currentProcess.PriorityClass = ProcessPriorityClass.AboveNormal;
|
||||
break;
|
||||
case 3:
|
||||
currentProcess.PriorityClass = ProcessPriorityClass.Normal;
|
||||
break;
|
||||
case 4:
|
||||
currentProcess.PriorityClass = ProcessPriorityClass.BelowNormal;
|
||||
break;
|
||||
case 5:
|
||||
currentProcess.PriorityClass = ProcessPriorityClass.Idle;
|
||||
break;
|
||||
default:
|
||||
currentProcess.PriorityClass = ProcessPriorityClass.High;
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
currentProcess.PriorityClass = ProcessPriorityClass.High;
|
||||
}
|
||||
else
|
||||
Process.GetCurrentProcess().PriorityClass = ProcessPriorityClass.High;
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
string[] strArray1 = new string[2]
|
||||
{
|
||||
"-maxplayers",
|
||||
"-players"
|
||||
};
|
||||
string s1;
|
||||
int result1;
|
||||
if ((s1 = LaunchInitializer.TryParameter(strArray1)) != null && int.TryParse(s1, out result1))
|
||||
game.SetNetPlayers(result1);
|
||||
string[] strArray2 = new string[2]
|
||||
{
|
||||
"-pass",
|
||||
"-password"
|
||||
};
|
||||
string str1;
|
||||
if ((str1 = LaunchInitializer.TryParameter(strArray2)) != null)
|
||||
Netplay.ServerPassword = str1;
|
||||
string[] strArray3 = new string[1]{ "-lang" };
|
||||
string s2;
|
||||
int result2;
|
||||
if ((s2 = LaunchInitializer.TryParameter(strArray3)) != null && int.TryParse(s2, out result2))
|
||||
LanguageManager.Instance.SetLanguage(result2);
|
||||
string[] strArray4 = new string[1]{ "-language" };
|
||||
string cultureName;
|
||||
if ((cultureName = LaunchInitializer.TryParameter(strArray4)) != null)
|
||||
LanguageManager.Instance.SetLanguage(cultureName);
|
||||
string[] strArray5 = new string[1]{ "-worldname" };
|
||||
string world1;
|
||||
if ((world1 = LaunchInitializer.TryParameter(strArray5)) != null)
|
||||
game.SetWorldName(world1);
|
||||
string[] strArray6 = new string[1]{ "-motd" };
|
||||
string newMOTD;
|
||||
if ((newMOTD = LaunchInitializer.TryParameter(strArray6)) != null)
|
||||
game.NewMOTD(newMOTD);
|
||||
string[] strArray7 = new string[1]{ "-banlist" };
|
||||
string str2;
|
||||
if ((str2 = LaunchInitializer.TryParameter(strArray7)) != null)
|
||||
Netplay.BanFilePath = str2;
|
||||
if (LaunchInitializer.HasParameter("-autoshutdown"))
|
||||
game.EnableAutoShutdown();
|
||||
if (LaunchInitializer.HasParameter("-secure"))
|
||||
Netplay.spamCheck = true;
|
||||
string[] strArray8 = new string[1]{ "-autocreate" };
|
||||
string worldSize;
|
||||
if ((worldSize = LaunchInitializer.TryParameter(strArray8)) != null)
|
||||
game.autoCreate(worldSize);
|
||||
if (LaunchInitializer.HasParameter("-noupnp"))
|
||||
Netplay.UseUPNP = false;
|
||||
if (LaunchInitializer.HasParameter("-experimental"))
|
||||
Main.UseExperimentalFeatures = true;
|
||||
string[] strArray9 = new string[1]{ "-world" };
|
||||
string world2;
|
||||
if ((world2 = LaunchInitializer.TryParameter(strArray9)) != null)
|
||||
game.SetWorld(world2, false);
|
||||
else if (SocialAPI.Mode == SocialMode.Steam)
|
||||
{
|
||||
string[] strArray10 = new string[1]{ "-cloudworld" };
|
||||
string world3;
|
||||
if ((world3 = LaunchInitializer.TryParameter(strArray10)) != null)
|
||||
game.SetWorld(world3, true);
|
||||
}
|
||||
string[] strArray11 = new string[1]{ "-config" };
|
||||
string configPath;
|
||||
if ((configPath = LaunchInitializer.TryParameter(strArray11)) != null)
|
||||
game.LoadDedConfig(configPath);
|
||||
string[] strArray12 = new string[1]{ "-seed" };
|
||||
string str3;
|
||||
if ((str3 = LaunchInitializer.TryParameter(strArray12)) == null)
|
||||
return;
|
||||
Main.AutogenSeedName = str3;
|
||||
}
|
||||
|
||||
private static bool HasParameter(params string[] keys)
|
||||
{
|
||||
for (int index = 0; index < keys.Length; ++index)
|
||||
{
|
||||
if (Program.LaunchParameters.ContainsKey(keys[index]))
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
private static string TryParameter(params string[] keys)
|
||||
{
|
||||
for (int index = 0; index < keys.Length; ++index)
|
||||
{
|
||||
string str;
|
||||
if (Program.LaunchParameters.TryGetValue(keys[index], out str))
|
||||
{
|
||||
if (str == null)
|
||||
str = "";
|
||||
return str;
|
||||
}
|
||||
}
|
||||
return (string) null;
|
||||
}
|
||||
}
|
||||
}
|
20
Initializers/NetworkInitializer.cs
Normal file
20
Initializers/NetworkInitializer.cs
Normal file
|
@ -0,0 +1,20 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.Initializers.NetworkInitializer
|
||||
// Assembly: Terraria, Version=1.3.5.3, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 68659D26-2BE6-448F-8663-74FA559E6F08
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
using Terraria.GameContent.NetModules;
|
||||
using Terraria.Net;
|
||||
|
||||
namespace Terraria.Initializers
|
||||
{
|
||||
public static class NetworkInitializer
|
||||
{
|
||||
public static void Load()
|
||||
{
|
||||
NetManager.Instance.Register<NetLiquidModule>();
|
||||
NetManager.Instance.Register<NetTextModule>();
|
||||
}
|
||||
}
|
||||
}
|
212
Initializers/PlayerDataInitializer.cs
Normal file
212
Initializers/PlayerDataInitializer.cs
Normal file
|
@ -0,0 +1,212 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.Initializers.PlayerDataInitializer
|
||||
// Assembly: Terraria, Version=1.3.5.3, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 68659D26-2BE6-448F-8663-74FA559E6F08
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria.Graphics;
|
||||
|
||||
namespace Terraria.Initializers
|
||||
{
|
||||
public static class PlayerDataInitializer
|
||||
{
|
||||
public static void Load()
|
||||
{
|
||||
Main.playerTextures = new Texture2D[10, 15];
|
||||
PlayerDataInitializer.LoadStarterMale();
|
||||
PlayerDataInitializer.LoadStarterFemale();
|
||||
PlayerDataInitializer.LoadStickerMale();
|
||||
PlayerDataInitializer.LoadStickerFemale();
|
||||
PlayerDataInitializer.LoadGangsterMale();
|
||||
PlayerDataInitializer.LoadGangsterFemale();
|
||||
PlayerDataInitializer.LoadCoatMale();
|
||||
PlayerDataInitializer.LoadDressFemale();
|
||||
PlayerDataInitializer.LoadDressMale();
|
||||
PlayerDataInitializer.LoadCoatFemale();
|
||||
}
|
||||
|
||||
private static void LoadDebugs()
|
||||
{
|
||||
PlayerDataInitializer.CopyVariant(8, 0);
|
||||
PlayerDataInitializer.CopyVariant(9, 4);
|
||||
for (int index = 8; index < 10; ++index)
|
||||
{
|
||||
Main.playerTextures[index, 4] = Main.armorArmTexture[191];
|
||||
Main.playerTextures[index, 6] = Main.armorArmTexture[191];
|
||||
Main.playerTextures[index, 11] = Main.armorArmTexture[191];
|
||||
Main.playerTextures[index, 12] = Main.armorArmTexture[191];
|
||||
Main.playerTextures[index, 13] = Main.armorArmTexture[191];
|
||||
Main.playerTextures[index, 8] = Main.armorArmTexture[191];
|
||||
}
|
||||
}
|
||||
|
||||
private static void LoadVariant(int ID, int[] pieceIDs)
|
||||
{
|
||||
for (int index = 0; index < pieceIDs.Length; ++index)
|
||||
Main.playerTextures[ID, pieceIDs[index]] = TextureManager.Load("Images/Player_" + (object) ID + "_" + (object) pieceIDs[index]);
|
||||
}
|
||||
|
||||
private static void CopyVariant(int to, int from)
|
||||
{
|
||||
for (int index = 0; index < 15; ++index)
|
||||
Main.playerTextures[to, index] = Main.playerTextures[from, index];
|
||||
}
|
||||
|
||||
private static void LoadStarterMale()
|
||||
{
|
||||
PlayerDataInitializer.LoadVariant(0, new int[14]
|
||||
{
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7,
|
||||
8,
|
||||
9,
|
||||
10,
|
||||
11,
|
||||
12,
|
||||
13
|
||||
});
|
||||
Main.playerTextures[0, 14] = TextureManager.BlankTexture;
|
||||
}
|
||||
|
||||
private static void LoadStickerMale()
|
||||
{
|
||||
PlayerDataInitializer.CopyVariant(1, 0);
|
||||
PlayerDataInitializer.LoadVariant(1, new int[6]
|
||||
{
|
||||
4,
|
||||
6,
|
||||
8,
|
||||
11,
|
||||
12,
|
||||
13
|
||||
});
|
||||
}
|
||||
|
||||
private static void LoadGangsterMale()
|
||||
{
|
||||
PlayerDataInitializer.CopyVariant(2, 0);
|
||||
PlayerDataInitializer.LoadVariant(2, new int[6]
|
||||
{
|
||||
4,
|
||||
6,
|
||||
8,
|
||||
11,
|
||||
12,
|
||||
13
|
||||
});
|
||||
}
|
||||
|
||||
private static void LoadCoatMale()
|
||||
{
|
||||
PlayerDataInitializer.CopyVariant(3, 0);
|
||||
PlayerDataInitializer.LoadVariant(3, new int[7]
|
||||
{
|
||||
4,
|
||||
6,
|
||||
8,
|
||||
11,
|
||||
12,
|
||||
13,
|
||||
14
|
||||
});
|
||||
}
|
||||
|
||||
private static void LoadDressMale()
|
||||
{
|
||||
PlayerDataInitializer.CopyVariant(8, 0);
|
||||
PlayerDataInitializer.LoadVariant(8, new int[7]
|
||||
{
|
||||
4,
|
||||
6,
|
||||
8,
|
||||
11,
|
||||
12,
|
||||
13,
|
||||
14
|
||||
});
|
||||
}
|
||||
|
||||
private static void LoadStarterFemale()
|
||||
{
|
||||
PlayerDataInitializer.CopyVariant(4, 0);
|
||||
PlayerDataInitializer.LoadVariant(4, new int[11]
|
||||
{
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7,
|
||||
8,
|
||||
9,
|
||||
10,
|
||||
11,
|
||||
12,
|
||||
13
|
||||
});
|
||||
}
|
||||
|
||||
private static void LoadStickerFemale()
|
||||
{
|
||||
PlayerDataInitializer.CopyVariant(5, 4);
|
||||
PlayerDataInitializer.LoadVariant(5, new int[6]
|
||||
{
|
||||
4,
|
||||
6,
|
||||
8,
|
||||
11,
|
||||
12,
|
||||
13
|
||||
});
|
||||
}
|
||||
|
||||
private static void LoadGangsterFemale()
|
||||
{
|
||||
PlayerDataInitializer.CopyVariant(6, 4);
|
||||
PlayerDataInitializer.LoadVariant(6, new int[6]
|
||||
{
|
||||
4,
|
||||
6,
|
||||
8,
|
||||
11,
|
||||
12,
|
||||
13
|
||||
});
|
||||
}
|
||||
|
||||
private static void LoadCoatFemale()
|
||||
{
|
||||
PlayerDataInitializer.CopyVariant(7, 4);
|
||||
PlayerDataInitializer.LoadVariant(7, new int[7]
|
||||
{
|
||||
4,
|
||||
6,
|
||||
8,
|
||||
11,
|
||||
12,
|
||||
13,
|
||||
14
|
||||
});
|
||||
}
|
||||
|
||||
private static void LoadDressFemale()
|
||||
{
|
||||
PlayerDataInitializer.CopyVariant(9, 4);
|
||||
PlayerDataInitializer.LoadVariant(9, new int[6]
|
||||
{
|
||||
4,
|
||||
6,
|
||||
8,
|
||||
11,
|
||||
12,
|
||||
13
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
66
Initializers/ScreenEffectInitializer.cs
Normal file
66
Initializers/ScreenEffectInitializer.cs
Normal file
|
@ -0,0 +1,66 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.Initializers.ScreenEffectInitializer
|
||||
// Assembly: Terraria, Version=1.3.5.3, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 68659D26-2BE6-448F-8663-74FA559E6F08
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria.GameContent.Shaders;
|
||||
using Terraria.GameContent.Skies;
|
||||
using Terraria.Graphics.Effects;
|
||||
using Terraria.Graphics.Shaders;
|
||||
|
||||
namespace Terraria.Initializers
|
||||
{
|
||||
public static class ScreenEffectInitializer
|
||||
{
|
||||
public static void Load()
|
||||
{
|
||||
Filters.Scene["Nebula"] = new Filter(new ScreenShaderData("FilterTower").UseColor(1f, 0.0f, 0.9f).UseOpacity(0.5f), EffectPriority.High);
|
||||
Filters.Scene["Solar"] = new Filter(new ScreenShaderData("FilterTower").UseColor(1f, 0.7f, 0.0f).UseOpacity(0.3f), EffectPriority.High);
|
||||
Filters.Scene["Stardust"] = new Filter(new ScreenShaderData("FilterTower").UseColor(0.0f, 0.5f, 1f).UseOpacity(0.5f), EffectPriority.High);
|
||||
Filters.Scene["Vortex"] = new Filter(new ScreenShaderData("FilterTower").UseColor(0.0f, 0.7f, 0.7f).UseOpacity(0.5f), EffectPriority.High);
|
||||
Filters.Scene["MonolithNebula"] = new Filter(new ScreenShaderData("FilterMiniTower").UseColor(1f, 0.0f, 0.9f).UseOpacity(0.5f), EffectPriority.Medium);
|
||||
Filters.Scene["MonolithSolar"] = new Filter(new ScreenShaderData("FilterMiniTower").UseColor(1f, 0.7f, 0.0f).UseOpacity(0.3f), EffectPriority.Medium);
|
||||
Filters.Scene["MonolithStardust"] = new Filter(new ScreenShaderData("FilterMiniTower").UseColor(0.0f, 0.5f, 1f).UseOpacity(0.5f), EffectPriority.Medium);
|
||||
Filters.Scene["MonolithVortex"] = new Filter(new ScreenShaderData("FilterMiniTower").UseColor(0.0f, 0.7f, 0.7f).UseOpacity(0.5f), EffectPriority.Medium);
|
||||
Filters.Scene["MoonLord"] = new Filter((ScreenShaderData) new MoonLordScreenShaderData("FilterMoonLord"), EffectPriority.VeryHigh);
|
||||
Filters.Scene["MoonLordShake"] = new Filter((ScreenShaderData) new MoonLordScreenShaderData("FilterMoonLordShake"), EffectPriority.VeryHigh);
|
||||
Filters.Scene["testInvert"] = new Filter(new ScreenShaderData("FilterInvert"), EffectPriority.VeryHigh);
|
||||
Filters.Scene["BloodMoon"] = new Filter(new BloodMoonScreenShaderData("FilterBloodMoon").UseColor(2f, -0.8f, -0.6f), EffectPriority.Medium);
|
||||
Filters.Scene["Sandstorm"] = new Filter(new SandstormShaderData("FilterSandstormForeground").UseColor(1.1f, 1f, 0.5f).UseSecondaryColor(0.7f, 0.5f, 0.3f).UseImage("Images/Misc/noise").UseIntensity(0.4f), EffectPriority.High);
|
||||
Overlays.Scene["Sandstorm"] = (Overlay) new SimpleOverlay("Images/Misc/noise", new SandstormShaderData("FilterSandstormBackground").UseColor(1.1f, 1f, 0.5f).UseSecondaryColor(0.7f, 0.5f, 0.3f).UseImage("Images/Misc/noise").UseIntensity(0.4f), EffectPriority.High, RenderLayers.Landscape);
|
||||
Filters.Scene["Blizzard"] = new Filter(new BlizzardShaderData("FilterBlizzardForeground").UseColor(1f, 1f, 1f).UseSecondaryColor(0.7f, 0.7f, 1f).UseImage("Images/Misc/noise").UseIntensity(0.4f).UseImageScale(new Vector2(3f, 0.75f)), EffectPriority.High);
|
||||
Overlays.Scene["Blizzard"] = (Overlay) new SimpleOverlay("Images/Misc/noise", new BlizzardShaderData("FilterBlizzardBackground").UseColor(1f, 1f, 1f).UseSecondaryColor(0.7f, 0.7f, 1f).UseImage("Images/Misc/noise").UseIntensity(0.4f).UseImageScale(new Vector2(3f, 0.75f)), EffectPriority.High, RenderLayers.Landscape);
|
||||
Filters.Scene["HeatDistortion"] = new Filter(new ScreenShaderData("FilterHeatDistortion").UseImage("Images/Misc/noise").UseIntensity(4f), EffectPriority.Low);
|
||||
Filters.Scene["WaterDistortion"] = new Filter(new WaterShaderData("FilterWaterDistortion").UseIntensity(1f).UseImage("Images/Misc/noise"), EffectPriority.VeryHigh);
|
||||
Filters.Scene["CrystalDestructionColor"] = new Filter(new ScreenShaderData("FilterCrystalDestructionColor").UseColor(1f, 0.0f, 0.75f).UseIntensity(1f).UseOpacity(0.8f), EffectPriority.VeryHigh);
|
||||
Filters.Scene["CrystalDestructionVortex"] = new Filter(new ScreenShaderData("FilterCrystalDestructionVortex").UseImage("Images/Misc/noise"), EffectPriority.VeryHigh);
|
||||
Filters.Scene["CrystalWin"] = new Filter(new ScreenShaderData("FilterCrystalWin"), EffectPriority.VeryHigh);
|
||||
Filters.Scene["Test"] = new Filter(new ScreenShaderData("FilterTest"), EffectPriority.VeryHigh);
|
||||
Filters.Scene["Test2"] = new Filter(new ScreenShaderData("FilterTest2"), EffectPriority.VeryHigh);
|
||||
Overlays.Scene.Load();
|
||||
Filters.Scene.Load();
|
||||
ScreenEffectInitializer.LoadSkies();
|
||||
}
|
||||
|
||||
private static void LoadSkies()
|
||||
{
|
||||
SkyManager.Instance["Party"] = (CustomSky) new PartySky();
|
||||
SkyManager.Instance["Martian"] = (CustomSky) new MartianSky();
|
||||
SkyManager.Instance["Nebula"] = (CustomSky) new NebulaSky();
|
||||
SkyManager.Instance["Stardust"] = (CustomSky) new StardustSky();
|
||||
SkyManager.Instance["Vortex"] = (CustomSky) new VortexSky();
|
||||
SkyManager.Instance["Solar"] = (CustomSky) new SolarSky();
|
||||
SkyManager.Instance["Slime"] = (CustomSky) new SlimeSky();
|
||||
SkyManager.Instance["MoonLord"] = (CustomSky) new MoonLordSky();
|
||||
SkyManager.Instance["MonolithNebula"] = (CustomSky) new NebulaSky();
|
||||
SkyManager.Instance["MonolithStardust"] = (CustomSky) new StardustSky();
|
||||
SkyManager.Instance["MonolithVortex"] = (CustomSky) new VortexSky();
|
||||
SkyManager.Instance["MonolithSolar"] = (CustomSky) new SolarSky();
|
||||
SkyManager.Instance["Sandstorm"] = (CustomSky) new SandstormSky();
|
||||
SkyManager.Instance["Blizzard"] = (CustomSky) new BlizzardSky();
|
||||
SkyManager.Instance.Load();
|
||||
}
|
||||
}
|
||||
}
|
1498
Initializers/UILinksInitializer.cs
Normal file
1498
Initializers/UILinksInitializer.cs
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue