public override void ModifyTooltips(List <TooltipLine> tooltips)
        {
            if (SGAWorld.downedHellion < 2)
            {
                TooltipLine tt = tooltips.FirstOrDefault(x => x.Name == "Material" && x.mod == "Terraria");
                if (tt != null)
                {
                    int index = tooltips.FindIndex(here => here == tt);
                    tooltips.RemoveAt(index);
                }
            }
            else
            {
                tooltips.Add(new TooltipLine(mod, "Nmxx", "Useable in crafting"));
            }

            if (SGAWorld.downedSPinky && SGAWorld.downedCratrosityPML && SGAWorld.downedWraiths > 3)
            {
                if (SGAWorld.downedHellion > 0)
                {
                    tooltips.Add(new TooltipLine(mod, "Nmxx", "Hold 'left control' while you use the item to skip Hellion Core, this costs 25 Souls of Byte"));
                }
                if (SGAWorld.downedHellion < 2)
                {
                    if (SGAWorld.downedHellion == 0)
                    {
                        tooltips.Add(new TooltipLine(mod, "Nmxx", "'Well done " + SGAmod.HellionUserName + ". Yes, I know your real name behind that facade you call " + Main.LocalPlayer.name + ".'"));
                        tooltips.Add(new TooltipLine(mod, "Nmxx", "'And thanks to your Dragon's signal, I have found my way to your world, this one tear which will let me invade your puny little " + Main.worldName + "'"));
                        tooltips.Add(new TooltipLine(mod, "Nmxx", "'Spend what little time you have left meaningful, if you were expecting to save him, I doubt it'"));
                        tooltips.Add(new TooltipLine(mod, "Nmxx", "'But let us not waste anymore time, come, face me'"));
                    }
                    else
                    {
                        tooltips.Add(new TooltipLine(mod, "Nmxx", "'Getting closer, I guess now I'll just have to use more power to stop you'"));
                        tooltips.Add(new TooltipLine(mod, "Nmxx", "'But enough talk, lets finish this'"));
                    }
                }
                else
                {
                    tooltips.Add(new TooltipLine(mod, "Nmxx", "'Hmp, very Well done " + SGAmod.HellionUserName + ", you've bested me, this time"));
                    tooltips.Add(new TooltipLine(mod, "Nmxx", "But next time you won't be so lucky..."));
                    tooltips.Add(new TooltipLine(mod, "Nmxx", "My tears have stablized..."));
                    tooltips.Add(new TooltipLine(mod, "Nmxx", "Enjoy your fancy reward, you've earned that much..."));
                    tooltips[0].text += " (Stablized)";
                }
                tooltips.Add(new TooltipLine(mod, "Nmxx", "Tears a hole in the bastion of reality to bring forth the Paradox General, Helen 'Hellion' Weygold"));
                tooltips.Add(new TooltipLine(mod, "Nmxx", "Non Consumable"));


                foreach (TooltipLine line in tooltips)
                {
                    string text    = line.text;
                    string newline = "";
                    for (int i = 0; i < text.Length; i += 1)
                    {
                        newline += Idglib.ColorText(Color.Lerp(Color.White, Main.hslToRgb((Main.rand.NextFloat(0, 1)) % 1f, 0.75f, Main.rand.NextFloat(0.25f, 0.5f)), MathHelper.Clamp(0.5f + (float)Math.Sin(Main.GlobalTime * 2f) / 1.5f, 0.2f, 1f)), text[i].ToString());
                    }
                    line.text = newline;
                }
            }
            else
            {
                tooltips = new List <TooltipLine>();
            }
        }
 public override void SetStaticDefaults()
 {
     DisplayName.SetDefault("Music Box (" + Name2[0] + ")");
     Tooltip.SetDefault(Idglib.ColorText(Color.PaleTurquoise, "'" + Name2[1] + "'") + Idglib.ColorText(Color.PaleGoldenrod, " : Composed by " + Name2[2]));
 }
        public override void ModifyTooltips(List <TooltipLine> tooltips)
        {
            Color c = Main.hslToRgb((float)(Main.GlobalTime / 5f) % 1f, 0.45f, 0.65f);

            tooltips.Add(new TooltipLine(mod, "Dedicated", Idglib.ColorText(c, "Dedicated to Cringe's meme in IDG's Den")));
        }
示例#4
0
 public override void SetStaticDefaults()
 {
     base.SetStaticDefaults();
     DisplayName.SetDefault("Jarate");
     Tooltip.SetDefault("Throws a jar of 'nature's rain', which inflicts ichor on everyone in a large area for an extended time\nIf it directly hits an enemy, they will get Sodden instead even if immune\nThis increases any further damage they take by 33%\n'Heads up!'\n" + Idglib.ColorText(Color.Orange, "Requires 1 Cooldown stack, adds 30 seconds"));
 }
示例#5
0
 public override void SetStaticDefaults()
 {
     DisplayName.SetDefault("Dragon's Might Potion");
     Tooltip.SetDefault("30% increase to all damage types except Summon damage, which gets 50%" +
                        "\nLasts 30 seconds, inflicts Weakness after it ends\nThis cannot be stopped by being immune\nCannot be used while Weakened\n" + Idglib.ColorText(Color.Orange, "Requires 1 Cooldown stack, adds 60 seconds"));
 }
示例#6
0
 public override void SetStaticDefaults()
 {
     DisplayName.SetDefault("Matrix Potion");
     Tooltip.SetDefault("'The very fabic of time itself folds around you, compressing the flow of anything passing by'\nGrants a aura around the player that greatly slows down any enemies or projectiles" +
                        "\nTime counts down faster per enemy and projectile affected, bosses slowed make it count down 2X as fast\n" + Idglib.ColorText(Color.Orange, "Requires 3 Cooldown stacks, adds 150 seconds each"));
 }
示例#7
0
 public override void SetStaticDefaults()
 {
     DisplayName.SetDefault("Enhancing Amulet Tier 3");
     Tooltip.SetDefault("buffs are 100% longer and debuffs are 50% shorter\n" + Idglib.ColorText(Color.Red, "Potion Sickness is not affected, and is also 20% longer"));
 }
示例#8
0
 public override void SetStaticDefaults()
 {
     DisplayName.SetDefault("Intimacy Potion");
     Tooltip.SetDefault("'Their hearts will be yours!'\nNearby enemies who are Lovestruct will lose health over time based on your Life Regen\nTown NPCs who are Lovestruct have reduced prices\nWhile you are Lovestruct all hearts heal 10 more health and draw more aggro\nNearby players who are Lovestruct gain 20% of your life regen to their own\nAll Town NPCs sell [i: " + ItemID.LovePotion + "] to you while under this effect\n" + Idglib.ColorText(Color.Red, "Grants immunity to Toxicity and Stinky"));
 }
示例#9
0
        public override void SetStaticDefaults()
        {
            DisplayName.SetDefault("Reservation Amulet Tier 1");
            string capper = (GetType() == typeof(ReservationCharmlv3) ? "75" : GetType() == typeof(ReservationCharmlv2) ? "50" : "25");

            Tooltip.SetDefault("Converts " + capper + "% of your max HP into a regenerating barrier that blocks damage\nThis barrier's max strength is improved by your tech multiplier\n" + Idglib.ColorText(Color.Red, capper + "% of your HP is capped") + "\n" + Idglib.ColorText(Color.Red, "Damage is applied to shields before any armor reduction") + "\n" + Idglib.ColorText(Color.Red, "Inflicts Shield Break on deplete"));
        }
示例#10
0
 public override void SetStaticDefaults()
 {
     DisplayName.SetDefault("Anticipation Amulet Tier 3");
     Tooltip.SetDefault("When a boss fight starts, you are healed by 300 HP, but only every 2 minutes and while " + Idglib.ColorText(Color.Green, "Anticipation") + " is low" +
                        "\nDuring a boss fight, you build up " + Idglib.ColorText(Color.Green, "Anticipation") + ", which causes your held weapon to do more damage, this caps at a near 100% increase\n" +
                        "You lose half your " + Idglib.ColorText(Color.Green, "Anticipation") + " when hurt, and passively drains while no boss is alive\n" + Idglib.ColorText(Color.Red, "Damage you take is increased by 40%"));
 }
示例#11
0
 public override void SetStaticDefaults()
 {
     DisplayName.SetDefault("Amulet of Diehard Cataclysm");
     Tooltip.SetDefault("'Embrace the suffering, indulge on the reward'\n'Truly, only for the worthy... And the british'\n25% more Expertise is earned and respawn instantly outside of boss fights\n" + Idglib.ColorText(Color.Red, "You die in one hit, IFrames cause great damage over time") + "\n" + Idglib.ColorText(Color.Red, "Most if not all methods of death prevention are disabled") + "\n" + Idglib.ColorText(Color.Red, "Death claims you if you attempt to break the curse...") + "\n+An exception to the formentioned rule are Just Blocks\nThis item doesn't take effect til 3 seconds after spawning to prevent soft-locks");
     Main.RegisterItemAnimation(item.type, new DrawAnimationVertical(6, 10));
 }
        public override void ModifyTooltips(List <TooltipLine> tooltips)
        {
            Color c = Main.hslToRgb((float)(Main.GlobalTime / 5f) % 1f, 0.45f, 0.65f);

            tooltips.Add(new TooltipLine(mod, "Dedicated", Idglib.ColorText(c, "Dedicated to PhilBill44, and preserving his work")));
        }
        public override void ModifyTooltips(List <TooltipLine> tooltips)
        {
            Color c = Main.hslToRgb((float)(Main.GlobalTime / 5f) % 1f, 0.45f, 0.65f);

            tooltips.Add(new TooltipLine(mod, "Dedicated", Idglib.ColorText(c, "Dedicated to a stupid Heroforge meme")));
        }
示例#14
0
 public override void SetStaticDefaults()
 {
     DisplayName.SetDefault("Autoclicker");
     Tooltip.SetDefault("Summons Cursors to click on enemies\nClicks may spawn a cookie when this item is held, more likely with more max sentry summons\nCan pickup the cookie to gain health, minion range, and a click rate buff\n" + Idglib.ColorText(Color.Orange, "Requires 1 Cooldown stack, adds 30 seconds each"));
     ItemID.Sets.GamepadWholeScreenUseRange[item.type] = true;             // This lets the player target anywhere on the whole screen while using a controller.
     ItemID.Sets.LockOnIgnoresCollision[item.type]     = true;
 }
示例#15
0
 public override void SetStaticDefaults()
 {
     DisplayName.SetDefault("Mining Amulet Tier 1");
     Tooltip.SetDefault("25% increased mining/hammering/chopping speed\n" + Idglib.ColorText(Color.Red, "There is a very rare chance to consume an extra item whenever items are consumed"));
 }
示例#16
0
 public override void SetStaticDefaults()
 {
     DisplayName.SetDefault("Toxicity Potion");
     Tooltip.SetDefault("'60 IQ dialog of swearing intensifies'\nNearby enemies who are Stinky may infect other enemies when near you\nWhile you are Stinky and take damage, you spit out random swear words\nThis can rarely happen when you damage a Stinky enemy\nThese do area damage to ALL nearby NPCs\nThis is boosted by Thorns and if they are also Stinky\nFurthermore you also gain reduced aggro\nAll Town NPCs sell [i: " + ItemID.StinkPotion + "] to you while under this effect\n" + Idglib.ColorText(Color.Red, "Grants immunity to Intimacy and Lovestruct") + "\n" + Idglib.ColorText(Color.Red, "NPCs become unhappy talking to you and charge more money"));
 }
示例#17
0
 public override void SetStaticDefaults()
 {
     DisplayName.SetDefault("Powerjack");
     Tooltip.SetDefault("Whie in hand:\n15% increase to all movement speed, 25 life restored on kill\n" + Idglib.ColorText(Color.Red, "20% increased damage taken") + "\nCan smash alters");
 }
示例#18
0
 public override void SetStaticDefaults()
 {
     DisplayName.SetDefault("Space Bender Potion");
     Tooltip.SetDefault("'Distance doesn't matter when you flatten space like paper'\nGrants unlimited flight\n" + Idglib.ColorText(Color.Red, "But flying when wingtime is too low will drain your health") + "\n" + Idglib.ColorText(Color.Red, "Mounts drain health as well"));
 }
示例#19
0
 public override void ModifyTooltips(List <TooltipLine> tooltips)
 {
     tooltips.Add(new TooltipLine(mod, "LootBoxLine", Idglib.ColorText(Color.SkyBlue, "Rare chance at getting special item!")));
 }
示例#20
0
 public override void SetStaticDefaults()
 {
     DisplayName.SetDefault("Fridgeflame Concoction");
     Tooltip.SetDefault("'A Potion of Ice and Fire'" +
                        "\nGrants 25% reduced Damage-over-time caused by Debuffs\nGain an extra 15% less damage while you have Frostburn or OnFire! (Both do not stack)\n25% less damage from cold sources, Obsidian Rose effect\n" + Idglib.ColorText(Color.Red, "Removes Immunity to both Frostburn and OnFire!"));
 }
 public override void SetStaticDefaults()
 {
     DisplayName.SetDefault("Seraphim Shard");
     Tooltip.SetDefault("'Some things are better left forgotten...'\nThis shard summons powerful copies to protect its user\n" + Idglib.ColorText(Color.Red, "At a cost, you lose 50 max life per active shard\nSummon can't be used if life dropped exceeds max vanilla health"));
     ItemID.Sets.GamepadWholeScreenUseRange[item.type] = true;             // This lets the player target anywhere on the whole screen while using a controller.
     ItemID.Sets.LockOnIgnoresCollision[item.type]     = true;
 }
 public override void SetStaticDefaults()
 {
     DisplayName.SetDefault("Cirno's Wings");
     Tooltip.SetDefault("Low Flight time, but very high mobility\nGain Immunity to Chilled, Frozen, Frostburn, and Snowfrosted\nTake 20% less damage from cold sources and deal 20% increased cold projectile damage\nCold Damage projectiles inflict Frostburn\nMagic attacks rarely inflict Frostburn" +
                        "\nYou gain wing time in the snow biome, " + Idglib.ColorText(Color.Red, "But halved in the Desert, Jungle, and Underworld due to heat") + "\nInDev Ice Fairy <3");
 }
        public override void ModifyTooltips(List <TooltipLine> tooltips)
        {
            SGAmod.GemColors.TryGetValue(gemType, out Color color);

            tooltips.Add(new TooltipLine(mod, "LaserColor", Idglib.ColorText(color, "Gem Colored Lens")));
        }