public override bool PreDrawInInventory(Item item, SpriteBatch spriteBatch, Vector2 position, Rectangle frame, Color drawColor, Color itemColor, Vector2 origin, float scale) { if ( //Corruption and Crimson item.type == ItemID.Musket || item.type == ItemID.TheUndertaker || item.type == ItemID.Vilethorn || item.type == ItemID.CrimsonRod || item.type == ItemID.BallOHurt || item.type == ItemID.TheRottedFork || item.type == ItemID.BandofStarpower || item.type == ItemID.PanicNecklace || item.type == ItemID.RottenChunk || item.type == ItemID.Vertebrae || item.type == ItemID.CursedFlame || item.type == ItemID.Ichor || item.type == ItemID.VileMushroom || item.type == ItemID.ViciousMushroom || item.type == ItemID.DemoniteOre || item.type == ItemID.CrimtaneOre || item.type == ItemID.ShadowScale || item.type == ItemID.TissueSample || item.type == ItemID.ShadowOrb || item.type == ItemID.EaterMask || item.type == ItemID.BrainMask || item.type == ItemID.EaterofWorldsTrophy || item.type == ItemID.BrainofCthulhuTrophy || item.type == ItemID.CrimsonHeart || item.type == ItemID.EatersBone || item.type == ItemID.BoneRattle || item.type == ItemID.WormScarf || item.type == ItemID.BrainOfConfusion || item.type == ItemID.EaterofWorldsMasterTrophy || item.type == ItemID.BrainofCthulhuMasterTrophy || item.type == ItemID.EaterOfWorldsPetItem || item.type == ItemID.BrainOfCthulhuPetItem || item.type == ItemID.DartRifle || item.type == ItemID.DartPistol || item.type == ItemID.ChainGuillotines || item.type == ItemID.FetidBaghnakhs || item.type == ItemID.ClingerStaff || item.type == ItemID.SoulDrain || item.type == ItemID.PutridScent || item.type == ItemID.FleshKnuckles || item.type == ItemID.WormHook || item.type == ItemID.TendonHook || item.type == ItemID.CorruptSeeds || item.type == ItemID.CrimsonSeeds || item.type == ItemID.VilePowder || item.type == ItemID.ViciousPowder || item.type == ItemID.PurpleSolution || item.type == ItemID.RedSolution || item.type == ItemID.LesionStation || item.type == ItemID.FleshCloningVaat || item.type == ItemID.ScourgeoftheCorruptor || item.type == ItemID.VampireKnives || item.type == ItemID.Toxikarp || item.type == ItemID.Bladetongue || item.type == ItemID.PurpleClubberfish || item.type == ItemID.CrimsonTigerfish || item.type == ItemID.Ebonkoi || item.type == ItemID.Hemopiranha || item.type == ItemID.WormFood || item.type == ItemID.BloodySpine || item.type == ItemID.CorruptionKey || item.type == ItemID.CrimsonKey || //Other Variants item.type == ItemID.StarWrath || item.type == ItemID.Meowmere || item.type == ItemID.SDMG || item.type == ItemID.Celeb2 || item.type == ItemID.LastPrism || item.type == ItemID.LunarFlareBook || item.type == ItemID.MoonlordTurretStaff || item.type == ItemID.RainbowCrystalStaff || item.type == ItemID.VenusMagnum || item.type == ItemID.WaspGun || item.type == ItemID.LeafBlower || item.type == ItemID.NettleBurst || item.type == ItemID.FlowerPow || item.type == ItemID.Seedler || item.type == ItemID.GolemFist || item.type == ItemID.PossessedHatchet || item.type == ItemID.HeatRay || item.type == ItemID.StaffofEarth || item.type == ItemID.EyeoftheGolem || item.type == ItemID.SunStone || //Modded Variants item.type == ModContent.ItemType() || item.type == ModContent.ItemType() || item.type == ModContent.ItemType() || item.type == ModContent.ItemType() || item.type == ModContent.ItemType() || item.type == ModContent.ItemType() ) { if (Main.LocalPlayer.GetModPlayer().buddyBracelet) { Vector2 shake = new Vector2(Main.rand.Next(-2, 3), Main.rand.Next(-2, 3)); position += shake; Texture2D texture = TextureAssets.Item[item.type].Value; spriteBatch.Draw(texture, position, null, Color.White, 0, origin, scale, SpriteEffects.None, 0f); return false; } else { return true; } } else { return true; } }