Terraria 1.4.0.5 Source Code
This commit is contained in:
commit
05205f009e
1059 changed files with 563450 additions and 0 deletions
59
ID/AchievementHelperID.cs
Normal file
59
ID/AchievementHelperID.cs
Normal file
|
@ -0,0 +1,59 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.AchievementHelperID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public class AchievementHelperID
|
||||
{
|
||||
public class Events
|
||||
{
|
||||
public const int NightStart = 0;
|
||||
public const int DayStart = 1;
|
||||
public const int EclipseStart = 2;
|
||||
public const int EclipseEnd = 3;
|
||||
public const int BloodMoonStart = 4;
|
||||
public const int BloodMoonEnd = 5;
|
||||
public const int SmashDemonAltar = 6;
|
||||
public const int SmashShadowOrb = 7;
|
||||
public const int NPCMovedIn = 8;
|
||||
public const int StartHardmode = 9;
|
||||
public const int InvasionDefeatedGoblins = 10;
|
||||
public const int InvasionDefeatedPirates = 11;
|
||||
public const int InvasionDefeatedSnowman = 12;
|
||||
public const int InvasionDefeatedMartians = 13;
|
||||
public const int FrostMoonWave15 = 14;
|
||||
public const int PumpkinMoonWave15 = 15;
|
||||
public const int SurvivedSlimeRain = 16;
|
||||
public const int HousedAllNPCs = 17;
|
||||
public const int TruffleMovedIn = 18;
|
||||
public const int UnlockedGoldenChest = 19;
|
||||
public const int UnlockedBiomeChest = 20;
|
||||
public const int DefeatedMechaMayhem = 21;
|
||||
public const int TempleRaider = 22;
|
||||
}
|
||||
|
||||
public class Special
|
||||
{
|
||||
public const int ConsumeHeart = 0;
|
||||
public const int ConsumeStar = 1;
|
||||
public const int ConsumeFruit = 2;
|
||||
public const int NotTheBees = 3;
|
||||
public const int HitByTrap = 4;
|
||||
public const int RainbowShoot = 5;
|
||||
public const int MinionArmy = 6;
|
||||
public const int SwingYoyo = 7;
|
||||
public const int SurviveHugeFall = 8;
|
||||
public const int Roadkill = 9;
|
||||
public const int ReachWorldBottom = 10;
|
||||
public const int ReachWorldTop = 11;
|
||||
public const int FoundBeeHive = 12;
|
||||
public const int FoundSpiderCave = 13;
|
||||
public const int FoundHell = 14;
|
||||
public const int FoundGlowshroomOverworld = 15;
|
||||
public const int PeekInGoldenChest = 16;
|
||||
}
|
||||
}
|
||||
}
|
308
ID/AmmoID.cs
Normal file
308
ID/AmmoID.cs
Normal file
|
@ -0,0 +1,308 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.AmmoID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public static class AmmoID
|
||||
{
|
||||
public static int None = 0;
|
||||
public static int Gel = 23;
|
||||
public static int Arrow = 40;
|
||||
public static int Coin = 71;
|
||||
public static int FallenStar = 75;
|
||||
public static int Bullet = 97;
|
||||
public static int Sand = 169;
|
||||
public static int Dart = 283;
|
||||
public static int Rocket = 771;
|
||||
public static int Solution = 780;
|
||||
public static int Flare = 931;
|
||||
public static int Snowball = 949;
|
||||
public static int StyngerBolt = 1261;
|
||||
public static int CandyCorn = 1783;
|
||||
public static int JackOLantern = 1785;
|
||||
public static int Stake = 1836;
|
||||
public static int NailFriendly = 3108;
|
||||
|
||||
public class Sets
|
||||
{
|
||||
public static Dictionary<int, Dictionary<int, int>> SpecificLauncherAmmoProjectileMatches = new Dictionary<int, Dictionary<int, int>>()
|
||||
{
|
||||
{
|
||||
759,
|
||||
new Dictionary<int, int>()
|
||||
{
|
||||
{
|
||||
771,
|
||||
134
|
||||
},
|
||||
{
|
||||
772,
|
||||
137
|
||||
},
|
||||
{
|
||||
773,
|
||||
140
|
||||
},
|
||||
{
|
||||
774,
|
||||
143
|
||||
},
|
||||
{
|
||||
4445,
|
||||
776
|
||||
},
|
||||
{
|
||||
4446,
|
||||
780
|
||||
},
|
||||
{
|
||||
4457,
|
||||
793
|
||||
},
|
||||
{
|
||||
4458,
|
||||
796
|
||||
},
|
||||
{
|
||||
4459,
|
||||
799
|
||||
},
|
||||
{
|
||||
4447,
|
||||
784
|
||||
},
|
||||
{
|
||||
4448,
|
||||
787
|
||||
},
|
||||
{
|
||||
4449,
|
||||
790
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
758,
|
||||
new Dictionary<int, int>()
|
||||
{
|
||||
{
|
||||
771,
|
||||
133
|
||||
},
|
||||
{
|
||||
772,
|
||||
136
|
||||
},
|
||||
{
|
||||
773,
|
||||
139
|
||||
},
|
||||
{
|
||||
774,
|
||||
142
|
||||
},
|
||||
{
|
||||
4445,
|
||||
777
|
||||
},
|
||||
{
|
||||
4446,
|
||||
781
|
||||
},
|
||||
{
|
||||
4457,
|
||||
794
|
||||
},
|
||||
{
|
||||
4458,
|
||||
797
|
||||
},
|
||||
{
|
||||
4459,
|
||||
800
|
||||
},
|
||||
{
|
||||
4447,
|
||||
785
|
||||
},
|
||||
{
|
||||
4448,
|
||||
788
|
||||
},
|
||||
{
|
||||
4449,
|
||||
791
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
760,
|
||||
new Dictionary<int, int>()
|
||||
{
|
||||
{
|
||||
771,
|
||||
135
|
||||
},
|
||||
{
|
||||
772,
|
||||
138
|
||||
},
|
||||
{
|
||||
773,
|
||||
141
|
||||
},
|
||||
{
|
||||
774,
|
||||
144
|
||||
},
|
||||
{
|
||||
4445,
|
||||
778
|
||||
},
|
||||
{
|
||||
4446,
|
||||
782
|
||||
},
|
||||
{
|
||||
4457,
|
||||
795
|
||||
},
|
||||
{
|
||||
4458,
|
||||
798
|
||||
},
|
||||
{
|
||||
4459,
|
||||
801
|
||||
},
|
||||
{
|
||||
4447,
|
||||
786
|
||||
},
|
||||
{
|
||||
4448,
|
||||
789
|
||||
},
|
||||
{
|
||||
4449,
|
||||
792
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
1946,
|
||||
new Dictionary<int, int>()
|
||||
{
|
||||
{
|
||||
771,
|
||||
338
|
||||
},
|
||||
{
|
||||
772,
|
||||
339
|
||||
},
|
||||
{
|
||||
773,
|
||||
340
|
||||
},
|
||||
{
|
||||
774,
|
||||
341
|
||||
},
|
||||
{
|
||||
4445,
|
||||
803
|
||||
},
|
||||
{
|
||||
4446,
|
||||
804
|
||||
},
|
||||
{
|
||||
4457,
|
||||
808
|
||||
},
|
||||
{
|
||||
4458,
|
||||
809
|
||||
},
|
||||
{
|
||||
4459,
|
||||
810
|
||||
},
|
||||
{
|
||||
4447,
|
||||
805
|
||||
},
|
||||
{
|
||||
4448,
|
||||
806
|
||||
},
|
||||
{
|
||||
4449,
|
||||
807
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
3930,
|
||||
new Dictionary<int, int>()
|
||||
{
|
||||
{
|
||||
771,
|
||||
715
|
||||
},
|
||||
{
|
||||
772,
|
||||
716
|
||||
},
|
||||
{
|
||||
773,
|
||||
717
|
||||
},
|
||||
{
|
||||
774,
|
||||
718
|
||||
},
|
||||
{
|
||||
4445,
|
||||
717
|
||||
},
|
||||
{
|
||||
4446,
|
||||
718
|
||||
},
|
||||
{
|
||||
4457,
|
||||
717
|
||||
},
|
||||
{
|
||||
4458,
|
||||
718
|
||||
},
|
||||
{
|
||||
4459,
|
||||
717
|
||||
},
|
||||
{
|
||||
4447,
|
||||
717
|
||||
},
|
||||
{
|
||||
4448,
|
||||
717
|
||||
},
|
||||
{
|
||||
4449,
|
||||
717
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
17
ID/AnimationID.cs
Normal file
17
ID/AnimationID.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.AnimationID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public class AnimationID
|
||||
{
|
||||
public const short MushroomStatueTurningOn = 0;
|
||||
public const short MushroomStatueTurningOff = 1;
|
||||
public const short FakeChestOpening = 2;
|
||||
public const short VolcanosTurningOn = 3;
|
||||
public const short VolcanosTurningOff = 4;
|
||||
}
|
||||
}
|
1019
ID/ArmorIDs.cs
Normal file
1019
ID/ArmorIDs.cs
Normal file
File diff suppressed because it is too large
Load diff
23
ID/BiomeID.cs
Normal file
23
ID/BiomeID.cs
Normal file
|
@ -0,0 +1,23 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.BiomeID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
internal class BiomeID
|
||||
{
|
||||
public const int Forest = 0;
|
||||
public const int NormalUnderground = 1;
|
||||
public const int Snow = 2;
|
||||
public const int Desert = 3;
|
||||
public const int Jungle = 4;
|
||||
public const int Ocean = 5;
|
||||
public const int Hallow = 6;
|
||||
public const int Mushroom = 7;
|
||||
public const int Dungeon = 8;
|
||||
public const int Corruption = 9;
|
||||
public const int Crimson = 10;
|
||||
}
|
||||
}
|
551
ID/BuffID.cs
Normal file
551
ID/BuffID.cs
Normal file
|
@ -0,0 +1,551 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.BuffID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public class BuffID
|
||||
{
|
||||
public const int ObsidianSkin = 1;
|
||||
public const int Regeneration = 2;
|
||||
public const int Swiftness = 3;
|
||||
public const int Gills = 4;
|
||||
public const int Ironskin = 5;
|
||||
public const int ManaRegeneration = 6;
|
||||
public const int MagicPower = 7;
|
||||
public const int Featherfall = 8;
|
||||
public const int Spelunker = 9;
|
||||
public const int Invisibility = 10;
|
||||
public const int Shine = 11;
|
||||
public const int NightOwl = 12;
|
||||
public const int Battle = 13;
|
||||
public const int Thorns = 14;
|
||||
public const int WaterWalking = 15;
|
||||
public const int Archery = 16;
|
||||
public const int Hunter = 17;
|
||||
public const int Gravitation = 18;
|
||||
public const int ShadowOrb = 19;
|
||||
public const int Poisoned = 20;
|
||||
public const int PotionSickness = 21;
|
||||
public const int Darkness = 22;
|
||||
public const int Cursed = 23;
|
||||
public const int OnFire = 24;
|
||||
public const int Tipsy = 25;
|
||||
public const int WellFed = 26;
|
||||
public const int FairyBlue = 27;
|
||||
public const int Werewolf = 28;
|
||||
public const int Clairvoyance = 29;
|
||||
public const int Bleeding = 30;
|
||||
public const int Confused = 31;
|
||||
public const int Slow = 32;
|
||||
public const int Weak = 33;
|
||||
public const int Merfolk = 34;
|
||||
public const int Silenced = 35;
|
||||
public const int BrokenArmor = 36;
|
||||
public const int Horrified = 37;
|
||||
public const int TheTongue = 38;
|
||||
public const int CursedInferno = 39;
|
||||
public const int PetBunny = 40;
|
||||
public const int BabyPenguin = 41;
|
||||
public const int PetTurtle = 42;
|
||||
public const int PaladinsShield = 43;
|
||||
public const int Frostburn = 44;
|
||||
public const int BabyEater = 45;
|
||||
public const int Chilled = 46;
|
||||
public const int Frozen = 47;
|
||||
public const int Honey = 48;
|
||||
public const int Pygmies = 49;
|
||||
public const int BabySkeletronHead = 50;
|
||||
public const int BabyHornet = 51;
|
||||
public const int TikiSpirit = 52;
|
||||
public const int PetLizard = 53;
|
||||
public const int PetParrot = 54;
|
||||
public const int BabyTruffle = 55;
|
||||
public const int PetSapling = 56;
|
||||
public const int Wisp = 57;
|
||||
public const int RapidHealing = 58;
|
||||
public const int ShadowDodge = 59;
|
||||
public const int LeafCrystal = 60;
|
||||
public const int BabyDinosaur = 61;
|
||||
public const int IceBarrier = 62;
|
||||
public const int Panic = 63;
|
||||
public const int BabySlime = 64;
|
||||
public const int EyeballSpring = 65;
|
||||
public const int BabySnowman = 66;
|
||||
public const int Burning = 67;
|
||||
public const int Suffocation = 68;
|
||||
public const int Ichor = 69;
|
||||
public const int Venom = 70;
|
||||
public const int WeaponImbueVenom = 71;
|
||||
public const int Midas = 72;
|
||||
public const int WeaponImbueCursedFlames = 73;
|
||||
public const int WeaponImbueFire = 74;
|
||||
public const int WeaponImbueGold = 75;
|
||||
public const int WeaponImbueIchor = 76;
|
||||
public const int WeaponImbueNanites = 77;
|
||||
public const int WeaponImbueConfetti = 78;
|
||||
public const int WeaponImbuePoison = 79;
|
||||
public const int Blackout = 80;
|
||||
public const int PetSpider = 81;
|
||||
public const int Squashling = 82;
|
||||
public const int Ravens = 83;
|
||||
public const int BlackCat = 84;
|
||||
public const int CursedSapling = 85;
|
||||
public const int WaterCandle = 86;
|
||||
public const int Campfire = 87;
|
||||
public const int ChaosState = 88;
|
||||
public const int HeartLamp = 89;
|
||||
public const int Rudolph = 90;
|
||||
public const int Puppy = 91;
|
||||
public const int BabyGrinch = 92;
|
||||
public const int AmmoBox = 93;
|
||||
public const int ManaSickness = 94;
|
||||
public const int BeetleEndurance1 = 95;
|
||||
public const int BeetleEndurance2 = 96;
|
||||
public const int BeetleEndurance3 = 97;
|
||||
public const int BeetleMight1 = 98;
|
||||
public const int BeetleMight2 = 99;
|
||||
public const int BeetleMight3 = 100;
|
||||
public const int FairyRed = 101;
|
||||
public const int FairyGreen = 102;
|
||||
public const int Wet = 103;
|
||||
public const int Mining = 104;
|
||||
public const int Heartreach = 105;
|
||||
public const int Calm = 106;
|
||||
public const int Builder = 107;
|
||||
public const int Titan = 108;
|
||||
public const int Flipper = 109;
|
||||
public const int Summoning = 110;
|
||||
public const int Dangersense = 111;
|
||||
public const int AmmoReservation = 112;
|
||||
public const int Lifeforce = 113;
|
||||
public const int Endurance = 114;
|
||||
public const int Rage = 115;
|
||||
public const int Inferno = 116;
|
||||
public const int Wrath = 117;
|
||||
public const int MinecartLeft = 118;
|
||||
public const int Lovestruck = 119;
|
||||
public const int Stinky = 120;
|
||||
public const int Fishing = 121;
|
||||
public const int Sonar = 122;
|
||||
public const int Crate = 123;
|
||||
public const int Warmth = 124;
|
||||
public const int HornetMinion = 125;
|
||||
public const int ImpMinion = 126;
|
||||
public const int ZephyrFish = 127;
|
||||
public const int BunnyMount = 128;
|
||||
public const int PigronMount = 129;
|
||||
public const int SlimeMount = 130;
|
||||
public const int TurtleMount = 131;
|
||||
public const int BeeMount = 132;
|
||||
public const int SpiderMinion = 133;
|
||||
public const int TwinEyesMinion = 134;
|
||||
public const int PirateMinion = 135;
|
||||
public const int MiniMinotaur = 136;
|
||||
public const int Slimed = 137;
|
||||
public const int MinecartRight = 138;
|
||||
public const int SharknadoMinion = 139;
|
||||
public const int UFOMinion = 140;
|
||||
public const int UFOMount = 141;
|
||||
public const int DrillMount = 142;
|
||||
public const int ScutlixMount = 143;
|
||||
public const int Electrified = 144;
|
||||
public const int MoonLeech = 145;
|
||||
public const int Sunflower = 146;
|
||||
public const int MonsterBanner = 147;
|
||||
public const int Rabies = 148;
|
||||
public const int Webbed = 149;
|
||||
public const int Bewitched = 150;
|
||||
public const int SoulDrain = 151;
|
||||
public const int MagicLantern = 152;
|
||||
public const int ShadowFlame = 153;
|
||||
public const int BabyFaceMonster = 154;
|
||||
public const int CrimsonHeart = 155;
|
||||
public const int Stoned = 156;
|
||||
public const int PeaceCandle = 157;
|
||||
public const int StarInBottle = 158;
|
||||
public const int Sharpened = 159;
|
||||
public const int Dazed = 160;
|
||||
public const int DeadlySphere = 161;
|
||||
public const int UnicornMount = 162;
|
||||
public const int Obstructed = 163;
|
||||
public const int VortexDebuff = 164;
|
||||
public const int DryadsWard = 165;
|
||||
public const int MinecartRightMech = 166;
|
||||
public const int MinecartLeftMech = 167;
|
||||
public const int CuteFishronMount = 168;
|
||||
public const int BoneJavelin = 169;
|
||||
public const int SolarShield1 = 170;
|
||||
public const int SolarShield2 = 171;
|
||||
public const int SolarShield3 = 172;
|
||||
public const int NebulaUpLife1 = 173;
|
||||
public const int NebulaUpLife2 = 174;
|
||||
public const int NebulaUpLife3 = 175;
|
||||
public const int NebulaUpMana1 = 176;
|
||||
public const int NebulaUpMana2 = 177;
|
||||
public const int NebulaUpMana3 = 178;
|
||||
public const int NebulaUpDmg1 = 179;
|
||||
public const int NebulaUpDmg2 = 180;
|
||||
public const int NebulaUpDmg3 = 181;
|
||||
public const int StardustMinion = 182;
|
||||
public const int StardustMinionBleed = 183;
|
||||
public const int MinecartLeftWood = 184;
|
||||
public const int MinecartRightWood = 185;
|
||||
public const int DryadsWardDebuff = 186;
|
||||
public const int StardustGuardianMinion = 187;
|
||||
public const int StardustDragonMinion = 188;
|
||||
public const int Daybreak = 189;
|
||||
public const int SuspiciousTentacle = 190;
|
||||
public const int CompanionCube = 191;
|
||||
public const int SugarRush = 192;
|
||||
public const int BasiliskMount = 193;
|
||||
public const int WindPushed = 194;
|
||||
public const int WitheredArmor = 195;
|
||||
public const int WitheredWeapon = 196;
|
||||
public const int OgreSpit = 197;
|
||||
public const int ParryDamageBuff = 198;
|
||||
public const int NoBuilding = 199;
|
||||
public const int PetDD2Gato = 200;
|
||||
public const int PetDD2Ghost = 201;
|
||||
public const int PetDD2Dragon = 202;
|
||||
public const int BetsysCurse = 203;
|
||||
public const int Oiled = 204;
|
||||
public const int BallistaPanic = 205;
|
||||
public const int WellFed2 = 206;
|
||||
public const int WellFed3 = 207;
|
||||
public const int DesertMinecartRight = 208;
|
||||
public const int DesertMinecartLeft = 209;
|
||||
public const int FishMinecartRight = 210;
|
||||
public const int FishMinecartLeft = 211;
|
||||
public const int GolfCartMount = 212;
|
||||
public const int BatOfLight = 213;
|
||||
public const int VampireFrog = 214;
|
||||
public const int CatBast = 215;
|
||||
public const int BabyBird = 216;
|
||||
public const int UpbeatStar = 217;
|
||||
public const int SugarGlider = 218;
|
||||
public const int SharkPup = 219;
|
||||
public const int BeeMinecartRight = 220;
|
||||
public const int BeeMinecartLeft = 221;
|
||||
public const int LadybugMinecartRight = 222;
|
||||
public const int LadybugMinecartLeft = 223;
|
||||
public const int PigronMinecartRight = 224;
|
||||
public const int PigronMinecartLeft = 225;
|
||||
public const int SunflowerMinecartRight = 226;
|
||||
public const int SunflowerMinecartLeft = 227;
|
||||
public const int HellMinecartRight = 228;
|
||||
public const int HellMinecartLeft = 229;
|
||||
public const int WitchBroom = 230;
|
||||
public const int ShroomMinecartRight = 231;
|
||||
public const int ShroomMinecartLeft = 232;
|
||||
public const int AmethystMinecartRight = 233;
|
||||
public const int AmethystMinecartLeft = 234;
|
||||
public const int TopazMinecartRight = 235;
|
||||
public const int TopazMinecartLeft = 236;
|
||||
public const int SapphireMinecartRight = 237;
|
||||
public const int SapphireMinecartLeft = 238;
|
||||
public const int EmeraldMinecartRight = 239;
|
||||
public const int EmeraldMinecartLeft = 240;
|
||||
public const int RubyMinecartRight = 241;
|
||||
public const int RubyMinecartLeft = 242;
|
||||
public const int DiamondMinecartRight = 243;
|
||||
public const int DiamondMinecartLeft = 244;
|
||||
public const int AmberMinecartRight = 245;
|
||||
public const int AmberMinecartLeft = 246;
|
||||
public const int BeetleMinecartRight = 247;
|
||||
public const int BeetleMinecartLeft = 248;
|
||||
public const int MeowmereMinecartRight = 249;
|
||||
public const int MeowmereMinecartLeft = 250;
|
||||
public const int PartyMinecartRight = 251;
|
||||
public const int PartyMinecartLeft = 252;
|
||||
public const int PirateMinecartRight = 253;
|
||||
public const int PirateMinecartLeft = 254;
|
||||
public const int SteampunkMinecartRight = 255;
|
||||
public const int SteampunkMinecartLeft = 256;
|
||||
public const int Lucky = 257;
|
||||
public const int LilHarpy = 258;
|
||||
public const int FennecFox = 259;
|
||||
public const int GlitteryButterfly = 260;
|
||||
public const int BabyImp = 261;
|
||||
public const int BabyRedPanda = 262;
|
||||
public const int StormTiger = 263;
|
||||
public const int Plantero = 264;
|
||||
public const int Flamingo = 265;
|
||||
public const int DynamiteKitten = 266;
|
||||
public const int BabyWerewolf = 267;
|
||||
public const int ShadowMimic = 268;
|
||||
public const int CoffinMinecartRight = 269;
|
||||
public const int CoffinMinecartLeft = 270;
|
||||
public const int Smolstar = 271;
|
||||
public const int DiggingMoleMinecartRight = 272;
|
||||
public const int DiggingMoleMinecartLeft = 273;
|
||||
public const int VoltBunny = 274;
|
||||
public const int PaintedHorseMount = 275;
|
||||
public const int MajesticHorseMount = 276;
|
||||
public const int DarkHorseMount = 277;
|
||||
public const int PogoStickMount = 278;
|
||||
public const int PirateShipMount = 279;
|
||||
public const int SpookyWoodMount = 280;
|
||||
public const int SantankMount = 281;
|
||||
public const int WallOfFleshGoatMount = 282;
|
||||
public const int DarkMageBookMount = 283;
|
||||
public const int KingSlimePet = 284;
|
||||
public const int EyeOfCthulhuPet = 285;
|
||||
public const int EaterOfWorldsPet = 286;
|
||||
public const int BrainOfCthulhuPet = 287;
|
||||
public const int SkeletronPet = 288;
|
||||
public const int QueenBeePet = 289;
|
||||
public const int DestroyerPet = 290;
|
||||
public const int TwinsPet = 291;
|
||||
public const int SkeletronPrimePet = 292;
|
||||
public const int PlanteraPet = 293;
|
||||
public const int GolemPet = 294;
|
||||
public const int DukeFishronPet = 295;
|
||||
public const int LunaticCultistPet = 296;
|
||||
public const int MoonLordPet = 297;
|
||||
public const int FairyQueenPet = 298;
|
||||
public const int PumpkingPet = 299;
|
||||
public const int EverscreamPet = 300;
|
||||
public const int IceQueenPet = 301;
|
||||
public const int MartianPet = 302;
|
||||
public const int DD2OgrePet = 303;
|
||||
public const int DD2BetsyPet = 304;
|
||||
public const int LavaSharkMount = 305;
|
||||
public const int TitaniumStorm = 306;
|
||||
public const int BlandWhipEnemyDebuff = 307;
|
||||
public const int SwordWhipPlayerBuff = 308;
|
||||
public const int SwordWhipNPCDebuff = 309;
|
||||
public const int ScytheWhipEnemyDebuff = 310;
|
||||
public const int ScytheWhipPlayerBuff = 311;
|
||||
public const int CoolWhipPlayerBuff = 312;
|
||||
public const int FlameWhipEnemyDebuff = 313;
|
||||
public const int ThornWhipPlayerBuff = 314;
|
||||
public const int ThornWhipNPCDebuff = 315;
|
||||
public const int RainbowWhipNPCDebuff = 316;
|
||||
public const int QueenSlimePet = 317;
|
||||
public const int QueenSlimeMount = 318;
|
||||
public const int MaceWhipNPCDebuff = 319;
|
||||
public const int GelBalloonBuff = 320;
|
||||
public const int BrainOfConfusionBuff = 321;
|
||||
public const int EmpressBlade = 322;
|
||||
public const int Count = 323;
|
||||
|
||||
public class Sets
|
||||
{
|
||||
public static SetFactory Factory = new SetFactory(323);
|
||||
public static bool[] IsWellFed = BuffID.Sets.Factory.CreateBoolSet(26, 206, 207);
|
||||
public static bool[] TimeLeftDoesNotDecrease = BuffID.Sets.Factory.CreateBoolSet(28);
|
||||
public static bool[] CanBeRemovedByNetMessage = BuffID.Sets.Factory.CreateBoolSet(313);
|
||||
public static bool[] IsAFlaskBuff = BuffID.Sets.Factory.CreateBoolSet(71, 72, 73, 74, 75, 76, 77, 78, 79);
|
||||
public static BuffID.Sets.BuffMountData[] BasicMountData = BuffID.Sets.Factory.CreateCustomSet<BuffID.Sets.BuffMountData>((BuffID.Sets.BuffMountData) null, (object) 118, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 6,
|
||||
faceLeft = true
|
||||
}, (object) 138, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 6,
|
||||
faceLeft = false
|
||||
}, (object) 184, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 13,
|
||||
faceLeft = true
|
||||
}, (object) 185, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 13,
|
||||
faceLeft = false
|
||||
}, (object) 211, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 16,
|
||||
faceLeft = true
|
||||
}, (object) 210, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 16,
|
||||
faceLeft = false
|
||||
}, (object) 209, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 15,
|
||||
faceLeft = true
|
||||
}, (object) 208, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 15,
|
||||
faceLeft = false
|
||||
}, (object) 221, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 18,
|
||||
faceLeft = true
|
||||
}, (object) 220, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 18,
|
||||
faceLeft = false
|
||||
}, (object) 223, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 19,
|
||||
faceLeft = true
|
||||
}, (object) 222, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 19,
|
||||
faceLeft = false
|
||||
}, (object) 225, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 20,
|
||||
faceLeft = true
|
||||
}, (object) 224, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 20,
|
||||
faceLeft = false
|
||||
}, (object) 227, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 21,
|
||||
faceLeft = true
|
||||
}, (object) 226, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 21,
|
||||
faceLeft = false
|
||||
}, (object) 229, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 22,
|
||||
faceLeft = true
|
||||
}, (object) 228, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 22,
|
||||
faceLeft = false
|
||||
}, (object) 232, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 24,
|
||||
faceLeft = true
|
||||
}, (object) 231, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 24,
|
||||
faceLeft = false
|
||||
}, (object) 234, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 25,
|
||||
faceLeft = true
|
||||
}, (object) 233, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 25,
|
||||
faceLeft = false
|
||||
}, (object) 236, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 26,
|
||||
faceLeft = true
|
||||
}, (object) 235, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 26,
|
||||
faceLeft = false
|
||||
}, (object) 238, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 27,
|
||||
faceLeft = true
|
||||
}, (object) 237, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 27,
|
||||
faceLeft = false
|
||||
}, (object) 240, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 28,
|
||||
faceLeft = true
|
||||
}, (object) 239, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 28,
|
||||
faceLeft = false
|
||||
}, (object) 242, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 29,
|
||||
faceLeft = true
|
||||
}, (object) 241, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 29,
|
||||
faceLeft = false
|
||||
}, (object) 244, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 30,
|
||||
faceLeft = true
|
||||
}, (object) 243, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 30,
|
||||
faceLeft = false
|
||||
}, (object) 246, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 31,
|
||||
faceLeft = true
|
||||
}, (object) 245, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 31,
|
||||
faceLeft = false
|
||||
}, (object) 248, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 32,
|
||||
faceLeft = true
|
||||
}, (object) 247, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 32,
|
||||
faceLeft = false
|
||||
}, (object) 250, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 33,
|
||||
faceLeft = true
|
||||
}, (object) 249, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 33,
|
||||
faceLeft = false
|
||||
}, (object) 252, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 34,
|
||||
faceLeft = true
|
||||
}, (object) 251, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 34,
|
||||
faceLeft = false
|
||||
}, (object) 254, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 35,
|
||||
faceLeft = true
|
||||
}, (object) 253, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 35,
|
||||
faceLeft = false
|
||||
}, (object) 256, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 36,
|
||||
faceLeft = true
|
||||
}, (object) (int) byte.MaxValue, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 36,
|
||||
faceLeft = false
|
||||
}, (object) 270, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 38,
|
||||
faceLeft = true
|
||||
}, (object) 269, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 38,
|
||||
faceLeft = false
|
||||
}, (object) 273, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 39,
|
||||
faceLeft = true
|
||||
}, (object) 272, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 39,
|
||||
faceLeft = false
|
||||
}, (object) 167, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 11,
|
||||
faceLeft = true
|
||||
}, (object) 166, (object) new BuffID.Sets.BuffMountData()
|
||||
{
|
||||
mountID = 11,
|
||||
faceLeft = false
|
||||
});
|
||||
|
||||
public class BuffMountData
|
||||
{
|
||||
public int mountID;
|
||||
public bool faceLeft;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
30
ID/ChainID.cs
Normal file
30
ID/ChainID.cs
Normal file
|
@ -0,0 +1,30 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.ChainID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public static class ChainID
|
||||
{
|
||||
public const short TendonHook = 0;
|
||||
public const short ThornHook = 1;
|
||||
public const short IlluminantHook = 2;
|
||||
public const short Wormhook = 3;
|
||||
public const short SilkRope = 4;
|
||||
public const short SilkRope2 = 5;
|
||||
public const short WebRope = 6;
|
||||
public const short WebRope2 = 7;
|
||||
public const short LunarSolar = 8;
|
||||
public const short LunarVortex = 9;
|
||||
public const short LunarNebula = 10;
|
||||
public const short LunarStardust = 11;
|
||||
public const short LunarSolarGlow = 12;
|
||||
public const short LunarVortexGlow = 13;
|
||||
public const short LunarNebulaGlow = 14;
|
||||
public const short LunarStardustGlow = 15;
|
||||
public const short StaticHook = 16;
|
||||
public const short Count = 17;
|
||||
}
|
||||
}
|
50
ID/CloudID.cs
Normal file
50
ID/CloudID.cs
Normal file
|
@ -0,0 +1,50 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.CloudID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public static class CloudID
|
||||
{
|
||||
public const int Regular1 = 0;
|
||||
public const int Regular2 = 1;
|
||||
public const int Regular3 = 2;
|
||||
public const int Regular4 = 3;
|
||||
public const int CirroCumulus1 = 4;
|
||||
public const int CirroCumulus2 = 5;
|
||||
public const int CirroCumulus3 = 6;
|
||||
public const int CirroCumulus4 = 7;
|
||||
public const int CirroCumulus5 = 8;
|
||||
public const int Cirrus1 = 9;
|
||||
public const int Cirrus2 = 10;
|
||||
public const int Cirrus3 = 11;
|
||||
public const int Cirrus4 = 12;
|
||||
public const int Cirrus5 = 13;
|
||||
public const int Cummulus1 = 14;
|
||||
public const int Cummulus2 = 15;
|
||||
public const int Cummulus3 = 16;
|
||||
public const int Cummulus4 = 17;
|
||||
public const int Cumulonimbus1 = 18;
|
||||
public const int Cumulonimbus2 = 19;
|
||||
public const int Cumulonimbus3 = 20;
|
||||
public const int Cumulonimbus4 = 21;
|
||||
public const int Rare_Bird = 22;
|
||||
public const int Rare_Bunny = 23;
|
||||
public const int Rare_Eater = 24;
|
||||
public const int Rare_EOC1 = 25;
|
||||
public const int Rare_EOC2 = 26;
|
||||
public const int Rare_Goldfish = 27;
|
||||
public const int Rare_Redigit = 28;
|
||||
public const int Rare_Heart = 29;
|
||||
public const int Rare_Pumpking = 30;
|
||||
public const int Rare_Skeletron = 31;
|
||||
public const int Rare_Star = 32;
|
||||
public const int Rare_Sword = 33;
|
||||
public const int Rare_Tree = 34;
|
||||
public const int Rare_Wyvern = 35;
|
||||
public const int Rare_BOC = 36;
|
||||
public const int Count = 37;
|
||||
}
|
||||
}
|
111
ID/Colors.cs
Normal file
111
ID/Colors.cs
Normal file
|
@ -0,0 +1,111 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.Colors
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
using Microsoft.Xna.Framework;
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public static class Colors
|
||||
{
|
||||
public static readonly Color RarityAmber = new Color((int) byte.MaxValue, 175, 0);
|
||||
public static readonly Color RarityTrash = new Color(130, 130, 130);
|
||||
public static readonly Color RarityNormal = Color.White;
|
||||
public static readonly Color RarityBlue = new Color(150, 150, (int) byte.MaxValue);
|
||||
public static readonly Color RarityGreen = new Color(150, (int) byte.MaxValue, 150);
|
||||
public static readonly Color RarityOrange = new Color((int) byte.MaxValue, 200, 150);
|
||||
public static readonly Color RarityRed = new Color((int) byte.MaxValue, 150, 150);
|
||||
public static readonly Color RarityPink = new Color((int) byte.MaxValue, 150, (int) byte.MaxValue);
|
||||
public static readonly Color RarityPurple = new Color(210, 160, (int) byte.MaxValue);
|
||||
public static readonly Color RarityLime = new Color(150, (int) byte.MaxValue, 10);
|
||||
public static readonly Color RarityYellow = new Color((int) byte.MaxValue, (int) byte.MaxValue, 10);
|
||||
public static readonly Color RarityCyan = new Color(5, 200, (int) byte.MaxValue);
|
||||
public static readonly Color CoinPlatinum = new Color(220, 220, 198);
|
||||
public static readonly Color CoinGold = new Color(224, 201, 92);
|
||||
public static readonly Color CoinSilver = new Color(181, 192, 193);
|
||||
public static readonly Color CoinCopper = new Color(246, 138, 96);
|
||||
public static readonly Color AmbientNPCGastropodLight = new Color(102, 0, 63);
|
||||
public static readonly Color JourneyMode = Color.Lerp(Color.HotPink, Color.White, 0.1f);
|
||||
public static readonly Color Mediumcore = new Color(1f, 0.6f, 0.0f);
|
||||
public static readonly Color Hardcore = new Color(1f, 0.15f, 0.1f);
|
||||
public static readonly Color LanternBG = new Color(120, 50, 20);
|
||||
public static readonly Color[] _waterfallColors;
|
||||
public static readonly Color[] _liquidColors;
|
||||
public static readonly Color FancyUIFatButtonMouseOver;
|
||||
public static readonly Color InventoryDefaultColor;
|
||||
public static readonly Color InventoryDefaultColorWithOpacity;
|
||||
|
||||
public static Color CurrentLiquidColor
|
||||
{
|
||||
get
|
||||
{
|
||||
Color color = Color.Transparent;
|
||||
bool flag = true;
|
||||
for (int index = 0; index < 11; ++index)
|
||||
{
|
||||
if ((double) Main.liquidAlpha[index] > 0.0)
|
||||
{
|
||||
if (flag)
|
||||
{
|
||||
flag = false;
|
||||
color = Colors._liquidColors[index];
|
||||
}
|
||||
else
|
||||
color = Color.Lerp(color, Colors._liquidColors[index], Main.liquidAlpha[index]);
|
||||
}
|
||||
}
|
||||
return color;
|
||||
}
|
||||
}
|
||||
|
||||
public static Color AlphaDarken(Color input) => input * ((float) Main.mouseTextColor / (float) byte.MaxValue);
|
||||
|
||||
public static Color GetSelectionGlowColor(bool isTileSelected, int averageTileLighting) => !isTileSelected ? new Color(averageTileLighting / 2, averageTileLighting / 2, averageTileLighting / 2, averageTileLighting) : new Color(averageTileLighting, averageTileLighting, averageTileLighting / 3, averageTileLighting);
|
||||
|
||||
static Colors()
|
||||
{
|
||||
Color[] colorArray = new Color[22];
|
||||
colorArray[0] = new Color(9, 61, 191);
|
||||
colorArray[1] = new Color(253, 32, 3);
|
||||
colorArray[2] = new Color(143, 143, 143);
|
||||
colorArray[3] = new Color(59, 29, 131);
|
||||
colorArray[4] = new Color(7, 145, 142);
|
||||
colorArray[5] = new Color(171, 11, 209);
|
||||
colorArray[6] = new Color(9, 137, 191);
|
||||
colorArray[7] = new Color(168, 106, 32);
|
||||
colorArray[8] = new Color(36, 60, 148);
|
||||
colorArray[9] = new Color(65, 59, 101);
|
||||
colorArray[10] = new Color(200, 0, 0);
|
||||
colorArray[13] = new Color(177, 54, 79);
|
||||
colorArray[14] = new Color((int) byte.MaxValue, 156, 12);
|
||||
colorArray[15] = new Color(91, 34, 104);
|
||||
colorArray[16] = new Color(102, 104, 34);
|
||||
colorArray[17] = new Color(34, 43, 104);
|
||||
colorArray[18] = new Color(34, 104, 38);
|
||||
colorArray[19] = new Color(104, 34, 34);
|
||||
colorArray[20] = new Color(76, 79, 102);
|
||||
colorArray[21] = new Color(104, 61, 34);
|
||||
Colors._waterfallColors = colorArray;
|
||||
Colors._liquidColors = new Color[12]
|
||||
{
|
||||
new Color(9, 61, 191),
|
||||
new Color(253, 32, 3),
|
||||
new Color(59, 29, 131),
|
||||
new Color(7, 145, 142),
|
||||
new Color(171, 11, 209),
|
||||
new Color(9, 137, 191),
|
||||
new Color(168, 106, 32),
|
||||
new Color(36, 60, 148),
|
||||
new Color(65, 59, 101),
|
||||
new Color(200, 0, 0),
|
||||
new Color(177, 54, 79),
|
||||
new Color((int) byte.MaxValue, 156, 12)
|
||||
};
|
||||
Colors.FancyUIFatButtonMouseOver = Main.OurFavoriteColor;
|
||||
Colors.InventoryDefaultColor = new Color(63, 65, 151, (int) byte.MaxValue);
|
||||
Colors.InventoryDefaultColorWithOpacity = new Color(63, 65, 151, (int) byte.MaxValue) * 0.785f;
|
||||
}
|
||||
}
|
||||
}
|
887
ID/ContentSamples.cs
Normal file
887
ID/ContentSamples.cs
Normal file
|
@ -0,0 +1,887 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.ContentSamples
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Terraria.GameContent.Bestiary;
|
||||
using Terraria.Graphics.Shaders;
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public static class ContentSamples
|
||||
{
|
||||
public static Dictionary<int, NPC> NpcsByNetId = new Dictionary<int, NPC>();
|
||||
public static Dictionary<int, Projectile> ProjectilesByType = new Dictionary<int, Projectile>();
|
||||
public static Dictionary<int, Item> ItemsByType = new Dictionary<int, Item>();
|
||||
public static Dictionary<string, int> ItemNetIdsByPersistentIds = new Dictionary<string, int>();
|
||||
public static Dictionary<int, string> ItemPersistentIdsByNetIds = new Dictionary<int, string>();
|
||||
public static Dictionary<string, int> NpcNetIdsByPersistentIds = new Dictionary<string, int>();
|
||||
public static Dictionary<int, string> NpcPersistentIdsByNetIds = new Dictionary<int, string>();
|
||||
public static Dictionary<int, int> NpcBestiarySortingId = new Dictionary<int, int>();
|
||||
public static Dictionary<int, int> NpcBestiaryRarityStars = new Dictionary<int, int>();
|
||||
public static Dictionary<int, string> NpcBestiaryCreditIdsByNpcNetIds = new Dictionary<int, string>();
|
||||
public static Dictionary<int, ContentSamples.CreativeHelper.ItemGroupAndOrderInGroup> ItemCreativeSortingId = new Dictionary<int, ContentSamples.CreativeHelper.ItemGroupAndOrderInGroup>();
|
||||
|
||||
public static void Initialize()
|
||||
{
|
||||
ContentSamples.NpcsByNetId.Clear();
|
||||
ContentSamples.NpcNetIdsByPersistentIds.Clear();
|
||||
ContentSamples.NpcPersistentIdsByNetIds.Clear();
|
||||
ContentSamples.NpcBestiarySortingId.Clear();
|
||||
for (int index = -65; index < 663; ++index)
|
||||
{
|
||||
NPC npc = new NPC();
|
||||
npc.SetDefaults(index);
|
||||
ContentSamples.NpcsByNetId[index] = npc;
|
||||
string name = NPCID.Search.GetName(npc.netID);
|
||||
ContentSamples.NpcPersistentIdsByNetIds[index] = name;
|
||||
ContentSamples.NpcBestiaryCreditIdsByNpcNetIds[index] = name;
|
||||
ContentSamples.NpcNetIdsByPersistentIds[name] = index;
|
||||
}
|
||||
ContentSamples.ModifyNPCIds();
|
||||
ContentSamples.ProjectilesByType.Clear();
|
||||
for (int index = 0; index < 950; ++index)
|
||||
{
|
||||
Projectile projectile = new Projectile();
|
||||
projectile.SetDefaults(index);
|
||||
ContentSamples.ProjectilesByType[index] = projectile;
|
||||
}
|
||||
ContentSamples.ItemsByType.Clear();
|
||||
for (int index = 0; index < 5045; ++index)
|
||||
{
|
||||
Item obj = new Item();
|
||||
obj.SetDefaults(index);
|
||||
ContentSamples.ItemsByType[index] = obj;
|
||||
string name = ItemID.Search.GetName(obj.netID);
|
||||
ContentSamples.ItemPersistentIdsByNetIds[index] = name;
|
||||
ContentSamples.ItemNetIdsByPersistentIds[name] = index;
|
||||
}
|
||||
foreach (int num in ItemID.Sets.ItemsThatAreProcessedAfterNormalContentSample)
|
||||
{
|
||||
Item obj = new Item();
|
||||
obj.SetDefaults(num);
|
||||
ContentSamples.ItemsByType[num] = obj;
|
||||
string name = ItemID.Search.GetName(obj.netID);
|
||||
ContentSamples.ItemPersistentIdsByNetIds[num] = name;
|
||||
ContentSamples.ItemNetIdsByPersistentIds[name] = num;
|
||||
}
|
||||
ContentSamples.FillNpcRarities();
|
||||
}
|
||||
|
||||
public static void FixItemsAfterRecipesAreAdded()
|
||||
{
|
||||
foreach (KeyValuePair<int, Item> keyValuePair in ContentSamples.ItemsByType)
|
||||
keyValuePair.Value.material = ItemID.Sets.IsAMaterial[keyValuePair.Key];
|
||||
}
|
||||
|
||||
public static void RebuildBestiarySortingIDsByBestiaryDatabaseContents(BestiaryDatabase database)
|
||||
{
|
||||
ContentSamples.NpcBestiarySortingId.Clear();
|
||||
ContentSamples.CreateBestiarySortingIds(database);
|
||||
}
|
||||
|
||||
public static void RebuildItemCreativeSortingIDsAfterRecipesAreSetUp()
|
||||
{
|
||||
ContentSamples.ItemCreativeSortingId.Clear();
|
||||
ContentSamples.CreateCreativeItemSortingIds();
|
||||
}
|
||||
|
||||
private static void ModifyNPCIds()
|
||||
{
|
||||
Dictionary<int, string> creditIdsByNpcNetIds = ContentSamples.NpcBestiaryCreditIdsByNpcNetIds;
|
||||
creditIdsByNpcNetIds[-65] = creditIdsByNpcNetIds[42];
|
||||
creditIdsByNpcNetIds[-64] = creditIdsByNpcNetIds[42];
|
||||
creditIdsByNpcNetIds[-63] = creditIdsByNpcNetIds[42];
|
||||
creditIdsByNpcNetIds[-62] = creditIdsByNpcNetIds[42];
|
||||
creditIdsByNpcNetIds[-61] = creditIdsByNpcNetIds[42];
|
||||
creditIdsByNpcNetIds[-60] = creditIdsByNpcNetIds[42];
|
||||
creditIdsByNpcNetIds[-59] = creditIdsByNpcNetIds[42];
|
||||
creditIdsByNpcNetIds[-58] = creditIdsByNpcNetIds[42];
|
||||
creditIdsByNpcNetIds[-57] = creditIdsByNpcNetIds[42];
|
||||
creditIdsByNpcNetIds[-56] = creditIdsByNpcNetIds[42];
|
||||
creditIdsByNpcNetIds[-55] = creditIdsByNpcNetIds[223];
|
||||
creditIdsByNpcNetIds[-54] = creditIdsByNpcNetIds[223];
|
||||
creditIdsByNpcNetIds[-53] = creditIdsByNpcNetIds[21];
|
||||
creditIdsByNpcNetIds[-52] = creditIdsByNpcNetIds[21];
|
||||
creditIdsByNpcNetIds[-51] = creditIdsByNpcNetIds[21];
|
||||
creditIdsByNpcNetIds[-50] = creditIdsByNpcNetIds[21];
|
||||
creditIdsByNpcNetIds[-49] = creditIdsByNpcNetIds[21];
|
||||
creditIdsByNpcNetIds[-48] = creditIdsByNpcNetIds[21];
|
||||
creditIdsByNpcNetIds[-47] = creditIdsByNpcNetIds[21];
|
||||
creditIdsByNpcNetIds[-46] = creditIdsByNpcNetIds[21];
|
||||
creditIdsByNpcNetIds[-45] = creditIdsByNpcNetIds[3];
|
||||
creditIdsByNpcNetIds[-44] = creditIdsByNpcNetIds[3];
|
||||
creditIdsByNpcNetIds[-43] = creditIdsByNpcNetIds[2];
|
||||
creditIdsByNpcNetIds[-42] = creditIdsByNpcNetIds[2];
|
||||
creditIdsByNpcNetIds[-41] = creditIdsByNpcNetIds[2];
|
||||
creditIdsByNpcNetIds[-40] = creditIdsByNpcNetIds[2];
|
||||
creditIdsByNpcNetIds[-39] = creditIdsByNpcNetIds[2];
|
||||
creditIdsByNpcNetIds[-38] = creditIdsByNpcNetIds[2];
|
||||
creditIdsByNpcNetIds[-37] = creditIdsByNpcNetIds[3];
|
||||
creditIdsByNpcNetIds[-36] = creditIdsByNpcNetIds[3];
|
||||
creditIdsByNpcNetIds[-35] = creditIdsByNpcNetIds[3];
|
||||
creditIdsByNpcNetIds[-34] = creditIdsByNpcNetIds[3];
|
||||
creditIdsByNpcNetIds[-33] = creditIdsByNpcNetIds[3];
|
||||
creditIdsByNpcNetIds[-32] = creditIdsByNpcNetIds[3];
|
||||
creditIdsByNpcNetIds[-31] = creditIdsByNpcNetIds[186];
|
||||
creditIdsByNpcNetIds[-30] = creditIdsByNpcNetIds[186];
|
||||
creditIdsByNpcNetIds[-27] = creditIdsByNpcNetIds[3];
|
||||
creditIdsByNpcNetIds[-26] = creditIdsByNpcNetIds[3];
|
||||
creditIdsByNpcNetIds[-23] = creditIdsByNpcNetIds[173];
|
||||
creditIdsByNpcNetIds[-22] = creditIdsByNpcNetIds[173];
|
||||
creditIdsByNpcNetIds[-25] = creditIdsByNpcNetIds[183];
|
||||
creditIdsByNpcNetIds[-24] = creditIdsByNpcNetIds[183];
|
||||
creditIdsByNpcNetIds[-21] = creditIdsByNpcNetIds[176];
|
||||
creditIdsByNpcNetIds[-20] = creditIdsByNpcNetIds[176];
|
||||
creditIdsByNpcNetIds[-19] = creditIdsByNpcNetIds[176];
|
||||
creditIdsByNpcNetIds[-18] = creditIdsByNpcNetIds[176];
|
||||
creditIdsByNpcNetIds[-17] = creditIdsByNpcNetIds[42];
|
||||
creditIdsByNpcNetIds[-16] = creditIdsByNpcNetIds[42];
|
||||
creditIdsByNpcNetIds[-15] = creditIdsByNpcNetIds[77];
|
||||
creditIdsByNpcNetIds[-14] = creditIdsByNpcNetIds[31];
|
||||
creditIdsByNpcNetIds[-13] = creditIdsByNpcNetIds[31];
|
||||
creditIdsByNpcNetIds[-12] = creditIdsByNpcNetIds[6];
|
||||
creditIdsByNpcNetIds[-11] = creditIdsByNpcNetIds[6];
|
||||
creditIdsByNpcNetIds[497] = creditIdsByNpcNetIds[496];
|
||||
creditIdsByNpcNetIds[495] = creditIdsByNpcNetIds[494];
|
||||
short num = 499;
|
||||
for (int key = 498; key <= 506; ++key)
|
||||
creditIdsByNpcNetIds[key] = creditIdsByNpcNetIds[(int) num];
|
||||
creditIdsByNpcNetIds[591] = creditIdsByNpcNetIds[590];
|
||||
creditIdsByNpcNetIds[430] = creditIdsByNpcNetIds[3];
|
||||
creditIdsByNpcNetIds[436] = creditIdsByNpcNetIds[200];
|
||||
creditIdsByNpcNetIds[431] = creditIdsByNpcNetIds[161];
|
||||
creditIdsByNpcNetIds[432] = creditIdsByNpcNetIds[186];
|
||||
creditIdsByNpcNetIds[433] = creditIdsByNpcNetIds[187];
|
||||
creditIdsByNpcNetIds[434] = creditIdsByNpcNetIds[188];
|
||||
creditIdsByNpcNetIds[435] = creditIdsByNpcNetIds[189];
|
||||
creditIdsByNpcNetIds[164] = creditIdsByNpcNetIds[165];
|
||||
creditIdsByNpcNetIds[236] = creditIdsByNpcNetIds[237];
|
||||
creditIdsByNpcNetIds[163] = creditIdsByNpcNetIds[238];
|
||||
creditIdsByNpcNetIds[239] = creditIdsByNpcNetIds[240];
|
||||
creditIdsByNpcNetIds[530] = creditIdsByNpcNetIds[531];
|
||||
creditIdsByNpcNetIds[449] = creditIdsByNpcNetIds[21];
|
||||
creditIdsByNpcNetIds[450] = creditIdsByNpcNetIds[201];
|
||||
creditIdsByNpcNetIds[451] = creditIdsByNpcNetIds[202];
|
||||
creditIdsByNpcNetIds[452] = creditIdsByNpcNetIds[203];
|
||||
creditIdsByNpcNetIds[595] = creditIdsByNpcNetIds[599];
|
||||
creditIdsByNpcNetIds[596] = creditIdsByNpcNetIds[599];
|
||||
creditIdsByNpcNetIds[597] = creditIdsByNpcNetIds[599];
|
||||
creditIdsByNpcNetIds[598] = creditIdsByNpcNetIds[599];
|
||||
creditIdsByNpcNetIds[600] = creditIdsByNpcNetIds[599];
|
||||
creditIdsByNpcNetIds[230] = creditIdsByNpcNetIds[55];
|
||||
creditIdsByNpcNetIds[593] = creditIdsByNpcNetIds[592];
|
||||
creditIdsByNpcNetIds[-2] = creditIdsByNpcNetIds[121];
|
||||
creditIdsByNpcNetIds[195] = creditIdsByNpcNetIds[196];
|
||||
creditIdsByNpcNetIds[198] = creditIdsByNpcNetIds[199];
|
||||
creditIdsByNpcNetIds[158] = creditIdsByNpcNetIds[159];
|
||||
creditIdsByNpcNetIds[568] = creditIdsByNpcNetIds[569];
|
||||
creditIdsByNpcNetIds[566] = creditIdsByNpcNetIds[567];
|
||||
creditIdsByNpcNetIds[576] = creditIdsByNpcNetIds[577];
|
||||
creditIdsByNpcNetIds[558] = creditIdsByNpcNetIds[560];
|
||||
creditIdsByNpcNetIds[559] = creditIdsByNpcNetIds[560];
|
||||
creditIdsByNpcNetIds[552] = creditIdsByNpcNetIds[554];
|
||||
creditIdsByNpcNetIds[553] = creditIdsByNpcNetIds[554];
|
||||
creditIdsByNpcNetIds[564] = creditIdsByNpcNetIds[565];
|
||||
creditIdsByNpcNetIds[570] = creditIdsByNpcNetIds[571];
|
||||
creditIdsByNpcNetIds[555] = creditIdsByNpcNetIds[557];
|
||||
creditIdsByNpcNetIds[556] = creditIdsByNpcNetIds[557];
|
||||
creditIdsByNpcNetIds[574] = creditIdsByNpcNetIds[575];
|
||||
creditIdsByNpcNetIds[561] = creditIdsByNpcNetIds[563];
|
||||
creditIdsByNpcNetIds[562] = creditIdsByNpcNetIds[563];
|
||||
creditIdsByNpcNetIds[572] = creditIdsByNpcNetIds[573];
|
||||
creditIdsByNpcNetIds[14] = creditIdsByNpcNetIds[13];
|
||||
creditIdsByNpcNetIds[15] = creditIdsByNpcNetIds[13];
|
||||
}
|
||||
|
||||
private static void CreateBestiarySortingIds(BestiaryDatabase database)
|
||||
{
|
||||
List<KeyValuePair<int, NPC>> bestiaryEntriesList = ContentSamples.BestiaryHelper.GetSortedBestiaryEntriesList(database);
|
||||
int num = 1;
|
||||
foreach (KeyValuePair<int, NPC> keyValuePair in bestiaryEntriesList)
|
||||
{
|
||||
ContentSamples.NpcBestiarySortingId[keyValuePair.Key] = num;
|
||||
++num;
|
||||
}
|
||||
}
|
||||
|
||||
private static void FillNpcRarities()
|
||||
{
|
||||
NPCSpawnParams spawnparams = new NPCSpawnParams()
|
||||
{
|
||||
gameModeData = Main.RegisterdGameModes[0]
|
||||
};
|
||||
for (int index = -65; index < 663; ++index)
|
||||
{
|
||||
NPC npc = new NPC();
|
||||
npc.SetDefaults(index, spawnparams);
|
||||
ContentSamples.NpcBestiaryRarityStars[index] = ContentSamples.GetNPCBestiaryRarityStarsCount(npc);
|
||||
}
|
||||
ContentSamples.NpcBestiaryRarityStars[22] = 1;
|
||||
ContentSamples.NpcBestiaryRarityStars[17] = 1;
|
||||
ContentSamples.NpcBestiaryRarityStars[18] = 1;
|
||||
ContentSamples.NpcBestiaryRarityStars[38] = 1;
|
||||
ContentSamples.NpcBestiaryRarityStars[369] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[20] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[19] = 1;
|
||||
ContentSamples.NpcBestiaryRarityStars[227] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[353] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[550] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[588] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[107] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[228] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[124] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[54] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[108] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[178] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[216] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[160] = 5;
|
||||
ContentSamples.NpcBestiaryRarityStars[441] = 5;
|
||||
ContentSamples.NpcBestiaryRarityStars[209] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[208] = 4;
|
||||
ContentSamples.NpcBestiaryRarityStars[142] = 5;
|
||||
ContentSamples.NpcBestiaryRarityStars[368] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[453] = 4;
|
||||
ContentSamples.NpcBestiaryRarityStars[37] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[633] = 5;
|
||||
ContentSamples.NpcBestiaryRarityStars[638] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[637] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[656] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[484] = 5;
|
||||
ContentSamples.NpcBestiaryRarityStars[614] = 4;
|
||||
ContentSamples.NpcBestiaryRarityStars[303] = 4;
|
||||
ContentSamples.NpcBestiaryRarityStars[337] = 4;
|
||||
ContentSamples.NpcBestiaryRarityStars[360] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[655] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[374] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[661] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[362] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[364] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[616] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[298] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[599] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[355] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[358] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[654] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[653] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[540] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[604] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[611] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[612] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[608] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[607] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[615] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[626] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[485] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[487] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[149] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[366] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[47] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[57] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[168] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[464] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[465] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[470] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[301] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[316] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[546] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[170] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[180] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[171] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[29] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[471] = 4;
|
||||
ContentSamples.NpcBestiaryRarityStars[66] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[223] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[161] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[491] = 4;
|
||||
ContentSamples.NpcBestiaryRarityStars[-9] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[594] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[628] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[225] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[224] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[250] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[16] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[481] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[483] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[184] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[185] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[206] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[541] = 4;
|
||||
ContentSamples.NpcBestiaryRarityStars[537] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[205] = 4;
|
||||
ContentSamples.NpcBestiaryRarityStars[499] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[494] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[496] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[302] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[317] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[318] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[319] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[320] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[321] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[331] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[332] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[322] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[323] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[324] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[335] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[336] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[333] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[334] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[4] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[50] = 2;
|
||||
ContentSamples.NpcBestiaryRarityStars[35] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[13] = 3;
|
||||
ContentSamples.NpcBestiaryRarityStars[134] = 4;
|
||||
ContentSamples.NpcBestiaryRarityStars[262] = 4;
|
||||
}
|
||||
|
||||
private static int GetNPCBestiaryRarityStarsCount(NPC npc)
|
||||
{
|
||||
float num1 = 1f + (float) npc.rarity;
|
||||
if (npc.rarity == 1)
|
||||
++num1;
|
||||
else if (npc.rarity == 2)
|
||||
num1 += 1.5f;
|
||||
else if (npc.rarity == 3)
|
||||
num1 += 2f;
|
||||
else if (npc.rarity == 4)
|
||||
num1 += 2.5f;
|
||||
else if (npc.rarity == 5)
|
||||
num1 += 3f;
|
||||
else if (npc.rarity > 0)
|
||||
num1 += 3.5f;
|
||||
if (npc.boss)
|
||||
num1 += 0.5f;
|
||||
int num2 = npc.damage + npc.defense + npc.lifeMax / 4;
|
||||
if (num2 > 10000)
|
||||
num1 += 3.5f;
|
||||
else if (num2 > 5000)
|
||||
num1 += 3f;
|
||||
else if (num2 > 1000)
|
||||
num1 += 2.5f;
|
||||
else if (num2 > 500)
|
||||
num1 += 2f;
|
||||
else if (num2 > 150)
|
||||
num1 += 1.5f;
|
||||
else if (num2 > 50)
|
||||
++num1;
|
||||
if ((double) num1 > 5.0)
|
||||
num1 = 5f;
|
||||
return (int) num1;
|
||||
}
|
||||
|
||||
private static void CreateCreativeItemSortingIds() => ContentSamples.CreativeHelper.SetCreativeMenuOrder();
|
||||
|
||||
public static class CommonlyUsedContentSamples
|
||||
{
|
||||
public static int TeamDyeShaderIndex = -1;
|
||||
public static int ColorOnlyShaderIndex = -1;
|
||||
|
||||
public static void PrepareAfterEverythingElseLoaded()
|
||||
{
|
||||
ContentSamples.CommonlyUsedContentSamples.TeamDyeShaderIndex = (int) GameShaders.Hair.GetShaderIdFromItemId(1984);
|
||||
ContentSamples.CommonlyUsedContentSamples.ColorOnlyShaderIndex = GameShaders.Armor.GetShaderIdFromItemId(3978);
|
||||
}
|
||||
}
|
||||
|
||||
public static class CreativeHelper
|
||||
{
|
||||
private static List<int> _manualEventItemsOrder = new List<int>()
|
||||
{
|
||||
361,
|
||||
1315,
|
||||
2767,
|
||||
602,
|
||||
1844,
|
||||
1958
|
||||
};
|
||||
private static List<int> _manualBossSpawnItemsOrder = new List<int>()
|
||||
{
|
||||
43,
|
||||
560,
|
||||
70,
|
||||
1331,
|
||||
1133,
|
||||
1307,
|
||||
267,
|
||||
4988,
|
||||
544,
|
||||
557,
|
||||
556,
|
||||
1293,
|
||||
2673,
|
||||
4961,
|
||||
3601
|
||||
};
|
||||
private static List<int> _manualGolfItemsOrder = new List<int>()
|
||||
{
|
||||
4095,
|
||||
4596,
|
||||
4597,
|
||||
4595,
|
||||
4598,
|
||||
4592,
|
||||
4593,
|
||||
4591,
|
||||
4594,
|
||||
4092,
|
||||
4093,
|
||||
4039,
|
||||
4094,
|
||||
4588,
|
||||
4589,
|
||||
4587,
|
||||
4590,
|
||||
3989,
|
||||
4242,
|
||||
4243,
|
||||
4244,
|
||||
4245,
|
||||
4246,
|
||||
4247,
|
||||
4248,
|
||||
4249,
|
||||
4250,
|
||||
4251,
|
||||
4252,
|
||||
4253,
|
||||
4254,
|
||||
4255,
|
||||
4040,
|
||||
4086,
|
||||
4085,
|
||||
4088,
|
||||
4084,
|
||||
4083,
|
||||
4087
|
||||
};
|
||||
|
||||
public static ContentSamples.CreativeHelper.ItemGroup GetItemGroup(
|
||||
Item item,
|
||||
out int orderInGroup)
|
||||
{
|
||||
orderInGroup = 0;
|
||||
int num1 = ContentSamples.CreativeHelper._manualGolfItemsOrder.IndexOf(item.type);
|
||||
if (num1 != -1)
|
||||
{
|
||||
orderInGroup = num1;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Golf;
|
||||
}
|
||||
int num2 = ItemID.Sets.SortingPriorityWiring[item.type];
|
||||
if (num2 != -1)
|
||||
{
|
||||
orderInGroup = -num2;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Wiring;
|
||||
}
|
||||
if (item.type == 3620)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Wiring;
|
||||
if (item.type == 327 || item.type == 329 || item.type == 1141 || item.type == 1533 || item.type == 1537 || item.type == 1536 || item.type == 1534 || item.type == 1535 || item.type == 3092 || item.type == 3091 || item.type == 4714)
|
||||
{
|
||||
orderInGroup = -item.rare;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Keys;
|
||||
}
|
||||
if (item.type == 985 || item.type == 3079 || item.type == 3005 || item.type == 3080)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Rope;
|
||||
if (item.type == 781 || item.type == 783 || item.type == 780 || item.type == 782 || item.type == 784)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Solutions;
|
||||
if (item.type == 282 || item.type == 3112 || item.type == 4776 || item.type == 3002 || item.type == 286)
|
||||
{
|
||||
if (item.type == 282)
|
||||
orderInGroup = -1;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Glowsticks;
|
||||
}
|
||||
if (item.type == 166 || item.type == 3115 || item.type == 235 || item.type == 167 || item.type == 3547 || item.type == 2896 || item.type == 3196 || item.type == 4908 || item.type == 4909 || item.type == 4827 || item.type == 4826 || item.type == 4825 || item.type == 4423 || item.type == 4824)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Bombs;
|
||||
if (item.createTile == 376)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Crates;
|
||||
if (item.type == 1774 || item.type == 1869 || item.type == 4345 || item.type == 3093 || item.type == 4410)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.GoodieBags;
|
||||
if (item.type >= 3318 && item.type <= 3332 || item.type >= 3860 && item.type <= 3862 || item.type == 4782 || item.type == 4957)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.BossBags;
|
||||
if (item.type == 1115 || item.type == 1114 || item.type == 1110 || item.type == 1112 || item.type == 1108 || item.type == 1107 || item.type == 1116 || item.type == 1109 || item.type == 1111 || item.type == 1118 || item.type == 1117 || item.type == 1113 || item.type == 1119)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.DyeMaterial;
|
||||
if (item.type == 3385 || item.type == 3386 || item.type == 3387 || item.type == 3388)
|
||||
{
|
||||
orderInGroup = -1;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.DyeMaterial;
|
||||
}
|
||||
if (item.dye != (byte) 0)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Dye;
|
||||
if (item.hairDye != (short) -1)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.HairDye;
|
||||
if (item.IsACoin)
|
||||
{
|
||||
if (item.type == 71)
|
||||
orderInGroup = 4;
|
||||
else if (item.type == 72)
|
||||
orderInGroup = 3;
|
||||
else if (item.type == 73)
|
||||
orderInGroup = 2;
|
||||
else if (item.type == 74)
|
||||
orderInGroup = 1;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Coin;
|
||||
}
|
||||
if (item.createWall > 0)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Walls;
|
||||
if (item.createTile == 82)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.AlchemySeeds;
|
||||
if (item.type == 315 || item.type == 313 || item.type == 316 || item.type == 318 || item.type == 314 || item.type == 2358 || item.type == 317)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.AlchemyPlants;
|
||||
if (item.createTile == 30 || item.createTile == 321 || item.createTile == 322 || item.createTile == 157 || item.createTile == 158 || item.createTile == 208 || item.createTile == 159 || item.createTile == 253 || item.createTile == 311)
|
||||
{
|
||||
orderInGroup = item.createTile != 30 ? (item.createTile != 311 ? 50 : 100) : 0;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Wood;
|
||||
}
|
||||
if (item.createTile >= 0)
|
||||
{
|
||||
if (item.type == 213)
|
||||
{
|
||||
orderInGroup = -1;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Pickaxe;
|
||||
}
|
||||
if (item.tileWand >= 0)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Wands;
|
||||
if (item.createTile == 213 || item.createTile == 353 || item.createTile == 365 || item.createTile == 366 || item.createTile == 214)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Rope;
|
||||
if (!Main.tileSolid[item.createTile] || Main.tileSolidTop[item.createTile] || item.createTile == 10)
|
||||
{
|
||||
if (item.createTile == 4)
|
||||
{
|
||||
orderInGroup = item.placeStyle != 0 ? 10 : 5;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Torches;
|
||||
}
|
||||
orderInGroup = item.createTile != 178 ? (item.createTile != 239 ? (item.type == 27 || item.type == 4857 || item.type == 4852 || item.type == 4856 || item.type == 4854 || item.type == 4855 || item.type == 4853 || item.type == 4851 ? 8 : (!TileID.Sets.Platforms[item.createTile] ? (item.createTile != 18 ? (item.createTile == 16 || item.createTile == 134 ? (item.placeStyle != 0 ? 40 : 39) : (item.createTile == 133 || item.createTile == 17 ? (item.placeStyle != 0 ? 50 : 49) : (item.createTile != 10 ? (item.createTile != 15 ? (item.createTile != 497 ? (item.createTile != 79 ? (item.createTile != 14 ? (item.createTile != 469 ? (item.createTile != 21 ? (item.createTile != 467 ? (item.createTile != 441 ? (item.createTile != 468 ? item.createTile + 1000 : 130) : 120) : 110) : (item.placeStyle != 0 ? 100 : 99)) : 90) : (item.placeStyle != 0 ? 80 : 79)) : (item.placeStyle != 0 ? 75 : 74)) : 72) : (item.placeStyle != 0 ? 70 : 69)) : (item.placeStyle != 0 ? 60 : 59)))) : (item.placeStyle != 0 ? 30 : 29)) : (item.placeStyle != 0 ? 20 : 19))) : 7) : 5;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.PlacableObjects;
|
||||
}
|
||||
orderInGroup = TileID.Sets.Conversion.Grass[item.createTile] || item.type == 194 ? 5 : 10000;
|
||||
if (item.type == 2)
|
||||
orderInGroup = 10;
|
||||
else if (item.type == 3)
|
||||
orderInGroup = 20;
|
||||
else if (item.type == 133)
|
||||
orderInGroup = 30;
|
||||
else if (item.type == 424)
|
||||
orderInGroup = 40;
|
||||
else if (item.type == 1103)
|
||||
orderInGroup = 50;
|
||||
else if (item.type == 169)
|
||||
orderInGroup = 60;
|
||||
else if (item.type == 170)
|
||||
orderInGroup = 70;
|
||||
else if (item.type == 176)
|
||||
orderInGroup = 80;
|
||||
else if (item.type == 276)
|
||||
orderInGroup = 80;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Blocks;
|
||||
}
|
||||
if (item.mountType != -1)
|
||||
return MountID.Sets.Cart[item.mountType] ? ContentSamples.CreativeHelper.ItemGroup.Minecart : ContentSamples.CreativeHelper.ItemGroup.Mount;
|
||||
if (item.bait > 0)
|
||||
{
|
||||
orderInGroup = -item.bait;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.FishingBait;
|
||||
}
|
||||
if (item.makeNPC > (short) 0)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Critters;
|
||||
if (item.fishingPole > 1)
|
||||
{
|
||||
orderInGroup = -item.fishingPole;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.FishingRods;
|
||||
}
|
||||
if (item.questItem)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.FishingQuestFish;
|
||||
if (item.type >= 2297 && item.type <= 2321 || item.type == 4402 || item.type == 4401 || item.type == 2290)
|
||||
{
|
||||
orderInGroup = -item.rare;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.FishingQuestFish;
|
||||
}
|
||||
int num3 = ItemID.Sets.SortingPriorityPainting[item.type];
|
||||
if (num3 != -1 || item.paint != (byte) 0)
|
||||
{
|
||||
orderInGroup = -num3;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Paint;
|
||||
}
|
||||
int num4 = ContentSamples.CreativeHelper._manualBossSpawnItemsOrder.IndexOf(item.type);
|
||||
if (num4 != -1)
|
||||
{
|
||||
orderInGroup = num4;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.BossItem;
|
||||
}
|
||||
int num5 = ContentSamples.CreativeHelper._manualEventItemsOrder.IndexOf(item.type);
|
||||
if (num5 != -1)
|
||||
{
|
||||
orderInGroup = num5;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.EventItem;
|
||||
}
|
||||
if (item.shoot != 0 && Main.projHook[item.shoot])
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Hook;
|
||||
if (item.type == 2756 || item.type == 2351 || item.type == 4870 || item.type == 2350 || item.type == 2997 || item.type == 2352 || item.type == 2353)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.BuffPotion;
|
||||
if (item.buffType != 0)
|
||||
{
|
||||
if (BuffID.Sets.IsWellFed[item.buffType])
|
||||
{
|
||||
orderInGroup = -item.buffType * 10000000 - item.buffTime;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Food;
|
||||
}
|
||||
if (BuffID.Sets.IsAFlaskBuff[item.buffType])
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Flask;
|
||||
if (Main.vanityPet[item.buffType] || Main.lightPet[item.buffType])
|
||||
return ContentSamples.CreativeHelper.ItemGroup.VanityPet;
|
||||
if (item.damage == -1)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.BuffPotion;
|
||||
}
|
||||
if (item.headSlot >= 0)
|
||||
{
|
||||
orderInGroup = -item.defense;
|
||||
orderInGroup -= item.rare * 1000;
|
||||
if (item.vanity)
|
||||
orderInGroup += 100000;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Headgear;
|
||||
}
|
||||
if (item.bodySlot >= 0)
|
||||
{
|
||||
orderInGroup = -item.defense;
|
||||
orderInGroup -= item.rare * 1000;
|
||||
if (item.vanity)
|
||||
orderInGroup += 100000;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Torso;
|
||||
}
|
||||
if (item.legSlot >= 0)
|
||||
{
|
||||
orderInGroup = -item.defense;
|
||||
orderInGroup -= item.rare * 1000;
|
||||
if (item.vanity)
|
||||
orderInGroup += 100000;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Pants;
|
||||
}
|
||||
if (item.accessory)
|
||||
{
|
||||
orderInGroup = item.vanity.ToInt() - item.expert.ToInt();
|
||||
if (item.type >= 3293 && item.type <= 3308)
|
||||
orderInGroup -= 200000;
|
||||
else if (item.type >= 3309 && item.type <= 3314)
|
||||
orderInGroup -= 100000;
|
||||
orderInGroup -= item.rare * 10000;
|
||||
if (item.vanity)
|
||||
orderInGroup += 100000;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Accessories;
|
||||
}
|
||||
if (item.pick > 0)
|
||||
{
|
||||
orderInGroup = -item.pick;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Pickaxe;
|
||||
}
|
||||
if (item.axe > 0)
|
||||
{
|
||||
orderInGroup = -item.axe;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Axe;
|
||||
}
|
||||
if (item.hammer > 0)
|
||||
{
|
||||
orderInGroup = -item.hammer;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Hammer;
|
||||
}
|
||||
if (item.healLife > 0)
|
||||
{
|
||||
orderInGroup = item.type != 3544 ? (item.type != 499 ? (item.type != 188 ? (item.type != 28 ? -item.healLife + 1000 : 3) : 2) : 1) : 0;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.LifePotions;
|
||||
}
|
||||
if (item.healMana > 0)
|
||||
{
|
||||
orderInGroup = -item.healMana;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.ManaPotions;
|
||||
}
|
||||
if (item.ammo != AmmoID.None && !item.notAmmo && item.type != 23 && item.type != 75)
|
||||
{
|
||||
orderInGroup = -item.ammo * 10000;
|
||||
orderInGroup += -item.damage;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.Ammo;
|
||||
}
|
||||
if (item.consumable)
|
||||
{
|
||||
if (item.damage > 0)
|
||||
{
|
||||
orderInGroup = item.type == 422 || item.type == 423 || item.type == 3477 ? -100000 : -item.damage;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.ConsumableThatDamages;
|
||||
}
|
||||
if (item.type == 4910 || item.type == 4829 || item.type == 4830)
|
||||
orderInGroup = 10;
|
||||
else if (item.type == 66 || item.type == 2886 || item.type == 67)
|
||||
orderInGroup = -10;
|
||||
else if (item.type >= 1874 && item.type <= 1905)
|
||||
orderInGroup = 5;
|
||||
return ContentSamples.CreativeHelper.ItemGroup.ConsumableThatDoesNotDamage;
|
||||
}
|
||||
if (item.damage > 0)
|
||||
{
|
||||
orderInGroup = -item.damage;
|
||||
if (item.melee)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.MeleeWeapon;
|
||||
if (item.ranged)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.RangedWeapon;
|
||||
if (item.magic)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.MagicWeapon;
|
||||
if (item.summon)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.SummonWeapon;
|
||||
}
|
||||
orderInGroup = -item.rare;
|
||||
if (item.useStyle > 0)
|
||||
return ContentSamples.CreativeHelper.ItemGroup.RemainingUseItems;
|
||||
return item.material ? ContentSamples.CreativeHelper.ItemGroup.Material : ContentSamples.CreativeHelper.ItemGroup.EverythingElse;
|
||||
}
|
||||
|
||||
public static void SetCreativeMenuOrder()
|
||||
{
|
||||
List<Item> source1 = new List<Item>();
|
||||
for (int Type = 1; Type < 5045; ++Type)
|
||||
{
|
||||
Item obj = new Item();
|
||||
obj.SetDefaults(Type);
|
||||
source1.Add(obj);
|
||||
}
|
||||
IOrderedEnumerable<IGrouping<ContentSamples.CreativeHelper.ItemGroup, ContentSamples.CreativeHelper.ItemGroupAndOrderInGroup>> source2 = source1.Select<Item, ContentSamples.CreativeHelper.ItemGroupAndOrderInGroup>((Func<Item, ContentSamples.CreativeHelper.ItemGroupAndOrderInGroup>) (x => new ContentSamples.CreativeHelper.ItemGroupAndOrderInGroup(x))).GroupBy<ContentSamples.CreativeHelper.ItemGroupAndOrderInGroup, ContentSamples.CreativeHelper.ItemGroup>((Func<ContentSamples.CreativeHelper.ItemGroupAndOrderInGroup, ContentSamples.CreativeHelper.ItemGroup>) (x => x.Group)).OrderBy<IGrouping<ContentSamples.CreativeHelper.ItemGroup, ContentSamples.CreativeHelper.ItemGroupAndOrderInGroup>, int>((Func<IGrouping<ContentSamples.CreativeHelper.ItemGroup, ContentSamples.CreativeHelper.ItemGroupAndOrderInGroup>, int>) (group => (int) group.Key));
|
||||
foreach (IEnumerable<ContentSamples.CreativeHelper.ItemGroupAndOrderInGroup> groupAndOrderInGroups in (IEnumerable<IGrouping<ContentSamples.CreativeHelper.ItemGroup, ContentSamples.CreativeHelper.ItemGroupAndOrderInGroup>>) source2)
|
||||
{
|
||||
foreach (ContentSamples.CreativeHelper.ItemGroupAndOrderInGroup groupAndOrderInGroup in groupAndOrderInGroups)
|
||||
ContentSamples.ItemCreativeSortingId[groupAndOrderInGroup.ItemType] = groupAndOrderInGroup;
|
||||
}
|
||||
source2.SelectMany<IGrouping<ContentSamples.CreativeHelper.ItemGroup, ContentSamples.CreativeHelper.ItemGroupAndOrderInGroup>, ContentSamples.CreativeHelper.ItemGroupAndOrderInGroup>((Func<IGrouping<ContentSamples.CreativeHelper.ItemGroup, ContentSamples.CreativeHelper.ItemGroupAndOrderInGroup>, IEnumerable<ContentSamples.CreativeHelper.ItemGroupAndOrderInGroup>>) (group => (IEnumerable<ContentSamples.CreativeHelper.ItemGroupAndOrderInGroup>) group.ToList<ContentSamples.CreativeHelper.ItemGroupAndOrderInGroup>())).ToList<ContentSamples.CreativeHelper.ItemGroupAndOrderInGroup>();
|
||||
}
|
||||
|
||||
public static bool ShouldRemoveFromList(Item item) => ItemID.Sets.Deprecated[item.type];
|
||||
|
||||
public enum ItemGroup
|
||||
{
|
||||
Coin = 10, // 0x0000000A
|
||||
Torches = 20, // 0x00000014
|
||||
Glowsticks = 25, // 0x00000019
|
||||
Wood = 30, // 0x0000001E
|
||||
Bombs = 40, // 0x00000028
|
||||
LifePotions = 50, // 0x00000032
|
||||
ManaPotions = 51, // 0x00000033
|
||||
BuffPotion = 52, // 0x00000034
|
||||
Flask = 53, // 0x00000035
|
||||
Food = 54, // 0x00000036
|
||||
Crates = 60, // 0x0000003C
|
||||
BossBags = 70, // 0x00000046
|
||||
GoodieBags = 80, // 0x00000050
|
||||
AlchemyPlants = 83, // 0x00000053
|
||||
AlchemySeeds = 84, // 0x00000054
|
||||
DyeMaterial = 87, // 0x00000057
|
||||
BossItem = 90, // 0x0000005A
|
||||
EventItem = 91, // 0x0000005B
|
||||
ConsumableThatDoesNotDamage = 94, // 0x0000005E
|
||||
Solutions = 95, // 0x0000005F
|
||||
Ammo = 96, // 0x00000060
|
||||
ConsumableThatDamages = 97, // 0x00000061
|
||||
PlacableObjects = 100, // 0x00000064
|
||||
Blocks = 120, // 0x00000078
|
||||
Wands = 130, // 0x00000082
|
||||
Rope = 140, // 0x0000008C
|
||||
Walls = 150, // 0x00000096
|
||||
Wiring = 200, // 0x000000C8
|
||||
Pickaxe = 500, // 0x000001F4
|
||||
Axe = 510, // 0x000001FE
|
||||
Hammer = 520, // 0x00000208
|
||||
MeleeWeapon = 530, // 0x00000212
|
||||
RangedWeapon = 540, // 0x0000021C
|
||||
MagicWeapon = 550, // 0x00000226
|
||||
SummonWeapon = 560, // 0x00000230
|
||||
Headgear = 600, // 0x00000258
|
||||
Torso = 610, // 0x00000262
|
||||
Pants = 620, // 0x0000026C
|
||||
Accessories = 630, // 0x00000276
|
||||
Hook = 700, // 0x000002BC
|
||||
Mount = 710, // 0x000002C6
|
||||
Minecart = 720, // 0x000002D0
|
||||
VanityPet = 800, // 0x00000320
|
||||
LightPet = 810, // 0x0000032A
|
||||
Golf = 900, // 0x00000384
|
||||
Dye = 910, // 0x0000038E
|
||||
HairDye = 920, // 0x00000398
|
||||
Paint = 930, // 0x000003A2
|
||||
FishingRods = 1000, // 0x000003E8
|
||||
FishingQuestFish = 1010, // 0x000003F2
|
||||
Fish = 1015, // 0x000003F7
|
||||
FishingBait = 1020, // 0x000003FC
|
||||
Critters = 1030, // 0x00000406
|
||||
Keys = 2000, // 0x000007D0
|
||||
RemainingUseItems = 5000, // 0x00001388
|
||||
Material = 10000, // 0x00002710
|
||||
EverythingElse = 11000, // 0x00002AF8
|
||||
}
|
||||
|
||||
public struct ItemGroupAndOrderInGroup
|
||||
{
|
||||
public int ItemType;
|
||||
public ContentSamples.CreativeHelper.ItemGroup Group;
|
||||
public int OrderInGroup;
|
||||
|
||||
public ItemGroupAndOrderInGroup(Item item)
|
||||
{
|
||||
this.ItemType = item.type;
|
||||
this.Group = ContentSamples.CreativeHelper.GetItemGroup(item, out this.OrderInGroup);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static class BestiaryHelper
|
||||
{
|
||||
public static List<KeyValuePair<int, NPC>> GetSortedBestiaryEntriesList(
|
||||
BestiaryDatabase database)
|
||||
{
|
||||
List<IBestiaryInfoElement> commonFilters = BestiaryDatabaseNPCsPopulator.CommonTags.GetCommonInfoElementsForFilters();
|
||||
List<KeyValuePair<int, NPC>> list = ContentSamples.NpcsByNetId.ToList<KeyValuePair<int, NPC>>().OrderBy<KeyValuePair<int, NPC>, int>((Func<KeyValuePair<int, NPC>, int>) (x => ContentSamples.BestiaryHelper.GetBestiaryTownPriority(x.Value))).ThenBy<KeyValuePair<int, NPC>, bool>((Func<KeyValuePair<int, NPC>, bool>) (x => !x.Value.isLikeATownNPC)).ThenBy<KeyValuePair<int, NPC>, int>((Func<KeyValuePair<int, NPC>, int>) (x => ContentSamples.BestiaryHelper.GetBestiaryNormalGoldCritterPriority(x.Value))).ThenBy<KeyValuePair<int, NPC>, bool>((Func<KeyValuePair<int, NPC>, bool>) (x => !x.Value.CountsAsACritter)).ThenBy<KeyValuePair<int, NPC>, int>((Func<KeyValuePair<int, NPC>, int>) (x => ContentSamples.BestiaryHelper.GetBestiaryBossPriority(x.Value))).ThenBy<KeyValuePair<int, NPC>, bool>((Func<KeyValuePair<int, NPC>, bool>) (x => x.Value.boss || NPCID.Sets.ShouldBeCountedAsBoss[x.Value.type])).ThenBy<KeyValuePair<int, NPC>, int>((Func<KeyValuePair<int, NPC>, int>) (x => ContentSamples.BestiaryHelper.GetLowestBiomeGroupIndex(x.Value, database, commonFilters))).ThenBy<KeyValuePair<int, NPC>, int>((Func<KeyValuePair<int, NPC>, int>) (x => x.Value.aiStyle)).ThenBy<KeyValuePair<int, NPC>, float>((Func<KeyValuePair<int, NPC>, float>) (x => ContentSamples.BestiaryHelper.GetBestiaryPowerLevel(x.Value))).ThenBy<KeyValuePair<int, NPC>, int>((Func<KeyValuePair<int, NPC>, int>) (x => ContentSamples.BestiaryHelper.GetBestiaryStarsPriority(x.Value))).ToList<KeyValuePair<int, NPC>>();
|
||||
list.RemoveAll((Predicate<KeyValuePair<int, NPC>>) (x => ContentSamples.BestiaryHelper.ShouldHideBestiaryEntry(x.Value)));
|
||||
return list;
|
||||
}
|
||||
|
||||
public static int GetLowestBiomeGroupIndex(
|
||||
NPC npc,
|
||||
BestiaryDatabase database,
|
||||
List<IBestiaryInfoElement> commonElements)
|
||||
{
|
||||
List<IBestiaryInfoElement> info = database.FindEntryByNPCID(npc.netID).Info;
|
||||
for (int index = commonElements.Count - 1; index >= 0; --index)
|
||||
{
|
||||
if (info.IndexOf(commonElements[index]) != -1)
|
||||
return index;
|
||||
}
|
||||
return int.MaxValue;
|
||||
}
|
||||
|
||||
public static bool ShouldHideBestiaryEntry(NPC npc)
|
||||
{
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers bestiaryDrawModifiers;
|
||||
return NPCID.Sets.NPCBestiaryDrawOffset.TryGetValue(npc.netID, out bestiaryDrawModifiers) && bestiaryDrawModifiers.Hide;
|
||||
}
|
||||
|
||||
public static float GetBestiaryPowerLevel(NPC npc) => (float) (npc.damage + npc.defense + npc.lifeMax / 4);
|
||||
|
||||
public static int GetBestiaryTownPriority(NPC npc)
|
||||
{
|
||||
int num = NPCID.Sets.TownNPCBestiaryPriority.IndexOf(npc.netID);
|
||||
if (num == -1)
|
||||
num = int.MaxValue;
|
||||
return num;
|
||||
}
|
||||
|
||||
public static int GetBestiaryNormalGoldCritterPriority(NPC npc)
|
||||
{
|
||||
int num = NPCID.Sets.NormalGoldCritterBestiaryPriority.IndexOf(npc.netID);
|
||||
if (num == -1)
|
||||
num = int.MaxValue;
|
||||
return num;
|
||||
}
|
||||
|
||||
public static int GetBestiaryBossPriority(NPC npc) => NPCID.Sets.BossBestiaryPriority.IndexOf(npc.netID);
|
||||
|
||||
public static int GetBestiaryStarsPriority(NPC npc) => ContentSamples.NpcBestiaryRarityStars[npc.type];
|
||||
}
|
||||
}
|
||||
}
|
14
ID/CustomCurrencyID.cs
Normal file
14
ID/CustomCurrencyID.cs
Normal file
|
@ -0,0 +1,14 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.CustomCurrencyID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public class CustomCurrencyID
|
||||
{
|
||||
public const int None = -1;
|
||||
public static int DefenderMedals = -1;
|
||||
}
|
||||
}
|
160
ID/DustID.cs
Normal file
160
ID/DustID.cs
Normal file
|
@ -0,0 +1,160 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.DustID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public static class DustID
|
||||
{
|
||||
public const short Dirt = 0;
|
||||
public const short Stone = 1;
|
||||
public const short Grass = 2;
|
||||
public const short GrassBlades = 3;
|
||||
public const short TintableDust = 4;
|
||||
public const short Blood = 5;
|
||||
public const short Torch = 6;
|
||||
public const short Iron = 8;
|
||||
public const short Copper = 9;
|
||||
public const short Gold = 10;
|
||||
public const short Silver = 11;
|
||||
public const short Cloud = 16;
|
||||
public const short CorruptPlants = 17;
|
||||
public const short CorruptGibs = 18;
|
||||
public const short Bone = 26;
|
||||
public const short Shadowflame = 27;
|
||||
public const short WaterCandle = 29;
|
||||
public const short Web = 30;
|
||||
public const short Smoke = 31;
|
||||
public const short Sand = 32;
|
||||
public const short Lava = 35;
|
||||
public const short JunglePlants = 40;
|
||||
public const short TintableDustLighted = 43;
|
||||
public const short HallowedPlants = 47;
|
||||
public const short BlueTorch = 59;
|
||||
public const short RedTorch = 60;
|
||||
public const short GreenTorch = 61;
|
||||
public const short PurpleTorch = 62;
|
||||
public const short WhiteTorch = 63;
|
||||
public const short YellowTorch = 64;
|
||||
public const short DemonTorch = 65;
|
||||
public const short RainbowTorch = 66;
|
||||
public const short BlueCrystalShard = 68;
|
||||
public const short PinkCrystalShard = 69;
|
||||
public const short PurpleCrystalShard = 70;
|
||||
public const short CursedTorch = 75;
|
||||
public const short Ice = 80;
|
||||
public const short Tin = 81;
|
||||
public const short Lead = 82;
|
||||
public const short Tungsten = 83;
|
||||
public const short Platinum = 84;
|
||||
public const short GreenMoss = 93;
|
||||
public const short BrownMoss = 94;
|
||||
public const short RedMoss = 95;
|
||||
public const short BlueMoss = 96;
|
||||
public const short PurpleMoss = 97;
|
||||
public const short CrimsonPlants = 125;
|
||||
public const short IceTorch = 135;
|
||||
public const short Confetti = 139;
|
||||
public const short Honey = 152;
|
||||
public const short UltraBrightTorch = 156;
|
||||
public const short OrangeTorch = 158;
|
||||
public const short IchorTorch = 169;
|
||||
public const short Fireworks = 219;
|
||||
public const short Electric = 226;
|
||||
public const short GoldFlame = 228;
|
||||
public const short Vortex = 229;
|
||||
public const short BoneTorch = 234;
|
||||
public const short Marble = 236;
|
||||
public const short Mothron = 237;
|
||||
public const short MothronEgg = 238;
|
||||
public const short Silk = 239;
|
||||
public const short Granite = 240;
|
||||
public const short MarblePot = 241;
|
||||
public const short PinkTorch = 242;
|
||||
public const short PinkSlime = 243;
|
||||
public const short CopperCoin = 244;
|
||||
public const short SilverCoin = 245;
|
||||
public const short GoldCoin = 246;
|
||||
public const short PlatinumCoin = 247;
|
||||
public const short EnchantedNightcrawler = 248;
|
||||
public const short Grubby = 249;
|
||||
public const short Sluggy = 250;
|
||||
public const short Buggy = 251;
|
||||
public const short CrystalPulse = 254;
|
||||
public const short CrystalPulse2 = 255;
|
||||
public const short ToxicBubble = 256;
|
||||
public const short BubbleBlock = 257;
|
||||
public const short LavaMoss = 258;
|
||||
public const short SolarFlare = 259;
|
||||
public const short SparksMech = 260;
|
||||
public const short AncientLight = 261;
|
||||
public const short AmberBolt = 262;
|
||||
public const short PortalBolt = 263;
|
||||
public const short PortalBoltTrail = 264;
|
||||
public const short LunarOre = 265;
|
||||
public const short SomethingRed = 266;
|
||||
public const short RainbowMk2 = 267;
|
||||
public const short Sandstorm = 268;
|
||||
public const short Sandnado = 269;
|
||||
public const short FlameBurst = 270;
|
||||
public const short HealingPlus = 271;
|
||||
public const short WitherLightning = 272;
|
||||
public const short GreenBlood = 273;
|
||||
public const short ApprenticeStorm = 274;
|
||||
public const short DungeonBlue = 275;
|
||||
public const short DungeonGreen = 276;
|
||||
public const short DungeonPink = 277;
|
||||
public const short FireworksRGB = 278;
|
||||
public const short SilverFlame = 279;
|
||||
public const short BeachShell = 280;
|
||||
public const short RedStarfish = 281;
|
||||
public const short PinkStarfish = 282;
|
||||
public const short YellowStarfish = 283;
|
||||
public const short FoodPiece = 284;
|
||||
public const short GolfPaticle = 285;
|
||||
public const short OrangeStainedGlass = 286;
|
||||
public const short DesertPot = 287;
|
||||
public const short DesertWater2 = 288;
|
||||
public const short SeaOatsOasis = 289;
|
||||
public const short SeaOatsBeach = 290;
|
||||
public const short OasisCactus = 291;
|
||||
public const short YellowStarDust = 292;
|
||||
public const short DesertTorch = 293;
|
||||
public const short CoralTorch = 294;
|
||||
public const short CorruptTorch = 295;
|
||||
public const short CrimsonTorch = 296;
|
||||
public const short HallowedTorch = 297;
|
||||
public const short JungleTorch = 298;
|
||||
public const short KryptonMoss = 299;
|
||||
public const short XenonMoss = 300;
|
||||
public const short ArgonMoss = 301;
|
||||
public const short Terragrim = 302;
|
||||
public const short SteampunkSteam = 303;
|
||||
public const short Count = 304;
|
||||
public const short t_BorealWood = 214;
|
||||
public const short t_Slime = 4;
|
||||
public const short t_SteampunkMetal = 8;
|
||||
public const short t_LivingWood = 78;
|
||||
public const short t_Honey = 147;
|
||||
public const short t_Cactus = 40;
|
||||
public const short t_Martian = 226;
|
||||
public const short t_Meteor = 23;
|
||||
public const short t_Granite = 240;
|
||||
public const short t_Marble = 236;
|
||||
public const short t_Crystal = 68;
|
||||
public const short t_Golden = 10;
|
||||
public const short t_PearlWood = 78;
|
||||
public const short t_Lihzahrd = 148;
|
||||
public const short t_Flesh = 5;
|
||||
public const short t_Frozen = 80;
|
||||
public const short GemAmethyst = 86;
|
||||
public const short GemTopaz = 87;
|
||||
public const short GemSapphire = 88;
|
||||
public const short GemEmerald = 89;
|
||||
public const short GemRuby = 90;
|
||||
public const short GemDiamond = 91;
|
||||
public const short GemAmber = 138;
|
||||
}
|
||||
}
|
225
ID/ExtrasID.cs
Normal file
225
ID/ExtrasID.cs
Normal file
|
@ -0,0 +1,225 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.ExtrasID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public static class ExtrasID
|
||||
{
|
||||
public const short BrainScrambler = 0;
|
||||
public const short Raygun = 1;
|
||||
public const short LaserRuler = 2;
|
||||
public const short AntiGravityHookChain = 3;
|
||||
public const short SaucerDeathrayCap = 4;
|
||||
public const short BGMartianUFOSmall = 5;
|
||||
public const short BGMartianUFOBig = 6;
|
||||
public const short EventIconSnowLegion = 7;
|
||||
public const short EventIconFrostMoon = 8;
|
||||
public const short EventIconGoblinArmy = 9;
|
||||
public const short EventIconMartianMadness = 10;
|
||||
public const short EventIconPirateInvasion = 11;
|
||||
public const short EventIconPumpkinMoon = 12;
|
||||
public const short MoonLordRibs = 13;
|
||||
public const short MoonLordBackarm = 14;
|
||||
public const short MoonLordForearm = 15;
|
||||
public const short MoonLordCoreMoss = 16;
|
||||
public const short MoonLordEyeWhiteHand = 17;
|
||||
public const short MoonLordEyeWhiteHead = 18;
|
||||
public const short MoonLordEye = 19;
|
||||
public const short MartianProbeDiode = 20;
|
||||
public const short PhantasmalDeathrayBody = 21;
|
||||
public const short PhantasmalDeathrayEnd = 22;
|
||||
public const short MoonLeechBody = 23;
|
||||
public const short MoonLeechTail = 24;
|
||||
public const short MoonLordMouth = 25;
|
||||
public const short MoonLordHandMouth = 26;
|
||||
public const short MartianProbeScanWave = 27;
|
||||
public const short TEMPORARYChestOpen = 28;
|
||||
public const short MoonLordEyeMouth = 29;
|
||||
public const short CultistBossShadow = 30;
|
||||
public const short WebbedFloor = 31;
|
||||
public const short WebbedAir = 32;
|
||||
public const short CultistLightingArc = 33;
|
||||
public const short CultistRitual = 34;
|
||||
public const short CultistIceshard = 35;
|
||||
public const short StarWrath = 36;
|
||||
public const short PlayerStoned = 37;
|
||||
public const short BejeweledValkyrieWing = 38;
|
||||
public const short KingSlimeCrown = 39;
|
||||
public const short PirateShipFlag = 40;
|
||||
public const short PirateShipOar = 41;
|
||||
public const short PirateShipSail1 = 42;
|
||||
public const short PirateShipSail2 = 43;
|
||||
public const short PirateShipSail3 = 44;
|
||||
public const short PirateShipSail4 = 45;
|
||||
public const short StardustJellyfishSmall = 46;
|
||||
public const short StardustTowerMark = 47;
|
||||
public const short EmoteBubble = 48;
|
||||
public const short ScreenObfuscation = 49;
|
||||
public const short VortexBlack = 50;
|
||||
public const short MagicAura = 51;
|
||||
public const short GuideFrontal = 52;
|
||||
public const short TravellingMerchantFrontal = 53;
|
||||
public const short EquipIcons = 54;
|
||||
public const short MeteorHeadFlame = 55;
|
||||
public const short MartianWalkerCannon = 56;
|
||||
public const short AncientLight = 57;
|
||||
public const short DefenseShield = 58;
|
||||
public const short PortalGateHalo = 59;
|
||||
public const short PortalGateHalo2 = 60;
|
||||
public const short SolarBlaze = 61;
|
||||
public const short SolarBlaze2 = 62;
|
||||
public const short SolarBlaze3 = 63;
|
||||
public const short NebulaArcanumItemHold = 64;
|
||||
public const short PhantasmMuzzle = 65;
|
||||
public const short SuspiciousTentacle = 66;
|
||||
public const short Yoraiz0rDarkness = 67;
|
||||
public const short LaserGrid2 = 68;
|
||||
public const short PartyBalloonsSmall = 69;
|
||||
public const short PartyBalloonsBig = 70;
|
||||
public const short PartyBalloonsTriplet = 71;
|
||||
public const short TownNPCHats = 72;
|
||||
public const short DjinnsCurse = 73;
|
||||
public const short ForbiddenSign = 74;
|
||||
public const short BlackBolt = 75;
|
||||
public const short Tumbleweed = 76;
|
||||
public const short ElfEars = 77;
|
||||
public const short DD2ElderEye = 78;
|
||||
public const short EventIconOldOnesArmy = 79;
|
||||
public const short DD2SkeletonFlame = 80;
|
||||
public const short DD2BetsyWingFront = 81;
|
||||
public const short DD2BetsyWingBack = 82;
|
||||
public const short DD2BallistraTowerT1 = 83;
|
||||
public const short DD2BallistraTowerT2 = 84;
|
||||
public const short DD2BallistraTowerT3 = 85;
|
||||
public const short DD2LightningAuraT1 = 86;
|
||||
public const short DD2LightningAuraT2 = 87;
|
||||
public const short DD2LightningAuraT3 = 88;
|
||||
public const short ThePerfectGlow = 89;
|
||||
public const short ArkhalisMask = 90;
|
||||
public const short FallingStar = 91;
|
||||
public const short LawnMower = 92;
|
||||
public const short VoidLensOutline = 93;
|
||||
public const short MoneyTroughOutline = 94;
|
||||
public const short AmberHookChain = 95;
|
||||
public const short GolfCartBody = 96;
|
||||
public const short GolfCartWheels = 97;
|
||||
public const short SharpTears = 98;
|
||||
public const short DripplerFlail = 99;
|
||||
public const short BirdNestHead = 100;
|
||||
public const short TombstoneGlow = 101;
|
||||
public const short PortableStool = 102;
|
||||
public const short KiteRibbons = 103;
|
||||
public const short KiteRibbonsWyvern = 104;
|
||||
public const short FloatingTube = 105;
|
||||
public const short GolemLights4 = 106;
|
||||
public const short GolemLights5 = 107;
|
||||
public const short BeeMinecart = 108;
|
||||
public const short LadybugMinecart = 109;
|
||||
public const short PigronMinecart = 110;
|
||||
public const short SunflowerMinecart = 111;
|
||||
public const short HellMinecart = 112;
|
||||
public const short WitchBroom = 113;
|
||||
public const short WitchBroomTrinket = 114;
|
||||
public const short ShroomMinecart = 115;
|
||||
public const short ShroomMinecartGlow = 116;
|
||||
public const short AmethystMinecart = 117;
|
||||
public const short TopazMinecart = 118;
|
||||
public const short SapphireMinecart = 119;
|
||||
public const short EmeraldMinecart = 120;
|
||||
public const short RubyMinecart = 121;
|
||||
public const short DiamondMinecart = 122;
|
||||
public const short AmberMinecart = 123;
|
||||
public const short BeetleMinecart = 124;
|
||||
public const short MeowmereMinecart = 125;
|
||||
public const short PartyMinecart = 126;
|
||||
public const short PirateMinecart = 127;
|
||||
public const short SteampunkMinecart = 128;
|
||||
public const short BloodNautilusMouth = 129;
|
||||
public const short MapBiomeIcons = 130;
|
||||
public const short BloodNautilusCallForHelp = 131;
|
||||
public const short KiteRibbonsBoneSerpent = 132;
|
||||
public const short KiteRibbonsWorldFeeder = 133;
|
||||
public const short LanternSkyLanterns = 134;
|
||||
public const short KiteRibbonsManEater = 135;
|
||||
public const short KiteRibbonsJellyfishBlue = 136;
|
||||
public const short KiteRibbonsJellyfishPink = 137;
|
||||
public const short KiteRibbonsShark = 138;
|
||||
public const short KiteRibbonsSandShark = 139;
|
||||
public const short KiteRibbonsGoldfish = 140;
|
||||
public const short PartyCartBalloons = 141;
|
||||
public const short PirateMinecartFlag = 142;
|
||||
public const short PlayerUnicornHorn = 143;
|
||||
public const short KiteRibbonsAngryTrapper = 144;
|
||||
public const short KiteRibbonsKoi = 145;
|
||||
public const short KiteRibbonsCrawltipede = 146;
|
||||
public const short KiteRibbonsSpectrum = 147;
|
||||
public const short KiteRibbonsEyeball = 148;
|
||||
public const short FlamingoMount = 149;
|
||||
public const short CoffinMinecart = 150;
|
||||
public const short CoffinMinecartLid = 151;
|
||||
public const short SafemanSun = 152;
|
||||
public const short JimCloak = 153;
|
||||
public const short SquirrelHookChain = 154;
|
||||
public const short DiggingMoleMinecart = 155;
|
||||
public const short HallowBossGradient = 156;
|
||||
public const short HallowBossWings = 157;
|
||||
public const short HallowBossArmsLeft = 158;
|
||||
public const short HallowBossWingsBack = 159;
|
||||
public const short HallowBossArmsRight = 160;
|
||||
public const short PaintedHorseMount = 161;
|
||||
public const short MajesticHorseMount = 162;
|
||||
public const short DarkHorseMount = 163;
|
||||
public const short PogoStickMount = 164;
|
||||
public const short DiggingMoleMinecartArm = 165;
|
||||
public const short PirateShipMount = 166;
|
||||
public const short SpookyWoodMount = 167;
|
||||
public const short SantankMount = 168;
|
||||
public const short WallOfFleshGoatMount = 169;
|
||||
public const short DarkMageBookMount = 170;
|
||||
public const short PlayerRainbowWings = 171;
|
||||
public const short LavaSharkMount = 172;
|
||||
public const short PotionOfReturnMinimapIcon = 173;
|
||||
public const short KeybrandRing = 174;
|
||||
public const short PotionOfReturnMinimapHome = 175;
|
||||
public const short GolfBallMinimapOutline = 176;
|
||||
public const short QueenSlimeCrown = 177;
|
||||
public const short FairyQueenLance = 178;
|
||||
public const short Voronoi = 179;
|
||||
public const short QueenSlimeGradient = 180;
|
||||
public const short PylonCrystals = 181;
|
||||
public const short PylonMapIcons = 182;
|
||||
public const short PotionOfReturnGateIn = 183;
|
||||
public const short PotionOfReturnGateOut = 184;
|
||||
public const short QueenSlimeWing = 185;
|
||||
public const short QueenSlimeCrystalCore = 186;
|
||||
public const short HallowBossTentacles = 187;
|
||||
public const short HallowBossSkirt = 188;
|
||||
public const short FlameLashTrailShape = 189;
|
||||
public const short FlameLashTrailErosion = 190;
|
||||
public const short FlameLashTrailColorGradient = 191;
|
||||
public const short MagicMissileTrailColorGradient = 192;
|
||||
public const short MagicMissileTrailErosion = 193;
|
||||
public const short MagicMissileTrailShape = 194;
|
||||
public const short RainbowRodTrailColorGradient = 195;
|
||||
public const short RainbowRodTrailErosion = 196;
|
||||
public const short RainbowRodTrailShape = 197;
|
||||
public const short MasterTrophyHeads = 198;
|
||||
public const short WhipMarkers = 199;
|
||||
public const short IceWhipSlicerBody = 200;
|
||||
public const short FinalFractal = 201;
|
||||
public const short EmpressButterflyJar = 202;
|
||||
public const short SlimeQueenHookChain = 203;
|
||||
public const short QueenSlimeMount = 204;
|
||||
public const short QueenSlimeSaddle = 205;
|
||||
public const short QueenSlimeWingFront = 206;
|
||||
public const short QueenSlimeWingBack = 207;
|
||||
public const short QueenSlimeHookRope = 208;
|
||||
public const short EmpressBladeTrail = 209;
|
||||
public const short EmpressBladeErosion = 210;
|
||||
public const short BiomeTorchIconUI = 211;
|
||||
public const short Count = 212;
|
||||
}
|
||||
}
|
37
ID/GameEventClearedID.cs
Normal file
37
ID/GameEventClearedID.cs
Normal file
|
@ -0,0 +1,37 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.GameEventClearedID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public class GameEventClearedID
|
||||
{
|
||||
public const int DefeatedGoblinArmy = 0;
|
||||
public const int DefeatedFrostArmy = 1;
|
||||
public const int DefeatedPirates = 2;
|
||||
public const int DefeatedMartians = 3;
|
||||
public const int DefeatedHalloweenTree = 4;
|
||||
public const int DefeatedHalloweenKing = 5;
|
||||
public const int DefeatedGolem = 6;
|
||||
public const int DefeatedFishron = 7;
|
||||
public const int DefeatedQueenBee = 8;
|
||||
public const int DefeatedAncientCultist = 9;
|
||||
public const int DefeatedMoonlord = 10;
|
||||
public const int DefeatedSlimeKing = 11;
|
||||
public const int DefeatedPlantera = 12;
|
||||
public const int DefeatedEyeOfCthulu = 13;
|
||||
public const int DefeatedEaterOfWorldsOrBrainOfChtulu = 14;
|
||||
public const int DefeatedSkeletron = 15;
|
||||
public const int DefeatedDestroyer = 16;
|
||||
public const int DefeatedTheTwins = 17;
|
||||
public const int DefeatedSkeletronPrime = 18;
|
||||
public const int DefeatedWallOfFleshAndStartedHardmode = 19;
|
||||
public const int DefeatedIceQueen = 20;
|
||||
public const int DefeatedChristmassTree = 21;
|
||||
public const int DefeatedSantank = 22;
|
||||
public const int DefeatedEmpressOfLight = 23;
|
||||
public const int DefeatedQueenSlime = 24;
|
||||
}
|
||||
}
|
16
ID/GameModeID.cs
Normal file
16
ID/GameModeID.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.GameModeID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
internal class GameModeID
|
||||
{
|
||||
public const short Normal = 0;
|
||||
public const short Expert = 1;
|
||||
public const short Master = 2;
|
||||
public const short Creative = 3;
|
||||
}
|
||||
}
|
316
ID/GlowMaskID.cs
Normal file
316
ID/GlowMaskID.cs
Normal file
|
@ -0,0 +1,316 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.GlowMaskID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public static class GlowMaskID
|
||||
{
|
||||
public const short FakeUser = -2;
|
||||
public const short None = -1;
|
||||
public const short UFOMinion = 0;
|
||||
public const short VortexAxe = 1;
|
||||
public const short VortexChainsawProjectile = 2;
|
||||
public const short VortexDrillProjectile = 3;
|
||||
public const short VortexHammer = 4;
|
||||
public const short VortexPickaxe = 5;
|
||||
public const short NebulaAxe = 6;
|
||||
public const short NebulaChainsawProjectile = 7;
|
||||
public const short NebulaDrillProjectile = 8;
|
||||
public const short NebulaHammer = 9;
|
||||
public const short NebulaPickaxe = 10;
|
||||
public const short MartianOfficer = 11;
|
||||
public const short NebulaArmorArm = 12;
|
||||
public const short VortexArmorBody = 13;
|
||||
public const short NebulaArmorBody = 14;
|
||||
public const short VortexArmorHead = 15;
|
||||
public const short NebulaArmorHead = 16;
|
||||
public const short NebulaArmorLegs = 17;
|
||||
public const short VortexArmorBodyFemale = 18;
|
||||
public const short NebulaArmorBodyFemale = 19;
|
||||
public const short VortexChainsawItem = 20;
|
||||
public const short VortexDrillItem = 21;
|
||||
public const short NebulaChainsawItem = 22;
|
||||
public const short NebulaDrillItem = 23;
|
||||
public const short BrainScrambler = 24;
|
||||
public const short Electrified = 25;
|
||||
public const short VortexItemHead = 26;
|
||||
public const short VortexItemBody = 27;
|
||||
public const short NebulaItemHead = 28;
|
||||
public const short NebulaItemBody = 29;
|
||||
public const short NebulaItemLegs = 30;
|
||||
public const short MartianEngineer = 31;
|
||||
public const short MartianTurret = 32;
|
||||
public const short MartianDrone = 33;
|
||||
public const short GigaZapper = 34;
|
||||
public const short LaserMachinegun = 35;
|
||||
public const short ElectrosphereLauncher = 36;
|
||||
public const short ElectrosphereMissile = 37;
|
||||
public const short Xenopopper = 38;
|
||||
public const short LaserDrill = 39;
|
||||
public const short LaserDrillTip = 40;
|
||||
public const short MartianUniformArmorHead = 41;
|
||||
public const short MartianUniformArmorBody = 42;
|
||||
public const short MartianUniformArmorBodyFemale = 43;
|
||||
public const short MartianUniformArmorArms = 44;
|
||||
public const short MartianUnifromTorso = 45;
|
||||
public const short MartianUniformHelmet = 46;
|
||||
public const short LaserMachinegunItem = 47;
|
||||
public const short MartianSaucer = 48;
|
||||
public const short MartianSaucerCore = 49;
|
||||
public const short MartianSaucerCannon = 50;
|
||||
public const short MartianAstroClock = 51;
|
||||
public const short MartianBathtub = 52;
|
||||
public const short MartianBed = 53;
|
||||
public const short MartianHoverChair = 54;
|
||||
public const short MartianChandelier = 55;
|
||||
public const short MartianChest = 56;
|
||||
public const short MartianDoorClosed = 57;
|
||||
public const short MartianDoorOpen = 58;
|
||||
public const short MartianDresser = 59;
|
||||
public const short MartianHolobookcase = 60;
|
||||
public const short MartianHoverCandle = 61;
|
||||
public const short MartianLamppost = 62;
|
||||
public const short MartianLantern = 63;
|
||||
public const short MartianPiano = 64;
|
||||
public const short MartianPlatform = 65;
|
||||
public const short MartianSofa = 66;
|
||||
public const short MartianTable = 67;
|
||||
public const short MartianTableLamp = 68;
|
||||
public const short MartianWorkBench = 69;
|
||||
public const short MartianAstroClockItem = 70;
|
||||
public const short MartianBathtubItem = 71;
|
||||
public const short MartianBedItem = 72;
|
||||
public const short MartianHoverChairItem = 73;
|
||||
public const short MartianChandelierItem = 74;
|
||||
public const short MartianChestItem = 75;
|
||||
public const short MartianDoorItem = 76;
|
||||
public const short MartianDresserItem = 77;
|
||||
public const short MartianHolobookcaseItem = 78;
|
||||
public const short MartianHoverCandleItem = 79;
|
||||
public const short MartianLamppostItem = 80;
|
||||
public const short MartianLanternItem = 81;
|
||||
public const short MartianPianoItem = 82;
|
||||
public const short MartianPlatformItem = 83;
|
||||
public const short MartianSofaItem = 84;
|
||||
public const short MartianTableItem = 85;
|
||||
public const short MartianTableLampItem = 86;
|
||||
public const short MartianWorkBenchItem = 87;
|
||||
public const short MartianSink = 88;
|
||||
public const short MartianSinkItem = 89;
|
||||
public const short BGMartianUFOSmall = 90;
|
||||
public const short BGMartianUFOBig = 91;
|
||||
public const short MothronWings = 92;
|
||||
public const short MartianConduitPlatingItem = 93;
|
||||
public const short MartianConduitPlatingTile = 94;
|
||||
public const short MartianConduitWallItem = 95;
|
||||
public const short HiTekSunglasses = 96;
|
||||
public const short HiTekSunglassesItem = 97;
|
||||
public const short MartianHairDye = 98;
|
||||
public const short MartianArmorDye = 99;
|
||||
public const short MartianProbe = 100;
|
||||
public const short MartianProbeDiode = 101;
|
||||
public const short ChargedBlasterCannon = 102;
|
||||
public const short ChlorophyteDye = 103;
|
||||
public const short PixieDye = 104;
|
||||
public const short WispDye = 105;
|
||||
public const short InfernalWispDye = 106;
|
||||
public const short UnicornWispDye = 107;
|
||||
public const short CultistTabletFront = 108;
|
||||
public const short CultistTabletBack = 109;
|
||||
public const short ShadowflameApparation = 110;
|
||||
public const short MeteorBrick = 111;
|
||||
public const short MeteorPlatform = 112;
|
||||
public const short MeteorBathtub = 113;
|
||||
public const short MeteorBed = 114;
|
||||
public const short MeteorBookcase = 115;
|
||||
public const short MeteorChair = 116;
|
||||
public const short MeteorChest = 117;
|
||||
public const short MeteorClock = 118;
|
||||
public const short MeteorDoorOpen = 119;
|
||||
public const short MeteorDresser = 120;
|
||||
public const short MeteorPiano = 121;
|
||||
public const short MeteorSink = 122;
|
||||
public const short MeteorSofa = 123;
|
||||
public const short MeteorTable = 124;
|
||||
public const short MeteorWorkbench = 125;
|
||||
public const short LavaMoss = 126;
|
||||
public const short LongLavaMoss = 127;
|
||||
public const short DeadlySphere = 128;
|
||||
public const short LavaLamp = 129;
|
||||
public const short LavaLampTile = 130;
|
||||
public const short EnchantedNightcrawler = 131;
|
||||
public const short LunarTowerStardust = 132;
|
||||
public const short StardustWormBody = 133;
|
||||
public const short StardustWormTail = 134;
|
||||
public const short StardustWormHead = 135;
|
||||
public const short StardustSoldier = 136;
|
||||
public const short StardustSpiderSmall = 137;
|
||||
public const short StardustSpiderBig = 138;
|
||||
public const short StardustJellyfishBig = 139;
|
||||
public const short StardustJellyfishSmall = 140;
|
||||
public const short StardustCellBig = 141;
|
||||
public const short StardustCellSmall = 142;
|
||||
public const short LunarTowerNebula = 143;
|
||||
public const short NebulaSoldier = 144;
|
||||
public const short NebulaBeast = 145;
|
||||
public const short NebulaHeadcrab = 146;
|
||||
public const short NebulaBrain = 147;
|
||||
public const short NebulaEye = 148;
|
||||
public const short LunarTowerVortex = 149;
|
||||
public const short VortexRifleman = 150;
|
||||
public const short VortexSoldier = 151;
|
||||
public const short VortexHornet = 152;
|
||||
public const short VortexHornetQueen = 153;
|
||||
public const short SolarSolenian = 154;
|
||||
public const short SolarDrakoMire = 155;
|
||||
public const short SolarDrakoMireRider = 156;
|
||||
public const short SolarCrawltipedeHead = 157;
|
||||
public const short SolarCrawltipedeBody = 158;
|
||||
public const short SolarCrawltipedeTail = 159;
|
||||
public const short SolarSroller = 160;
|
||||
public const short SolarCorite = 161;
|
||||
public const short LunarTowerSolar = 162;
|
||||
public const short SolarSpearman = 163;
|
||||
public const short MartianWalker = 164;
|
||||
public const short MartianWalkerCannon = 165;
|
||||
public const short Truffle = 166;
|
||||
public const short Cyborg = 167;
|
||||
public const short TruffleSpore = 168;
|
||||
public const short DesertGhoulCorruption = 169;
|
||||
public const short DesertGhoulCrimson = 170;
|
||||
public const short DesertGhoulHallow = 171;
|
||||
public const short DesertDjinn = 172;
|
||||
public const short PortalGunProj = 173;
|
||||
public const short StardustAxeItem = 174;
|
||||
public const short StardustChainsawItem = 175;
|
||||
public const short StardustDrillItem = 176;
|
||||
public const short StardustHammerItem = 177;
|
||||
public const short StardustPickaxeItem = 178;
|
||||
public const short StardustChainsawProjectile = 179;
|
||||
public const short StardustDrillProjectile = 180;
|
||||
public const short WingsVortex = 181;
|
||||
public const short WingsNebula = 182;
|
||||
public const short WingsStardust = 183;
|
||||
public const short ArmorStardustHead = 184;
|
||||
public const short ArmorStardustBodyMale = 185;
|
||||
public const short ArmorStardustBodyFemale = 186;
|
||||
public const short ArmorStardustLegs = 187;
|
||||
public const short ArmorStardustArm = 188;
|
||||
public const short StardustCellMinion = 189;
|
||||
public const short StardustCellMinionShot = 190;
|
||||
public const short VortexBeaterItem = 191;
|
||||
public const short VortexBeaterProj = 192;
|
||||
public const short VortexBeaterRocket = 193;
|
||||
public const short NebulaArcanumItem = 194;
|
||||
public const short NebulaArcanumItemHold = 195;
|
||||
public const short LunarHamaxeVortex = 196;
|
||||
public const short LunarHamaxeNebula = 197;
|
||||
public const short LunarHamaxeStardust = 198;
|
||||
public const short VortexArmorLegs = 199;
|
||||
public const short Phantasm = 200;
|
||||
public const short LunarMonolith = 201;
|
||||
public const short LunarCraftingStation = 202;
|
||||
public const short LunarHookSolar = 203;
|
||||
public const short LunarHookVortex = 204;
|
||||
public const short LunarHookNebula = 205;
|
||||
public const short LunarHookStardust = 206;
|
||||
public const short NebulaBlaze = 207;
|
||||
public const short JimsHead = 208;
|
||||
public const short LokisHelm = 209;
|
||||
public const short LokisBody = 210;
|
||||
public const short LokisArm = 211;
|
||||
public const short LokisLegs = 212;
|
||||
public const short LokisWings = 213;
|
||||
public const short WireBulb = 214;
|
||||
public const short CannonTile = 215;
|
||||
public const short SandElemental = 216;
|
||||
public const short ForbiddenSign = 217;
|
||||
public const short SpiritFlameItem = 218;
|
||||
public const short BlackBolt = 219;
|
||||
public const short BlackBoltEye = 220;
|
||||
public const short DD2FlameBurstTowerT1 = 221;
|
||||
public const short DD2FlameBurstTowerT2 = 222;
|
||||
public const short DD2FlameBurstTowerT3 = 223;
|
||||
public const short DD2WitherBeast = 224;
|
||||
public const short DD2DarkMage = 225;
|
||||
public const short DD2Betsy = 226;
|
||||
public const short DD2SquireBetsySword = 227;
|
||||
public const short DD2LightningAuraT1 = 228;
|
||||
public const short DD2LightningAuraT2 = 229;
|
||||
public const short DD2LightningAuraT3 = 230;
|
||||
public const short MonkStaffT2 = 231;
|
||||
public const short MonkStaffT3 = 232;
|
||||
public const short MonkStaffT3Item = 233;
|
||||
public const short BetsyBow = 234;
|
||||
public const short DD2ExplosiveTrapT1 = 235;
|
||||
public const short DD2ExplosiveTrapT2 = 236;
|
||||
public const short DD2ExplosiveTrapT3 = 237;
|
||||
public const short BetsysWrath = 238;
|
||||
public const short DD2CrystalOrb = 239;
|
||||
public const short ApprenticeDarkArmFlame = 240;
|
||||
public const short ApprenticeDarkHeadFlame = 241;
|
||||
public const short ValhallaKnightHead = 242;
|
||||
public const short DefendersForge = 243;
|
||||
public const short DefendersForgeItem = 244;
|
||||
public const short ArkhalisHat = 245;
|
||||
public const short ArkhalisShirt_Male = 246;
|
||||
public const short ArkhalisShirt_Female = 247;
|
||||
public const short ArkhalisShirt_Arm = 248;
|
||||
public const short ArkhalisPants_Male = 249;
|
||||
public const short ArkhalisPants_Female = 250;
|
||||
public const short ArkhalisWings = 251;
|
||||
public const short BoulderStaffOfEarth = 252;
|
||||
public const short Everscream = 253;
|
||||
public const short Santank = 254;
|
||||
public const short HeadlessHorseman = 255;
|
||||
public const short UltraBrightHelmet = 256;
|
||||
public const short JackOLantern = 257;
|
||||
public const short LavaMossBrick = 258;
|
||||
public const short KryptonMoss = 259;
|
||||
public const short KryptonMossBrick = 260;
|
||||
public const short XenonMoss = 261;
|
||||
public const short XenonMossBrick = 262;
|
||||
public const short ArgonMoss = 263;
|
||||
public const short ArgonMossBrick = 264;
|
||||
public const short VoidMonolith = 265;
|
||||
public const short ScarabBomb = 266;
|
||||
public const short PlasmaLamp = 267;
|
||||
public const short PinkFairyJar = 268;
|
||||
public const short GreenFairyJar = 269;
|
||||
public const short BlueFairyJar = 270;
|
||||
public const short FirstFractal = 271;
|
||||
public const short GroxTheGreatWings = 272;
|
||||
public const short GroxTheGreatHelm = 273;
|
||||
public const short GroxTheGreatGreaves = 274;
|
||||
public const short DestroyerPet = 275;
|
||||
public const short SkeletronPrimePet = 276;
|
||||
public const short GolemPet = 277;
|
||||
public const short PumpkingPet = 278;
|
||||
public const short EverscreamPet = 279;
|
||||
public const short FairyQueenPet = 280;
|
||||
public const short MartianPet = 281;
|
||||
public const short MoonLordPet = 282;
|
||||
public const short SpookyWoodMount = 283;
|
||||
public const short WallOfFleshGoatMount = 284;
|
||||
public const short LavaSharkMount = 285;
|
||||
public const short GemSquirrel = 286;
|
||||
public const short GemBunny = 287;
|
||||
public const short HellButterfly = 288;
|
||||
public const short HellButterflyJar = 289;
|
||||
public const short Lavafly = 290;
|
||||
public const short LavaflyinaBottle = 291;
|
||||
public const short MagmaSnail = 292;
|
||||
public const short MagmaSnailCage = 293;
|
||||
public const short BrazierSuspended = 294;
|
||||
public const short VolcanoSmall = 295;
|
||||
public const short VolcanoLarge = 296;
|
||||
public const short PottedPlants2 = 297;
|
||||
public const short PottedLavaPlants = 298;
|
||||
public const short PottedLavaPlantTendrils = 299;
|
||||
public const short TruffleWormCage = 300;
|
||||
public const short Count = 301;
|
||||
}
|
||||
}
|
637
ID/GoreID.cs
Normal file
637
ID/GoreID.cs
Normal file
|
@ -0,0 +1,637 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.GoreID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public static class GoreID
|
||||
{
|
||||
public const int Smoke1 = 61;
|
||||
public const int Smoke2 = 62;
|
||||
public const int Smoke3 = 63;
|
||||
public const int ChargedBlasterRing = 618;
|
||||
public const int MoonLordHeart1 = 619;
|
||||
public const int MoonLordHeart2 = 620;
|
||||
public const int MoonLordHeart3 = 621;
|
||||
public const int MoonLordHeart4 = 622;
|
||||
public const int GoblinArcherHead = 623;
|
||||
public const int GoblinArcherHand = 624;
|
||||
public const int GoblinArcherLeg = 625;
|
||||
public const int GoblinPeonHead = 626;
|
||||
public const int GoblinPeonHand = 627;
|
||||
public const int GoblinPeonLeg = 628;
|
||||
public const int GoblinScoutHead = 629;
|
||||
public const int GoblinScoutHand = 630;
|
||||
public const int GoblinScoutLeg = 631;
|
||||
public const int GoblinThiefHead = 632;
|
||||
public const int GoblinThiefHand = 633;
|
||||
public const int GoblinThiefLeg = 634;
|
||||
public const int GoblinWarriorHead = 635;
|
||||
public const int GoblinWarriorHand = 636;
|
||||
public const int GoblinWarriorLeg = 637;
|
||||
public const int SkeletonMerchantHead = 638;
|
||||
public const int SkeletonMerchantBag = 639;
|
||||
public const int SkeletonMerchantChunk1 = 640;
|
||||
public const int SkeletonMerchantChunk2 = 641;
|
||||
public const int SkeletonMerchantChunk3 = 642;
|
||||
public const int ButcherHead = 643;
|
||||
public const int ButcherSaw = 644;
|
||||
public const int ButcherArm = 645;
|
||||
public const int ButcherLeg = 646;
|
||||
public const int CreatureFromTheDeepHead = 647;
|
||||
public const int CreatureFromTheDeepArm = 648;
|
||||
public const int CreatureFromTheDeepLeg = 649;
|
||||
public const int FritzHead = 650;
|
||||
public const int FritzArm = 651;
|
||||
public const int FritzLeg = 652;
|
||||
public const int NailheadHead = 653;
|
||||
public const int NailheadArm = 654;
|
||||
public const int NailheadLeg = 655;
|
||||
public const int PsychoHead = 656;
|
||||
public const int PsychoArm = 657;
|
||||
public const int PsychoLeg = 658;
|
||||
public const int PsychoKnife = 659;
|
||||
public const int DeadlySphere1 = 660;
|
||||
public const int DeadlySphere2 = 661;
|
||||
public const int DrManFlyHead = 662;
|
||||
public const int DrManFlyArm = 663;
|
||||
public const int DrManFlyLeg = 664;
|
||||
public const int ThePossessedHead = 665;
|
||||
public const int ThePossessedArm = 666;
|
||||
public const int ThePossessedLeg = 667;
|
||||
public const int CrimsonBunnyHead = 668;
|
||||
public const int CrimsonBunnyLeg = 669;
|
||||
public const int CrimsonGoldfishHead = 670;
|
||||
public const int CrimsonGoldfishTail = 671;
|
||||
public const int CrimsonPenguinBody = 672;
|
||||
public const int CrimsonPenguinHead = 673;
|
||||
public const int CrimsonPenguinLeg = 674;
|
||||
public const int GoblinSummonerHead = 675;
|
||||
public const int GoblinSummonerArm = 676;
|
||||
public const int GoblinSummonerItem = 677;
|
||||
public const int GoblinSummonerLeg = 678;
|
||||
public const int ShadowflameApparation = 679;
|
||||
public const int ShadowflameApparation2 = 680;
|
||||
public const int MothronSpawn1 = 681;
|
||||
public const int MothronSpawn2 = 682;
|
||||
public const int MothronSpawn3 = 683;
|
||||
public const int MothronEgg1 = 684;
|
||||
public const int MothronEgg2 = 685;
|
||||
public const int MothronEgg3 = 686;
|
||||
public const int Mothron1 = 687;
|
||||
public const int Mothron2 = 688;
|
||||
public const int Mothron3 = 689;
|
||||
public const int Mothron4 = 690;
|
||||
public const int Mothron5 = 691;
|
||||
public const int MedusaHead = 692;
|
||||
public const int MedusaArm = 693;
|
||||
public const int MedusaLeg = 694;
|
||||
public const int GreekSkeletonHead = 695;
|
||||
public const int GreekSkeletonArm = 696;
|
||||
public const int GreekSkeletonLeg = 697;
|
||||
public const int GreekPot1 = 698;
|
||||
public const int GreekPot2 = 699;
|
||||
public const int GreekPot3 = 700;
|
||||
public const int GreekPot4 = 701;
|
||||
public const int GreekPot5 = 702;
|
||||
public const int GreekPot6 = 703;
|
||||
public const int ToxicFlask = 704;
|
||||
public const int ToxicFlask2 = 705;
|
||||
public const int WaterDrip = 706;
|
||||
public const int WaterDripCorrupt = 707;
|
||||
public const int WaterDripJungle = 708;
|
||||
public const int WaterDripHallow = 709;
|
||||
public const int WaterDripIce = 710;
|
||||
public const int WaterDripDesert = 711;
|
||||
public const int WaterDripUnderground = 712;
|
||||
public const int WaterDripCavern = 713;
|
||||
public const int WaterDripBlood = 714;
|
||||
public const int WaterDripCrimson = 715;
|
||||
public const int LavaDrip = 716;
|
||||
public const int HoneyDrip = 717;
|
||||
public const int GraniteGolemHead = 718;
|
||||
public const int GraniteGolemBody = 719;
|
||||
public const int GraniteGolemArm = 720;
|
||||
public const int GraniteGolemLeg = 721;
|
||||
public const int BloodZombieHead = 722;
|
||||
public const int BloodZombieChunk = 723;
|
||||
public const int BloodZombieChunk2 = 724;
|
||||
public const int DripplerChunk = 725;
|
||||
public const int DripplerChunk2 = 726;
|
||||
public const int DripplerChunk3 = 727;
|
||||
public const int LunarTablet1 = 728;
|
||||
public const int LunarTablet2 = 729;
|
||||
public const int LunarTablet3 = 730;
|
||||
public const int LunarTablet4 = 731;
|
||||
public const int LunarTablet5 = 732;
|
||||
public const int LunarTablet6 = 733;
|
||||
public const int KingSlimeCrown = 734;
|
||||
public const int CrawDadClaw = 735;
|
||||
public const int CrawDadEye = 736;
|
||||
public const int CrawDad2Claw = 737;
|
||||
public const int CrawDad2Eye = 738;
|
||||
public const int GiantShelly = 739;
|
||||
public const int GiantShelly2 = 740;
|
||||
public const int SalamanderArm = 741;
|
||||
public const int SalamanderHead = 750;
|
||||
public const int SalamanderLeg = 759;
|
||||
public const int TaxCollectorHead = 768;
|
||||
public const int TaxCollectorArm = 769;
|
||||
public const int TaxCollectorCane = 770;
|
||||
public const int TaxCollectorLeg = 771;
|
||||
public const int StardustSoldier1 = 772;
|
||||
public const int StardustSoldier2 = 773;
|
||||
public const int StardustSoldier3 = 774;
|
||||
public const int StardustSpider1 = 775;
|
||||
public const int StardustSpider2 = 776;
|
||||
public const int StardustSpider3 = 777;
|
||||
public const int StardustJellyfish1 = 778;
|
||||
public const int StardustJellyfish2 = 779;
|
||||
public const int StardustJellyfish3 = 780;
|
||||
public const int StardustJellyfish4 = 781;
|
||||
public const int NebulaBrain1 = 782;
|
||||
public const int NebulaBrain2 = 783;
|
||||
public const int NebulaBrain3 = 784;
|
||||
public const int NebulaHeadcrab1 = 785;
|
||||
public const int NebulaHeadcrab2 = 786;
|
||||
public const int NebulaHeadcrab3 = 787;
|
||||
public const int NebulaEye1 = 788;
|
||||
public const int NebulaEye2 = 789;
|
||||
public const int NebulaBeast1 = 790;
|
||||
public const int NebulaBeast2 = 791;
|
||||
public const int NebulaBeast3 = 792;
|
||||
public const int NebulaSoldier1 = 793;
|
||||
public const int NebulaSoldier2 = 794;
|
||||
public const int NebulaSoldier3 = 795;
|
||||
public const int VortexRifleman1 = 796;
|
||||
public const int VortexRifleman2 = 797;
|
||||
public const int VortexRifleman3 = 798;
|
||||
public const int VortexHornetQueen1 = 799;
|
||||
public const int VortexHornetQueen2 = 800;
|
||||
public const int VortexHornetQueen3 = 801;
|
||||
public const int VortexHornet1 = 802;
|
||||
public const int VortexHornet2 = 803;
|
||||
public const int VortexHornet3 = 804;
|
||||
public const int VortexHornet4 = 805;
|
||||
public const int VortexLarva1 = 806;
|
||||
public const int VortexLarve2 = 807;
|
||||
public const int VortexSoldier1 = 808;
|
||||
public const int VortexSoldier2 = 809;
|
||||
public const int VortexSoldier3 = 810;
|
||||
public const int GiantWalkingAntlion1 = 811;
|
||||
public const int GiantWalkingAntlion2 = 812;
|
||||
public const int GiantWalkingAntlion3 = 813;
|
||||
public const int GiantWalkingAntlion4 = 814;
|
||||
public const int GiantFlyingAntlion1 = 815;
|
||||
public const int GiantFlyingAntlion2 = 816;
|
||||
public const int GiantFlyingAntlion3 = 817;
|
||||
public const int GiantFlyingAntlion4 = 818;
|
||||
public const int DuneSplicerHead = 819;
|
||||
public const int DuneSplicerBody = 820;
|
||||
public const int DuneSplicerTail = 821;
|
||||
public const int TombCrawlerHead = 822;
|
||||
public const int TombCrawlerBody = 823;
|
||||
public const int TombCrawlerTail = 824;
|
||||
public const int ChimneySmoke1 = 825;
|
||||
public const int ChimneySmoke2 = 826;
|
||||
public const int ChimneySmoke3 = 827;
|
||||
public const int SolarWormHead = 828;
|
||||
public const int SolarWormBody = 829;
|
||||
public const int SolarWormTail = 830;
|
||||
public const int SolarBeast1 = 831;
|
||||
public const int SolarBeast2 = 832;
|
||||
public const int SolarBeast3 = 833;
|
||||
public const int SolarBeast4 = 834;
|
||||
public const int SolarSpearman1 = 835;
|
||||
public const int SolarSpearman2 = 836;
|
||||
public const int SolarRoller1 = 837;
|
||||
public const int SolarRoller2 = 838;
|
||||
public const int SolarRoller3 = 839;
|
||||
public const int SolarRoller4 = 840;
|
||||
public const int SolarMeteor1 = 841;
|
||||
public const int SolarMeteor2 = 842;
|
||||
public const int SolarMeteor3 = 843;
|
||||
public const int SolarSoldier1 = 844;
|
||||
public const int SolarSoldier2 = 845;
|
||||
public const int SolarSoldier3 = 846;
|
||||
public const int SolarSoldier4 = 847;
|
||||
public const int MartianWalker1 = 848;
|
||||
public const int MartianWalker2 = 849;
|
||||
public const int MartianWalker3 = 850;
|
||||
public const int MartianWalker4 = 851;
|
||||
public const int MartianWalker5 = 852;
|
||||
public const int PirateShip1 = 853;
|
||||
public const int PirateShip2 = 854;
|
||||
public const int PirateShip3 = 855;
|
||||
public const int PirateShip4 = 856;
|
||||
public const int PirateShip5 = 857;
|
||||
public const int PirateShip6 = 858;
|
||||
public const int PirateShip7 = 859;
|
||||
public const int PirateShip8 = 860;
|
||||
public const int PirateShip9 = 861;
|
||||
public const int PirateShip10 = 862;
|
||||
public const int DesertGhoul1 = 863;
|
||||
public const int DesertGhoul2 = 864;
|
||||
public const int DesertGhoul3 = 865;
|
||||
public const int DesertGhoul4 = 866;
|
||||
public const int DesertGhoulCorruption1 = 867;
|
||||
public const int DesertGhoulCorruption2 = 868;
|
||||
public const int DesertGhoulCorruption3 = 869;
|
||||
public const int DesertGhoulCorruption4 = 870;
|
||||
public const int DesertGhoulCrimson1 = 871;
|
||||
public const int DesertGhoulCrimson2 = 872;
|
||||
public const int DesertGhoulCrimson3 = 873;
|
||||
public const int DesertGhoulCrimson4 = 874;
|
||||
public const int DesertLamia1 = 875;
|
||||
public const int DesertLamia2 = 876;
|
||||
public const int DesertLamia3 = 877;
|
||||
public const int DesertLamia4 = 878;
|
||||
public const int DesertGhoulHallow1 = 879;
|
||||
public const int DesertGhoulHallow2 = 880;
|
||||
public const int DesertGhoulHallow3 = 881;
|
||||
public const int DesertGhoulHallow4 = 882;
|
||||
public const int DesertScorpion1 = 883;
|
||||
public const int DesertScorpion2 = 884;
|
||||
public const int DesertScorpion3 = 885;
|
||||
public const int DesertScorpion4 = 886;
|
||||
public const int DesertScorpion5 = 887;
|
||||
public const int DesertBeast1 = 888;
|
||||
public const int DesertBeast2 = 889;
|
||||
public const int DesertBeast3 = 890;
|
||||
public const int DesertBeast4 = 891;
|
||||
public const int PirateShip11 = 892;
|
||||
public const int PirateShip12 = 893;
|
||||
public const int DemonTaxCollectorHead = 894;
|
||||
public const int DemonTaxCollectorArm = 895;
|
||||
public const int DemonTaxCollectorLeg = 896;
|
||||
public const int SquirrelRed = 897;
|
||||
public const int MartianProbe1 = 898;
|
||||
public const int MartianProbe2 = 899;
|
||||
public const int Cultist1 = 900;
|
||||
public const int Cultist2 = 901;
|
||||
public const int CultistBoss1 = 902;
|
||||
public const int CultistBoss2 = 903;
|
||||
public const int GigaZapperHead = 904;
|
||||
public const int GigaZapperHand = 905;
|
||||
public const int GigaZapperLeg = 906;
|
||||
public const int SillyBallonPink = 907;
|
||||
public const int SillyBalloonPurple = 908;
|
||||
public const int SillyBalloonGreen = 909;
|
||||
public const int TreeLeaf_Normal = 910;
|
||||
public const int TreeLeaf_Palm = 911;
|
||||
public const int TreeLeaf_Mushroom = 912;
|
||||
public const int TreeLeaf_Boreal = 913;
|
||||
public const int TreeLeaf_Jungle = 914;
|
||||
public const int TreeLeaf_Corruption = 915;
|
||||
public const int TreeLeaf_Crimson = 916;
|
||||
public const int TreeLeaf_Hallow = 917;
|
||||
public const int TreeLeaf_HallowLast = 925;
|
||||
public const int PartyHatBlue = 926;
|
||||
public const int PartyHatDemolitionist = 927;
|
||||
public const int PartyHatDyeTrader = 928;
|
||||
public const int PartyHatMerchant = 929;
|
||||
public const int PartyHatNurse = 930;
|
||||
public const int PartyHatPainter = 931;
|
||||
public const int PartyHatPirate = 932;
|
||||
public const int PartyHatSanta = 933;
|
||||
public const int PartyHatSkeletonMerchant = 934;
|
||||
public const int PartyHatSteampunker = 935;
|
||||
public const int PartyHatStylist = 936;
|
||||
public const int PartyHatTravellingMerchant = 937;
|
||||
public const int PartyHatWizard = 938;
|
||||
public const int PartyHatPink = 939;
|
||||
public const int PartyHatCyan = 940;
|
||||
public const int PartyHatPurple = 941;
|
||||
public const int PartyHatWhite = 942;
|
||||
public const int SandDrip = 943;
|
||||
public const int Sandshark1 = 944;
|
||||
public const int Sandshark2 = 945;
|
||||
public const int Sandshark3 = 946;
|
||||
public const int Sandshark4 = 947;
|
||||
public const int Sandshark1Corrupt = 948;
|
||||
public const int Sandshark2Corrupt = 949;
|
||||
public const int Sandshark3Corrupt = 950;
|
||||
public const int Sandshark4Corrupt = 951;
|
||||
public const int Sandshark1Crimson = 952;
|
||||
public const int Sandshark2Crimson = 953;
|
||||
public const int Sandshark3Crimson = 954;
|
||||
public const int Sandshark4Crimson = 955;
|
||||
public const int Sandshark1Hallowed = 956;
|
||||
public const int Sandshark2Hallowed = 957;
|
||||
public const int Sandshark3Hallowed = 958;
|
||||
public const int Sandshark4Hallowed = 959;
|
||||
public const int SandElemental1 = 960;
|
||||
public const int SandElemental2 = 961;
|
||||
public const int SandElemental3 = 962;
|
||||
public const int SandElemental4 = 963;
|
||||
public const int Tumbleweed1 = 964;
|
||||
public const int Tumbleweed2 = 965;
|
||||
public const int Tumbleweed3 = 966;
|
||||
public const int Bartender1 = 967;
|
||||
public const int Bartender2 = 968;
|
||||
public const int Bartender3 = 969;
|
||||
public const int DD2Skeleton1 = 970;
|
||||
public const int DD2Skeleton2 = 971;
|
||||
public const int DD2Skeleton3 = 972;
|
||||
public const int DD2Skeleton4 = 973;
|
||||
public const int DD2WyvernT1_1 = 974;
|
||||
public const int DD2WyvernT1_2 = 975;
|
||||
public const int DD2WyvernT1_3 = 976;
|
||||
public const int DD2WyvernT1_4 = 977;
|
||||
public const int DD2WyvernT1_5 = 978;
|
||||
public const int DD2DrakinT3_1 = 979;
|
||||
public const int DD2DrakinT3_2 = 980;
|
||||
public const int DD2DrakinT3_3 = 981;
|
||||
public const int DD2DrakinT3_4 = 982;
|
||||
public const int DD2GoblinT1_1 = 983;
|
||||
public const int DD2GoblinT1_2 = 984;
|
||||
public const int DD2GoblinT1_3 = 985;
|
||||
public const int DD2GoblinT1_4 = 986;
|
||||
public const int DD2JavelinThrowerT1_1 = 987;
|
||||
public const int DD2JavelinThrowerT1_2 = 988;
|
||||
public const int DD2JavelinThrowerT1_3 = 989;
|
||||
public const int DD2JavelinThrowerT1_4 = 990;
|
||||
public const int DD2JavelinThrowerT1_5 = 991;
|
||||
public const int DD2JavelinThrowerT1_6 = 992;
|
||||
public const int DD2Kobold1 = 993;
|
||||
public const int DD2Kobold2 = 994;
|
||||
public const int DD2Kobold3 = 995;
|
||||
public const int DD2Kobold4 = 996;
|
||||
public const int LightningBugT3_1 = 997;
|
||||
public const int LightningBugT3_2 = 998;
|
||||
public const int LightningBugT3_3 = 999;
|
||||
public const int DD2Ogre1 = 1000;
|
||||
public const int DD2Ogre2 = 1001;
|
||||
public const int DD2Ogre3 = 1002;
|
||||
public const int DD2Ogre4 = 1003;
|
||||
public const int DD2Ogre5 = 1004;
|
||||
public const int DD2Ogre6 = 1005;
|
||||
public const int DD2Ogre6Alt = 1006;
|
||||
public const int Pages = 1007;
|
||||
public const int PageScrap = 1008;
|
||||
public const int DD2DarkMageT1_1 = 1009;
|
||||
public const int DD2DarkMageT1_2 = 1010;
|
||||
public const int DD2DarkMageT1_3 = 1011;
|
||||
public const int DD2DarkMageT1_4 = 1012;
|
||||
public const int DD2DarkMageT1_5 = 1013;
|
||||
public const int DD2DarkMageT1_6 = 1014;
|
||||
public const int DD2DarkMageT1_7 = 1015;
|
||||
public const int DD2DarkMageT1_8 = 1016;
|
||||
public const int DD2DarkMageT1_9 = 1017;
|
||||
public const int DD2DarkMageT1_10 = 1018;
|
||||
public const int DD2DarkMageT1_11 = 1019;
|
||||
public const int DD2WitherBeast1 = 1020;
|
||||
public const int DD2WitherBeast2 = 1021;
|
||||
public const int DD2WitherBeast3 = 1022;
|
||||
public const int DD2WitherBeast4 = 1023;
|
||||
public const int OgreSpit1 = 1024;
|
||||
public const int OgreSpit2 = 1025;
|
||||
public const int OgreSpit3 = 1026;
|
||||
public const int DD2Crystal1 = 1027;
|
||||
public const int DD2Crystal2 = 1028;
|
||||
public const int DD2Crystal3 = 1029;
|
||||
public const int DD2Crystal4 = 1030;
|
||||
public const int DD2GoblinBomberT1_1 = 1031;
|
||||
public const int DD2GoblinBomberT1_2 = 1032;
|
||||
public const int DD2GoblinBomberT1_3 = 1033;
|
||||
public const int DD2GoblinBomberT2_1 = 1034;
|
||||
public const int DD2GoblinBomberT2_2 = 1035;
|
||||
public const int DD2GoblinBomberT2_3 = 1036;
|
||||
public const int DD2GoblinBomberT3_1 = 1037;
|
||||
public const int DD2GoblinBomberT3_2 = 1038;
|
||||
public const int DD2GoblinBomberT3_3 = 1039;
|
||||
public const int DD2WyvernT2_1 = 1040;
|
||||
public const int DD2WyvernT2_2 = 1041;
|
||||
public const int DD2WyvernT2_3 = 1042;
|
||||
public const int DD2WyvernT2_4 = 1043;
|
||||
public const int DD2WyvernT2_5 = 1044;
|
||||
public const int DD2WyvernT3_1 = 1045;
|
||||
public const int DD2WyvernT3_2 = 1046;
|
||||
public const int DD2WyvernT3_3 = 1047;
|
||||
public const int DD2WyvernT3_4 = 1048;
|
||||
public const int DD2WyvernT3_5 = 1049;
|
||||
public const int DD2KoboldFlyerT2_1 = 1050;
|
||||
public const int DD2KoboldFlyerT2_2 = 1051;
|
||||
public const int DD2KoboldFlyerT2_3 = 1052;
|
||||
public const int DD2KoboldFlyerT2_4 = 1053;
|
||||
public const int DD2KoboldFlyerT2_5 = 1054;
|
||||
public const int DD2JavelinThrowerT2_1 = 1055;
|
||||
public const int DD2JavelinThrowerT2_2 = 1056;
|
||||
public const int DD2JavelinThrowerT2_3 = 1057;
|
||||
public const int DD2JavelinThrowerT2_4 = 1058;
|
||||
public const int DD2JavelinThrowerT2_5 = 1059;
|
||||
public const int DD2JavelinThrowerT2_6 = 1060;
|
||||
public const int DD2JavelinThrowerT3_1 = 1061;
|
||||
public const int DD2JavelinThrowerT3_2 = 1062;
|
||||
public const int DD2JavelinThrowerT3_3 = 1063;
|
||||
public const int DD2JavelinThrowerT3_4 = 1064;
|
||||
public const int DD2JavelinThrowerT3_5 = 1065;
|
||||
public const int DD2JavelinThrowerT3_6 = 1066;
|
||||
public const int DD2GoblinT2_1 = 1067;
|
||||
public const int DD2GoblinT2_2 = 1068;
|
||||
public const int DD2GoblinT2_3 = 1069;
|
||||
public const int DD2GoblinT2_4 = 1070;
|
||||
public const int DD2GoblinT3_1 = 1071;
|
||||
public const int DD2GoblinT3_2 = 1072;
|
||||
public const int DD2GoblinT3_3 = 1073;
|
||||
public const int DD2GoblinT3_4 = 1074;
|
||||
public const int DD2DrakinT2_1 = 1075;
|
||||
public const int DD2DrakinT2_2 = 1076;
|
||||
public const int DD2DrakinT2_3 = 1077;
|
||||
public const int DD2DrakinT2_4 = 1078;
|
||||
public const int DD2BetsyTail = 1079;
|
||||
public const int DD2BetsyFoot = 1080;
|
||||
public const int DD2BetsyHead = 1081;
|
||||
public const int DD2BetsyBody = 1082;
|
||||
public const int DD2BetsyWing1 = 1083;
|
||||
public const int DD2BetsyWing2 = 1084;
|
||||
public const int DD2BetsyHand = 1085;
|
||||
public const int DD2BetsyButt = 1086;
|
||||
public const int AmbientFloorCloud1 = 1087;
|
||||
public const int AmbientFloorCloud2 = 1088;
|
||||
public const int AmbientFloorCloud3 = 1089;
|
||||
public const int AmbientFloorCloud4 = 1090;
|
||||
public const int AmbientAirborneCloud1 = 1091;
|
||||
public const int AmbientAirborneCloud2 = 1092;
|
||||
public const int AmbientAirborneCloud3 = 1093;
|
||||
public const int WalkingAntlion1 = 1094;
|
||||
public const int WalkingAntlion2 = 1095;
|
||||
public const int WalkingAntlion3 = 1096;
|
||||
public const int WalkingAntlion4 = 1097;
|
||||
public const int FlyingAntlion1 = 1098;
|
||||
public const int FlyingAntlion2 = 1099;
|
||||
public const int FlyingAntlion3 = 1100;
|
||||
public const int FlyingAntlion4 = 1101;
|
||||
public const int LarvaeAntlion1 = 1102;
|
||||
public const int LarvaeAntlion2 = 1103;
|
||||
public const short EyeballFlyingFish1 = 1104;
|
||||
public const short EyeballFlyingFish2 = 1105;
|
||||
public const short ZombieMerman1 = 1106;
|
||||
public const short ZombieMerman2 = 1107;
|
||||
public const short ZombieMerman3 = 1108;
|
||||
public const short Golfer1 = 1109;
|
||||
public const short Golfer2 = 1110;
|
||||
public const short Golfer3 = 1111;
|
||||
public const short Golfer4 = 1112;
|
||||
public const int TreeLeaf_HallowJim = 1113;
|
||||
public const int TreeLeaf_HallowLastJim = 1121;
|
||||
public const short DesertPot1 = 1122;
|
||||
public const short DesertPot2 = 1123;
|
||||
public const short DesertPot3 = 1124;
|
||||
public const short Balloon_White_1 = 1125;
|
||||
public const short Balloon_White_2 = 1126;
|
||||
public const short Balloon_White_3 = 1127;
|
||||
public const short Balloon_Red_1 = 1128;
|
||||
public const short Balloon_Red_2 = 1129;
|
||||
public const short Balloon_Red_3 = 1130;
|
||||
public const short Balloon_Orange_1 = 1131;
|
||||
public const short Balloon_Orange_2 = 1132;
|
||||
public const short Balloon_Orange_3 = 1133;
|
||||
public const short Balloon_Yellow_1 = 1134;
|
||||
public const short Balloon_Yellow_2 = 1135;
|
||||
public const short Balloon_Yellow_3 = 1136;
|
||||
public const short Balloon_Green_1 = 1137;
|
||||
public const short Balloon_Green_2 = 1138;
|
||||
public const short Balloon_Green_3 = 1139;
|
||||
public const short Balloon_Blue_1 = 1140;
|
||||
public const short Balloon_Blue_2 = 1141;
|
||||
public const short Balloon_Blue_3 = 1142;
|
||||
public const short Balloon_Purple_1 = 1143;
|
||||
public const short Balloon_Purple_2 = 1144;
|
||||
public const short Balloon_Purple_3 = 1145;
|
||||
public const short Balloon_String = 1146;
|
||||
public const int WaterDripDesert2 = 1147;
|
||||
public const int Ladybug1 = 1148;
|
||||
public const int Ladybug2 = 1149;
|
||||
public const int Seagull1 = 1150;
|
||||
public const int Seagull2 = 1151;
|
||||
public const int Pupfish1 = 1152;
|
||||
public const int Pupfish2 = 1153;
|
||||
public const int Grebe1 = 1154;
|
||||
public const int Grebe2 = 1155;
|
||||
public const int Grebe3 = 1156;
|
||||
public const int Rat1 = 1157;
|
||||
public const int Rat2 = 1158;
|
||||
public const int Rat3 = 1159;
|
||||
public const int EbonsandDrip = 1160;
|
||||
public const int CrimsandDrip = 1161;
|
||||
public const int PearlsandDrip = 1162;
|
||||
public const int LittleRat1 = 1163;
|
||||
public const int Owl1 = 1164;
|
||||
public const int Owl2 = 1165;
|
||||
public const short Turtle1 = 1166;
|
||||
public const short Turtle2 = 1167;
|
||||
public const short Turtle3 = 1168;
|
||||
public const short TurtleJungle1 = 1169;
|
||||
public const short TurtleJungle2 = 1170;
|
||||
public const short TurtleJungle3 = 1171;
|
||||
public const short BloodNautilus1 = 1172;
|
||||
public const short BloodNautilus2 = 1173;
|
||||
public const short BloodNautilus3 = 1174;
|
||||
public const short BloodNautilus4 = 1175;
|
||||
public const short BloodNautilus5 = 1176;
|
||||
public const short BloodNautilus6 = 1177;
|
||||
public const short BloodNautilus7 = 1178;
|
||||
public const short BloodSquid1 = 1179;
|
||||
public const short BloodSquid2 = 1180;
|
||||
public const short BloodSquid3 = 1181;
|
||||
public const short BloodSquid4 = 1182;
|
||||
public const short GoblinShark1 = 1183;
|
||||
public const short GoblinShark2 = 1184;
|
||||
public const short GoblinShark3 = 1185;
|
||||
public const short GoblinShark4 = 1186;
|
||||
public const short BloodEel1 = 1187;
|
||||
public const short BloodEel2 = 1188;
|
||||
public const short BloodEel3 = 1189;
|
||||
public const short Gnome1 = 1190;
|
||||
public const short Gnome2 = 1191;
|
||||
public const short Gnome3 = 1192;
|
||||
public const short Gnome4 = 1193;
|
||||
public const short SeaTurtle1 = 1194;
|
||||
public const short SeaTurtle2 = 1195;
|
||||
public const short SeaTurtle3 = 1196;
|
||||
public const short Seahorse1 = 1197;
|
||||
public const short Dolphin1 = 1198;
|
||||
public const short Dolphin2 = 1199;
|
||||
public const short Dolphin3 = 1200;
|
||||
public const short ChumBucket = 1201;
|
||||
public const int FogMachineCloud1 = 1202;
|
||||
public const int FogMachineCloud2 = 1203;
|
||||
public const int FogMachineCloud3 = 1204;
|
||||
public const int Dandelion1 = 1205;
|
||||
public const int Dandelion2 = 1206;
|
||||
public const int Dandelion3 = 1207;
|
||||
public const int ChumBucketFloatingChunks = 1208;
|
||||
public const int SparkleGuitar = 1209;
|
||||
public const int RockGolem1 = 1210;
|
||||
public const int RockGolem2 = 1211;
|
||||
public const int RockGolem3 = 1212;
|
||||
public const int RockGolem4 = 1213;
|
||||
public const int MaggotZombie1 = 1214;
|
||||
public const int MaggotZombie2 = 1215;
|
||||
public const int MaggotZombie3 = 1216;
|
||||
public const int MaggotZombieMaggotPieces = 1217;
|
||||
public const int ShadowMimicCoins = 1218;
|
||||
public const int BestiaryGirl1 = 1219;
|
||||
public const int BestiaryGirl2 = 1220;
|
||||
public const int BestiaryGirl3 = 1221;
|
||||
public const int BestiaryGirl4 = 1222;
|
||||
public const int BestiaryGirlFox1 = 1223;
|
||||
public const int BestiaryGirlFox2 = 1224;
|
||||
public const int LightningBunnySparks = 1225;
|
||||
public const int KingSlimePetCrown = 1226;
|
||||
public const int GemSquirrelAmethyst = 1227;
|
||||
public const int GemSquirrelTopaz = 1228;
|
||||
public const int GemSquirrelSapphire = 1229;
|
||||
public const int GemSquirrelEmerald = 1230;
|
||||
public const int GemSquirrelRuby = 1231;
|
||||
public const int GemSquirrelDiamond = 1232;
|
||||
public const int GemSquirrelAmber = 1233;
|
||||
public const int GemBunnyAmethystHead = 1234;
|
||||
public const int GemBunnyAmethystBack = 1235;
|
||||
public const int GemBunnyTopazHead = 1236;
|
||||
public const int GemBunnyTopazBack = 1237;
|
||||
public const int GemBunnySapphireHead = 1238;
|
||||
public const int GemBunnySapphireBack = 1239;
|
||||
public const int GemBunnyEmeraldHead = 1240;
|
||||
public const int GemBunnyEmeraldBack = 1241;
|
||||
public const int GemBunnyRubyHead = 1242;
|
||||
public const int GemBunnyRubyBack = 1243;
|
||||
public const int GemBunnyDiamondHead = 1244;
|
||||
public const int GemBunnyDiamondBack = 1245;
|
||||
public const int GemBunnyAmberHead = 1246;
|
||||
public const int GemBunnyAmberBack = 1247;
|
||||
public const int TreeLeaf_VanityTreeSakura = 1248;
|
||||
public const int TreeLeaf_GemTreeTopaz = 1249;
|
||||
public const int TreeLeaf_GemTreeAmethyst = 1250;
|
||||
public const int TreeLeaf_GemTreeSapphire = 1251;
|
||||
public const int TreeLeaf_GemTreeEmerald = 1252;
|
||||
public const int TreeLeaf_GemTreeRuby = 1253;
|
||||
public const int TreeLeaf_GemTreeDiamond = 1254;
|
||||
public const int TreeLeaf_GemTreeAmber = 1255;
|
||||
public const int MagmaSnailShell = 1256;
|
||||
public const int TreeLeaf_VanityTreeYellowWillow = 1257;
|
||||
public const int QueenSlimeCrown = 1258;
|
||||
public const int QueenSlimeWing = 1259;
|
||||
public const int QueenSlimeMinionPurpleWing = 1260;
|
||||
public const int QueenSlimePetCrown = 1261;
|
||||
public const int HallowBoss1 = 1262;
|
||||
public const int HallowBoss2 = 1263;
|
||||
public const int HallowBoss3 = 1264;
|
||||
public const int HallowBoss4 = 1265;
|
||||
public const int HallowBoss5 = 1266;
|
||||
public const int HallowBoss6 = 1267;
|
||||
public const int HallowBoss7 = 1268;
|
||||
public const short Count = 1269;
|
||||
|
||||
public static class Sets
|
||||
{
|
||||
public static SetFactory Factory = new SetFactory(1269);
|
||||
public static int[] SpecialAI = GoreID.Sets.Factory.CreateIntSet(0, 860, 1, 892, 1, 893, 1, 825, 2, 826, 2, 827, 2, 1014, 1, 1015, 1, 1016, 1, 910, 3, 911, 3, 912, 3, 913, 3, 914, 3, 915, 3, 916, 3, 917, 3, 918, 3, 919, 3, 920, 3, 921, 3, 922, 3, 923, 3, 924, 3, 925, 3, 1113, 3, 1114, 3, 1115, 3, 1116, 3, 1117, 3, 1118, 3, 1119, 3, 1120, 3, 1121, 3, 1248, 3, 1249, 3, 1250, 3, 1251, 3, 1252, 3, 1253, 3, 1254, 3, 1255, 3, 1257, 3, 1007, 3, 1008, 3, 1087, 4, 1088, 4, 1089, 4, 1090, 4, 1091, 5, 1092, 5, 1093, 5, 1202, 6, 1203, 6, 1204, 6, 1225, 7);
|
||||
public static int[] DisappearSpeed = GoreID.Sets.Factory.CreateIntSet(1, 1007, 3, 1008, 10, 1024, 7, 1025, 7, 1026, 7);
|
||||
public static int[] DisappearSpeedAlpha = GoreID.Sets.Factory.CreateIntSet(1, 1007, 3, 1008, 10, 1024, 7, 1025, 7, 1026, 7, 1218, 3);
|
||||
}
|
||||
}
|
||||
}
|
14
ID/HousingCategoryID.cs
Normal file
14
ID/HousingCategoryID.cs
Normal file
|
@ -0,0 +1,14 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.HousingCategoryID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public class HousingCategoryID
|
||||
{
|
||||
public const int CommonNPCs = 0;
|
||||
public const int PetNPCs = 1;
|
||||
}
|
||||
}
|
22
ID/InvasionID.cs
Normal file
22
ID/InvasionID.cs
Normal file
|
@ -0,0 +1,22 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.InvasionID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public static class InvasionID
|
||||
{
|
||||
public const short CachedInvasions = 3;
|
||||
public const short CachedFrostMoon = 1;
|
||||
public const short CachedPumpkinMoon = 2;
|
||||
public const short CachedOldOnesArmy = 3;
|
||||
public const short None = 0;
|
||||
public const short GoblinArmy = 1;
|
||||
public const short SnowLegion = 2;
|
||||
public const short PirateInvasion = 3;
|
||||
public const short MartianMadness = 4;
|
||||
public const short Count = 5;
|
||||
}
|
||||
}
|
15
ID/ItemAlternativeFunctionID.cs
Normal file
15
ID/ItemAlternativeFunctionID.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.ItemAlternativeFunctionID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public static class ItemAlternativeFunctionID
|
||||
{
|
||||
public const int None = 0;
|
||||
public const int ShouldBeActivated = 1;
|
||||
public const int ActivatedAndUsed = 2;
|
||||
}
|
||||
}
|
19
ID/ItemHoldStyleID.cs
Normal file
19
ID/ItemHoldStyleID.cs
Normal file
|
@ -0,0 +1,19 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.ItemHoldStyleID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public class ItemHoldStyleID
|
||||
{
|
||||
public const int None = 0;
|
||||
public const int HoldFront = 1;
|
||||
public const int HoldUp = 2;
|
||||
public const int HoldHeavy = 3;
|
||||
public const int HoldGolfClub = 4;
|
||||
public const int HoldGuitar = 5;
|
||||
public const int HoldLamp = 6;
|
||||
}
|
||||
}
|
8897
ID/ItemID.cs
Normal file
8897
ID/ItemID.cs
Normal file
File diff suppressed because it is too large
Load diff
27
ID/ItemUseStyleID.cs
Normal file
27
ID/ItemUseStyleID.cs
Normal file
|
@ -0,0 +1,27 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.ItemUseStyleID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public class ItemUseStyleID
|
||||
{
|
||||
public const int None = 0;
|
||||
public const int Swing = 1;
|
||||
public const int DrinkOld = 7;
|
||||
public const int Thrust = 3;
|
||||
public const int HoldUp = 4;
|
||||
public const int Shoot = 5;
|
||||
public const int DrinkLong = 6;
|
||||
public const int EatFood = 2;
|
||||
public const int GolfPlay = 8;
|
||||
public const int DrinkLiquid = 9;
|
||||
public const int HiddenAnimation = 10;
|
||||
public const int MowTheLawn = 11;
|
||||
public const int Guitar = 12;
|
||||
public const int Rapier = 13;
|
||||
public const int RaiseLamp = 14;
|
||||
}
|
||||
}
|
67
ID/MenuID.cs
Normal file
67
ID/MenuID.cs
Normal file
|
@ -0,0 +1,67 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.MenuID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public static class MenuID
|
||||
{
|
||||
public const int None = -1;
|
||||
public const int LanguageSelectFirstRun = 1212;
|
||||
public const int LanguageSelect = 1213;
|
||||
public const int ServerPasswordRequested = 31;
|
||||
public const int MultiplayerJoining = 14;
|
||||
public const int SteamMultiplayer = 882;
|
||||
public const int ServerPasswordSet = 30;
|
||||
public const int SteamMultiplayerOptions = 889;
|
||||
public const int Error = 15;
|
||||
public const int LoadFailedWithBackup = 200;
|
||||
public const int LoadFailedNoBackup = 201;
|
||||
public const int Status = 10;
|
||||
public const int AutomaticServerConnect = 100;
|
||||
public const int Title = 0;
|
||||
public const int CharacterSelect = 1;
|
||||
public const int CharacterCreation = 2;
|
||||
public const int HardcoreOption = 222;
|
||||
public const int ClothesSelect = 20;
|
||||
public const int HairColor = 17;
|
||||
public const int EyeColor = 18;
|
||||
public const int SkinColor = 19;
|
||||
public const int ShirtColor = 21;
|
||||
public const int UndershirtColor = 22;
|
||||
public const int PantsColor = 23;
|
||||
public const int ShoeColor = 24;
|
||||
public const int CharacterName = 3;
|
||||
public const int CharacterDeletion = 4;
|
||||
public const int CharacterDeletionConfirmation = 5;
|
||||
public const int WorldSelect = 6;
|
||||
public const int WorldExpert = -7;
|
||||
public const int WorldEvil = -71;
|
||||
public const int WorldName = 7;
|
||||
public const int WorldSeed = 5000;
|
||||
public const int WorldDeletion = 8;
|
||||
public const int WorldDeletionConfirmation = 9;
|
||||
public const int Settings = 11;
|
||||
public const int GeneralSettings = 112;
|
||||
public const int UISettings = 1112;
|
||||
public const int VideoSettings = 1111;
|
||||
public const int EffectsSettings = 2008;
|
||||
public const int FullscreenSettings = 111;
|
||||
public const int CursorSettings = 1125;
|
||||
public const int CursorColor = 25;
|
||||
public const int CursorEdgeColor = 252;
|
||||
public const int VolumeSettings = 26;
|
||||
public const int BackgroundScrollSettings = 28;
|
||||
public const int MapKeybindSettings = 272727;
|
||||
public const int KeybindSettings = 27;
|
||||
public const int ControlSettings = 1127;
|
||||
public const int Multiplayer = 12;
|
||||
public const int ServerIP = 13;
|
||||
public const int ServerPort = 131;
|
||||
public const int WorldSize = 16;
|
||||
public const int FancyUI = 888;
|
||||
public const int RejectedWorld = 1000000;
|
||||
}
|
||||
}
|
160
ID/MessageID.cs
Normal file
160
ID/MessageID.cs
Normal file
|
@ -0,0 +1,160 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.MessageID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
using System;
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public class MessageID
|
||||
{
|
||||
public const byte NeverCalled = 0;
|
||||
public const byte Hello = 1;
|
||||
public const byte Kick = 2;
|
||||
public const byte PlayerInfo = 3;
|
||||
public const byte SyncPlayer = 4;
|
||||
public const byte SyncEquipment = 5;
|
||||
public const byte RequestWorldData = 6;
|
||||
public const byte WorldData = 7;
|
||||
public const byte SpawnTileData = 8;
|
||||
public const byte StatusTextSize = 9;
|
||||
public const byte TileSection = 10;
|
||||
public const byte TileFrameSection = 11;
|
||||
public const byte PlayerSpawn = 12;
|
||||
public const byte PlayerControls = 13;
|
||||
public const byte PlayerActive = 14;
|
||||
[Obsolete("Deprecated.")]
|
||||
public const byte Unknown15 = 15;
|
||||
public const byte PlayerLifeMana = 16;
|
||||
public const byte TileManipulation = 17;
|
||||
public const byte SetTime = 18;
|
||||
public const byte ToggleDoorState = 19;
|
||||
public const byte Unknown20 = 20;
|
||||
public const byte SyncItem = 21;
|
||||
public const byte ItemOwner = 22;
|
||||
public const byte SyncNPC = 23;
|
||||
public const byte UnusedMeleeStrike = 24;
|
||||
[Obsolete("Deprecated. Use NetTextModule instead.")]
|
||||
public const byte Unused25 = 25;
|
||||
[Obsolete("Deprecated.")]
|
||||
public const byte Unused26 = 26;
|
||||
public const byte SyncProjectile = 27;
|
||||
public const byte DamageNPC = 28;
|
||||
public const byte KillProjectile = 29;
|
||||
public const byte TogglePVP = 30;
|
||||
public const byte RequestChestOpen = 31;
|
||||
public const byte SyncChestItem = 32;
|
||||
public const byte SyncPlayerChest = 33;
|
||||
public const byte ChestUpdates = 34;
|
||||
public const byte PlayerHeal = 35;
|
||||
public const byte SyncPlayerZone = 36;
|
||||
public const byte RequestPassword = 37;
|
||||
public const byte SendPassword = 38;
|
||||
public const byte ReleaseItemOwnership = 39;
|
||||
public const byte SyncTalkNPC = 40;
|
||||
public const byte Unknown41 = 41;
|
||||
public const byte Unknown42 = 42;
|
||||
public const byte Unknown43 = 43;
|
||||
[Obsolete("Deprecated.")]
|
||||
public const byte Unknown44 = 44;
|
||||
public const byte Unknown45 = 45;
|
||||
public const byte Unknown46 = 46;
|
||||
public const byte Unknown47 = 47;
|
||||
[Obsolete("Deprecated. Use NetLiquidModule instead.")]
|
||||
public const byte LiquidUpdate = 48;
|
||||
public const byte Unknown49 = 49;
|
||||
public const byte Unknown50 = 50;
|
||||
public const byte Unknown51 = 51;
|
||||
public const byte Unknown52 = 52;
|
||||
public const byte Unknown53 = 53;
|
||||
public const byte Unknown54 = 54;
|
||||
public const byte AddPlayerBuff = 55;
|
||||
public const byte UniqueTownNPCInfoSyncRequest = 56;
|
||||
public const byte Unknown57 = 57;
|
||||
public const byte InstrumentSound = 58;
|
||||
public const byte HitSwitch = 59;
|
||||
public const byte Unknown60 = 60;
|
||||
public const byte Unknown61 = 61;
|
||||
public const byte Unknown62 = 62;
|
||||
public const byte Unknown63 = 63;
|
||||
public const byte Unknown64 = 64;
|
||||
public const byte TeleportEntity = 65;
|
||||
public const byte Unknown66 = 66;
|
||||
public const byte Unknown67 = 67;
|
||||
public const byte Unknown68 = 68;
|
||||
public const byte ChestName = 69;
|
||||
public const byte BugCatching = 70;
|
||||
public const byte BugReleasing = 71;
|
||||
public const byte TravelMerchantItems = 72;
|
||||
public const byte RequestTeleportationByServer = 73;
|
||||
public const byte AnglerQuest = 74;
|
||||
public const byte AnglerQuestFinished = 75;
|
||||
public const byte QuestsCountSync = 76;
|
||||
public const byte TemporaryAnimation = 77;
|
||||
public const byte InvasionProgressReport = 78;
|
||||
public const byte PlaceObject = 79;
|
||||
public const byte SyncPlayerChestIndex = 80;
|
||||
public const byte CombatTextInt = 81;
|
||||
public const byte NetModules = 82;
|
||||
public const byte NPCKillCountDeathTally = 83;
|
||||
public const byte PlayerStealth = 84;
|
||||
public const byte QuickStackChests = 85;
|
||||
public const byte TileEntitySharing = 86;
|
||||
public const byte TileEntityPlacement = 87;
|
||||
public const byte ItemTweaker = 88;
|
||||
public const byte ItemFrameTryPlacing = 89;
|
||||
public const byte InstancedItem = 90;
|
||||
public const byte SyncEmoteBubble = 91;
|
||||
public const byte SyncExtraValue = 92;
|
||||
public const byte SocialHandshake = 93;
|
||||
public const byte Deprecated1 = 94;
|
||||
public const byte MurderSomeoneElsesPortal = 95;
|
||||
public const byte TeleportPlayerThroughPortal = 96;
|
||||
public const byte AchievementMessageNPCKilled = 97;
|
||||
public const byte AchievementMessageEventHappened = 98;
|
||||
public const byte MinionRestTargetUpdate = 99;
|
||||
public const byte TeleportNPCThroughPortal = 100;
|
||||
public const byte UpdateTowerShieldStrengths = 101;
|
||||
public const byte NebulaLevelupRequest = 102;
|
||||
public const byte MoonlordHorror = 103;
|
||||
public const byte ShopOverride = 104;
|
||||
public const byte GemLockToggle = 105;
|
||||
public const byte PoofOfSmoke = 106;
|
||||
public const byte SmartTextMessage = 107;
|
||||
public const byte WiredCannonShot = 108;
|
||||
public const byte MassWireOperation = 109;
|
||||
public const byte MassWireOperationPay = 110;
|
||||
public const byte ToggleParty = 111;
|
||||
public const byte SpecialFX = 112;
|
||||
public const byte CrystalInvasionStart = 113;
|
||||
public const byte CrystalInvasionWipeAllTheThingsss = 114;
|
||||
public const byte MinionAttackTargetUpdate = 115;
|
||||
public const byte CrystalInvasionSendWaitTime = 116;
|
||||
public const byte PlayerHurtV2 = 117;
|
||||
public const byte PlayerDeathV2 = 118;
|
||||
public const byte CombatTextString = 119;
|
||||
public const byte Emoji = 120;
|
||||
public const byte TEDisplayDollItemSync = 121;
|
||||
public const byte RequestTileEntityInteraction = 122;
|
||||
public const byte WeaponsRackTryPlacing = 123;
|
||||
public const byte TEHatRackItemSync = 124;
|
||||
public const byte SyncTilePicking = 125;
|
||||
public const byte SyncRevengeMarker = 126;
|
||||
public const byte RemoveRevengeMarker = 127;
|
||||
public const byte LandGolfBallInCup = 128;
|
||||
public const byte FinishedConnectingToServer = 129;
|
||||
public const byte FishOutNPC = 130;
|
||||
public const byte TamperWithNPC = 131;
|
||||
public const byte PlayLegacySound = 132;
|
||||
public const byte FoodPlatterTryPlacing = 133;
|
||||
public const byte UpdatePlayerLuckFactors = 134;
|
||||
public const byte DeadPlayer = 135;
|
||||
public const byte SyncCavernMonsterType = 136;
|
||||
public const byte RequestNPCBuffRemoval = 137;
|
||||
public const byte ClientSyncedInventory = 138;
|
||||
public const byte SetCountsAsHostForGameplay = 139;
|
||||
public const byte Count = 140;
|
||||
}
|
||||
}
|
72
ID/MountID.cs
Normal file
72
ID/MountID.cs
Normal file
|
@ -0,0 +1,72 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.MountID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public static class MountID
|
||||
{
|
||||
public const int None = -1;
|
||||
public const int Rudolph = 0;
|
||||
public const int Bunny = 1;
|
||||
public const int Pigron = 2;
|
||||
public const int Slime = 3;
|
||||
public const int Turtle = 4;
|
||||
public const int Bee = 5;
|
||||
public const int Minecart = 6;
|
||||
public const int UFO = 7;
|
||||
public const int Drill = 8;
|
||||
public const int Scutlix = 9;
|
||||
public const int Unicorn = 10;
|
||||
public const int MinecartMech = 11;
|
||||
public const int CuteFishron = 12;
|
||||
public const int MinecartWood = 13;
|
||||
public const int Basilisk = 14;
|
||||
public const int DesertMinecart = 15;
|
||||
public const int FishMinecart = 16;
|
||||
public const int GolfCartSomebodySaveMe = 17;
|
||||
public const int BeeMinecart = 18;
|
||||
public const int LadybugMinecart = 19;
|
||||
public const int PigronMinecart = 20;
|
||||
public const int SunflowerMinecart = 21;
|
||||
public const int HellMinecart = 22;
|
||||
public const int WitchBroom = 23;
|
||||
public const int ShroomMinecart = 24;
|
||||
public const int AmethystMinecart = 25;
|
||||
public const int TopazMinecart = 26;
|
||||
public const int SapphireMinecart = 27;
|
||||
public const int EmeraldMinecart = 28;
|
||||
public const int RubyMinecart = 29;
|
||||
public const int DiamondMinecart = 30;
|
||||
public const int AmberMinecart = 31;
|
||||
public const int BeetleMinecart = 32;
|
||||
public const int MeowmereMinecart = 33;
|
||||
public const int PartyMinecart = 34;
|
||||
public const int PirateMinecart = 35;
|
||||
public const int SteampunkMinecart = 36;
|
||||
public const int Flamingo = 37;
|
||||
public const int CoffinMinecart = 38;
|
||||
public const int DiggingMoleMinecart = 39;
|
||||
public const int PaintedHorse = 40;
|
||||
public const int MajesticHorse = 41;
|
||||
public const int DarkHorse = 42;
|
||||
public const int PogoStick = 43;
|
||||
public const int PirateShip = 44;
|
||||
public const int SpookyWood = 45;
|
||||
public const int Santank = 46;
|
||||
public const int WallOfFleshGoat = 47;
|
||||
public const int DarkMageBook = 48;
|
||||
public const int LavaShark = 49;
|
||||
public const int QueenSlime = 50;
|
||||
public static int Count = 51;
|
||||
|
||||
public static class Sets
|
||||
{
|
||||
public static SetFactory Factory = new SetFactory(MountID.Count);
|
||||
public static bool[] Cart = MountID.Sets.Factory.CreateBoolSet(6, 11, 13, 15, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 38, 39);
|
||||
public static bool[] FacePlayersVelocity = MountID.Sets.Factory.CreateBoolSet(15, 16, 11, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 38, 39);
|
||||
}
|
||||
}
|
||||
}
|
64
ID/NPCHeadID.cs
Normal file
64
ID/NPCHeadID.cs
Normal file
|
@ -0,0 +1,64 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.NPCHeadID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public class NPCHeadID
|
||||
{
|
||||
public const int HousingQuery = 0;
|
||||
public const int Guide = 1;
|
||||
public const int Merchant = 2;
|
||||
public const int Nurse = 3;
|
||||
public const int Demolitionist = 4;
|
||||
public const int Dryad = 5;
|
||||
public const int ArmsDealer = 6;
|
||||
public const int Clothier = 7;
|
||||
public const int Mechanic = 8;
|
||||
public const int GoblinTinkerer = 9;
|
||||
public const int Wizard = 10;
|
||||
public const int SantaClaus = 11;
|
||||
public const int Truffle = 12;
|
||||
public const int Steampunker = 13;
|
||||
public const int DyeTrader = 14;
|
||||
public const int PartyGirl = 15;
|
||||
public const int Cyborg = 16;
|
||||
public const int Painter = 17;
|
||||
public const int WitchDoctor = 18;
|
||||
public const int Pirate = 19;
|
||||
public const int Stylist = 20;
|
||||
public const int TravellingMerchant = 21;
|
||||
public const int Angler = 22;
|
||||
public const int TaxCollector = 23;
|
||||
public const int DD2Bartender = 24;
|
||||
public const int Golfer = 25;
|
||||
public const int BestiaryGirl = 26;
|
||||
public const int CatSiamese = 27;
|
||||
public const int CatBlack = 28;
|
||||
public const int CatOrangeTabby = 29;
|
||||
public const int CatRussianBlue = 30;
|
||||
public const int CatSilver = 31;
|
||||
public const int CatWhite = 32;
|
||||
public const int DogLabrador = 33;
|
||||
public const int DogPitBull = 34;
|
||||
public const int DogBeagle = 35;
|
||||
public const int DogCorgi = 36;
|
||||
public const int DogDalmation = 37;
|
||||
public const int DogHusky = 38;
|
||||
public const int BunnyWhite = 39;
|
||||
public const int BunnyAngora = 40;
|
||||
public const int BunnyDutch = 41;
|
||||
public const int BunnyFlemish = 42;
|
||||
public const int BunnyLop = 43;
|
||||
public const int BunnySilver = 44;
|
||||
public const int Count = 45;
|
||||
|
||||
public static class Sets
|
||||
{
|
||||
public static SetFactory Factory = new SetFactory(45);
|
||||
public static bool[] CannotBeDrawnInHousingUI = NPCHeadID.Sets.Factory.CreateBoolSet(21);
|
||||
}
|
||||
}
|
||||
}
|
5902
ID/NPCID.cs
Normal file
5902
ID/NPCID.cs
Normal file
File diff suppressed because it is too large
Load diff
13
ID/PaintID.cs
Normal file
13
ID/PaintID.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.PaintID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public static class PaintID
|
||||
{
|
||||
public const byte GLOW_PAINT = 31;
|
||||
}
|
||||
}
|
16
ID/PlayerDifficultyID.cs
Normal file
16
ID/PlayerDifficultyID.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.PlayerDifficultyID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public class PlayerDifficultyID
|
||||
{
|
||||
public const byte SoftCore = 0;
|
||||
public const byte MediumCore = 1;
|
||||
public const byte Hardcore = 2;
|
||||
public const byte Creative = 3;
|
||||
}
|
||||
}
|
29
ID/PlayerTextureID.cs
Normal file
29
ID/PlayerTextureID.cs
Normal file
|
@ -0,0 +1,29 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.PlayerTextureID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public static class PlayerTextureID
|
||||
{
|
||||
public const int Head = 0;
|
||||
public const int EyeWhites = 1;
|
||||
public const int Eyes = 2;
|
||||
public const int TorsoSkin = 3;
|
||||
public const int Undershirt = 4;
|
||||
public const int Hands = 5;
|
||||
public const int Shirt = 6;
|
||||
public const int ArmSkin = 7;
|
||||
public const int ArmUndershirt = 8;
|
||||
public const int ArmHand = 9;
|
||||
public const int LegSkin = 10;
|
||||
public const int Pants = 11;
|
||||
public const int Shoes = 12;
|
||||
public const int ArmShirt = 13;
|
||||
public const int Extra = 14;
|
||||
public const int EyeBlink = 15;
|
||||
public const int Count = 16;
|
||||
}
|
||||
}
|
50
ID/PlayerVariantID.cs
Normal file
50
ID/PlayerVariantID.cs
Normal file
|
@ -0,0 +1,50 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.PlayerVariantID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public static class PlayerVariantID
|
||||
{
|
||||
public static SetFactory Factory = new SetFactory(12);
|
||||
public const int MaleStarter = 0;
|
||||
public const int MaleSticker = 1;
|
||||
public const int MaleGangster = 2;
|
||||
public const int MaleCoat = 3;
|
||||
public const int FemaleStarter = 4;
|
||||
public const int FemaleSticker = 5;
|
||||
public const int FemaleGangster = 6;
|
||||
public const int FemaleCoat = 7;
|
||||
public const int MaleDress = 8;
|
||||
public const int FemaleDress = 9;
|
||||
public const int MaleDisplayDoll = 10;
|
||||
public const int FemaleDisplayDoll = 11;
|
||||
public const int Count = 12;
|
||||
|
||||
public class Sets
|
||||
{
|
||||
public static bool[] Male = PlayerVariantID.Factory.CreateBoolSet(0, 1, 2, 3, 8, 10);
|
||||
public static int[] AltGenderReference = PlayerVariantID.Factory.CreateIntSet(0, 0, 4, 4, 0, 1, 5, 5, 1, 2, 6, 6, 2, 3, 7, 7, 3, 8, 9, 9, 8, 10, 11, 11, 10);
|
||||
public static int[] VariantOrderMale = new int[6]
|
||||
{
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
8,
|
||||
10
|
||||
};
|
||||
public static int[] VariantOrderFemale = new int[6]
|
||||
{
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7,
|
||||
9,
|
||||
11
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
97
ID/PrefixID.cs
Normal file
97
ID/PrefixID.cs
Normal file
|
@ -0,0 +1,97 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.PrefixID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public class PrefixID
|
||||
{
|
||||
public const int Large = 1;
|
||||
public const int Massive = 2;
|
||||
public const int Dangerous = 3;
|
||||
public const int Savage = 4;
|
||||
public const int Sharp = 5;
|
||||
public const int Pointy = 6;
|
||||
public const int Tiny = 7;
|
||||
public const int Terrible = 8;
|
||||
public const int Small = 9;
|
||||
public const int Dull = 10;
|
||||
public const int Unhappy = 11;
|
||||
public const int Bulky = 12;
|
||||
public const int Shameful = 13;
|
||||
public const int Heavy = 14;
|
||||
public const int Light = 15;
|
||||
public const int Sighted = 16;
|
||||
public const int Rapid = 17;
|
||||
public const int Hasty = 18;
|
||||
public const int Intimidating = 19;
|
||||
public const int Deadly = 20;
|
||||
public const int Staunch = 21;
|
||||
public const int Awful = 22;
|
||||
public const int Lethargic = 23;
|
||||
public const int Awkward = 24;
|
||||
public const int Powerful = 25;
|
||||
public const int Mystic = 26;
|
||||
public const int Adept = 27;
|
||||
public const int Masterful = 28;
|
||||
public const int Inept = 29;
|
||||
public const int Ignorant = 30;
|
||||
public const int Deranged = 31;
|
||||
public const int Intense = 32;
|
||||
public const int Taboo = 33;
|
||||
public const int Celestial = 34;
|
||||
public const int Furious = 35;
|
||||
public const int Keen = 36;
|
||||
public const int Superior = 37;
|
||||
public const int Forceful = 38;
|
||||
public const int Broken = 39;
|
||||
public const int Damaged = 40;
|
||||
public const int Shoddy = 41;
|
||||
public const int Quick = 42;
|
||||
public const int Deadly2 = 43;
|
||||
public const int Agile = 44;
|
||||
public const int Nimble = 45;
|
||||
public const int Murderous = 46;
|
||||
public const int Slow = 47;
|
||||
public const int Sluggish = 48;
|
||||
public const int Lazy = 49;
|
||||
public const int Annoying = 50;
|
||||
public const int Nasty = 51;
|
||||
public const int Manic = 52;
|
||||
public const int Hurtful = 53;
|
||||
public const int Strong = 54;
|
||||
public const int Unpleasant = 55;
|
||||
public const int Weak = 56;
|
||||
public const int Ruthless = 57;
|
||||
public const int Frenzying = 58;
|
||||
public const int Godly = 59;
|
||||
public const int Demonic = 60;
|
||||
public const int Zealous = 61;
|
||||
public const int Hard = 62;
|
||||
public const int Guarding = 63;
|
||||
public const int Armored = 64;
|
||||
public const int Warding = 65;
|
||||
public const int Arcane = 66;
|
||||
public const int Precise = 67;
|
||||
public const int Lucky = 68;
|
||||
public const int Jagged = 69;
|
||||
public const int Spiked = 70;
|
||||
public const int Angry = 71;
|
||||
public const int Menacing = 72;
|
||||
public const int Brisk = 73;
|
||||
public const int Fleeting = 74;
|
||||
public const int Hasty2 = 75;
|
||||
public const int Quick2 = 76;
|
||||
public const int Wild = 77;
|
||||
public const int Rash = 78;
|
||||
public const int Intrepid = 79;
|
||||
public const int Violent = 80;
|
||||
public const int Legendary = 81;
|
||||
public const int Unreal = 82;
|
||||
public const int Mythical = 83;
|
||||
public const int Legendary2 = 84;
|
||||
public const int Count = 85;
|
||||
}
|
||||
}
|
1008
ID/ProjectileID.cs
Normal file
1008
ID/ProjectileID.cs
Normal file
File diff suppressed because it is too large
Load diff
25
ID/RecipeGroupID.cs
Normal file
25
ID/RecipeGroupID.cs
Normal file
|
@ -0,0 +1,25 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.RecipeGroupID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public class RecipeGroupID
|
||||
{
|
||||
public static int Birds = 0;
|
||||
public static int Scorpions = 1;
|
||||
public static int Bugs = 2;
|
||||
public static int Ducks = 3;
|
||||
public static int Squirrels = 4;
|
||||
public static int Butterflies = 5;
|
||||
public static int Fireflies = 6;
|
||||
public static int Snails = 7;
|
||||
public static int FishForDinner = 8;
|
||||
public static int GoldenCritter = 9;
|
||||
public static int Dragonflies = 10;
|
||||
public static int Turtles = 11;
|
||||
public static int Fruit = 12;
|
||||
}
|
||||
}
|
135
ID/SetFactory.cs
Normal file
135
ID/SetFactory.cs
Normal file
|
@ -0,0 +1,135 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.SetFactory
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public class SetFactory
|
||||
{
|
||||
protected int _size;
|
||||
private readonly Queue<int[]> _intBufferCache = new Queue<int[]>();
|
||||
private readonly Queue<ushort[]> _ushortBufferCache = new Queue<ushort[]>();
|
||||
private readonly Queue<bool[]> _boolBufferCache = new Queue<bool[]>();
|
||||
private readonly Queue<float[]> _floatBufferCache = new Queue<float[]>();
|
||||
private object _queueLock = new object();
|
||||
|
||||
public SetFactory(int size) => this._size = size;
|
||||
|
||||
protected bool[] GetBoolBuffer()
|
||||
{
|
||||
lock (this._queueLock)
|
||||
return this._boolBufferCache.Count == 0 ? new bool[this._size] : this._boolBufferCache.Dequeue();
|
||||
}
|
||||
|
||||
protected int[] GetIntBuffer()
|
||||
{
|
||||
lock (this._queueLock)
|
||||
return this._intBufferCache.Count == 0 ? new int[this._size] : this._intBufferCache.Dequeue();
|
||||
}
|
||||
|
||||
protected ushort[] GetUshortBuffer()
|
||||
{
|
||||
lock (this._queueLock)
|
||||
return this._ushortBufferCache.Count == 0 ? new ushort[this._size] : this._ushortBufferCache.Dequeue();
|
||||
}
|
||||
|
||||
protected float[] GetFloatBuffer()
|
||||
{
|
||||
lock (this._queueLock)
|
||||
return this._floatBufferCache.Count == 0 ? new float[this._size] : this._floatBufferCache.Dequeue();
|
||||
}
|
||||
|
||||
public void Recycle<T>(T[] buffer)
|
||||
{
|
||||
lock (this._queueLock)
|
||||
{
|
||||
if (typeof (T).Equals(typeof (bool)))
|
||||
{
|
||||
this._boolBufferCache.Enqueue((bool[]) buffer);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!typeof (T).Equals(typeof (int)))
|
||||
return;
|
||||
this._intBufferCache.Enqueue((int[]) buffer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public bool[] CreateBoolSet(params int[] types) => this.CreateBoolSet(false, types);
|
||||
|
||||
public bool[] CreateBoolSet(bool defaultState, params int[] types)
|
||||
{
|
||||
bool[] boolBuffer = this.GetBoolBuffer();
|
||||
for (int index = 0; index < boolBuffer.Length; ++index)
|
||||
boolBuffer[index] = defaultState;
|
||||
for (int index = 0; index < types.Length; ++index)
|
||||
boolBuffer[types[index]] = !defaultState;
|
||||
return boolBuffer;
|
||||
}
|
||||
|
||||
public int[] CreateIntSet(int defaultState, params int[] inputs)
|
||||
{
|
||||
if (inputs.Length % 2 != 0)
|
||||
throw new Exception("You have a bad length for inputs on CreateArraySet");
|
||||
int[] intBuffer = this.GetIntBuffer();
|
||||
for (int index = 0; index < intBuffer.Length; ++index)
|
||||
intBuffer[index] = defaultState;
|
||||
for (int index = 0; index < inputs.Length; index += 2)
|
||||
intBuffer[inputs[index]] = inputs[index + 1];
|
||||
return intBuffer;
|
||||
}
|
||||
|
||||
public ushort[] CreateUshortSet(ushort defaultState, params ushort[] inputs)
|
||||
{
|
||||
if (inputs.Length % 2 != 0)
|
||||
throw new Exception("You have a bad length for inputs on CreateArraySet");
|
||||
ushort[] ushortBuffer = this.GetUshortBuffer();
|
||||
for (int index = 0; index < ushortBuffer.Length; ++index)
|
||||
ushortBuffer[index] = defaultState;
|
||||
for (int index = 0; index < inputs.Length; index += 2)
|
||||
ushortBuffer[(int) inputs[index]] = inputs[index + 1];
|
||||
return ushortBuffer;
|
||||
}
|
||||
|
||||
public float[] CreateFloatSet(float defaultState, params float[] inputs)
|
||||
{
|
||||
if (inputs.Length % 2 != 0)
|
||||
throw new Exception("You have a bad length for inputs on CreateArraySet");
|
||||
float[] floatBuffer = this.GetFloatBuffer();
|
||||
for (int index = 0; index < floatBuffer.Length; ++index)
|
||||
floatBuffer[index] = defaultState;
|
||||
for (int index = 0; index < inputs.Length; index += 2)
|
||||
floatBuffer[(int) inputs[index]] = inputs[index + 1];
|
||||
return floatBuffer;
|
||||
}
|
||||
|
||||
public T[] CreateCustomSet<T>(T defaultState, params object[] inputs)
|
||||
{
|
||||
if (inputs.Length % 2 != 0)
|
||||
throw new Exception("You have a bad length for inputs on CreateCustomSet");
|
||||
T[] objArray = new T[this._size];
|
||||
for (int index = 0; index < objArray.Length; ++index)
|
||||
objArray[index] = defaultState;
|
||||
if (inputs != null)
|
||||
{
|
||||
for (int index = 0; index < inputs.Length; index += 2)
|
||||
{
|
||||
T obj = !typeof (T).IsPrimitive ? (!typeof (T).IsGenericType || !(typeof (T).GetGenericTypeDefinition() == typeof (Nullable<>)) ? (!typeof (T).IsClass ? (T) Convert.ChangeType(inputs[index + 1], typeof (T)) : (T) inputs[index + 1]) : (T) inputs[index + 1]) : (T) inputs[index + 1];
|
||||
if (inputs[index] is ushort)
|
||||
objArray[(int) (ushort) inputs[index]] = obj;
|
||||
else if (inputs[index] is int)
|
||||
objArray[(int) inputs[index]] = obj;
|
||||
else
|
||||
objArray[(int) (short) inputs[index]] = obj;
|
||||
}
|
||||
}
|
||||
return objArray;
|
||||
}
|
||||
}
|
||||
}
|
552
ID/SoundID.cs
Normal file
552
ID/SoundID.cs
Normal file
|
@ -0,0 +1,552 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.SoundID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using Terraria.Audio;
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public class SoundID
|
||||
{
|
||||
private static readonly SoundID.SoundStyleDefaults ItemDefaults = new SoundID.SoundStyleDefaults(1f, 0.06f);
|
||||
public const int Dig = 0;
|
||||
public const int PlayerHit = 1;
|
||||
public const int Item = 2;
|
||||
public const int NPCHit = 3;
|
||||
public const int NPCKilled = 4;
|
||||
public const int PlayerKilled = 5;
|
||||
public const int Grass = 6;
|
||||
public const int Grab = 7;
|
||||
public const int DoorOpen = 8;
|
||||
public const int DoorClosed = 9;
|
||||
public const int MenuOpen = 10;
|
||||
public const int MenuClose = 11;
|
||||
public const int MenuTick = 12;
|
||||
public const int Shatter = 13;
|
||||
public const int ZombieMoan = 14;
|
||||
public const int Roar = 15;
|
||||
public const int DoubleJump = 16;
|
||||
public const int Run = 17;
|
||||
public const int Coins = 18;
|
||||
public const int Splash = 19;
|
||||
public const int FemaleHit = 20;
|
||||
public const int Tink = 21;
|
||||
public const int Unlock = 22;
|
||||
public const int Drown = 23;
|
||||
public const int Chat = 24;
|
||||
public const int MaxMana = 25;
|
||||
public const int Mummy = 26;
|
||||
public const int Pixie = 27;
|
||||
public const int Mech = 28;
|
||||
public const int Zombie = 29;
|
||||
public const int Duck = 30;
|
||||
public const int Frog = 31;
|
||||
public const int Bird = 32;
|
||||
public const int Critter = 33;
|
||||
public const int Waterfall = 34;
|
||||
public const int Lavafall = 35;
|
||||
public const int ForceRoar = 36;
|
||||
public const int Meowmere = 37;
|
||||
public const int CoinPickup = 38;
|
||||
public const int Drip = 39;
|
||||
public const int Camera = 40;
|
||||
public const int MoonLord = 41;
|
||||
public const int Trackable = 42;
|
||||
public const int Thunder = 43;
|
||||
public const int Seagull = 44;
|
||||
public const int Dolphin = 45;
|
||||
public const int Owl = 46;
|
||||
public const int GuitarC = 47;
|
||||
public const int GuitarD = 48;
|
||||
public const int GuitarEm = 49;
|
||||
public const int GuitarG = 50;
|
||||
public const int GuitarAm = 51;
|
||||
public const int GuitarF = 52;
|
||||
public const int DrumHiHat = 53;
|
||||
public const int DrumTomHigh = 54;
|
||||
public const int DrumTomLow = 55;
|
||||
public const int DrumTomMid = 56;
|
||||
public const int DrumClosedHiHat = 57;
|
||||
public const int DrumCymbal1 = 58;
|
||||
public const int DrumCymbal2 = 59;
|
||||
public const int DrumKick = 60;
|
||||
public const int DrumTamaSnare = 61;
|
||||
public const int DrumFloorTom = 62;
|
||||
public const int Research = 63;
|
||||
public const int ResearchComplete = 64;
|
||||
public const int QueenSlime = 65;
|
||||
public static readonly LegacySoundStyle NPCHit1 = new LegacySoundStyle(3, 1);
|
||||
public static readonly LegacySoundStyle NPCHit2 = new LegacySoundStyle(3, 2);
|
||||
public static readonly LegacySoundStyle NPCHit3 = new LegacySoundStyle(3, 3);
|
||||
public static readonly LegacySoundStyle NPCHit4 = new LegacySoundStyle(3, 4);
|
||||
public static readonly LegacySoundStyle NPCHit5 = new LegacySoundStyle(3, 5);
|
||||
public static readonly LegacySoundStyle NPCHit6 = new LegacySoundStyle(3, 6);
|
||||
public static readonly LegacySoundStyle NPCHit7 = new LegacySoundStyle(3, 7);
|
||||
public static readonly LegacySoundStyle NPCHit8 = new LegacySoundStyle(3, 8);
|
||||
public static readonly LegacySoundStyle NPCHit9 = new LegacySoundStyle(3, 9);
|
||||
public static readonly LegacySoundStyle NPCHit10 = new LegacySoundStyle(3, 10);
|
||||
public static readonly LegacySoundStyle NPCHit11 = new LegacySoundStyle(3, 11);
|
||||
public static readonly LegacySoundStyle NPCHit12 = new LegacySoundStyle(3, 12);
|
||||
public static readonly LegacySoundStyle NPCHit13 = new LegacySoundStyle(3, 13);
|
||||
public static readonly LegacySoundStyle NPCHit14 = new LegacySoundStyle(3, 14);
|
||||
public static readonly LegacySoundStyle NPCHit15 = new LegacySoundStyle(3, 15);
|
||||
public static readonly LegacySoundStyle NPCHit16 = new LegacySoundStyle(3, 16);
|
||||
public static readonly LegacySoundStyle NPCHit17 = new LegacySoundStyle(3, 17);
|
||||
public static readonly LegacySoundStyle NPCHit18 = new LegacySoundStyle(3, 18);
|
||||
public static readonly LegacySoundStyle NPCHit19 = new LegacySoundStyle(3, 19);
|
||||
public static readonly LegacySoundStyle NPCHit20 = new LegacySoundStyle(3, 20);
|
||||
public static readonly LegacySoundStyle NPCHit21 = new LegacySoundStyle(3, 21);
|
||||
public static readonly LegacySoundStyle NPCHit22 = new LegacySoundStyle(3, 22);
|
||||
public static readonly LegacySoundStyle NPCHit23 = new LegacySoundStyle(3, 23);
|
||||
public static readonly LegacySoundStyle NPCHit24 = new LegacySoundStyle(3, 24);
|
||||
public static readonly LegacySoundStyle NPCHit25 = new LegacySoundStyle(3, 25);
|
||||
public static readonly LegacySoundStyle NPCHit26 = new LegacySoundStyle(3, 26);
|
||||
public static readonly LegacySoundStyle NPCHit27 = new LegacySoundStyle(3, 27);
|
||||
public static readonly LegacySoundStyle NPCHit28 = new LegacySoundStyle(3, 28);
|
||||
public static readonly LegacySoundStyle NPCHit29 = new LegacySoundStyle(3, 29);
|
||||
public static readonly LegacySoundStyle NPCHit30 = new LegacySoundStyle(3, 30);
|
||||
public static readonly LegacySoundStyle NPCHit31 = new LegacySoundStyle(3, 31);
|
||||
public static readonly LegacySoundStyle NPCHit32 = new LegacySoundStyle(3, 32);
|
||||
public static readonly LegacySoundStyle NPCHit33 = new LegacySoundStyle(3, 33);
|
||||
public static readonly LegacySoundStyle NPCHit34 = new LegacySoundStyle(3, 34);
|
||||
public static readonly LegacySoundStyle NPCHit35 = new LegacySoundStyle(3, 35);
|
||||
public static readonly LegacySoundStyle NPCHit36 = new LegacySoundStyle(3, 36);
|
||||
public static readonly LegacySoundStyle NPCHit37 = new LegacySoundStyle(3, 37);
|
||||
public static readonly LegacySoundStyle NPCHit38 = new LegacySoundStyle(3, 38);
|
||||
public static readonly LegacySoundStyle NPCHit39 = new LegacySoundStyle(3, 39);
|
||||
public static readonly LegacySoundStyle NPCHit40 = new LegacySoundStyle(3, 40);
|
||||
public static readonly LegacySoundStyle NPCHit41 = new LegacySoundStyle(3, 41);
|
||||
public static readonly LegacySoundStyle NPCHit42 = new LegacySoundStyle(3, 42);
|
||||
public static readonly LegacySoundStyle NPCHit43 = new LegacySoundStyle(3, 43);
|
||||
public static readonly LegacySoundStyle NPCHit44 = new LegacySoundStyle(3, 44);
|
||||
public static readonly LegacySoundStyle NPCHit45 = new LegacySoundStyle(3, 45);
|
||||
public static readonly LegacySoundStyle NPCHit46 = new LegacySoundStyle(3, 46);
|
||||
public static readonly LegacySoundStyle NPCHit47 = new LegacySoundStyle(3, 47);
|
||||
public static readonly LegacySoundStyle NPCHit48 = new LegacySoundStyle(3, 48);
|
||||
public static readonly LegacySoundStyle NPCHit49 = new LegacySoundStyle(3, 49);
|
||||
public static readonly LegacySoundStyle NPCHit50 = new LegacySoundStyle(3, 50);
|
||||
public static readonly LegacySoundStyle NPCHit51 = new LegacySoundStyle(3, 51);
|
||||
public static readonly LegacySoundStyle NPCHit52 = new LegacySoundStyle(3, 52);
|
||||
public static readonly LegacySoundStyle NPCHit53 = new LegacySoundStyle(3, 53);
|
||||
public static readonly LegacySoundStyle NPCHit54 = new LegacySoundStyle(3, 54);
|
||||
public static readonly LegacySoundStyle NPCHit55 = new LegacySoundStyle(3, 55);
|
||||
public static readonly LegacySoundStyle NPCHit56 = new LegacySoundStyle(3, 56);
|
||||
public static readonly LegacySoundStyle NPCHit57 = new LegacySoundStyle(3, 57);
|
||||
public static readonly LegacySoundStyle NPCDeath1 = new LegacySoundStyle(4, 1);
|
||||
public static readonly LegacySoundStyle NPCDeath2 = new LegacySoundStyle(4, 2);
|
||||
public static readonly LegacySoundStyle NPCDeath3 = new LegacySoundStyle(4, 3);
|
||||
public static readonly LegacySoundStyle NPCDeath4 = new LegacySoundStyle(4, 4);
|
||||
public static readonly LegacySoundStyle NPCDeath5 = new LegacySoundStyle(4, 5);
|
||||
public static readonly LegacySoundStyle NPCDeath6 = new LegacySoundStyle(4, 6);
|
||||
public static readonly LegacySoundStyle NPCDeath7 = new LegacySoundStyle(4, 7);
|
||||
public static readonly LegacySoundStyle NPCDeath8 = new LegacySoundStyle(4, 8);
|
||||
public static readonly LegacySoundStyle NPCDeath9 = new LegacySoundStyle(4, 9);
|
||||
public static readonly LegacySoundStyle NPCDeath10 = new LegacySoundStyle(4, 10);
|
||||
public static readonly LegacySoundStyle NPCDeath11 = new LegacySoundStyle(4, 11);
|
||||
public static readonly LegacySoundStyle NPCDeath12 = new LegacySoundStyle(4, 12);
|
||||
public static readonly LegacySoundStyle NPCDeath13 = new LegacySoundStyle(4, 13);
|
||||
public static readonly LegacySoundStyle NPCDeath14 = new LegacySoundStyle(4, 14);
|
||||
public static readonly LegacySoundStyle NPCDeath15 = new LegacySoundStyle(4, 15);
|
||||
public static readonly LegacySoundStyle NPCDeath16 = new LegacySoundStyle(4, 16);
|
||||
public static readonly LegacySoundStyle NPCDeath17 = new LegacySoundStyle(4, 17);
|
||||
public static readonly LegacySoundStyle NPCDeath18 = new LegacySoundStyle(4, 18);
|
||||
public static readonly LegacySoundStyle NPCDeath19 = new LegacySoundStyle(4, 19);
|
||||
public static readonly LegacySoundStyle NPCDeath20 = new LegacySoundStyle(4, 20);
|
||||
public static readonly LegacySoundStyle NPCDeath21 = new LegacySoundStyle(4, 21);
|
||||
public static readonly LegacySoundStyle NPCDeath22 = new LegacySoundStyle(4, 22);
|
||||
public static readonly LegacySoundStyle NPCDeath23 = new LegacySoundStyle(4, 23);
|
||||
public static readonly LegacySoundStyle NPCDeath24 = new LegacySoundStyle(4, 24);
|
||||
public static readonly LegacySoundStyle NPCDeath25 = new LegacySoundStyle(4, 25);
|
||||
public static readonly LegacySoundStyle NPCDeath26 = new LegacySoundStyle(4, 26);
|
||||
public static readonly LegacySoundStyle NPCDeath27 = new LegacySoundStyle(4, 27);
|
||||
public static readonly LegacySoundStyle NPCDeath28 = new LegacySoundStyle(4, 28);
|
||||
public static readonly LegacySoundStyle NPCDeath29 = new LegacySoundStyle(4, 29);
|
||||
public static readonly LegacySoundStyle NPCDeath30 = new LegacySoundStyle(4, 30);
|
||||
public static readonly LegacySoundStyle NPCDeath31 = new LegacySoundStyle(4, 31);
|
||||
public static readonly LegacySoundStyle NPCDeath32 = new LegacySoundStyle(4, 32);
|
||||
public static readonly LegacySoundStyle NPCDeath33 = new LegacySoundStyle(4, 33);
|
||||
public static readonly LegacySoundStyle NPCDeath34 = new LegacySoundStyle(4, 34);
|
||||
public static readonly LegacySoundStyle NPCDeath35 = new LegacySoundStyle(4, 35);
|
||||
public static readonly LegacySoundStyle NPCDeath36 = new LegacySoundStyle(4, 36);
|
||||
public static readonly LegacySoundStyle NPCDeath37 = new LegacySoundStyle(4, 37);
|
||||
public static readonly LegacySoundStyle NPCDeath38 = new LegacySoundStyle(4, 38);
|
||||
public static readonly LegacySoundStyle NPCDeath39 = new LegacySoundStyle(4, 39);
|
||||
public static readonly LegacySoundStyle NPCDeath40 = new LegacySoundStyle(4, 40);
|
||||
public static readonly LegacySoundStyle NPCDeath41 = new LegacySoundStyle(4, 41);
|
||||
public static readonly LegacySoundStyle NPCDeath42 = new LegacySoundStyle(4, 42);
|
||||
public static readonly LegacySoundStyle NPCDeath43 = new LegacySoundStyle(4, 43);
|
||||
public static readonly LegacySoundStyle NPCDeath44 = new LegacySoundStyle(4, 44);
|
||||
public static readonly LegacySoundStyle NPCDeath45 = new LegacySoundStyle(4, 45);
|
||||
public static readonly LegacySoundStyle NPCDeath46 = new LegacySoundStyle(4, 46);
|
||||
public static readonly LegacySoundStyle NPCDeath47 = new LegacySoundStyle(4, 47);
|
||||
public static readonly LegacySoundStyle NPCDeath48 = new LegacySoundStyle(4, 48);
|
||||
public static readonly LegacySoundStyle NPCDeath49 = new LegacySoundStyle(4, 49);
|
||||
public static readonly LegacySoundStyle NPCDeath50 = new LegacySoundStyle(4, 50);
|
||||
public static readonly LegacySoundStyle NPCDeath51 = new LegacySoundStyle(4, 51);
|
||||
public static readonly LegacySoundStyle NPCDeath52 = new LegacySoundStyle(4, 52);
|
||||
public static readonly LegacySoundStyle NPCDeath53 = new LegacySoundStyle(4, 53);
|
||||
public static readonly LegacySoundStyle NPCDeath54 = new LegacySoundStyle(4, 54);
|
||||
public static readonly LegacySoundStyle NPCDeath55 = new LegacySoundStyle(4, 55);
|
||||
public static readonly LegacySoundStyle NPCDeath56 = new LegacySoundStyle(4, 56);
|
||||
public static readonly LegacySoundStyle NPCDeath57 = new LegacySoundStyle(4, 57);
|
||||
public static readonly LegacySoundStyle NPCDeath58 = new LegacySoundStyle(4, 58);
|
||||
public static readonly LegacySoundStyle NPCDeath59 = new LegacySoundStyle(4, 59);
|
||||
public static readonly LegacySoundStyle NPCDeath60 = new LegacySoundStyle(4, 60);
|
||||
public static readonly LegacySoundStyle NPCDeath61 = new LegacySoundStyle(4, 61);
|
||||
public static readonly LegacySoundStyle NPCDeath62 = new LegacySoundStyle(4, 62);
|
||||
public static readonly LegacySoundStyle NPCDeath63 = new LegacySoundStyle(4, 63);
|
||||
public static readonly LegacySoundStyle NPCDeath64 = new LegacySoundStyle(4, 64);
|
||||
public static readonly LegacySoundStyle NPCDeath65 = new LegacySoundStyle(4, 65);
|
||||
public static short NPCDeathCount = 66;
|
||||
public static readonly LegacySoundStyle Item1 = new LegacySoundStyle(2, 1);
|
||||
public static readonly LegacySoundStyle Item2 = new LegacySoundStyle(2, 2);
|
||||
public static readonly LegacySoundStyle Item3 = new LegacySoundStyle(2, 3);
|
||||
public static readonly LegacySoundStyle Item4 = new LegacySoundStyle(2, 4);
|
||||
public static readonly LegacySoundStyle Item5 = new LegacySoundStyle(2, 5);
|
||||
public static readonly LegacySoundStyle Item6 = new LegacySoundStyle(2, 6);
|
||||
public static readonly LegacySoundStyle Item7 = new LegacySoundStyle(2, 7);
|
||||
public static readonly LegacySoundStyle Item8 = new LegacySoundStyle(2, 8);
|
||||
public static readonly LegacySoundStyle Item9 = new LegacySoundStyle(2, 9);
|
||||
public static readonly LegacySoundStyle Item10 = new LegacySoundStyle(2, 10);
|
||||
public static readonly LegacySoundStyle Item11 = new LegacySoundStyle(2, 11);
|
||||
public static readonly LegacySoundStyle Item12 = new LegacySoundStyle(2, 12);
|
||||
public static readonly LegacySoundStyle Item13 = new LegacySoundStyle(2, 13);
|
||||
public static readonly LegacySoundStyle Item14 = new LegacySoundStyle(2, 14);
|
||||
public static readonly LegacySoundStyle Item15 = new LegacySoundStyle(2, 15);
|
||||
public static readonly LegacySoundStyle Item16 = new LegacySoundStyle(2, 16);
|
||||
public static readonly LegacySoundStyle Item17 = new LegacySoundStyle(2, 17);
|
||||
public static readonly LegacySoundStyle Item18 = new LegacySoundStyle(2, 18);
|
||||
public static readonly LegacySoundStyle Item19 = new LegacySoundStyle(2, 19);
|
||||
public static readonly LegacySoundStyle Item20 = new LegacySoundStyle(2, 20);
|
||||
public static readonly LegacySoundStyle Item21 = new LegacySoundStyle(2, 21);
|
||||
public static readonly LegacySoundStyle Item22 = new LegacySoundStyle(2, 22);
|
||||
public static readonly LegacySoundStyle Item23 = new LegacySoundStyle(2, 23);
|
||||
public static readonly LegacySoundStyle Item24 = new LegacySoundStyle(2, 24);
|
||||
public static readonly LegacySoundStyle Item25 = new LegacySoundStyle(2, 25);
|
||||
public static readonly LegacySoundStyle Item26 = new LegacySoundStyle(2, 26);
|
||||
public static readonly LegacySoundStyle Item27 = new LegacySoundStyle(2, 27);
|
||||
public static readonly LegacySoundStyle Item28 = new LegacySoundStyle(2, 28);
|
||||
public static readonly LegacySoundStyle Item29 = new LegacySoundStyle(2, 29);
|
||||
public static readonly LegacySoundStyle Item30 = new LegacySoundStyle(2, 30);
|
||||
public static readonly LegacySoundStyle Item31 = new LegacySoundStyle(2, 31);
|
||||
public static readonly LegacySoundStyle Item32 = new LegacySoundStyle(2, 32);
|
||||
public static readonly LegacySoundStyle Item33 = new LegacySoundStyle(2, 33);
|
||||
public static readonly LegacySoundStyle Item34 = new LegacySoundStyle(2, 34);
|
||||
public static readonly LegacySoundStyle Item35 = new LegacySoundStyle(2, 35);
|
||||
public static readonly LegacySoundStyle Item36 = new LegacySoundStyle(2, 36);
|
||||
public static readonly LegacySoundStyle Item37 = new LegacySoundStyle(2, 37);
|
||||
public static readonly LegacySoundStyle Item38 = new LegacySoundStyle(2, 38);
|
||||
public static readonly LegacySoundStyle Item39 = new LegacySoundStyle(2, 39);
|
||||
public static readonly LegacySoundStyle Item40 = new LegacySoundStyle(2, 40);
|
||||
public static readonly LegacySoundStyle Item41 = new LegacySoundStyle(2, 41);
|
||||
public static readonly LegacySoundStyle Item42 = new LegacySoundStyle(2, 42);
|
||||
public static readonly LegacySoundStyle Item43 = new LegacySoundStyle(2, 43);
|
||||
public static readonly LegacySoundStyle Item44 = new LegacySoundStyle(2, 44);
|
||||
public static readonly LegacySoundStyle Item45 = new LegacySoundStyle(2, 45);
|
||||
public static readonly LegacySoundStyle Item46 = new LegacySoundStyle(2, 46);
|
||||
public static readonly LegacySoundStyle Item47 = new LegacySoundStyle(2, 47);
|
||||
public static readonly LegacySoundStyle Item48 = new LegacySoundStyle(2, 48);
|
||||
public static readonly LegacySoundStyle Item49 = new LegacySoundStyle(2, 49);
|
||||
public static readonly LegacySoundStyle Item50 = new LegacySoundStyle(2, 50);
|
||||
public static readonly LegacySoundStyle Item51 = new LegacySoundStyle(2, 51);
|
||||
public static readonly LegacySoundStyle Item52 = new LegacySoundStyle(2, 52);
|
||||
public static readonly LegacySoundStyle Item53 = new LegacySoundStyle(2, 53);
|
||||
public static readonly LegacySoundStyle Item54 = new LegacySoundStyle(2, 54);
|
||||
public static readonly LegacySoundStyle Item55 = new LegacySoundStyle(2, 55);
|
||||
public static readonly LegacySoundStyle Item56 = new LegacySoundStyle(2, 56);
|
||||
public static readonly LegacySoundStyle Item57 = new LegacySoundStyle(2, 57);
|
||||
public static readonly LegacySoundStyle Item58 = new LegacySoundStyle(2, 58);
|
||||
public static readonly LegacySoundStyle Item59 = new LegacySoundStyle(2, 59);
|
||||
public static readonly LegacySoundStyle Item60 = new LegacySoundStyle(2, 60);
|
||||
public static readonly LegacySoundStyle Item61 = new LegacySoundStyle(2, 61);
|
||||
public static readonly LegacySoundStyle Item62 = new LegacySoundStyle(2, 62);
|
||||
public static readonly LegacySoundStyle Item63 = new LegacySoundStyle(2, 63);
|
||||
public static readonly LegacySoundStyle Item64 = new LegacySoundStyle(2, 64);
|
||||
public static readonly LegacySoundStyle Item65 = new LegacySoundStyle(2, 65);
|
||||
public static readonly LegacySoundStyle Item66 = new LegacySoundStyle(2, 66);
|
||||
public static readonly LegacySoundStyle Item67 = new LegacySoundStyle(2, 67);
|
||||
public static readonly LegacySoundStyle Item68 = new LegacySoundStyle(2, 68);
|
||||
public static readonly LegacySoundStyle Item69 = new LegacySoundStyle(2, 69);
|
||||
public static readonly LegacySoundStyle Item70 = new LegacySoundStyle(2, 70);
|
||||
public static readonly LegacySoundStyle Item71 = new LegacySoundStyle(2, 71);
|
||||
public static readonly LegacySoundStyle Item72 = new LegacySoundStyle(2, 72);
|
||||
public static readonly LegacySoundStyle Item73 = new LegacySoundStyle(2, 73);
|
||||
public static readonly LegacySoundStyle Item74 = new LegacySoundStyle(2, 74);
|
||||
public static readonly LegacySoundStyle Item75 = new LegacySoundStyle(2, 75);
|
||||
public static readonly LegacySoundStyle Item76 = new LegacySoundStyle(2, 76);
|
||||
public static readonly LegacySoundStyle Item77 = new LegacySoundStyle(2, 77);
|
||||
public static readonly LegacySoundStyle Item78 = new LegacySoundStyle(2, 78);
|
||||
public static readonly LegacySoundStyle Item79 = new LegacySoundStyle(2, 79);
|
||||
public static readonly LegacySoundStyle Item80 = new LegacySoundStyle(2, 80);
|
||||
public static readonly LegacySoundStyle Item81 = new LegacySoundStyle(2, 81);
|
||||
public static readonly LegacySoundStyle Item82 = new LegacySoundStyle(2, 82);
|
||||
public static readonly LegacySoundStyle Item83 = new LegacySoundStyle(2, 83);
|
||||
public static readonly LegacySoundStyle Item84 = new LegacySoundStyle(2, 84);
|
||||
public static readonly LegacySoundStyle Item85 = new LegacySoundStyle(2, 85);
|
||||
public static readonly LegacySoundStyle Item86 = new LegacySoundStyle(2, 86);
|
||||
public static readonly LegacySoundStyle Item87 = new LegacySoundStyle(2, 87);
|
||||
public static readonly LegacySoundStyle Item88 = new LegacySoundStyle(2, 88);
|
||||
public static readonly LegacySoundStyle Item89 = new LegacySoundStyle(2, 89);
|
||||
public static readonly LegacySoundStyle Item90 = new LegacySoundStyle(2, 90);
|
||||
public static readonly LegacySoundStyle Item91 = new LegacySoundStyle(2, 91);
|
||||
public static readonly LegacySoundStyle Item92 = new LegacySoundStyle(2, 92);
|
||||
public static readonly LegacySoundStyle Item93 = new LegacySoundStyle(2, 93);
|
||||
public static readonly LegacySoundStyle Item94 = new LegacySoundStyle(2, 94);
|
||||
public static readonly LegacySoundStyle Item95 = new LegacySoundStyle(2, 95);
|
||||
public static readonly LegacySoundStyle Item96 = new LegacySoundStyle(2, 96);
|
||||
public static readonly LegacySoundStyle Item97 = new LegacySoundStyle(2, 97);
|
||||
public static readonly LegacySoundStyle Item98 = new LegacySoundStyle(2, 98);
|
||||
public static readonly LegacySoundStyle Item99 = new LegacySoundStyle(2, 99);
|
||||
public static readonly LegacySoundStyle Item100 = new LegacySoundStyle(2, 100);
|
||||
public static readonly LegacySoundStyle Item101 = new LegacySoundStyle(2, 101);
|
||||
public static readonly LegacySoundStyle Item102 = new LegacySoundStyle(2, 102);
|
||||
public static readonly LegacySoundStyle Item103 = new LegacySoundStyle(2, 103);
|
||||
public static readonly LegacySoundStyle Item104 = new LegacySoundStyle(2, 104);
|
||||
public static readonly LegacySoundStyle Item105 = new LegacySoundStyle(2, 105);
|
||||
public static readonly LegacySoundStyle Item106 = new LegacySoundStyle(2, 106);
|
||||
public static readonly LegacySoundStyle Item107 = new LegacySoundStyle(2, 107);
|
||||
public static readonly LegacySoundStyle Item108 = new LegacySoundStyle(2, 108);
|
||||
public static readonly LegacySoundStyle Item109 = new LegacySoundStyle(2, 109);
|
||||
public static readonly LegacySoundStyle Item110 = new LegacySoundStyle(2, 110);
|
||||
public static readonly LegacySoundStyle Item111 = new LegacySoundStyle(2, 111);
|
||||
public static readonly LegacySoundStyle Item112 = new LegacySoundStyle(2, 112);
|
||||
public static readonly LegacySoundStyle Item113 = new LegacySoundStyle(2, 113);
|
||||
public static readonly LegacySoundStyle Item114 = new LegacySoundStyle(2, 114);
|
||||
public static readonly LegacySoundStyle Item115 = new LegacySoundStyle(2, 115);
|
||||
public static readonly LegacySoundStyle Item116 = new LegacySoundStyle(2, 116);
|
||||
public static readonly LegacySoundStyle Item117 = new LegacySoundStyle(2, 117);
|
||||
public static readonly LegacySoundStyle Item118 = new LegacySoundStyle(2, 118);
|
||||
public static readonly LegacySoundStyle Item119 = new LegacySoundStyle(2, 119);
|
||||
public static readonly LegacySoundStyle Item120 = new LegacySoundStyle(2, 120);
|
||||
public static readonly LegacySoundStyle Item121 = new LegacySoundStyle(2, 121);
|
||||
public static readonly LegacySoundStyle Item122 = new LegacySoundStyle(2, 122);
|
||||
public static readonly LegacySoundStyle Item123 = new LegacySoundStyle(2, 123);
|
||||
public static readonly LegacySoundStyle Item124 = new LegacySoundStyle(2, 124);
|
||||
public static readonly LegacySoundStyle Item125 = new LegacySoundStyle(2, 125);
|
||||
public static readonly LegacySoundStyle Item126 = new LegacySoundStyle(2, 126);
|
||||
public static readonly LegacySoundStyle Item127 = new LegacySoundStyle(2, (int) sbyte.MaxValue);
|
||||
public static readonly LegacySoundStyle Item128 = new LegacySoundStyle(2, 128);
|
||||
public static readonly LegacySoundStyle Item129 = new LegacySoundStyle(2, 129);
|
||||
public static readonly LegacySoundStyle Item130 = new LegacySoundStyle(2, 130);
|
||||
public static readonly LegacySoundStyle Item131 = new LegacySoundStyle(2, 131);
|
||||
public static readonly LegacySoundStyle Item132 = new LegacySoundStyle(2, 132);
|
||||
public static readonly LegacySoundStyle Item133 = new LegacySoundStyle(2, 133);
|
||||
public static readonly LegacySoundStyle Item134 = new LegacySoundStyle(2, 134);
|
||||
public static readonly LegacySoundStyle Item135 = new LegacySoundStyle(2, 135);
|
||||
public static readonly LegacySoundStyle Item136 = new LegacySoundStyle(2, 136);
|
||||
public static readonly LegacySoundStyle Item137 = new LegacySoundStyle(2, 137);
|
||||
public static readonly LegacySoundStyle Item138 = new LegacySoundStyle(2, 138);
|
||||
public static readonly LegacySoundStyle Item139 = new LegacySoundStyle(2, 139);
|
||||
public static readonly LegacySoundStyle Item140 = new LegacySoundStyle(2, 140);
|
||||
public static readonly LegacySoundStyle Item141 = new LegacySoundStyle(2, 141);
|
||||
public static readonly LegacySoundStyle Item142 = new LegacySoundStyle(2, 142);
|
||||
public static readonly LegacySoundStyle Item143 = new LegacySoundStyle(2, 143);
|
||||
public static readonly LegacySoundStyle Item144 = new LegacySoundStyle(2, 144);
|
||||
public static readonly LegacySoundStyle Item145 = new LegacySoundStyle(2, 145);
|
||||
public static readonly LegacySoundStyle Item146 = new LegacySoundStyle(2, 146);
|
||||
public static readonly LegacySoundStyle Item147 = new LegacySoundStyle(2, 147);
|
||||
public static readonly LegacySoundStyle Item148 = new LegacySoundStyle(2, 148);
|
||||
public static readonly LegacySoundStyle Item149 = new LegacySoundStyle(2, 149);
|
||||
public static readonly LegacySoundStyle Item150 = new LegacySoundStyle(2, 150);
|
||||
public static readonly LegacySoundStyle Item151 = new LegacySoundStyle(2, 151);
|
||||
public static readonly LegacySoundStyle Item152 = new LegacySoundStyle(2, 152);
|
||||
public static readonly LegacySoundStyle Item153 = new LegacySoundStyle(2, 153);
|
||||
public static readonly LegacySoundStyle Item154 = new LegacySoundStyle(2, 154);
|
||||
public static readonly LegacySoundStyle Item155 = new LegacySoundStyle(2, 155);
|
||||
public static readonly LegacySoundStyle Item156 = new LegacySoundStyle(2, 156);
|
||||
public static readonly LegacySoundStyle Item157 = new LegacySoundStyle(2, 157);
|
||||
public static readonly LegacySoundStyle Item158 = new LegacySoundStyle(2, 158);
|
||||
public static readonly LegacySoundStyle Item159 = new LegacySoundStyle(2, 159);
|
||||
public static readonly LegacySoundStyle Item160 = new LegacySoundStyle(2, 160);
|
||||
public static readonly LegacySoundStyle Item161 = new LegacySoundStyle(2, 161);
|
||||
public static readonly LegacySoundStyle Item162 = new LegacySoundStyle(2, 162);
|
||||
public static readonly LegacySoundStyle Item163 = new LegacySoundStyle(2, 163);
|
||||
public static readonly LegacySoundStyle Item164 = new LegacySoundStyle(2, 164);
|
||||
public static readonly LegacySoundStyle Item165 = new LegacySoundStyle(2, 165);
|
||||
public static readonly LegacySoundStyle Item166 = new LegacySoundStyle(2, 166);
|
||||
public static readonly LegacySoundStyle Item167 = new LegacySoundStyle(2, 167);
|
||||
public static readonly LegacySoundStyle Item168 = new LegacySoundStyle(2, 168);
|
||||
public static readonly LegacySoundStyle Item169 = new LegacySoundStyle(2, 169);
|
||||
public static readonly LegacySoundStyle Item170 = new LegacySoundStyle(2, 170);
|
||||
public static readonly LegacySoundStyle Item171 = new LegacySoundStyle(2, 171);
|
||||
public static readonly LegacySoundStyle Item172 = new LegacySoundStyle(2, 172);
|
||||
public static short ItemSoundCount = 173;
|
||||
public static readonly LegacySoundStyle DD2_GoblinBomb = new LegacySoundStyle(2, 14).WithVolume(0.5f);
|
||||
public static readonly LegacySoundStyle AchievementComplete = SoundID.CreateTrackable("achievement_complete");
|
||||
public static readonly LegacySoundStyle BlizzardInsideBuildingLoop = SoundID.CreateTrackable("blizzard_inside_building_loop", SoundType.Ambient);
|
||||
public static readonly LegacySoundStyle BlizzardStrongLoop = SoundID.CreateTrackable("blizzard_strong_loop", SoundType.Ambient).WithVolume(0.5f);
|
||||
public static readonly LegacySoundStyle LiquidsHoneyWater = SoundID.CreateTrackable("liquids_honey_water", 3, SoundType.Ambient);
|
||||
public static readonly LegacySoundStyle LiquidsHoneyLava = SoundID.CreateTrackable("liquids_honey_lava", 3, SoundType.Ambient);
|
||||
public static readonly LegacySoundStyle LiquidsWaterLava = SoundID.CreateTrackable("liquids_water_lava", 3, SoundType.Ambient);
|
||||
public static readonly LegacySoundStyle DD2_BallistaTowerShot = SoundID.CreateTrackable("dd2_ballista_tower_shot", 3);
|
||||
public static readonly LegacySoundStyle DD2_ExplosiveTrapExplode = SoundID.CreateTrackable("dd2_explosive_trap_explode", 3);
|
||||
public static readonly LegacySoundStyle DD2_FlameburstTowerShot = SoundID.CreateTrackable("dd2_flameburst_tower_shot", 3);
|
||||
public static readonly LegacySoundStyle DD2_LightningAuraZap = SoundID.CreateTrackable("dd2_lightning_aura_zap", 4);
|
||||
public static readonly LegacySoundStyle DD2_DefenseTowerSpawn = SoundID.CreateTrackable("dd2_defense_tower_spawn");
|
||||
public static readonly LegacySoundStyle DD2_BetsyDeath = SoundID.CreateTrackable("dd2_betsy_death", 3);
|
||||
public static readonly LegacySoundStyle DD2_BetsyFireballShot = SoundID.CreateTrackable("dd2_betsy_fireball_shot", 3);
|
||||
public static readonly LegacySoundStyle DD2_BetsyFireballImpact = SoundID.CreateTrackable("dd2_betsy_fireball_impact", 3);
|
||||
public static readonly LegacySoundStyle DD2_BetsyFlameBreath = SoundID.CreateTrackable("dd2_betsy_flame_breath");
|
||||
public static readonly LegacySoundStyle DD2_BetsyFlyingCircleAttack = SoundID.CreateTrackable("dd2_betsy_flying_circle_attack");
|
||||
public static readonly LegacySoundStyle DD2_BetsyHurt = SoundID.CreateTrackable("dd2_betsy_hurt", 3);
|
||||
public static readonly LegacySoundStyle DD2_BetsyScream = SoundID.CreateTrackable("dd2_betsy_scream");
|
||||
public static readonly LegacySoundStyle DD2_BetsySummon = SoundID.CreateTrackable("dd2_betsy_summon", 3);
|
||||
public static readonly LegacySoundStyle DD2_BetsyWindAttack = SoundID.CreateTrackable("dd2_betsy_wind_attack", 3);
|
||||
public static readonly LegacySoundStyle DD2_DarkMageAttack = SoundID.CreateTrackable("dd2_dark_mage_attack", 3);
|
||||
public static readonly LegacySoundStyle DD2_DarkMageCastHeal = SoundID.CreateTrackable("dd2_dark_mage_cast_heal", 3);
|
||||
public static readonly LegacySoundStyle DD2_DarkMageDeath = SoundID.CreateTrackable("dd2_dark_mage_death", 3);
|
||||
public static readonly LegacySoundStyle DD2_DarkMageHealImpact = SoundID.CreateTrackable("dd2_dark_mage_heal_impact", 3);
|
||||
public static readonly LegacySoundStyle DD2_DarkMageHurt = SoundID.CreateTrackable("dd2_dark_mage_hurt", 3);
|
||||
public static readonly LegacySoundStyle DD2_DarkMageSummonSkeleton = SoundID.CreateTrackable("dd2_dark_mage_summon_skeleton", 3);
|
||||
public static readonly LegacySoundStyle DD2_DrakinBreathIn = SoundID.CreateTrackable("dd2_drakin_breath_in", 3);
|
||||
public static readonly LegacySoundStyle DD2_DrakinDeath = SoundID.CreateTrackable("dd2_drakin_death", 3);
|
||||
public static readonly LegacySoundStyle DD2_DrakinHurt = SoundID.CreateTrackable("dd2_drakin_hurt", 3);
|
||||
public static readonly LegacySoundStyle DD2_DrakinShot = SoundID.CreateTrackable("dd2_drakin_shot", 3);
|
||||
public static readonly LegacySoundStyle DD2_GoblinDeath = SoundID.CreateTrackable("dd2_goblin_death", 3);
|
||||
public static readonly LegacySoundStyle DD2_GoblinHurt = SoundID.CreateTrackable("dd2_goblin_hurt", 6);
|
||||
public static readonly LegacySoundStyle DD2_GoblinScream = SoundID.CreateTrackable("dd2_goblin_scream", 3);
|
||||
public static readonly LegacySoundStyle DD2_GoblinBomberDeath = SoundID.CreateTrackable("dd2_goblin_bomber_death", 3);
|
||||
public static readonly LegacySoundStyle DD2_GoblinBomberHurt = SoundID.CreateTrackable("dd2_goblin_bomber_hurt", 3);
|
||||
public static readonly LegacySoundStyle DD2_GoblinBomberScream = SoundID.CreateTrackable("dd2_goblin_bomber_scream", 3);
|
||||
public static readonly LegacySoundStyle DD2_GoblinBomberThrow = SoundID.CreateTrackable("dd2_goblin_bomber_throw", 3);
|
||||
public static readonly LegacySoundStyle DD2_JavelinThrowersAttack = SoundID.CreateTrackable("dd2_javelin_throwers_attack", 3);
|
||||
public static readonly LegacySoundStyle DD2_JavelinThrowersDeath = SoundID.CreateTrackable("dd2_javelin_throwers_death", 3);
|
||||
public static readonly LegacySoundStyle DD2_JavelinThrowersHurt = SoundID.CreateTrackable("dd2_javelin_throwers_hurt", 3);
|
||||
public static readonly LegacySoundStyle DD2_JavelinThrowersTaunt = SoundID.CreateTrackable("dd2_javelin_throwers_taunt", 3);
|
||||
public static readonly LegacySoundStyle DD2_KoboldDeath = SoundID.CreateTrackable("dd2_kobold_death", 3);
|
||||
public static readonly LegacySoundStyle DD2_KoboldExplosion = SoundID.CreateTrackable("dd2_kobold_explosion", 3);
|
||||
public static readonly LegacySoundStyle DD2_KoboldHurt = SoundID.CreateTrackable("dd2_kobold_hurt", 3);
|
||||
public static readonly LegacySoundStyle DD2_KoboldIgnite = SoundID.CreateTrackable("dd2_kobold_ignite");
|
||||
public static readonly LegacySoundStyle DD2_KoboldIgniteLoop = SoundID.CreateTrackable("dd2_kobold_ignite_loop");
|
||||
public static readonly LegacySoundStyle DD2_KoboldScreamChargeLoop = SoundID.CreateTrackable("dd2_kobold_scream_charge_loop");
|
||||
public static readonly LegacySoundStyle DD2_KoboldFlyerChargeScream = SoundID.CreateTrackable("dd2_kobold_flyer_charge_scream", 3);
|
||||
public static readonly LegacySoundStyle DD2_KoboldFlyerDeath = SoundID.CreateTrackable("dd2_kobold_flyer_death", 3);
|
||||
public static readonly LegacySoundStyle DD2_KoboldFlyerHurt = SoundID.CreateTrackable("dd2_kobold_flyer_hurt", 3);
|
||||
public static readonly LegacySoundStyle DD2_LightningBugDeath = SoundID.CreateTrackable("dd2_lightning_bug_death", 3);
|
||||
public static readonly LegacySoundStyle DD2_LightningBugHurt = SoundID.CreateTrackable("dd2_lightning_bug_hurt", 3);
|
||||
public static readonly LegacySoundStyle DD2_LightningBugZap = SoundID.CreateTrackable("dd2_lightning_bug_zap", 3);
|
||||
public static readonly LegacySoundStyle DD2_OgreAttack = SoundID.CreateTrackable("dd2_ogre_attack", 3);
|
||||
public static readonly LegacySoundStyle DD2_OgreDeath = SoundID.CreateTrackable("dd2_ogre_death", 3);
|
||||
public static readonly LegacySoundStyle DD2_OgreGroundPound = SoundID.CreateTrackable("dd2_ogre_ground_pound");
|
||||
public static readonly LegacySoundStyle DD2_OgreHurt = SoundID.CreateTrackable("dd2_ogre_hurt", 3);
|
||||
public static readonly LegacySoundStyle DD2_OgreRoar = SoundID.CreateTrackable("dd2_ogre_roar", 3);
|
||||
public static readonly LegacySoundStyle DD2_OgreSpit = SoundID.CreateTrackable("dd2_ogre_spit");
|
||||
public static readonly LegacySoundStyle DD2_SkeletonDeath = SoundID.CreateTrackable("dd2_skeleton_death", 3);
|
||||
public static readonly LegacySoundStyle DD2_SkeletonHurt = SoundID.CreateTrackable("dd2_skeleton_hurt", 3);
|
||||
public static readonly LegacySoundStyle DD2_SkeletonSummoned = SoundID.CreateTrackable("dd2_skeleton_summoned");
|
||||
public static readonly LegacySoundStyle DD2_WitherBeastAuraPulse = SoundID.CreateTrackable("dd2_wither_beast_aura_pulse", 2);
|
||||
public static readonly LegacySoundStyle DD2_WitherBeastCrystalImpact = SoundID.CreateTrackable("dd2_wither_beast_crystal_impact", 3);
|
||||
public static readonly LegacySoundStyle DD2_WitherBeastDeath = SoundID.CreateTrackable("dd2_wither_beast_death", 3);
|
||||
public static readonly LegacySoundStyle DD2_WitherBeastHurt = SoundID.CreateTrackable("dd2_wither_beast_hurt", 3);
|
||||
public static readonly LegacySoundStyle DD2_WyvernDeath = SoundID.CreateTrackable("dd2_wyvern_death", 3);
|
||||
public static readonly LegacySoundStyle DD2_WyvernHurt = SoundID.CreateTrackable("dd2_wyvern_hurt", 3);
|
||||
public static readonly LegacySoundStyle DD2_WyvernScream = SoundID.CreateTrackable("dd2_wyvern_scream", 3);
|
||||
public static readonly LegacySoundStyle DD2_WyvernDiveDown = SoundID.CreateTrackable("dd2_wyvern_dive_down", 3);
|
||||
public static readonly LegacySoundStyle DD2_EtherianPortalDryadTouch = SoundID.CreateTrackable("dd2_etherian_portal_dryad_touch");
|
||||
public static readonly LegacySoundStyle DD2_EtherianPortalIdleLoop = SoundID.CreateTrackable("dd2_etherian_portal_idle_loop");
|
||||
public static readonly LegacySoundStyle DD2_EtherianPortalOpen = SoundID.CreateTrackable("dd2_etherian_portal_open");
|
||||
public static readonly LegacySoundStyle DD2_EtherianPortalSpawnEnemy = SoundID.CreateTrackable("dd2_etherian_portal_spawn_enemy", 3);
|
||||
public static readonly LegacySoundStyle DD2_CrystalCartImpact = SoundID.CreateTrackable("dd2_crystal_cart_impact", 3);
|
||||
public static readonly LegacySoundStyle DD2_DefeatScene = SoundID.CreateTrackable("dd2_defeat_scene");
|
||||
public static readonly LegacySoundStyle DD2_WinScene = SoundID.CreateTrackable("dd2_win_scene");
|
||||
public static readonly LegacySoundStyle DD2_BetsysWrathShot = SoundID.DD2_BetsyFireballShot.WithVolume(0.4f);
|
||||
public static readonly LegacySoundStyle DD2_BetsysWrathImpact = SoundID.DD2_BetsyFireballImpact.WithVolume(0.4f);
|
||||
public static readonly LegacySoundStyle DD2_BookStaffCast = SoundID.CreateTrackable("dd2_book_staff_cast", 3);
|
||||
public static readonly LegacySoundStyle DD2_BookStaffTwisterLoop = SoundID.CreateTrackable("dd2_book_staff_twister_loop");
|
||||
public static readonly LegacySoundStyle DD2_GhastlyGlaiveImpactGhost = SoundID.CreateTrackable("dd2_ghastly_glaive_impact_ghost", 3);
|
||||
public static readonly LegacySoundStyle DD2_GhastlyGlaivePierce = SoundID.CreateTrackable("dd2_ghastly_glaive_pierce", 3);
|
||||
public static readonly LegacySoundStyle DD2_MonkStaffGroundImpact = SoundID.CreateTrackable("dd2_monk_staff_ground_impact", 3);
|
||||
public static readonly LegacySoundStyle DD2_MonkStaffGroundMiss = SoundID.CreateTrackable("dd2_monk_staff_ground_miss", 3);
|
||||
public static readonly LegacySoundStyle DD2_MonkStaffSwing = SoundID.CreateTrackable("dd2_monk_staff_swing", 4);
|
||||
public static readonly LegacySoundStyle DD2_PhantomPhoenixShot = SoundID.CreateTrackable("dd2_phantom_phoenix_shot", 3);
|
||||
public static readonly LegacySoundStyle DD2_SonicBoomBladeSlash = SoundID.CreateTrackable("dd2_sonic_boom_blade_slash", 3, SoundID.ItemDefaults).WithVolume(0.5f);
|
||||
public static readonly LegacySoundStyle DD2_SkyDragonsFuryCircle = SoundID.CreateTrackable("dd2_sky_dragons_fury_circle", 3);
|
||||
public static readonly LegacySoundStyle DD2_SkyDragonsFuryShot = SoundID.CreateTrackable("dd2_sky_dragons_fury_shot", 3);
|
||||
public static readonly LegacySoundStyle DD2_SkyDragonsFurySwing = SoundID.CreateTrackable("dd2_sky_dragons_fury_swing", 4);
|
||||
private static List<string> _trackableLegacySoundPathList;
|
||||
public static Dictionary<string, LegacySoundStyle> SoundByName = (Dictionary<string, LegacySoundStyle>) null;
|
||||
public static Dictionary<string, ushort> IndexByName = (Dictionary<string, ushort>) null;
|
||||
public static Dictionary<ushort, LegacySoundStyle> SoundByIndex = (Dictionary<ushort, LegacySoundStyle>) null;
|
||||
|
||||
public static int TrackableLegacySoundCount => SoundID._trackableLegacySoundPathList.Count;
|
||||
|
||||
public static string GetTrackableLegacySoundPath(int id) => SoundID._trackableLegacySoundPathList[id];
|
||||
|
||||
private static LegacySoundStyle CreateTrackable(
|
||||
string name,
|
||||
SoundID.SoundStyleDefaults defaults)
|
||||
{
|
||||
return SoundID.CreateTrackable(name, 1, defaults.Type).WithPitchVariance(defaults.PitchVariance).WithVolume(defaults.Volume);
|
||||
}
|
||||
|
||||
private static LegacySoundStyle CreateTrackable(
|
||||
string name,
|
||||
int variations,
|
||||
SoundID.SoundStyleDefaults defaults)
|
||||
{
|
||||
return SoundID.CreateTrackable(name, variations, defaults.Type).WithPitchVariance(defaults.PitchVariance).WithVolume(defaults.Volume);
|
||||
}
|
||||
|
||||
private static LegacySoundStyle CreateTrackable(string name, SoundType type = SoundType.Sound) => SoundID.CreateTrackable(name, 1, type);
|
||||
|
||||
private static LegacySoundStyle CreateTrackable(
|
||||
string name,
|
||||
int variations,
|
||||
SoundType type = SoundType.Sound)
|
||||
{
|
||||
if (SoundID._trackableLegacySoundPathList == null)
|
||||
SoundID._trackableLegacySoundPathList = new List<string>();
|
||||
int count = SoundID._trackableLegacySoundPathList.Count;
|
||||
if (variations == 1)
|
||||
{
|
||||
SoundID._trackableLegacySoundPathList.Add(name);
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int index = 0; index < variations; ++index)
|
||||
SoundID._trackableLegacySoundPathList.Add(name + "_" + (object) index);
|
||||
}
|
||||
return new LegacySoundStyle(42, count, variations, type);
|
||||
}
|
||||
|
||||
public static void FillAccessMap()
|
||||
{
|
||||
Dictionary<string, LegacySoundStyle> ret = new Dictionary<string, LegacySoundStyle>();
|
||||
Dictionary<string, ushort> ret2 = new Dictionary<string, ushort>();
|
||||
Dictionary<ushort, LegacySoundStyle> ret3 = new Dictionary<ushort, LegacySoundStyle>();
|
||||
ushort nextIndex = 0;
|
||||
List<FieldInfo> list = ((IEnumerable<FieldInfo>) typeof (SoundID).GetFields(BindingFlags.Static | BindingFlags.Public)).Where<FieldInfo>((Func<FieldInfo, bool>) (f => f.FieldType == typeof (LegacySoundStyle))).ToList<FieldInfo>();
|
||||
list.Sort((Comparison<FieldInfo>) ((a, b) => string.Compare(a.Name, b.Name)));
|
||||
list.ForEach((Action<FieldInfo>) (field =>
|
||||
{
|
||||
ret[field.Name] = (LegacySoundStyle) field.GetValue((object) null);
|
||||
ret2[field.Name] = nextIndex;
|
||||
ret3[nextIndex] = (LegacySoundStyle) field.GetValue((object) null);
|
||||
++nextIndex;
|
||||
}));
|
||||
SoundID.SoundByName = ret;
|
||||
SoundID.IndexByName = ret2;
|
||||
SoundID.SoundByIndex = ret3;
|
||||
}
|
||||
|
||||
private struct SoundStyleDefaults
|
||||
{
|
||||
public readonly float PitchVariance;
|
||||
public readonly float Volume;
|
||||
public readonly SoundType Type;
|
||||
|
||||
public SoundStyleDefaults(float volume, float pitchVariance, SoundType type = SoundType.Sound)
|
||||
{
|
||||
this.PitchVariance = pitchVariance;
|
||||
this.Volume = volume;
|
||||
this.Type = type;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
19
ID/StatusID.cs
Normal file
19
ID/StatusID.cs
Normal file
|
@ -0,0 +1,19 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.StatusID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public class StatusID
|
||||
{
|
||||
public const int Ok = 0;
|
||||
public const int LaterVersion = 1;
|
||||
public const int UnknownError = 2;
|
||||
public const int EmptyFile = 3;
|
||||
public const int DecryptionError = 4;
|
||||
public const int BadSectionPointer = 5;
|
||||
public const int BadFooter = 6;
|
||||
}
|
||||
}
|
26
ID/SurfaceBackgroundID.cs
Normal file
26
ID/SurfaceBackgroundID.cs
Normal file
|
@ -0,0 +1,26 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.SurfaceBackgroundID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public static class SurfaceBackgroundID
|
||||
{
|
||||
public const int Forest1 = 0;
|
||||
public const int Corruption = 1;
|
||||
public const int Desert = 2;
|
||||
public const int Jungle = 3;
|
||||
public const int Ocean = 4;
|
||||
public const int GoodEvilDesert = 5;
|
||||
public const int Hallow = 6;
|
||||
public const int Snow = 7;
|
||||
public const int Crimson = 8;
|
||||
public const int Mushroom = 9;
|
||||
public const int Forest2 = 10;
|
||||
public const int Forest3 = 11;
|
||||
public const int Forest4 = 12;
|
||||
public const int Empty = 13;
|
||||
}
|
||||
}
|
14
ID/TeleportationSide.cs
Normal file
14
ID/TeleportationSide.cs
Normal file
|
@ -0,0 +1,14 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.TeleportationSide
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public enum TeleportationSide
|
||||
{
|
||||
Entry,
|
||||
Exit,
|
||||
}
|
||||
}
|
23
ID/TeleportationStyleID.cs
Normal file
23
ID/TeleportationStyleID.cs
Normal file
|
@ -0,0 +1,23 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.TeleportationStyleID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public static class TeleportationStyleID
|
||||
{
|
||||
public const int TeleporterTile = 0;
|
||||
public const int RodOfDiscord = 1;
|
||||
public const int TeleportationPotion = 2;
|
||||
public const int RecallPotion = 3;
|
||||
public const int Portal = 4;
|
||||
public const int MagicConch = 5;
|
||||
public const int DebugTeleport = 6;
|
||||
public const int DemonConch = 7;
|
||||
public const int PotionOfReturn = 8;
|
||||
public const int TeleportationPylon = 9;
|
||||
public const int QueenSlimeHook = 10;
|
||||
}
|
||||
}
|
16
ID/TileChangeType.cs
Normal file
16
ID/TileChangeType.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.TileChangeType
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public enum TileChangeType : byte
|
||||
{
|
||||
None,
|
||||
LavaWater,
|
||||
HoneyWater,
|
||||
HoneyLava,
|
||||
}
|
||||
}
|
12
ID/TileEntityID.cs
Normal file
12
ID/TileEntityID.cs
Normal file
|
@ -0,0 +1,12 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.TileEntityID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public class TileEntityID
|
||||
{
|
||||
}
|
||||
}
|
825
ID/TileID.cs
Normal file
825
ID/TileID.cs
Normal file
|
@ -0,0 +1,825 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.TileID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
using ReLogic.Reflection;
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public class TileID
|
||||
{
|
||||
public static readonly IdDictionary Search = IdDictionary.Create<TileID, ushort>();
|
||||
public const ushort Dirt = 0;
|
||||
public const ushort Stone = 1;
|
||||
public const ushort Grass = 2;
|
||||
public const ushort Plants = 3;
|
||||
public const ushort Torches = 4;
|
||||
public const ushort Trees = 5;
|
||||
public const ushort Iron = 6;
|
||||
public const ushort Copper = 7;
|
||||
public const ushort Gold = 8;
|
||||
public const ushort Silver = 9;
|
||||
public const ushort ClosedDoor = 10;
|
||||
public const ushort OpenDoor = 11;
|
||||
public const ushort Heart = 12;
|
||||
public const ushort Bottles = 13;
|
||||
public const ushort Tables = 14;
|
||||
public const ushort Chairs = 15;
|
||||
public const ushort Anvils = 16;
|
||||
public const ushort Furnaces = 17;
|
||||
public const ushort WorkBenches = 18;
|
||||
public const ushort Platforms = 19;
|
||||
public const ushort Saplings = 20;
|
||||
public const ushort Containers = 21;
|
||||
public const ushort Demonite = 22;
|
||||
public const ushort CorruptGrass = 23;
|
||||
public const ushort CorruptPlants = 24;
|
||||
public const ushort Ebonstone = 25;
|
||||
public const ushort DemonAltar = 26;
|
||||
public const ushort Sunflower = 27;
|
||||
public const ushort Pots = 28;
|
||||
public const ushort PiggyBank = 29;
|
||||
public const ushort WoodBlock = 30;
|
||||
public const ushort ShadowOrbs = 31;
|
||||
public const ushort CorruptThorns = 32;
|
||||
public const ushort Candles = 33;
|
||||
public const ushort Chandeliers = 34;
|
||||
public const ushort Jackolanterns = 35;
|
||||
public const ushort Presents = 36;
|
||||
public const ushort Meteorite = 37;
|
||||
public const ushort GrayBrick = 38;
|
||||
public const ushort RedBrick = 39;
|
||||
public const ushort ClayBlock = 40;
|
||||
public const ushort BlueDungeonBrick = 41;
|
||||
public const ushort HangingLanterns = 42;
|
||||
public const ushort GreenDungeonBrick = 43;
|
||||
public const ushort PinkDungeonBrick = 44;
|
||||
public const ushort GoldBrick = 45;
|
||||
public const ushort SilverBrick = 46;
|
||||
public const ushort CopperBrick = 47;
|
||||
public const ushort Spikes = 48;
|
||||
public const ushort WaterCandle = 49;
|
||||
public const ushort Books = 50;
|
||||
public const ushort Cobweb = 51;
|
||||
public const ushort Vines = 52;
|
||||
public const ushort Sand = 53;
|
||||
public const ushort Glass = 54;
|
||||
public const ushort Signs = 55;
|
||||
public const ushort Obsidian = 56;
|
||||
public const ushort Ash = 57;
|
||||
public const ushort Hellstone = 58;
|
||||
public const ushort Mud = 59;
|
||||
public const ushort JungleGrass = 60;
|
||||
public const ushort JunglePlants = 61;
|
||||
public const ushort JungleVines = 62;
|
||||
public const ushort Sapphire = 63;
|
||||
public const ushort Ruby = 64;
|
||||
public const ushort Emerald = 65;
|
||||
public const ushort Topaz = 66;
|
||||
public const ushort Amethyst = 67;
|
||||
public const ushort Diamond = 68;
|
||||
public const ushort JungleThorns = 69;
|
||||
public const ushort MushroomGrass = 70;
|
||||
public const ushort MushroomPlants = 71;
|
||||
public const ushort MushroomTrees = 72;
|
||||
public const ushort Plants2 = 73;
|
||||
public const ushort JunglePlants2 = 74;
|
||||
public const ushort ObsidianBrick = 75;
|
||||
public const ushort HellstoneBrick = 76;
|
||||
public const ushort Hellforge = 77;
|
||||
public const ushort ClayPot = 78;
|
||||
public const ushort Beds = 79;
|
||||
public const ushort Cactus = 80;
|
||||
public const ushort Coral = 81;
|
||||
public const ushort ImmatureHerbs = 82;
|
||||
public const ushort MatureHerbs = 83;
|
||||
public const ushort BloomingHerbs = 84;
|
||||
public const ushort Tombstones = 85;
|
||||
public const ushort Loom = 86;
|
||||
public const ushort Pianos = 87;
|
||||
public const ushort Dressers = 88;
|
||||
public const ushort Benches = 89;
|
||||
public const ushort Bathtubs = 90;
|
||||
public const ushort Banners = 91;
|
||||
public const ushort Lampposts = 92;
|
||||
public const ushort Lamps = 93;
|
||||
public const ushort Kegs = 94;
|
||||
public const ushort ChineseLanterns = 95;
|
||||
public const ushort CookingPots = 96;
|
||||
public const ushort Safes = 97;
|
||||
public const ushort SkullLanterns = 98;
|
||||
public const ushort TrashCan = 99;
|
||||
public const ushort Candelabras = 100;
|
||||
public const ushort Bookcases = 101;
|
||||
public const ushort Thrones = 102;
|
||||
public const ushort Bowls = 103;
|
||||
public const ushort GrandfatherClocks = 104;
|
||||
public const ushort Statues = 105;
|
||||
public const ushort Sawmill = 106;
|
||||
public const ushort Cobalt = 107;
|
||||
public const ushort Mythril = 108;
|
||||
public const ushort HallowedGrass = 109;
|
||||
public const ushort HallowedPlants = 110;
|
||||
public const ushort Adamantite = 111;
|
||||
public const ushort Ebonsand = 112;
|
||||
public const ushort HallowedPlants2 = 113;
|
||||
public const ushort TinkerersWorkbench = 114;
|
||||
public const ushort HallowedVines = 115;
|
||||
public const ushort Pearlsand = 116;
|
||||
public const ushort Pearlstone = 117;
|
||||
public const ushort PearlstoneBrick = 118;
|
||||
public const ushort IridescentBrick = 119;
|
||||
public const ushort Mudstone = 120;
|
||||
public const ushort CobaltBrick = 121;
|
||||
public const ushort MythrilBrick = 122;
|
||||
public const ushort Silt = 123;
|
||||
public const ushort WoodenBeam = 124;
|
||||
public const ushort CrystalBall = 125;
|
||||
public const ushort DiscoBall = 126;
|
||||
public const ushort MagicalIceBlock = 127;
|
||||
public const ushort Mannequin = 128;
|
||||
public const ushort Crystals = 129;
|
||||
public const ushort ActiveStoneBlock = 130;
|
||||
public const ushort InactiveStoneBlock = 131;
|
||||
public const ushort Lever = 132;
|
||||
public const ushort AdamantiteForge = 133;
|
||||
public const ushort MythrilAnvil = 134;
|
||||
public const ushort PressurePlates = 135;
|
||||
public const ushort Switches = 136;
|
||||
public const ushort Traps = 137;
|
||||
public const ushort Boulder = 138;
|
||||
public const ushort MusicBoxes = 139;
|
||||
public const ushort DemoniteBrick = 140;
|
||||
public const ushort Explosives = 141;
|
||||
public const ushort InletPump = 142;
|
||||
public const ushort OutletPump = 143;
|
||||
public const ushort Timers = 144;
|
||||
public const ushort CandyCaneBlock = 145;
|
||||
public const ushort GreenCandyCaneBlock = 146;
|
||||
public const ushort SnowBlock = 147;
|
||||
public const ushort SnowBrick = 148;
|
||||
public const ushort HolidayLights = 149;
|
||||
public const ushort AdamantiteBeam = 150;
|
||||
public const ushort SandstoneBrick = 151;
|
||||
public const ushort EbonstoneBrick = 152;
|
||||
public const ushort RedStucco = 153;
|
||||
public const ushort YellowStucco = 154;
|
||||
public const ushort GreenStucco = 155;
|
||||
public const ushort GrayStucco = 156;
|
||||
public const ushort Ebonwood = 157;
|
||||
public const ushort RichMahogany = 158;
|
||||
public const ushort Pearlwood = 159;
|
||||
public const ushort RainbowBrick = 160;
|
||||
public const ushort IceBlock = 161;
|
||||
public const ushort BreakableIce = 162;
|
||||
public const ushort CorruptIce = 163;
|
||||
public const ushort HallowedIce = 164;
|
||||
public const ushort Stalactite = 165;
|
||||
public const ushort Tin = 166;
|
||||
public const ushort Lead = 167;
|
||||
public const ushort Tungsten = 168;
|
||||
public const ushort Platinum = 169;
|
||||
public const ushort PineTree = 170;
|
||||
public const ushort ChristmasTree = 171;
|
||||
public const ushort Sinks = 172;
|
||||
public const ushort PlatinumCandelabra = 173;
|
||||
public const ushort PlatinumCandle = 174;
|
||||
public const ushort TinBrick = 175;
|
||||
public const ushort TungstenBrick = 176;
|
||||
public const ushort PlatinumBrick = 177;
|
||||
public const ushort ExposedGems = 178;
|
||||
public const ushort GreenMoss = 179;
|
||||
public const ushort BrownMoss = 180;
|
||||
public const ushort RedMoss = 181;
|
||||
public const ushort BlueMoss = 182;
|
||||
public const ushort PurpleMoss = 183;
|
||||
public const ushort LongMoss = 184;
|
||||
public const ushort SmallPiles = 185;
|
||||
public const ushort LargePiles = 186;
|
||||
public const ushort LargePiles2 = 187;
|
||||
public const ushort CactusBlock = 188;
|
||||
public const ushort Cloud = 189;
|
||||
public const ushort MushroomBlock = 190;
|
||||
public const ushort LivingWood = 191;
|
||||
public const ushort LeafBlock = 192;
|
||||
public const ushort SlimeBlock = 193;
|
||||
public const ushort BoneBlock = 194;
|
||||
public const ushort FleshBlock = 195;
|
||||
public const ushort RainCloud = 196;
|
||||
public const ushort FrozenSlimeBlock = 197;
|
||||
public const ushort Asphalt = 198;
|
||||
public const ushort CrimsonGrass = 199;
|
||||
public const ushort FleshIce = 200;
|
||||
public const ushort CrimsonPlants = 201;
|
||||
public const ushort Sunplate = 202;
|
||||
public const ushort Crimstone = 203;
|
||||
public const ushort Crimtane = 204;
|
||||
public const ushort CrimsonVines = 205;
|
||||
public const ushort IceBrick = 206;
|
||||
public const ushort WaterFountain = 207;
|
||||
public const ushort Shadewood = 208;
|
||||
public const ushort Cannon = 209;
|
||||
public const ushort LandMine = 210;
|
||||
public const ushort Chlorophyte = 211;
|
||||
public const ushort SnowballLauncher = 212;
|
||||
public const ushort Rope = 213;
|
||||
public const ushort Chain = 214;
|
||||
public const ushort Campfire = 215;
|
||||
public const ushort Firework = 216;
|
||||
public const ushort Blendomatic = 217;
|
||||
public const ushort MeatGrinder = 218;
|
||||
public const ushort Extractinator = 219;
|
||||
public const ushort Solidifier = 220;
|
||||
public const ushort Palladium = 221;
|
||||
public const ushort Orichalcum = 222;
|
||||
public const ushort Titanium = 223;
|
||||
public const ushort Slush = 224;
|
||||
public const ushort Hive = 225;
|
||||
public const ushort LihzahrdBrick = 226;
|
||||
public const ushort DyePlants = 227;
|
||||
public const ushort DyeVat = 228;
|
||||
public const ushort HoneyBlock = 229;
|
||||
public const ushort CrispyHoneyBlock = 230;
|
||||
public const ushort Larva = 231;
|
||||
public const ushort WoodenSpikes = 232;
|
||||
public const ushort PlantDetritus = 233;
|
||||
public const ushort Crimsand = 234;
|
||||
public const ushort Teleporter = 235;
|
||||
public const ushort LifeFruit = 236;
|
||||
public const ushort LihzahrdAltar = 237;
|
||||
public const ushort PlanteraBulb = 238;
|
||||
public const ushort MetalBars = 239;
|
||||
public const ushort Painting3X3 = 240;
|
||||
public const ushort Painting4X3 = 241;
|
||||
public const ushort Painting6X4 = 242;
|
||||
public const ushort ImbuingStation = 243;
|
||||
public const ushort BubbleMachine = 244;
|
||||
public const ushort Painting2X3 = 245;
|
||||
public const ushort Painting3X2 = 246;
|
||||
public const ushort Autohammer = 247;
|
||||
public const ushort PalladiumColumn = 248;
|
||||
public const ushort BubblegumBlock = 249;
|
||||
public const ushort Titanstone = 250;
|
||||
public const ushort PumpkinBlock = 251;
|
||||
public const ushort HayBlock = 252;
|
||||
public const ushort SpookyWood = 253;
|
||||
public const ushort Pumpkins = 254;
|
||||
public const ushort AmethystGemsparkOff = 255;
|
||||
public const ushort TopazGemsparkOff = 256;
|
||||
public const ushort SapphireGemsparkOff = 257;
|
||||
public const ushort EmeraldGemsparkOff = 258;
|
||||
public const ushort RubyGemsparkOff = 259;
|
||||
public const ushort DiamondGemsparkOff = 260;
|
||||
public const ushort AmberGemsparkOff = 261;
|
||||
public const ushort AmethystGemspark = 262;
|
||||
public const ushort TopazGemspark = 263;
|
||||
public const ushort SapphireGemspark = 264;
|
||||
public const ushort EmeraldGemspark = 265;
|
||||
public const ushort RubyGemspark = 266;
|
||||
public const ushort DiamondGemspark = 267;
|
||||
public const ushort AmberGemspark = 268;
|
||||
public const ushort Womannequin = 269;
|
||||
public const ushort FireflyinaBottle = 270;
|
||||
public const ushort LightningBuginaBottle = 271;
|
||||
public const ushort Cog = 272;
|
||||
public const ushort StoneSlab = 273;
|
||||
public const ushort SandStoneSlab = 274;
|
||||
public const ushort BunnyCage = 275;
|
||||
public const ushort SquirrelCage = 276;
|
||||
public const ushort MallardDuckCage = 277;
|
||||
public const ushort DuckCage = 278;
|
||||
public const ushort BirdCage = 279;
|
||||
public const ushort BlueJay = 280;
|
||||
public const ushort CardinalCage = 281;
|
||||
public const ushort FishBowl = 282;
|
||||
public const ushort HeavyWorkBench = 283;
|
||||
public const ushort CopperPlating = 284;
|
||||
public const ushort SnailCage = 285;
|
||||
public const ushort GlowingSnailCage = 286;
|
||||
public const ushort AmmoBox = 287;
|
||||
public const ushort MonarchButterflyJar = 288;
|
||||
public const ushort PurpleEmperorButterflyJar = 289;
|
||||
public const ushort RedAdmiralButterflyJar = 290;
|
||||
public const ushort UlyssesButterflyJar = 291;
|
||||
public const ushort SulphurButterflyJar = 292;
|
||||
public const ushort TreeNymphButterflyJar = 293;
|
||||
public const ushort ZebraSwallowtailButterflyJar = 294;
|
||||
public const ushort JuliaButterflyJar = 295;
|
||||
public const ushort ScorpionCage = 296;
|
||||
public const ushort BlackScorpionCage = 297;
|
||||
public const ushort FrogCage = 298;
|
||||
public const ushort MouseCage = 299;
|
||||
public const ushort BoneWelder = 300;
|
||||
public const ushort FleshCloningVat = 301;
|
||||
public const ushort GlassKiln = 302;
|
||||
public const ushort LihzahrdFurnace = 303;
|
||||
public const ushort LivingLoom = 304;
|
||||
public const ushort SkyMill = 305;
|
||||
public const ushort IceMachine = 306;
|
||||
public const ushort SteampunkBoiler = 307;
|
||||
public const ushort HoneyDispenser = 308;
|
||||
public const ushort PenguinCage = 309;
|
||||
public const ushort WormCage = 310;
|
||||
public const ushort DynastyWood = 311;
|
||||
public const ushort RedDynastyShingles = 312;
|
||||
public const ushort BlueDynastyShingles = 313;
|
||||
public const ushort MinecartTrack = 314;
|
||||
public const ushort Coralstone = 315;
|
||||
public const ushort BlueJellyfishBowl = 316;
|
||||
public const ushort GreenJellyfishBowl = 317;
|
||||
public const ushort PinkJellyfishBowl = 318;
|
||||
public const ushort ShipInABottle = 319;
|
||||
public const ushort SeaweedPlanter = 320;
|
||||
public const ushort BorealWood = 321;
|
||||
public const ushort PalmWood = 322;
|
||||
public const ushort PalmTree = 323;
|
||||
public const ushort BeachPiles = 324;
|
||||
public const ushort TinPlating = 325;
|
||||
public const ushort Waterfall = 326;
|
||||
public const ushort Lavafall = 327;
|
||||
public const ushort Confetti = 328;
|
||||
public const ushort ConfettiBlack = 329;
|
||||
public const ushort CopperCoinPile = 330;
|
||||
public const ushort SilverCoinPile = 331;
|
||||
public const ushort GoldCoinPile = 332;
|
||||
public const ushort PlatinumCoinPile = 333;
|
||||
public const ushort WeaponsRack = 334;
|
||||
public const ushort FireworksBox = 335;
|
||||
public const ushort LivingFire = 336;
|
||||
public const ushort AlphabetStatues = 337;
|
||||
public const ushort FireworkFountain = 338;
|
||||
public const ushort GrasshopperCage = 339;
|
||||
public const ushort LivingCursedFire = 340;
|
||||
public const ushort LivingDemonFire = 341;
|
||||
public const ushort LivingFrostFire = 342;
|
||||
public const ushort LivingIchor = 343;
|
||||
public const ushort LivingUltrabrightFire = 344;
|
||||
public const ushort Honeyfall = 345;
|
||||
public const ushort ChlorophyteBrick = 346;
|
||||
public const ushort CrimtaneBrick = 347;
|
||||
public const ushort ShroomitePlating = 348;
|
||||
public const ushort MushroomStatue = 349;
|
||||
public const ushort MartianConduitPlating = 350;
|
||||
public const ushort ChimneySmoke = 351;
|
||||
public const ushort CrimsonThorns = 352;
|
||||
public const ushort VineRope = 353;
|
||||
public const ushort BewitchingTable = 354;
|
||||
public const ushort AlchemyTable = 355;
|
||||
public const ushort Sundial = 356;
|
||||
public const ushort MarbleBlock = 357;
|
||||
public const ushort GoldBirdCage = 358;
|
||||
public const ushort GoldBunnyCage = 359;
|
||||
public const ushort GoldButterflyCage = 360;
|
||||
public const ushort GoldFrogCage = 361;
|
||||
public const ushort GoldGrasshopperCage = 362;
|
||||
public const ushort GoldMouseCage = 363;
|
||||
public const ushort GoldWormCage = 364;
|
||||
public const ushort SilkRope = 365;
|
||||
public const ushort WebRope = 366;
|
||||
public const ushort Marble = 367;
|
||||
public const ushort Granite = 368;
|
||||
public const ushort GraniteBlock = 369;
|
||||
public const ushort MeteoriteBrick = 370;
|
||||
public const ushort PinkSlimeBlock = 371;
|
||||
public const ushort PeaceCandle = 372;
|
||||
public const ushort WaterDrip = 373;
|
||||
public const ushort LavaDrip = 374;
|
||||
public const ushort HoneyDrip = 375;
|
||||
public const ushort FishingCrate = 376;
|
||||
public const ushort SharpeningStation = 377;
|
||||
public const ushort TargetDummy = 378;
|
||||
public const ushort Bubble = 379;
|
||||
public const ushort PlanterBox = 380;
|
||||
public const ushort LavaMoss = 381;
|
||||
public const ushort VineFlowers = 382;
|
||||
public const ushort LivingMahogany = 383;
|
||||
public const ushort LivingMahoganyLeaves = 384;
|
||||
public const ushort CrystalBlock = 385;
|
||||
public const ushort TrapdoorOpen = 386;
|
||||
public const ushort TrapdoorClosed = 387;
|
||||
public const ushort TallGateClosed = 388;
|
||||
public const ushort TallGateOpen = 389;
|
||||
public const ushort LavaLamp = 390;
|
||||
public const ushort CageEnchantedNightcrawler = 391;
|
||||
public const ushort CageBuggy = 392;
|
||||
public const ushort CageGrubby = 393;
|
||||
public const ushort CageSluggy = 394;
|
||||
public const ushort ItemFrame = 395;
|
||||
public const ushort Sandstone = 396;
|
||||
public const ushort HardenedSand = 397;
|
||||
public const ushort CorruptHardenedSand = 398;
|
||||
public const ushort CrimsonHardenedSand = 399;
|
||||
public const ushort CorruptSandstone = 400;
|
||||
public const ushort CrimsonSandstone = 401;
|
||||
public const ushort HallowHardenedSand = 402;
|
||||
public const ushort HallowSandstone = 403;
|
||||
public const ushort DesertFossil = 404;
|
||||
public const ushort Fireplace = 405;
|
||||
public const ushort Chimney = 406;
|
||||
public const ushort FossilOre = 407;
|
||||
public const ushort LunarOre = 408;
|
||||
public const ushort LunarBrick = 409;
|
||||
public const ushort LunarMonolith = 410;
|
||||
public const ushort Detonator = 411;
|
||||
public const ushort LunarCraftingStation = 412;
|
||||
public const ushort SquirrelOrangeCage = 413;
|
||||
public const ushort SquirrelGoldCage = 414;
|
||||
public const ushort LunarBlockSolar = 415;
|
||||
public const ushort LunarBlockVortex = 416;
|
||||
public const ushort LunarBlockNebula = 417;
|
||||
public const ushort LunarBlockStardust = 418;
|
||||
public const ushort LogicGateLamp = 419;
|
||||
public const ushort LogicGate = 420;
|
||||
public const ushort ConveyorBeltLeft = 421;
|
||||
public const ushort ConveyorBeltRight = 422;
|
||||
public const ushort LogicSensor = 423;
|
||||
public const ushort WirePipe = 424;
|
||||
public const ushort AnnouncementBox = 425;
|
||||
public const ushort TeamBlockRed = 426;
|
||||
public const ushort TeamBlockRedPlatform = 427;
|
||||
public const ushort WeightedPressurePlate = 428;
|
||||
public const ushort WireBulb = 429;
|
||||
public const ushort TeamBlockGreen = 430;
|
||||
public const ushort TeamBlockBlue = 431;
|
||||
public const ushort TeamBlockYellow = 432;
|
||||
public const ushort TeamBlockPink = 433;
|
||||
public const ushort TeamBlockWhite = 434;
|
||||
public const ushort TeamBlockGreenPlatform = 435;
|
||||
public const ushort TeamBlockBluePlatform = 436;
|
||||
public const ushort TeamBlockYellowPlatform = 437;
|
||||
public const ushort TeamBlockPinkPlatform = 438;
|
||||
public const ushort TeamBlockWhitePlatform = 439;
|
||||
public const ushort GemLocks = 440;
|
||||
public const ushort FakeContainers = 441;
|
||||
public const ushort ProjectilePressurePad = 442;
|
||||
public const ushort GeyserTrap = 443;
|
||||
public const ushort BeeHive = 444;
|
||||
public const ushort PixelBox = 445;
|
||||
public const ushort SillyBalloonPink = 446;
|
||||
public const ushort SillyBalloonPurple = 447;
|
||||
public const ushort SillyBalloonGreen = 448;
|
||||
public const ushort SillyStreamerBlue = 449;
|
||||
public const ushort SillyStreamerGreen = 450;
|
||||
public const ushort SillyStreamerPink = 451;
|
||||
public const ushort SillyBalloonMachine = 452;
|
||||
public const ushort SillyBalloonTile = 453;
|
||||
public const ushort Pigronata = 454;
|
||||
public const ushort PartyMonolith = 455;
|
||||
public const ushort PartyBundleOfBalloonTile = 456;
|
||||
public const ushort PartyPresent = 457;
|
||||
public const ushort SandFallBlock = 458;
|
||||
public const ushort SnowFallBlock = 459;
|
||||
public const ushort SnowCloud = 460;
|
||||
public const ushort SandDrip = 461;
|
||||
public const ushort DjinnLamp = 462;
|
||||
public const ushort DefendersForge = 463;
|
||||
public const ushort WarTable = 464;
|
||||
public const ushort WarTableBanner = 465;
|
||||
public const ushort ElderCrystalStand = 466;
|
||||
public const ushort Containers2 = 467;
|
||||
public const ushort FakeContainers2 = 468;
|
||||
public const ushort Tables2 = 469;
|
||||
public const ushort DisplayDoll = 470;
|
||||
public const ushort WeaponsRack2 = 471;
|
||||
public const ushort IronBrick = 472;
|
||||
public const ushort LeadBrick = 473;
|
||||
public const ushort LesionBlock = 474;
|
||||
public const ushort HatRack = 475;
|
||||
public const ushort GolfHole = 476;
|
||||
public const ushort GolfGrass = 477;
|
||||
public const ushort CrimstoneBrick = 478;
|
||||
public const ushort SmoothSandstone = 479;
|
||||
public const ushort BloodMoonMonolith = 480;
|
||||
public const ushort CrackedBlueDungeonBrick = 481;
|
||||
public const ushort CrackedGreenDungeonBrick = 482;
|
||||
public const ushort CrackedPinkDungeonBrick = 483;
|
||||
public const ushort RollingCactus = 484;
|
||||
public const ushort AntlionLarva = 485;
|
||||
public const ushort DrumSet = 486;
|
||||
public const ushort PicnicTable = 487;
|
||||
public const ushort FallenLog = 488;
|
||||
public const ushort PinWheel = 489;
|
||||
public const ushort WeatherVane = 490;
|
||||
public const ushort VoidVault = 491;
|
||||
public const ushort GolfGrassHallowed = 492;
|
||||
public const ushort GolfCupFlag = 493;
|
||||
public const ushort GolfTee = 494;
|
||||
public const ushort ShellPile = 495;
|
||||
public const ushort AntiPortalBlock = 496;
|
||||
public const ushort Toilets = 497;
|
||||
public const ushort Spider = 498;
|
||||
public const ushort LesionStation = 499;
|
||||
public const ushort SolarBrick = 500;
|
||||
public const ushort VortexBrick = 501;
|
||||
public const ushort NebulaBrick = 502;
|
||||
public const ushort StardustBrick = 503;
|
||||
public const ushort MysticSnakeRope = 504;
|
||||
public const ushort GoldGoldfishBowl = 505;
|
||||
public const ushort CatBast = 506;
|
||||
public const ushort GoldStarryGlassBlock = 507;
|
||||
public const ushort BlueStarryGlassBlock = 508;
|
||||
public const ushort VoidMonolith = 509;
|
||||
public const ushort ArrowSign = 510;
|
||||
public const ushort PaintedArrowSign = 511;
|
||||
public const ushort GreenMossBrick = 512;
|
||||
public const ushort BrownMossBrick = 513;
|
||||
public const ushort RedMossBrick = 514;
|
||||
public const ushort BlueMossBrick = 515;
|
||||
public const ushort PurpleMossBrick = 516;
|
||||
public const ushort LavaMossBrick = 517;
|
||||
public const ushort LilyPad = 518;
|
||||
public const ushort Cattail = 519;
|
||||
public const ushort FoodPlatter = 520;
|
||||
public const ushort BlackDragonflyJar = 521;
|
||||
public const ushort BlueDragonflyJar = 522;
|
||||
public const ushort GreenDragonflyJar = 523;
|
||||
public const ushort OrangeDragonflyJar = 524;
|
||||
public const ushort RedDragonflyJar = 525;
|
||||
public const ushort YellowDragonflyJar = 526;
|
||||
public const ushort GoldDragonflyJar = 527;
|
||||
public const ushort MushroomVines = 528;
|
||||
public const ushort SeaOats = 529;
|
||||
public const ushort OasisPlants = 530;
|
||||
public const ushort BoulderStatue = 531;
|
||||
public const ushort MaggotCage = 532;
|
||||
public const ushort RatCage = 533;
|
||||
public const ushort KryptonMoss = 534;
|
||||
public const ushort KryptonMossBrick = 535;
|
||||
public const ushort XenonMoss = 536;
|
||||
public const ushort XenonMossBrick = 537;
|
||||
public const ushort LadybugCage = 538;
|
||||
public const ushort ArgonMoss = 539;
|
||||
public const ushort ArgonMossBrick = 540;
|
||||
public const ushort EchoBlock = 541;
|
||||
public const ushort OwlCage = 542;
|
||||
public const ushort PupfishBowl = 543;
|
||||
public const ushort GoldLadybugCage = 544;
|
||||
public const ushort LawnFlamingo = 545;
|
||||
public const ushort Grate = 546;
|
||||
public const ushort PottedPlants1 = 547;
|
||||
public const ushort PottedPlants2 = 548;
|
||||
public const ushort Seaweed = 549;
|
||||
public const ushort TurtleCage = 550;
|
||||
public const ushort TurtleJungleCage = 551;
|
||||
public const ushort Sandcastles = 552;
|
||||
public const ushort GrebeCage = 553;
|
||||
public const ushort SeagullCage = 554;
|
||||
public const ushort WaterStriderCage = 555;
|
||||
public const ushort GoldWaterStriderCage = 556;
|
||||
public const ushort GrateClosed = 557;
|
||||
public const ushort SeahorseCage = 558;
|
||||
public const ushort GoldSeahorseCage = 559;
|
||||
public const ushort GolfTrophies = 560;
|
||||
public const ushort MarbleColumn = 561;
|
||||
public const ushort BambooBlock = 562;
|
||||
public const ushort LargeBambooBlock = 563;
|
||||
public const ushort PlasmaLamp = 564;
|
||||
public const ushort FogMachine = 565;
|
||||
public const ushort AmberStoneBlock = 566;
|
||||
public const ushort GardenGnome = 567;
|
||||
public const ushort PinkFairyJar = 568;
|
||||
public const ushort GreenFairyJar = 569;
|
||||
public const ushort BlueFairyJar = 570;
|
||||
public const ushort Bamboo = 571;
|
||||
public const ushort SoulBottles = 572;
|
||||
public const ushort TatteredWoodSign = 573;
|
||||
public const ushort BorealBeam = 574;
|
||||
public const ushort RichMahoganyBeam = 575;
|
||||
public const ushort GraniteColumn = 576;
|
||||
public const ushort SandstoneColumn = 577;
|
||||
public const ushort MushroomBeam = 578;
|
||||
public const ushort RockGolemHead = 579;
|
||||
public const ushort HellButterflyJar = 580;
|
||||
public const ushort LavaflyinaBottle = 581;
|
||||
public const ushort MagmaSnailCage = 582;
|
||||
public const ushort TreeTopaz = 583;
|
||||
public const ushort TreeAmethyst = 584;
|
||||
public const ushort TreeSapphire = 585;
|
||||
public const ushort TreeEmerald = 586;
|
||||
public const ushort TreeRuby = 587;
|
||||
public const ushort TreeDiamond = 588;
|
||||
public const ushort TreeAmber = 589;
|
||||
public const ushort GemSaplings = 590;
|
||||
public const ushort PotsSuspended = 591;
|
||||
public const ushort BrazierSuspended = 592;
|
||||
public const ushort VolcanoSmall = 593;
|
||||
public const ushort VolcanoLarge = 594;
|
||||
public const ushort VanityTreeSakuraSaplings = 595;
|
||||
public const ushort VanityTreeSakura = 596;
|
||||
public const ushort TeleportationPylon = 597;
|
||||
public const ushort LavafishBowl = 598;
|
||||
public const ushort AmethystBunnyCage = 599;
|
||||
public const ushort TopazBunnyCage = 600;
|
||||
public const ushort SapphireBunnyCage = 601;
|
||||
public const ushort EmeraldBunnyCage = 602;
|
||||
public const ushort RubyBunnyCage = 603;
|
||||
public const ushort DiamondBunnyCage = 604;
|
||||
public const ushort AmberBunnyCage = 605;
|
||||
public const ushort AmethystSquirrelCage = 606;
|
||||
public const ushort TopazSquirrelCage = 607;
|
||||
public const ushort SapphireSquirrelCage = 608;
|
||||
public const ushort EmeraldSquirrelCage = 609;
|
||||
public const ushort RubySquirrelCage = 610;
|
||||
public const ushort DiamondSquirrelCage = 611;
|
||||
public const ushort AmberSquirrelCage = 612;
|
||||
public const ushort PottedLavaPlants = 613;
|
||||
public const ushort PottedLavaPlantTendrils = 614;
|
||||
public const ushort VanityTreeWillowSaplings = 615;
|
||||
public const ushort VanityTreeYellowWillow = 616;
|
||||
public const ushort MasterTrophyBase = 617;
|
||||
public const ushort AccentSlab = 618;
|
||||
public const ushort TruffleWormCage = 619;
|
||||
public const ushort EmpressButterflyJar = 620;
|
||||
public const ushort SliceOfCake = 621;
|
||||
public const ushort TeaKettle = 622;
|
||||
public const ushort Count = 623;
|
||||
|
||||
public static class Sets
|
||||
{
|
||||
public static SetFactory Factory = new SetFactory(623);
|
||||
public static bool[] IsATreeTrunk = TileID.Sets.Factory.CreateBoolSet(false, 5, 72, 583, 584, 585, 586, 587, 588, 589, 596, 616);
|
||||
public static bool[] IsShakeable = TileID.Sets.Factory.CreateBoolSet(false, 5, 72, 323, 583, 584, 585, 586, 587, 588, 589, 596, 616);
|
||||
public static bool[] GetsDestroyedForMeteors = TileID.Sets.Factory.CreateBoolSet(false, 5, 32, 352, 583, 584, 585, 586, 587, 588, 589, 596, 616);
|
||||
public static bool[] GetsCheckedForLeaves = TileID.Sets.Factory.CreateBoolSet(false, 5, 323, 72, 583, 584, 585, 586, 587, 588, 589, 596, 616);
|
||||
public static bool[] PreventsTileRemovalIfOnTopOfIt = TileID.Sets.Factory.CreateBoolSet(false, 5, 323, 72, 488, 26, 583, 584, 585, 586, 587, 588, 589, 596, 616);
|
||||
public static bool[] PreventsTileReplaceIfOnTopOfIt = TileID.Sets.Factory.CreateBoolSet(false, 5, 323, 72, 583, 584, 585, 586, 587, 588, 589, 596, 616);
|
||||
public static bool[] CommonSapling = TileID.Sets.Factory.CreateBoolSet(false, 20, 590, 595, 615);
|
||||
public static bool[] AllBlocksWithSmoothBordersToResolveHalfBlockIssue = TileID.Sets.Factory.CreateBoolSet(false, 321, 157, 208, 159, 190, 80, 251, 202, 229, 56, 38, 39, 152, 118, 151, 148, 206, 119, 175, 46, 176, 45, 140, 347, 370, 121, 122, 346, 160, 226, 54, 156, 155, 153, 154, 150, 250, 198, 273, 274, 325, 284, 348, 385, 327, 326, 345, 328, 329, 357, 369, 268, 261, 262, (int) byte.MaxValue, 267, 260, 265, 258, 266, 259, 264, 257, 263, 256, 311, 431, 426, 433, 430, 434, 432, 272, 145, 146, 350, (int) sbyte.MaxValue, 472, 473, 477, 478, 479, 492, 496, 507, 508, 563, 618);
|
||||
public static bool[] CanBeDugByShovel = TileID.Sets.Factory.CreateBoolSet(false, 0, 59, 57, 123, 224, 147, 2, 109, 23, 199, 60, 70, 477, 492, 53, 116, 112, 234, 40, 495);
|
||||
public static bool[] NonSolidSaveSlopes = TileID.Sets.Factory.CreateBoolSet(false, 131);
|
||||
public static bool[] ResetsHalfBrickPlacementAttempt = TileID.Sets.Factory.CreateBoolSet(true, 2, 23, 60, 70, 199, 109, 477, 492, 179, 512, 180, 513, 181, 514, 182, 515, 183, 516, 381, 517, 534, 535, 536, 537, 539, 540);
|
||||
public static bool[] CrackedBricks = TileID.Sets.Factory.CreateBoolSet(481, 482, 483);
|
||||
public static bool[] ForcedDirtMerging = TileID.Sets.Factory.CreateBoolSet(75, 76, 508, 507, 226, 409, 273, 274, 459, 458, 326, 327, 345, 328, 329, 192, 384, 284, 325, 272, 268, 262, 267, 265, 266, 264, 263, 54);
|
||||
public static bool[] Paintings = TileID.Sets.Factory.CreateBoolSet(245, 246, 240, 241, 242);
|
||||
public static bool[] isDesertBiomeSand = TileID.Sets.Factory.CreateBoolSet(53, 397, 396, 400, 403, 401);
|
||||
public static bool[] MergesWithClouds = TileID.Sets.Factory.CreateBoolSet(196, 460);
|
||||
public static bool[] Boulders = TileID.Sets.Factory.CreateBoolSet(138, 484);
|
||||
public static bool[] Clouds = TileID.Sets.Factory.CreateBoolSet(189, 196, 460);
|
||||
public static int[] SmartCursorPickaxePriorityOverride = TileID.Sets.Factory.CreateIntSet(0, 12, 1);
|
||||
public static bool[] IgnoreSmartCursorPriorityAxe = TileID.Sets.Factory.CreateBoolSet(false, 488);
|
||||
public static bool[] CanBeSatOnForNPCs = TileID.Sets.Factory.CreateBoolSet(false, 15, 497);
|
||||
public static bool[] CanBeSatOnForPlayers = TileID.Sets.Factory.CreateBoolSet(false, 15, 497, 89, 102, 487);
|
||||
public static bool[] CanBeSleptIn = TileID.Sets.Factory.CreateBoolSet(false, 79);
|
||||
public static bool[] IgnoresTileReplacementDropCheckWhenBeingPlaced = TileID.Sets.Factory.CreateBoolSet(false, 158, 30);
|
||||
public static bool?[] DrawTileInSolidLayer = TileID.Sets.Factory.CreateCustomSet<bool?>(new bool?(), (object) (ushort) 11, (object) true, (object) (ushort) 470, (object) true, (object) (ushort) 475, (object) true, (object) (ushort) 78, (object) true, (object) (ushort) 579, (object) true);
|
||||
public static bool[] DoesntPlaceWithTileReplacement = TileID.Sets.Factory.CreateBoolSet(2, 70, 109, 199, 23);
|
||||
public static bool[] DoesntGetReplacedWithTileReplacement = TileID.Sets.Factory.CreateBoolSet(58, 225, 171, (int) sbyte.MaxValue, 481, 482, 483);
|
||||
public static bool[] IsVine = TileID.Sets.Factory.CreateBoolSet(52, 382, 62, 115, 205, 528);
|
||||
public static bool[] IsBeam = TileID.Sets.Factory.CreateBoolSet(124, 561, 574, 575, 576, 577, 578);
|
||||
public static bool[] Platforms = TileID.Sets.Factory.CreateBoolSet(19, 427, 435, 436, 437, 438, 439);
|
||||
public static bool[] ReplaceTileBreakUp = TileID.Sets.Factory.CreateBoolSet(27, 20, 227, 24, 201, 110, 113, 61, 74, 71, 3, 73, 186, 187, 185, 233, 530, 236, 238, 254, 484, 485, 84, 82, 83, 529, 549, 590, 595, 615);
|
||||
public static bool[] ReplaceTileBreakDown = TileID.Sets.Factory.CreateBoolSet(205, 115, 62, 52, 382, 444, 528);
|
||||
public static bool[] SlowlyDiesInWater = TileID.Sets.Factory.CreateBoolSet(3, 20, 24, 27, 73, 201, 80, 110, 529, 530, 590, 595, 615);
|
||||
public static bool[] DrawsWalls = TileID.Sets.Factory.CreateBoolSet(10, 54, 138, 484, 388, 191, 137, 328, 162, 387, 48, 232, (int) sbyte.MaxValue, 459, 541, 546);
|
||||
public static ushort[] GemsparkFramingTypes = TileID.Sets.Factory.CreateUshortSet((ushort) 0, (ushort) 265, (ushort) 265, (ushort) 258, (ushort) 258, (ushort) 264, (ushort) 264, (ushort) 257, (ushort) 257, (ushort) 267, (ushort) 267, (ushort) 260, (ushort) 260, (ushort) 266, (ushort) 266, (ushort) 259, (ushort) 259, (ushort) 263, (ushort) 263, (ushort) 256, (ushort) 256, (ushort) 262, (ushort) 262, (ushort) byte.MaxValue, (ushort) byte.MaxValue, (ushort) 268, (ushort) 268, (ushort) 261, (ushort) 261, (ushort) 385, (ushort) 385, (ushort) 446, (ushort) 446, (ushort) 447, (ushort) 447, (ushort) 448, (ushort) 448);
|
||||
public static bool[] TeamTiles = TileID.Sets.Factory.CreateBoolSet(426, 430, 431, 432, 433, 434, 427, 435, 436, 437, 438, 439);
|
||||
public static int[] ConveyorDirection = TileID.Sets.Factory.CreateIntSet(0, 421, 1, 422, -1);
|
||||
public static bool[] VineThreads = TileID.Sets.Factory.CreateBoolSet(382, 62, 115, 205, 52, 528);
|
||||
public static bool[] ReverseVineThreads = TileID.Sets.Factory.CreateBoolSet(549);
|
||||
public static bool[] HasSlopeFrames = TileID.Sets.Factory.CreateBoolSet(421, 422);
|
||||
public static bool[] TileInteractRead = TileID.Sets.Factory.CreateBoolSet(55, 85, 425, 573);
|
||||
public static bool[] IgnoresNearbyHalfbricksWhenDrawn = TileID.Sets.Factory.CreateBoolSet(380, 476, 235, 138, 137, 484, 421, 422);
|
||||
public static bool[] SwaysInWindBasic = TileID.Sets.Factory.CreateBoolSet(3, 20, 24, 61, 71, 73, 74, 83, 84, 110, 113, 201, 227, 529, 590, 595, 615);
|
||||
public static int[] DrawFlipMode = TileID.Sets.Factory.CreateIntSet(0, 3, 1, 13, 1, 20, 1, 24, 1, 49, 1, 372, 1, 50, 1, 52, 1, 61, 1, 62, 1, 71, 1, 73, 1, 74, 1, 81, 1, 82, 1, 83, 1, 84, 1, 91, 1, 92, 1, 93, 1, 110, 1, 113, 1, 115, 1, 135, 1, 141, 1, 165, 1, 174, 1, 201, 1, 205, 1, 227, 1, 270, 1, 271, 1, 382, 1, 184, 2, 185, 3, 528, 1, 529, 1, 590, 1, 595, 1, 615, 1);
|
||||
public static bool[] HasOutlines = TileID.Sets.Factory.CreateBoolSet(10, 11, 15, 21, 29, 55, 79, 85, 88, 89, 97, 102, 104, 125, 132, 136, 139, 144, 207, 209, 212, 215, 216, 237, 287, 335, 338, 354, 356, 377, 386, 387, 388, 389, 410, 411, 425, 441, 455, 463, 467, 468, 470, 475, 487, 480, 494, 497, 509, 510, 511, 621);
|
||||
public static bool[] AllTiles = TileID.Sets.Factory.CreateBoolSet(true);
|
||||
public static bool[] Mud = TileID.Sets.Factory.CreateBoolSet(59);
|
||||
public static bool[] Snow = TileID.Sets.Factory.CreateBoolSet(147);
|
||||
public static bool[] Ices = TileID.Sets.Factory.CreateBoolSet(161, 200, 163, 164);
|
||||
public static bool[] IcesSlush = TileID.Sets.Factory.CreateBoolSet(161, 200, 163, 164, 224);
|
||||
public static bool[] IcesSnow = TileID.Sets.Factory.CreateBoolSet(161, 200, 163, 164, 147);
|
||||
public static bool[] GrassSpecial = TileID.Sets.Factory.CreateBoolSet(70, 60);
|
||||
public static bool[] JungleSpecial = TileID.Sets.Factory.CreateBoolSet(226, 225, 211);
|
||||
public static bool[] HellSpecial = TileID.Sets.Factory.CreateBoolSet(58, 76, 75);
|
||||
public static bool[] Leaves = TileID.Sets.Factory.CreateBoolSet(384, 192);
|
||||
public static bool[] tileMossBrick = TileID.Sets.Factory.CreateBoolSet(false, 512, 513, 514, 515, 516, 517, 535, 537, 540);
|
||||
public static bool[] GeneralPlacementTiles = TileID.Sets.Factory.CreateBoolSet(true, 225, 41, 481, 43, 482, 44, 483, 226, 203, 112, 25, 70, 151, 21, 31, 467, 12);
|
||||
public static bool[] BasicChest = TileID.Sets.Factory.CreateBoolSet(21, 467);
|
||||
public static bool[] BasicChestFake = TileID.Sets.Factory.CreateBoolSet(441, 468);
|
||||
public static bool[] BasicDresser = TileID.Sets.Factory.CreateBoolSet(88);
|
||||
public static bool[] CanBeClearedDuringGeneration = TileID.Sets.Factory.CreateBoolSet(true, 396, 400, 401, 397, 398, 399, 404, 368, 367, 226, 237);
|
||||
public static bool[] Corrupt = TileID.Sets.Factory.CreateBoolSet(23, 25, 112, 163, 398, 400);
|
||||
public static bool[] Hallow = TileID.Sets.Factory.CreateBoolSet(109, 117, 116, 164, 402, 403, 115);
|
||||
public static bool[] Crimson = TileID.Sets.Factory.CreateBoolSet(199, 203, 234, 200, 399, 401, 205);
|
||||
public static bool[] IsSkippedForNPCSpawningGroundTypeCheck = TileID.Sets.Factory.CreateBoolSet(false, 421, 422);
|
||||
public static bool[] BlocksStairs = TileID.Sets.Factory.CreateBoolSet(386, 387, 54, 541);
|
||||
public static bool[] BlocksStairsAbove = TileID.Sets.Factory.CreateBoolSet(386, 387);
|
||||
public static bool[] NotReallySolid = TileID.Sets.Factory.CreateBoolSet(387, 388, 10);
|
||||
public static bool[] BlocksWaterDrawingBehindSelf = TileID.Sets.Factory.CreateBoolSet(false, 54, 541, 328, 470);
|
||||
public static bool[] AllowLightInWater = TileID.Sets.Factory.CreateBoolSet(false, 54, 541, 328);
|
||||
public static bool[] NeedsGrassFraming = TileID.Sets.Factory.CreateBoolSet();
|
||||
public static int[] NeedsGrassFramingDirt = TileID.Sets.Factory.CreateIntSet(0);
|
||||
public static bool[] ChecksForMerge = TileID.Sets.Factory.CreateBoolSet(0, 2, 60, 70, 199, 109, 477, 492, 57, 58, 75, 76, 147, 161, 164, 163, 200, 162, 189, 196, 460, 224, 191, 383, 211, 225, 59, 226, 396, 397, 398, 399, 402, 400, 401, 403, 404, 234, 112, 407);
|
||||
public static bool[] FramesOnKillWall = TileID.Sets.Factory.CreateBoolSet(440, 240, 241, 242, 245, 246, 4, 136, 334, 132, 55, 395, 425, 440, 471, 510, 511, 573);
|
||||
public static bool[] AvoidedByNPCs = TileID.Sets.Factory.CreateBoolSet(21, 467, 55, 85, 395, 88, 463, 334, 29, 97, 99, 356, 425, 440, 209, 441, 468, 471, 491, 510, 511, 520, 573);
|
||||
public static bool[] InteractibleByNPCs = TileID.Sets.Factory.CreateBoolSet(17, 77, 133, 12, 26, 35, 36, 55, 395, 471, 21, 467, 29, 97, 88, 99, 463, 491, 33, 372, 174, 49, 100, 173, 78, 79, 94, 96, 101, 50, 103, 282, 106, 114, 125, 171, 172, 207, 215, 220, 219, 244, 228, 237, 247, 128, 269, 354, 355, 377, 287, 378, 390, 302, 405, 406, 411, 425, 209, 441, 468, 452, 454, 455, 457, 462, 470, 475, 494, 499, 505, 511, 510, 520, 543, 565, 573, 597, 598, 617, 621);
|
||||
public static bool[] HousingWalls = TileID.Sets.Factory.CreateBoolSet(11, 389, 386);
|
||||
public static bool[] BreakableWhenPlacing = TileID.Sets.Factory.CreateBoolSet(324, 186, 187, 185, 165, 530, 233, 227, 485, 81);
|
||||
public static int[] TouchDamageVines = TileID.Sets.Factory.CreateIntSet(0, 32, 10, 69, 17, 80, 6, 352, 10);
|
||||
public static int[] TouchDamageSands = TileID.Sets.Factory.CreateIntSet(0, 53, 15, 112, 15, 116, 15, 123, 15, 224, 15, 234, 15, 57, 15, 69, 15);
|
||||
public static int[] TouchDamageHot = TileID.Sets.Factory.CreateIntSet(0, 37, 20, 58, 20, 76, 20);
|
||||
public static int[] TouchDamageOther = TileID.Sets.Factory.CreateIntSet(0, 48, 40, 232, 60);
|
||||
public static bool[] Falling = TileID.Sets.Factory.CreateBoolSet(53, 234, 112, 116, 224, 123, 330, 331, 332, 333, 495);
|
||||
public static bool[] OreMergesWithMud = TileID.Sets.Factory.CreateBoolSet(7, 166, 6, 167, 9, 168, 8, 169, 22, 204, 37, 58, 107, 221, 108, 222, 111, 223);
|
||||
public static bool[] Ore = TileID.Sets.Factory.CreateBoolSet(7, 166, 6, 167, 9, 168, 8, 169, 22, 204, 37, 58, 107, 221, 108, 222, 111, 223, 211);
|
||||
public static bool[] IsAContainer = TileID.Sets.Factory.CreateBoolSet(21, 467, 88);
|
||||
public static bool[] IsAMechanism = TileID.Sets.Factory.CreateBoolSet(137, 443, 105, 349, 141, 142, 143, 42, 34, 130, 131, 506, 546, 557, 593, 594);
|
||||
public static bool[] IsATrigger = TileID.Sets.Factory.CreateBoolSet(135, 136, 132, 144, 411, 441, 468);
|
||||
public static bool[] FriendlyFairyCanLureTo = TileID.Sets.Factory.CreateBoolSet(8, 169, 21, 467, 107, 108, 111, 221, 222, 223, 211, 12, 236, 227);
|
||||
public static bool[] IgnoredInHouseScore = TileID.Sets.Factory.CreateBoolSet(4, 3, 73, 82, 83, 84);
|
||||
public static bool[] SpreadOverground = TileID.Sets.Factory.CreateBoolSet(2, 23, 32, 60, 70, 109, 199, 352, 477, 492);
|
||||
public static bool[] SpreadUnderground = TileID.Sets.Factory.CreateBoolSet(23, 109, 199, 60, 70);
|
||||
|
||||
public static class Conversion
|
||||
{
|
||||
public static bool[] MergesWithDirtInASpecialWay = TileID.Sets.Factory.CreateBoolSet(2, 23, 109, 199, 477, 492);
|
||||
public static bool[] Grass = TileID.Sets.Factory.CreateBoolSet(2, 23, 60, 199, 109, 477, 492);
|
||||
public static bool[] GolfGrass = TileID.Sets.Factory.CreateBoolSet(477, 492);
|
||||
public static bool[] Stone = TileID.Sets.Factory.CreateBoolSet(1, 25, 117, 203);
|
||||
public static bool[] Ice = TileID.Sets.Factory.CreateBoolSet(161, 163, 164, 200);
|
||||
public static bool[] Sand = TileID.Sets.Factory.CreateBoolSet(53, 112, 116, 234);
|
||||
public static bool[] HardenedSand = TileID.Sets.Factory.CreateBoolSet(397, 398, 402, 399);
|
||||
public static bool[] Sandstone = TileID.Sets.Factory.CreateBoolSet(396, 400, 403, 401);
|
||||
public static bool[] Thorn = TileID.Sets.Factory.CreateBoolSet(32, 352, 69);
|
||||
public static bool[] Moss = TileID.Sets.Factory.CreateBoolSet(182, 180, 179, 381, 183, 181, 534, 536, 539);
|
||||
public static bool[] MossBrick = TileID.Sets.Factory.CreateBoolSet(512, 513, 514, 515, 516, 517, 535, 537, 540);
|
||||
}
|
||||
|
||||
public static class ForAdvancedCollision
|
||||
{
|
||||
public static bool[] ForSandshark = TileID.Sets.Factory.CreateBoolSet(397, 398, 402, 399, 396, 400, 403, 401, 53, 112, 116, 234, 407, 404);
|
||||
}
|
||||
|
||||
public static class RoomNeeds
|
||||
{
|
||||
public static int[] CountsAsChair = new int[6]
|
||||
{
|
||||
15,
|
||||
79,
|
||||
89,
|
||||
102,
|
||||
487,
|
||||
497
|
||||
};
|
||||
public static int[] CountsAsTable = new int[11]
|
||||
{
|
||||
14,
|
||||
18,
|
||||
87,
|
||||
88,
|
||||
90,
|
||||
101,
|
||||
354,
|
||||
355,
|
||||
464,
|
||||
469,
|
||||
487
|
||||
};
|
||||
public static int[] CountsAsTorch = new int[23]
|
||||
{
|
||||
4,
|
||||
33,
|
||||
34,
|
||||
35,
|
||||
42,
|
||||
49,
|
||||
93,
|
||||
95,
|
||||
98,
|
||||
100,
|
||||
149,
|
||||
173,
|
||||
174,
|
||||
270,
|
||||
271,
|
||||
316,
|
||||
317,
|
||||
318,
|
||||
92,
|
||||
372,
|
||||
405,
|
||||
592,
|
||||
572
|
||||
};
|
||||
public static int[] CountsAsDoor = new int[13]
|
||||
{
|
||||
10,
|
||||
11,
|
||||
19,
|
||||
387,
|
||||
386,
|
||||
388,
|
||||
389,
|
||||
436,
|
||||
435,
|
||||
438,
|
||||
427,
|
||||
439,
|
||||
437
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
139
ID/TorchID.cs
Normal file
139
ID/TorchID.cs
Normal file
|
@ -0,0 +1,139 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.TorchID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public static class TorchID
|
||||
{
|
||||
public static int[] Dust = new int[22]
|
||||
{
|
||||
6,
|
||||
59,
|
||||
60,
|
||||
61,
|
||||
62,
|
||||
63,
|
||||
64,
|
||||
65,
|
||||
75,
|
||||
135,
|
||||
158,
|
||||
169,
|
||||
156,
|
||||
234,
|
||||
66,
|
||||
242,
|
||||
293,
|
||||
294,
|
||||
295,
|
||||
296,
|
||||
297,
|
||||
298
|
||||
};
|
||||
private static TorchID.ITorchLightProvider[] _lights;
|
||||
public const short Torch = 0;
|
||||
public const short Blue = 1;
|
||||
public const short Red = 2;
|
||||
public const short Green = 3;
|
||||
public const short Purple = 4;
|
||||
public const short White = 5;
|
||||
public const short Yellow = 6;
|
||||
public const short Demon = 7;
|
||||
public const short Cursed = 8;
|
||||
public const short Ice = 9;
|
||||
public const short Orange = 10;
|
||||
public const short Ichor = 11;
|
||||
public const short UltraBright = 12;
|
||||
public const short Bone = 13;
|
||||
public const short Rainbow = 14;
|
||||
public const short Pink = 15;
|
||||
public const short Desert = 16;
|
||||
public const short Coral = 17;
|
||||
public const short Corrupt = 18;
|
||||
public const short Crimson = 19;
|
||||
public const short Hallowed = 20;
|
||||
public const short Jungle = 21;
|
||||
public const short Count = 22;
|
||||
|
||||
public static void Initialize() => TorchID._lights = new TorchID.ITorchLightProvider[22]
|
||||
{
|
||||
(TorchID.ITorchLightProvider) new TorchID.ConstantTorchLight(1f, 0.95f, 0.8f),
|
||||
(TorchID.ITorchLightProvider) new TorchID.ConstantTorchLight(0.0f, 0.1f, 1.3f),
|
||||
(TorchID.ITorchLightProvider) new TorchID.ConstantTorchLight(1f, 0.1f, 0.1f),
|
||||
(TorchID.ITorchLightProvider) new TorchID.ConstantTorchLight(0.0f, 1f, 0.1f),
|
||||
(TorchID.ITorchLightProvider) new TorchID.ConstantTorchLight(0.9f, 0.0f, 0.9f),
|
||||
(TorchID.ITorchLightProvider) new TorchID.ConstantTorchLight(1.4f, 1.4f, 1.4f),
|
||||
(TorchID.ITorchLightProvider) new TorchID.ConstantTorchLight(0.9f, 0.9f, 0.0f),
|
||||
(TorchID.ITorchLightProvider) new TorchID.DemonTorchLight(),
|
||||
(TorchID.ITorchLightProvider) new TorchID.ConstantTorchLight(1f, 1.6f, 0.5f),
|
||||
(TorchID.ITorchLightProvider) new TorchID.ConstantTorchLight(0.75f, 0.85f, 1.4f),
|
||||
(TorchID.ITorchLightProvider) new TorchID.ConstantTorchLight(1f, 0.5f, 0.0f),
|
||||
(TorchID.ITorchLightProvider) new TorchID.ConstantTorchLight(1.4f, 1.4f, 0.7f),
|
||||
(TorchID.ITorchLightProvider) new TorchID.ConstantTorchLight(0.75f, 1.35f, 1.5f),
|
||||
(TorchID.ITorchLightProvider) new TorchID.ConstantTorchLight(0.95f, 0.75f, 1.3f),
|
||||
(TorchID.ITorchLightProvider) new TorchID.DiscoTorchLight(),
|
||||
(TorchID.ITorchLightProvider) new TorchID.ConstantTorchLight(1f, 0.0f, 1f),
|
||||
(TorchID.ITorchLightProvider) new TorchID.ConstantTorchLight(1.4f, 0.85f, 0.55f),
|
||||
(TorchID.ITorchLightProvider) new TorchID.ConstantTorchLight(0.25f, 1.3f, 0.8f),
|
||||
(TorchID.ITorchLightProvider) new TorchID.ConstantTorchLight(0.95f, 0.4f, 1.4f),
|
||||
(TorchID.ITorchLightProvider) new TorchID.ConstantTorchLight(1.4f, 0.7f, 0.5f),
|
||||
(TorchID.ITorchLightProvider) new TorchID.ConstantTorchLight(1.25f, 0.6f, 1.2f),
|
||||
(TorchID.ITorchLightProvider) new TorchID.ConstantTorchLight(0.75f, 1.45f, 0.9f)
|
||||
};
|
||||
|
||||
public static void TorchColor(int torchID, out float R, out float G, out float B) => TorchID._lights[torchID].GetRGB(out R, out G, out B);
|
||||
|
||||
private interface ITorchLightProvider
|
||||
{
|
||||
void GetRGB(out float r, out float g, out float b);
|
||||
}
|
||||
|
||||
private struct ConstantTorchLight : TorchID.ITorchLightProvider
|
||||
{
|
||||
public float R;
|
||||
public float G;
|
||||
public float B;
|
||||
|
||||
public ConstantTorchLight(float Red, float Green, float Blue)
|
||||
{
|
||||
this.R = Red;
|
||||
this.G = Green;
|
||||
this.B = Blue;
|
||||
}
|
||||
|
||||
public void GetRGB(out float r, out float g, out float b)
|
||||
{
|
||||
r = this.R;
|
||||
g = this.G;
|
||||
b = this.B;
|
||||
}
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, Size = 1)]
|
||||
private struct DemonTorchLight : TorchID.ITorchLightProvider
|
||||
{
|
||||
public void GetRGB(out float r, out float g, out float b)
|
||||
{
|
||||
r = (float) (0.5 * (double) Main.demonTorch + (1.0 - (double) Main.demonTorch));
|
||||
g = 0.3f;
|
||||
b = Main.demonTorch + (float) (0.5 * (1.0 - (double) Main.demonTorch));
|
||||
}
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, Size = 1)]
|
||||
private struct DiscoTorchLight : TorchID.ITorchLightProvider
|
||||
{
|
||||
public void GetRGB(out float r, out float g, out float b)
|
||||
{
|
||||
r = (float) Main.DiscoR / (float) byte.MaxValue;
|
||||
g = (float) Main.DiscoG / (float) byte.MaxValue;
|
||||
b = (float) Main.DiscoB / (float) byte.MaxValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
13
ID/TreeTopID.cs
Normal file
13
ID/TreeTopID.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.TreeTopID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public static class TreeTopID
|
||||
{
|
||||
public const int GemRuby = 26;
|
||||
}
|
||||
}
|
353
ID/WallID.cs
Normal file
353
ID/WallID.cs
Normal file
|
@ -0,0 +1,353 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.WallID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public class WallID
|
||||
{
|
||||
public const ushort None = 0;
|
||||
public const ushort Stone = 1;
|
||||
public const ushort DirtUnsafe = 2;
|
||||
public const ushort EbonstoneUnsafe = 3;
|
||||
public const ushort Wood = 4;
|
||||
public const ushort GrayBrick = 5;
|
||||
public const ushort RedBrick = 6;
|
||||
public const ushort BlueDungeonUnsafe = 7;
|
||||
public const ushort GreenDungeonUnsafe = 8;
|
||||
public const ushort PinkDungeonUnsafe = 9;
|
||||
public const ushort GoldBrick = 10;
|
||||
public const ushort SilverBrick = 11;
|
||||
public const ushort CopperBrick = 12;
|
||||
public const ushort HellstoneBrickUnsafe = 13;
|
||||
public const ushort ObsidianBrickUnsafe = 14;
|
||||
public const ushort MudUnsafe = 15;
|
||||
public const ushort Dirt = 16;
|
||||
public const ushort BlueDungeon = 17;
|
||||
public const ushort GreenDungeon = 18;
|
||||
public const ushort PinkDungeon = 19;
|
||||
public const ushort ObsidianBrick = 20;
|
||||
public const ushort Glass = 21;
|
||||
public const ushort PearlstoneBrick = 22;
|
||||
public const ushort IridescentBrick = 23;
|
||||
public const ushort MudstoneBrick = 24;
|
||||
public const ushort CobaltBrick = 25;
|
||||
public const ushort MythrilBrick = 26;
|
||||
public const ushort Planked = 27;
|
||||
public const ushort PearlstoneBrickUnsafe = 28;
|
||||
public const ushort CandyCane = 29;
|
||||
public const ushort GreenCandyCane = 30;
|
||||
public const ushort SnowBrick = 31;
|
||||
public const ushort AdamantiteBeam = 32;
|
||||
public const ushort DemoniteBrick = 33;
|
||||
public const ushort SandstoneBrick = 34;
|
||||
public const ushort EbonstoneBrick = 35;
|
||||
public const ushort RedStucco = 36;
|
||||
public const ushort YellowStucco = 37;
|
||||
public const ushort GreenStucco = 38;
|
||||
public const ushort Gray = 39;
|
||||
public const ushort SnowWallUnsafe = 40;
|
||||
public const ushort Ebonwood = 41;
|
||||
public const ushort RichMaogany = 42;
|
||||
public const ushort Pearlwood = 43;
|
||||
public const ushort RainbowBrick = 44;
|
||||
public const ushort TinBrick = 45;
|
||||
public const ushort TungstenBrick = 46;
|
||||
public const ushort PlatinumBrick = 47;
|
||||
public const ushort AmethystUnsafe = 48;
|
||||
public const ushort TopazUnsafe = 49;
|
||||
public const ushort SapphireUnsafe = 50;
|
||||
public const ushort EmeraldUnsafe = 51;
|
||||
public const ushort RubyUnsafe = 52;
|
||||
public const ushort DiamondUnsafe = 53;
|
||||
public const ushort CaveUnsafe = 54;
|
||||
public const ushort Cave2Unsafe = 55;
|
||||
public const ushort Cave3Unsafe = 56;
|
||||
public const ushort Cave4Unsafe = 57;
|
||||
public const ushort Cave5Unsafe = 58;
|
||||
public const ushort Cave6Unsafe = 59;
|
||||
public const ushort LivingLeaf = 60;
|
||||
public const ushort Cave7Unsafe = 61;
|
||||
public const ushort SpiderUnsafe = 62;
|
||||
public const ushort GrassUnsafe = 63;
|
||||
public const ushort JungleUnsafe = 64;
|
||||
public const ushort FlowerUnsafe = 65;
|
||||
public const ushort Grass = 66;
|
||||
public const ushort Jungle = 67;
|
||||
public const ushort Flower = 68;
|
||||
public const ushort CorruptGrassUnsafe = 69;
|
||||
public const ushort HallowedGrassUnsafe = 70;
|
||||
public const ushort IceUnsafe = 71;
|
||||
public const ushort Cactus = 72;
|
||||
public const ushort Cloud = 73;
|
||||
public const ushort Mushroom = 74;
|
||||
public const ushort Bone = 75;
|
||||
public const ushort Slime = 76;
|
||||
public const ushort Flesh = 77;
|
||||
public const ushort LivingWood = 78;
|
||||
public const ushort ObsidianBackUnsafe = 79;
|
||||
public const ushort MushroomUnsafe = 80;
|
||||
public const ushort CrimsonGrassUnsafe = 81;
|
||||
public const ushort DiscWall = 82;
|
||||
public const ushort CrimstoneUnsafe = 83;
|
||||
public const ushort IceBrick = 84;
|
||||
public const ushort Shadewood = 85;
|
||||
public const ushort HiveUnsafe = 86;
|
||||
public const ushort LihzahrdBrickUnsafe = 87;
|
||||
public const ushort PurpleStainedGlass = 88;
|
||||
public const ushort YellowStainedGlass = 89;
|
||||
public const ushort BlueStainedGlass = 90;
|
||||
public const ushort GreenStainedGlass = 91;
|
||||
public const ushort RedStainedGlass = 92;
|
||||
public const ushort RainbowStainedGlass = 93;
|
||||
public const ushort BlueDungeonSlabUnsafe = 94;
|
||||
public const ushort BlueDungeonTileUnsafe = 95;
|
||||
public const ushort PinkDungeonSlabUnsafe = 96;
|
||||
public const ushort PinkDungeonTileUnsafe = 97;
|
||||
public const ushort GreenDungeonSlabUnsafe = 98;
|
||||
public const ushort GreenDungeonTileUnsafe = 99;
|
||||
public const ushort BlueDungeonSlab = 100;
|
||||
public const ushort BlueDungeonTile = 101;
|
||||
public const ushort PinkDungeonSlab = 102;
|
||||
public const ushort PinkDungeonTile = 103;
|
||||
public const ushort GreenDungeonSlab = 104;
|
||||
public const ushort GreenDungeonTile = 105;
|
||||
public const ushort WoodenFence = 106;
|
||||
public const ushort MetalFence = 107;
|
||||
public const ushort Hive = 108;
|
||||
public const ushort PalladiumColumn = 109;
|
||||
public const ushort BubblegumBlock = 110;
|
||||
public const ushort TitanstoneBlock = 111;
|
||||
public const ushort LihzahrdBrick = 112;
|
||||
public const ushort Pumpkin = 113;
|
||||
public const ushort Hay = 114;
|
||||
public const ushort SpookyWood = 115;
|
||||
public const ushort ChristmasTreeWallpaper = 116;
|
||||
public const ushort OrnamentWallpaper = 117;
|
||||
public const ushort CandyCaneWallpaper = 118;
|
||||
public const ushort FestiveWallpaper = 119;
|
||||
public const ushort StarsWallpaper = 120;
|
||||
public const ushort SquigglesWallpaper = 121;
|
||||
public const ushort SnowflakeWallpaper = 122;
|
||||
public const ushort KrampusHornWallpaper = 123;
|
||||
public const ushort BluegreenWallpaper = 124;
|
||||
public const ushort GrinchFingerWallpaper = 125;
|
||||
public const ushort FancyGrayWallpaper = 126;
|
||||
public const ushort IceFloeWallpaper = 127;
|
||||
public const ushort MusicWallpaper = 128;
|
||||
public const ushort PurpleRainWallpaper = 129;
|
||||
public const ushort RainbowWallpaper = 130;
|
||||
public const ushort SparkleStoneWallpaper = 131;
|
||||
public const ushort StarlitHeavenWallpaper = 132;
|
||||
public const ushort BubbleWallpaper = 133;
|
||||
public const ushort CopperPipeWallpaper = 134;
|
||||
public const ushort DuckyWallpaper = 135;
|
||||
public const ushort Waterfall = 136;
|
||||
public const ushort Lavafall = 137;
|
||||
public const ushort EbonwoodFence = 138;
|
||||
public const ushort RichMahoganyFence = 139;
|
||||
public const ushort PearlwoodFence = 140;
|
||||
public const ushort ShadewoodFence = 141;
|
||||
public const ushort WhiteDynasty = 142;
|
||||
public const ushort BlueDynasty = 143;
|
||||
public const ushort ArcaneRunes = 144;
|
||||
public const ushort IronFence = 145;
|
||||
public const ushort CopperPlating = 146;
|
||||
public const ushort StoneSlab = 147;
|
||||
public const ushort Sail = 148;
|
||||
public const ushort BorealWood = 149;
|
||||
public const ushort BorealWoodFence = 150;
|
||||
public const ushort PalmWood = 151;
|
||||
public const ushort PalmWoodFence = 152;
|
||||
public const ushort AmberGemspark = 153;
|
||||
public const ushort AmethystGemspark = 154;
|
||||
public const ushort DiamondGemspark = 155;
|
||||
public const ushort EmeraldGemspark = 156;
|
||||
public const ushort AmberGemsparkOff = 157;
|
||||
public const ushort AmethystGemsparkOff = 158;
|
||||
public const ushort DiamondGemsparkOff = 159;
|
||||
public const ushort EmeraldGemsparkOff = 160;
|
||||
public const ushort RubyGemsparkOff = 161;
|
||||
public const ushort SapphireGemsparkOff = 162;
|
||||
public const ushort TopazGemsparkOff = 163;
|
||||
public const ushort RubyGemspark = 164;
|
||||
public const ushort SapphireGemspark = 165;
|
||||
public const ushort TopazGemspark = 166;
|
||||
public const ushort TinPlating = 167;
|
||||
public const ushort Confetti = 168;
|
||||
public const ushort ConfettiBlack = 169;
|
||||
public const ushort CaveWall = 170;
|
||||
public const ushort CaveWall2 = 171;
|
||||
public const ushort Honeyfall = 172;
|
||||
public const ushort ChlorophyteBrick = 173;
|
||||
public const ushort CrimtaneBrick = 174;
|
||||
public const ushort ShroomitePlating = 175;
|
||||
public const ushort MartianConduit = 176;
|
||||
public const ushort HellstoneBrick = 177;
|
||||
public const ushort MarbleUnsafe = 178;
|
||||
public const ushort MarbleBlock = 179;
|
||||
public const ushort GraniteUnsafe = 180;
|
||||
public const ushort GraniteBlock = 181;
|
||||
public const ushort MeteoriteBrick = 182;
|
||||
public const ushort Marble = 183;
|
||||
public const ushort Granite = 184;
|
||||
public const ushort Cave8Unsafe = 185;
|
||||
public const ushort Crystal = 186;
|
||||
public const ushort Sandstone = 187;
|
||||
public const ushort CorruptionUnsafe1 = 188;
|
||||
public const ushort CorruptionUnsafe2 = 189;
|
||||
public const ushort CorruptionUnsafe3 = 190;
|
||||
public const ushort CorruptionUnsafe4 = 191;
|
||||
public const ushort CrimsonUnsafe1 = 192;
|
||||
public const ushort CrimsonUnsafe2 = 193;
|
||||
public const ushort CrimsonUnsafe3 = 194;
|
||||
public const ushort CrimsonUnsafe4 = 195;
|
||||
public const ushort DirtUnsafe1 = 196;
|
||||
public const ushort DirtUnsafe2 = 197;
|
||||
public const ushort DirtUnsafe3 = 198;
|
||||
public const ushort DirtUnsafe4 = 199;
|
||||
public const ushort HallowUnsafe1 = 200;
|
||||
public const ushort HallowUnsafe2 = 201;
|
||||
public const ushort HallowUnsafe3 = 202;
|
||||
public const ushort HallowUnsafe4 = 203;
|
||||
public const ushort JungleUnsafe1 = 204;
|
||||
public const ushort JungleUnsafe2 = 205;
|
||||
public const ushort JungleUnsafe3 = 206;
|
||||
public const ushort JungleUnsafe4 = 207;
|
||||
public const ushort LavaUnsafe1 = 208;
|
||||
public const ushort LavaUnsafe2 = 209;
|
||||
public const ushort LavaUnsafe3 = 210;
|
||||
public const ushort LavaUnsafe4 = 211;
|
||||
public const ushort RocksUnsafe1 = 212;
|
||||
public const ushort RocksUnsafe2 = 213;
|
||||
public const ushort RocksUnsafe3 = 214;
|
||||
public const ushort RocksUnsafe4 = 215;
|
||||
public const ushort HardenedSand = 216;
|
||||
public const ushort CorruptHardenedSand = 217;
|
||||
public const ushort CrimsonHardenedSand = 218;
|
||||
public const ushort HallowHardenedSand = 219;
|
||||
public const ushort CorruptSandstone = 220;
|
||||
public const ushort CrimsonSandstone = 221;
|
||||
public const ushort HallowSandstone = 222;
|
||||
public const ushort DesertFossil = 223;
|
||||
public const ushort LunarBrickWall = 224;
|
||||
public const ushort CogWall = 225;
|
||||
public const ushort SandFall = 226;
|
||||
public const ushort SnowFall = 227;
|
||||
public const ushort SillyBalloonPinkWall = 228;
|
||||
public const ushort SillyBalloonPurpleWall = 229;
|
||||
public const ushort SillyBalloonGreenWall = 230;
|
||||
public const ushort IronBrick = 231;
|
||||
public const ushort LeadBrick = 232;
|
||||
public const ushort LesionBlock = 233;
|
||||
public const ushort CrimstoneBrick = 234;
|
||||
public const ushort SmoothSandstone = 235;
|
||||
public const ushort Spider = 236;
|
||||
public const ushort SolarBrick = 237;
|
||||
public const ushort VortexBrick = 238;
|
||||
public const ushort NebulaBrick = 239;
|
||||
public const ushort StardustBrick = 240;
|
||||
public const ushort OrangeStainedGlass = 241;
|
||||
public const ushort GoldStarryGlassWall = 242;
|
||||
public const ushort BlueStarryGlassWall = 243;
|
||||
public const ushort LivingWoodUnsafe = 244;
|
||||
public const ushort WroughtIronFence = 245;
|
||||
public const ushort EbonstoneEcho = 246;
|
||||
public const ushort MudWallEcho = 247;
|
||||
public const ushort PearlstoneEcho = 248;
|
||||
public const ushort SnowWallEcho = 249;
|
||||
public const ushort AmethystEcho = 250;
|
||||
public const ushort TopazEcho = 251;
|
||||
public const ushort SapphireEcho = 252;
|
||||
public const ushort EmeraldEcho = 253;
|
||||
public const ushort RubyEcho = 254;
|
||||
public const ushort DiamondEcho = 255;
|
||||
public const ushort Cave1Echo = 256;
|
||||
public const ushort Cave2Echo = 257;
|
||||
public const ushort Cave3Echo = 258;
|
||||
public const ushort Cave4Echo = 259;
|
||||
public const ushort Cave5Echo = 260;
|
||||
public const ushort Cave6Echo = 261;
|
||||
public const ushort Cave7Echo = 262;
|
||||
public const ushort SpiderEcho = 263;
|
||||
public const ushort CorruptGrassEcho = 264;
|
||||
public const ushort HallowedGrassEcho = 265;
|
||||
public const ushort IceEcho = 266;
|
||||
public const ushort ObsidianBackEcho = 267;
|
||||
public const ushort CrimsonGrassEcho = 268;
|
||||
public const ushort CrimstoneEcho = 269;
|
||||
public const ushort CaveWall1Echo = 270;
|
||||
public const ushort CaveWall2Echo = 271;
|
||||
public const ushort MarbleEchoUnused = 272;
|
||||
public const ushort GraniteEchoUnused = 273;
|
||||
public const ushort Cave8Echo = 274;
|
||||
public const ushort SandstoneEcho = 275;
|
||||
public const ushort Corruption1Echo = 276;
|
||||
public const ushort Corruption2Echo = 277;
|
||||
public const ushort Corruption3Echo = 278;
|
||||
public const ushort Corruption4Echo = 279;
|
||||
public const ushort Crimson1Echo = 280;
|
||||
public const ushort Crimson2Echo = 281;
|
||||
public const ushort Crimson3Echo = 282;
|
||||
public const ushort Crimson4Echo = 283;
|
||||
public const ushort Dirt1Echo = 284;
|
||||
public const ushort Dirt2Echo = 285;
|
||||
public const ushort Dirt3Echo = 286;
|
||||
public const ushort Dirt4Echo = 287;
|
||||
public const ushort Hallow1Echo = 288;
|
||||
public const ushort Hallow2Echo = 289;
|
||||
public const ushort Hallow3Echo = 290;
|
||||
public const ushort Hallow4Echo = 291;
|
||||
public const ushort Jungle1Echo = 292;
|
||||
public const ushort Jungle2Echo = 293;
|
||||
public const ushort Jungle3Echo = 294;
|
||||
public const ushort Jungle4Echo = 295;
|
||||
public const ushort Lava1Echo = 296;
|
||||
public const ushort Lava2Echo = 297;
|
||||
public const ushort Lava3Echo = 298;
|
||||
public const ushort Lava4Echo = 299;
|
||||
public const ushort Rocks1Echo = 300;
|
||||
public const ushort Rocks2Echo = 301;
|
||||
public const ushort Rocks3Echo = 302;
|
||||
public const ushort Rocks4Echo = 303;
|
||||
public const ushort HardenedSandEcho = 304;
|
||||
public const ushort CorruptHardenedSandEcho = 305;
|
||||
public const ushort CrimsonHardenedSandEcho = 306;
|
||||
public const ushort HallowHardenedSandEcho = 307;
|
||||
public const ushort CorruptSandstoneEcho = 308;
|
||||
public const ushort CrimsonSandstoneEcho = 309;
|
||||
public const ushort HallowSandstoneEcho = 310;
|
||||
public const ushort DesertFossilEcho = 311;
|
||||
public const ushort BambooBlockWall = 312;
|
||||
public const ushort LargeBambooBlockWall = 313;
|
||||
public const ushort AmberStoneWallEcho = 314;
|
||||
public const ushort BambooFence = 315;
|
||||
public const ushort Count = 316;
|
||||
|
||||
public static class Sets
|
||||
{
|
||||
public static SetFactory Factory = new SetFactory(316);
|
||||
public static bool[] CanBeConvertedToGlowingMushroom = WallID.Sets.Factory.CreateBoolSet(64, 67, 15, 247);
|
||||
public static bool[] Transparent = WallID.Sets.Factory.CreateBoolSet(88, 89, 90, 91, 92, 241);
|
||||
public static bool[] Corrupt = WallID.Sets.Factory.CreateBoolSet(69, 217, 220, 3);
|
||||
public static bool[] Crimson = WallID.Sets.Factory.CreateBoolSet(83, 81, 218, 221);
|
||||
public static bool[] Hallow = WallID.Sets.Factory.CreateBoolSet(70, 219, 222, 28);
|
||||
public static bool[] AllowsWind = WallID.Sets.Factory.CreateBoolSet(0, 150, 138, 145, 107, 152, 140, 139, 141, 106, 245, 315);
|
||||
|
||||
public static class Conversion
|
||||
{
|
||||
public static bool[] Grass = WallID.Sets.Factory.CreateBoolSet(63, 64, 65, 66, 67, 68, 69, 70, 81, 264, 265, 268);
|
||||
public static bool[] Stone = WallID.Sets.Factory.CreateBoolSet(1, 61, 185, 3, 28, 83, 262, 274, 246, 248, 269);
|
||||
public static bool[] Sandstone = WallID.Sets.Factory.CreateBoolSet(187, 220, 222, 221, 275, 308, 310, 309);
|
||||
public static bool[] HardenedSand = WallID.Sets.Factory.CreateBoolSet(216, 217, 219, 218, 304, 305, 307, 306);
|
||||
public static bool[] PureSand = WallID.Sets.Factory.CreateBoolSet(216, 187, 304, 275);
|
||||
public static bool[] NewWall1 = WallID.Sets.Factory.CreateBoolSet(188, 192, 200, 204, 212, 276, 280, 288, 292, 300);
|
||||
public static bool[] NewWall2 = WallID.Sets.Factory.CreateBoolSet(189, 193, 201, 205, 213, 277, 281, 289, 293, 301);
|
||||
public static bool[] NewWall3 = WallID.Sets.Factory.CreateBoolSet(190, 194, 202, 206, 214, 278, 282, 290, 294, 302);
|
||||
public static bool[] NewWall4 = WallID.Sets.Factory.CreateBoolSet(191, 195, 203, 207, 215, 279, 283, 291, 295, 303);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
26
ID/WaterStyleID.cs
Normal file
26
ID/WaterStyleID.cs
Normal file
|
@ -0,0 +1,26 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.ID.WaterStyleID
|
||||
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
||||
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
||||
|
||||
namespace Terraria.ID
|
||||
{
|
||||
public static class WaterStyleID
|
||||
{
|
||||
public const int Purity = 0;
|
||||
public const int Lava = 1;
|
||||
public const int Corrupt = 2;
|
||||
public const int Jungle = 3;
|
||||
public const int Hallow = 4;
|
||||
public const int Snow = 5;
|
||||
public const int Desert = 6;
|
||||
public const int Underground = 7;
|
||||
public const int Cavern = 8;
|
||||
public const int Bloodmoon = 9;
|
||||
public const int Crimson = 10;
|
||||
public const int Honey = 11;
|
||||
public const int UndergroundDesert = 12;
|
||||
public const int Count = 13;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue