Merge pull request #73 from UncleDanny/grammar-fixes

Numerous spelling and grammar fixes to tooltips
This commit is contained in:
Cameron Ewell authored and GitHub committed 2020-05-12 16:00:09 -04:00
commit f23b4ac199
29 files changed
+170 -117

No files matched your search

+76 -88
View File
@@ -71,95 +71,83 @@ namespace CalamityMod.Buffs
public override void ModifyBuffTip(int type, ref string tip, ref int rare)
{
Player player = Main.player[Main.myPlayer];
if (type == BuffID.NebulaUpDmg1)
tip = "7.5% increased damage";
else if (type == BuffID.NebulaUpDmg2)
tip = "15% increased damage";
else if (type == BuffID.NebulaUpDmg3)
tip = "22.5% increased damage";
else if (type == BuffID.WeaponImbueVenom || type == BuffID.WeaponImbueCursedFlames || type == BuffID.WeaponImbueFire || type == BuffID.WeaponImbueGold ||
type == BuffID.WeaponImbueIchor || type == BuffID.WeaponImbueNanites || type == BuffID.WeaponImbuePoison)
tip = "Rogue and " + tip;
else if (type == BuffID.WeaponImbueConfetti)
tip = "All attacks cause confetti to appear";
else if (type == BuffID.IceBarrier)
tip = "Damage taken is reduced by 15%";
else if (type == BuffID.ChaosState)
tip = "Rod of Discord teleports are disabled";
else if (type == BuffID.Ichor)
//Vanilla buffs
switch (type)
{
tip = "Defense reduced by 20";
if (CalamityWorld.revenge)
tip += ". All damage taken increased by 25%";
}
else if (type == BuffID.CursedInferno && CalamityWorld.revenge)
tip += ". All damage taken increased by 20%";
else if (type == BuffID.Warmth)
{
tip += ". Immunity to the Chilled, Frozen, and Glacial State debuffs";
if (CalamityWorld.death)
tip += ". Provides cold protection in Death Mode";
}
else if (type == BuffID.Invisibility)
tip += ". Grants rogue bonuses while holding certain rogue weapons";
else if (type == BuffID.ObsidianSkin && CalamityWorld.death)
tip += ". Provides heat protection in Death Mode";
else if (type == BuffID.Inferno && CalamityWorld.death)
tip += ". Provides cold protection in Death Mode";
else if (type == BuffID.Campfire && CalamityWorld.death)
tip += ". Provides cold protection in Death Mode";
else if (type == ModContent.BuffType<Molten>() && CalamityWorld.death)
tip += ". Provides cold protection in Death Mode";
else if (type == ModContent.BuffType<ProfanedBabs>())
{
bool offense = player.Calamity().gOffense;
bool defense = player.Calamity().gDefense;
if (player.Calamity().profanedCrystal && (!player.Calamity().profanedCrystalBuffs && !CalamityWorld.downedSCal))
{
tip = "The Profaned Babs will accompany you!";
}
else if (offense && defense)
{
tip = "The Profaned Babs will fight for and defend you!";
}
else if (offense || defense)
{
tip = "The " + (offense ? "Offensive" : "Defensive") + " Duo will " + (offense ? "fight for and heal you!" : "protect and heal you!");
}
}
else if (type == ModContent.BuffType<ProfanedCrystalBuff>())
{
if (player.Calamity().profanedCrystalBuffs)
{
if (player.Calamity().endoCooper)
{
tip = "An ascended ice construct is suppressing your true potential..";
}
else if (player.Calamity().magicHat)
{
tip = "A magical hat overwhelms your senses, squandering your true potential..";
}
else
{
bool offense = (Main.dayTime && !player.wet) || player.lavaWet;
bool enrage = player.statLife <= (int)(player.statLifeMax2 * 0.5);
tip = "You are an emissary of the profaned goddess now!\n" +
(offense ? "The " + (Main.dayTime ? "light of the sun" : "heat of the lava") + " empowers your offensive capabilities" :
"The " + (player.wet ? (player.honeyWet ? "honey cools" : "water douses") : "darkness of night cools") + " your flames, empowering your defensive capabilities") +
(enrage ? "\nYour weakened life force fuels your desperate attacks" : "");
}
}
else if (CalamityWorld.downedSCal)
{
tip = "Your profaned soul is constrained by your insufficient summoning powers";
}
}
else if (type == ModContent.BuffType<Horror>())
{
if (player.Calamity().laudanum || player.Calamity().draedonsHeart)
{
tip = "The horror fuels your strength";
}
case BuffID.NebulaUpDmg1:
tip = "7.5% increased damage";
break;
case BuffID.NebulaUpDmg2:
tip = "15% increased damage";
break;
case BuffID.NebulaUpDmg3:
tip = "22.5% increased damage";
break;
case BuffID.WeaponImbueVenom:
case BuffID.WeaponImbueCursedFlames:
case BuffID.WeaponImbueFire:
case BuffID.WeaponImbueGold:
case BuffID.WeaponImbueIchor:
case BuffID.WeaponImbueNanites:
case BuffID.WeaponImbuePoison:
tip = "Rogue and " + tip;
break;
case BuffID.WeaponImbueConfetti:
tip = "All attacks cause confetti to appear";
break;
case BuffID.IceBarrier:
tip = "Damage taken is reduced by 15%";
break;
case BuffID.ChaosState:
tip = "Rod of Discord teleports are disabled";
break;
case BuffID.Ichor:
tip = "Defense reduced by 20";
if (CalamityWorld.revenge)
tip += ". All damage taken increased by 25%";
break;
case BuffID.CursedInferno:
if (CalamityWorld.revenge)
tip += ". All damage taken increased by 20%";
break;
case BuffID.Warmth:
tip += ". Immunity to the Chilled, Frozen, and Glacial State debuffs";
if (CalamityWorld.death)
tip += ". Provides cold protection in Death Mode";
break;
case BuffID.Invisibility:
tip += ". Grants rogue bonuses while holding certain rogue weapons";
break;
case BuffID.ObsidianSkin:
if (CalamityWorld.death)
tip += ". Provides heat protection in Death Mode";
break;
case BuffID.Inferno:
if (CalamityWorld.death)
tip += ". Provides cold protection in Death Mode";
break;
case BuffID.Campfire:
if (CalamityWorld.death)
tip += ". Provides cold protection in Death Mode";
break;
case BuffID.Daybreak:
tip = "Incinerated by solar rays";
break;
}
}
}
+1 -1
View File
@@ -9,7 +9,7 @@ namespace CalamityMod.Buffs.Potions
{
DisplayName.SetDefault("Penumbra");
Description.SetDefault("Stealth regenerates at 10% speed while moving\n" +
"The boost increases to 20% at night and 30% during an eclipse");
"The boost increases to 20% at night and to 30% during an eclipse");
Main.debuff[Type] = false;
Main.pvpBuff[Type] = true;
Main.buffNoSave[Type] = false;
+8 -1
View File
@@ -1,4 +1,5 @@
using Terraria;
using CalamityMod.World;
using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.Buffs.StatBuffs
@@ -19,5 +20,11 @@ namespace CalamityMod.Buffs.StatBuffs
{
player.Calamity().molten = true;
}
public override void ModifyBuffTip(ref string tip, ref int rare)
{
if (CalamityWorld.death)
tip += ". Provides cold protection in Death Mode";
}
}
}
+29
View File
@@ -23,5 +23,34 @@ namespace CalamityMod.Buffs.StatBuffs
player.Calamity().profanedCrystalBuffs = true;
}
}
public override void ModifyBuffTip(ref string tip, ref int rare)
{
Player player = Main.player[Main.myPlayer];
if (player.Calamity().profanedCrystalBuffs)
{
if (player.Calamity().endoCooper)
{
tip = "An ascended ice construct is suppressing your true potential..";
}
else if (player.Calamity().magicHat)
{
tip = "A magical hat overwhelms your senses, squandering your true potential..";
}
else
{
bool offense = (Main.dayTime && !player.wet) || player.lavaWet;
bool enrage = player.statLife <= (int)(player.statLifeMax2 * 0.5);
tip = "You are an emissary of the profaned goddess now!\n" +
(offense ? "The " + (Main.dayTime ? "light of the sun" : "heat of the lava") + " empowers your offensive capabilities" :
"The " + (player.wet ? (player.honeyWet ? "honey cools" : "water douses") : "darkness of night cools") + " your flames, empowering your defensive capabilities") +
(enrage ? "\nYour weakened life force fuels your desperate attacks" : "");
}
}
else if (CalamityWorld.downedSCal)
{
tip = "Your profaned soul is constrained by your insufficient summoning powers";
}
}
}
}
+9
View File
@@ -19,5 +19,14 @@ namespace CalamityMod.Buffs.StatDebuffs
{
player.Calamity().horror = true;
}
public override void ModifyBuffTip(ref string tip, ref int rare)
{
Player player = Main.player[Main.myPlayer];
if (player.Calamity().laudanum || player.Calamity().draedonsHeart)
{
tip = "The horror fuels your strength";
}
}
}
}
+20
View File
@@ -1,5 +1,6 @@
using CalamityMod.CalPlayer;
using CalamityMod.Projectiles.Summon;
using CalamityMod.World;
using Terraria;
using Terraria.ModLoader;
@@ -28,5 +29,24 @@ namespace CalamityMod.Buffs.Summon
player.buffTime[buffIndex] = 18000;
}
}
public override void ModifyBuffTip(ref string tip, ref int rare)
{
Player player = Main.player[Main.myPlayer];
bool offense = player.Calamity().gOffense;
bool defense = player.Calamity().gDefense;
if (player.Calamity().profanedCrystal && (!player.Calamity().profanedCrystalBuffs && !CalamityWorld.downedSCal))
{
tip = "The Profaned Babs will accompany you!";
}
else if (offense && defense)
{
tip = "The Profaned Babs will fight for and defend you!";
}
else if (offense || defense)
{
tip = "The " + (offense ? "Offensive" : "Defensive") + " Duo will " + (offense ? "fight for and heal you!" : "protect and heal you!");
}
}
}
}
+1 -1
View File
@@ -11,7 +11,7 @@ namespace CalamityMod.Items.Placeables.Furniture
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Effigy of Decay");
Tooltip.SetDefault("When placed down nearby players can breath underwater\n" +
Tooltip.SetDefault("When placed down, nearby players can breath underwater\n" +
"This effect does not work in the abyss\n" +
"Nearby players are also immune to the sulphuric poisoning");
}
+1 -1
View File
@@ -16,7 +16,7 @@ namespace CalamityMod.Items.Weapons.Melee
{
DisplayName.SetDefault("Cosmic Shiv");
Tooltip.SetDefault("Definitely don't underestimate the power of shivs\n" +
"Fires a cosmic beam that home in on enemies\n" +
"Fires a cosmic beam that homes in on enemies\n" +
"Upon hitting an enemy, a barrage of offscreen objects home in on the enemy as well as raining stars");
}
+1 -1
View File
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
DisplayName.SetDefault("Blazing Star");
Tooltip.SetDefault("Stacks up to 3\n" +
"Stealth strikes releases all stars at once with infinite piercing");
"Stealth strikes release all stars at once with infinite piercing");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Weapons.Rogue
DisplayName.SetDefault("Bloodsoaked Crasher");
Tooltip.SetDefault("Slows down when hitting an enemy. Speeds up otherwise\n" +
"Heals on enemy hits\n" +
"Stealth strikes spawns homing blood on enemy hits");
"Stealth strikes spawn homing blood on enemy hits");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Weapons.Rogue
DisplayName.SetDefault("Bouncing Eyeball");
Tooltip.SetDefault("Throws an eyeball that bounces off of surfaces.\n" +
"Knockback is much stronger during a blood moon\n" +
"Stealth strikes causes the eyeballs to move much faster and bounce more energetically");
"Stealth strikes cause the eyeballs to move much faster and bounce more energetically");
}
public override void SafeSetDefaults()
{
+1 -1
View File
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Weapons.Rogue
DisplayName.SetDefault("Celestial Reaper");
Tooltip.SetDefault("Throws a fast homing scythe\n" +
"The scythe will bounce after hitting an enemy up to six times\n" +
"Stealth strikes creates damaging afterimages");
"Stealth strikes create damaging afterimages");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
DisplayName.SetDefault("Crystalline");
Tooltip.SetDefault("Splits into several projectiles as it travels \n" +
"Stealth Strikes makes the blade split more and create crystals when destroyed");
"Stealth strikes make the blade split more and create crystals when destroyed");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.Weapons.Rogue
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Defective Sphere");
Tooltip.SetDefault(@"Fires a variety deadly spheres with different effects
Tooltip.SetDefault(@"Fires a variety of deadly spheres with different effects
Stacks up to 5
Stealth strikes launch all 4 sphere types at once");
}
+1 -1
View File
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
DisplayName.SetDefault("Dune Hopper");
Tooltip.SetDefault(@"Throws a spear that bounces a lot
Stealth strikes throws three high speed spears");
Stealth strikes throw three high speed spears");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Weapons.Rogue
DisplayName.SetDefault("Enchanted Axe");
Tooltip.SetDefault("Throws a high velocity axe that returns to you after travelling a short distance or hitting a wall\n" +
"At the furthest point from the player, a magical axe that travels through walls will be cast towards the nearest enemy\n" +
"Stealth strikes makes the axe fly further, throwing out many other magical axes in all directions");
"Stealth strikes make the axe fly further, throwing out many other magical axes in all directions");
}
public override void SafeSetDefaults()
+3 -3
View File
@@ -12,9 +12,9 @@ namespace CalamityMod.Items.Weapons.Rogue
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Epidemic Shredder");
Tooltip.SetDefault("Throws a plagued boomerang that releases plague seekers when it hits tiles or enemies\n" +
"Stealth strikes makes the boomerang release plague seekers constantly as it travels\n" +
"'Contrary to its name, it will probably cause an epidemic if used incorrectly'");
Tooltip.SetDefault("Contrary to its name, it will probably cause an epidemic if used incorrectly\n" +
"Throws a plagued boomerang that releases plague seekers when it hits tiles or enemies\n" +
"Stealth strikes cause the boomerang release plague seekers constantly as it travels");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -16,7 +16,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
DisplayName.SetDefault("Frostcrush Valari");
Tooltip.SetDefault(@"Fires a long ranged boomerang that explodes into icicles on hit
Stealth strikes throws three short ranged boomerangs along with a spread of icicles");
Stealth strikes throw three short ranged boomerangs along with a spread of icicles");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
DisplayName.SetDefault("God's Paranoia");
Tooltip.SetDefault(@"Shoots a speedy homing spiky ball. Stacks up to 10.
Attaches to enemies and summons localized storm of god slayer kunai
Attaches to enemies and summons a localized storm of god slayer kunai
Stealth strikes home in faster and summon kunai at a faster rate
Right click to delete all existing spiky balls");
}
+1 -1
View File
@@ -13,7 +13,7 @@ namespace CalamityMod.Items.Weapons.Rogue
DisplayName.SetDefault("Heavenfallen Stardisk");
Tooltip.SetDefault("Throws a stardisk upwards which then launches itself towards your mouse cursor,\n" +
"explodes into several astral energy bolts if the thrower is moving vertically when throwing it and during its impact\n" +
"Stealth strikes spawn astral energy bolts from the sky as it flies");
"Stealth strikes rain astral energy bolts from the sky");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
DisplayName.SetDefault("Iron Francisca");
Tooltip.SetDefault("The franciscas do more damage for a short time when initially thrown\n" +
"Stealth strikes makes the franciscas have infinite piercing");
"Stealth strikes pierce infinitely");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
DisplayName.SetDefault("Lead Tomahawk");
Tooltip.SetDefault("The tomahawks have more damage for a short time when initially thrown\n" +
"Stealth strikes makes the tomahawks pierce infinitely");
"Stealth strikes pierce infinitely");
}
public override void SafeSetDefaults()
+3 -3
View File
@@ -11,9 +11,9 @@ namespace CalamityMod.Items.Weapons.Rogue
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Metal Monstrosity");
Tooltip.SetDefault("Hurls a heavy metal ball that shatters on impact \n" +
"Stealth Strikes makes the ball release spikes as it travels \n" +
"'This has to hurt'");
Tooltip.SetDefault("This has to hurt\n" +
"Hurls a heavy metal ball that shatters on impact\n" +
"Stealth strikes cause the ball to release spikes as it travels");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
DisplayName.SetDefault("Meteor Fist");
Tooltip.SetDefault("Fires a fist that explodes \n" +
"Stealth Strikes makes the fist ricochet between enemies up to 4 times");
"Stealth strikes make the fist ricochet between enemies up to 4 times");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -16,7 +16,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
DisplayName.SetDefault("Penumbra");
Tooltip.SetDefault("Throws a shadow bomb that explodes into homing souls \n" +
"Stealth Strikes makes the bomb manifest on the cursor and explode into more souls");
"Stealth strikes make the bomb manifest on the cursor and explode into more souls");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Items.Weapons.Rogue
DisplayName.SetDefault("Sandslasher");
Tooltip.SetDefault("Throws a huge shuriken made out of fused sand unaffected by gravity which slowly accelerates horizontally\n"
+"It does more damage depending on how fast it goes horizontally and how long it has been flying for\n"
+"Stealth strikes makes the shuriken release sand clouds as it travels");
+"Stealth strikes periodically release sand clouds");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
DisplayName.SetDefault("Sky Stabber");
Tooltip.SetDefault("Shoots a gravity-defying spiky ball. Stacks up to 4.\n" +
"Stealth strikes makes the balls rain feathers onto enemies when they hit\n" +
"Stealth strikes make the balls rain feathers onto enemies when they hit\n" +
"Right click to delete all existing spiky balls");
}
+1 -1
View File
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.Weapons.Rogue
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Wulfrum Knife");
Tooltip.SetDefault("Stealth Strikes makes the knife fly further and hit several times at once");
Tooltip.SetDefault("Stealth strikes make the knife fly further and hit several times at once");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -100,7 +100,7 @@ namespace CalamityMod.NPCs.TownNPCs
if (lilBitch != -1)
{
dialogue.Add("Meet me at " + Main.npc[lilBitch].GivenName + "'s house at night. We're going to throw him to the Trashers.");
dialogue.Add("Not sure how " + Main.npc[lilBitch].GivenName + " has not been roasted and digested by now, hanging around the sulphuric seas for so long. Peharps it got to his head.");
dialogue.Add("Not sure how " + Main.npc[lilBitch].GivenName + " has not been roasted and digested by now, hanging around the sulphuric seas for so long. Perhaps it got to his head.");
}
int cirrus = NPC.FindFirstNPC(ModContent.NPCType<FAP>());