1 - Made summon items clearer.

This commit is contained in:
Andrew Marheine committed 2022-01-20 06:19:27 -06:00
1 parent 96b14c5d1f
commit c99ff0a648
24 files changed
+55 -29

No files matched your search

+28
View File
@@ -325,6 +325,34 @@ namespace CalamityMod.Items
EditTooltipByNum(0, (line) => line.text = "Shoots splitting arrows");
#endregion
// For boss summon item clarity
#region Boss Summon Tooltip Edits
if (item.type == ItemID.Abeemination)
EditTooltipByNum(0, (line) => line.text += " when used in the jungle");
if (item.type == ItemID.BloodySpine)
EditTooltipByNum(0, (line) => line.text += " when used in the crimson");
if (item.type == ItemID.Abeemination)
EditTooltipByNum(0, (line) => line.text += "\nWhile equipped, summons Skeletron when the Clothier is killed during nighttime");
if (item.type == ItemID.GuideVoodooDoll)
EditTooltipByNum(0, (line) => line.text += "\nSummons the Wall of Flesh if thrown into lava in the underworld while the Guide is alive");
if (item.type == ItemID.LihzahrdPowerCell)
EditTooltipByNum(0, (line) => line.text += " to summon the Golem");
if (item.type == ItemID.MechanicalEye || item.type == ItemID.MechanicalSkull || item.type == ItemID.MechanicalWorm || item.type == ItemID.SuspiciousLookingEye)
EditTooltipByNum(0, (line) => line.text += " when used during nighttime");
if (item.type == ItemID.TruffleWorm)
EditTooltipByName("Consumable", (line) => line.text += "\nSummons Duke Fishron if used as bait in the ocean");
if (item.type == ItemID.WormFood)
EditTooltipByNum(0, (line) => line.text += " when used in the corruption");
#endregion
// Black Belt and Master Ninja Gear have guaranteed dodges on a 90 second cooldown.
#region Dodging Belt Tooltips
string beltDodgeLine = "Grants the ability to dodge attacks\n" +
+2 -2
View File
@@ -12,8 +12,8 @@ namespace CalamityMod.Items.SummonItems
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Abombination");
Tooltip.SetDefault("Calls in the airborne jungle abomination\n" +
"Summons the Plaguebringer Goliath\n" +
Tooltip.SetDefault("Calls in the airborne abomination\n" +
"Summons the Plaguebringer Goliath when used in the jungle\n" +
"Not consumable");
}
+1 -1
View File
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.SummonItems
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Astral Chunk");
Tooltip.SetDefault("Summons Astrum Aureus\n" +
Tooltip.SetDefault("Summons Astrum Aureus when used in the astral infection during nighttime\n" +
"Not consumable");
}
+2
View File
@@ -4,6 +4,7 @@ using CalamityMod.NPCs.Bumblebirb;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.SummonItems
{
public class BirbPheromones : ModItem
@@ -12,6 +13,7 @@ namespace CalamityMod.Items.SummonItems
{
DisplayName.SetDefault("Exotic Pheromones");
Tooltip.SetDefault("Attracts the failed draconic experiment\n" +
"Summon The Dragonfolly when used in the jungle\n" +
"Not consumable");
}
+1 -1
View File
@@ -13,7 +13,7 @@ namespace CalamityMod.Items.SummonItems
{
DisplayName.SetDefault("Eye of Desolation");
Tooltip.SetDefault("Tonight is going to be a horrific night...\n" +
"Summons Calamitas\n" +
"Summons Calamitas when used during nighttime\n" +
"Not consumable");
}
+1
View File
@@ -9,6 +9,7 @@ namespace CalamityMod.Items.SummonItems
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Bloodworm");
Tooltip.SetDefault("Summons The Old Duke if used as bait in the sulphur sea");
}
public override void SetDefaults()
+1 -1
View File
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.SummonItems
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Bloody Worm Food");
Tooltip.SetDefault("Summons the Perforator Hive\n" +
Tooltip.SetDefault("Summons the Perforator Hive when used in the crimson\n" +
"Not consumable");
}
+1 -1
View File
@@ -11,7 +11,7 @@ namespace CalamityMod.Items.SummonItems
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Portabulb");
Tooltip.SetDefault("Summons Plantera\n" +
Tooltip.SetDefault("Summons Plantera when used in the jungle\n" +
"Not consumable");
}
+2 -2
View File
@@ -13,8 +13,8 @@ namespace CalamityMod.Items.SummonItems
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Charred Idol");
Tooltip.SetDefault("Use in the Brimstone Crag at your own risk\n" +
"Summons the Brimstone Elemental\n" +
Tooltip.SetDefault("Use at your own risk\n" +
"Summons the Brimstone Elemental when used in the brimstone crags\n" +
"Not consumable");
}
+2 -2
View File
@@ -12,8 +12,8 @@ namespace CalamityMod.Items.SummonItems
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Jungle Dragon Egg");
Tooltip.SetDefault("Summons the loyal guardian of the tyrant king\n" +
"It yearns for the jungle\n" +
Tooltip.SetDefault("An imitation of the egg that bore the loyal guardian of the tyrant king\n" +
"Summons Jungle Dragon, Yharon when used in the jungle\n" +
"Not consumable");
}
+1 -2
View File
@@ -12,8 +12,7 @@ namespace CalamityMod.Items.SummonItems
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Cryo Key");
Tooltip.SetDefault("Summons Cryogen\n" +
"The boss enrages outside of the snowy tundra\n" +
Tooltip.SetDefault("Summons Cryogen when used in the tundra\n" +
"Not consumable");
}
+1 -1
View File
@@ -10,7 +10,7 @@ namespace CalamityMod.Items.SummonItems
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Decapodita Sprout");
Tooltip.SetDefault("Summons Crabulon\n" +
Tooltip.SetDefault("Summons Crabulon when used in the mushroom biome\n" +
"Not consumable");
}
+1 -2
View File
@@ -13,8 +13,7 @@ namespace CalamityMod.Items.SummonItems
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Desert Medallion");
Tooltip.SetDefault("The desert sand stirs...\n" +
"Summons the Desert Scourge\n" +
Tooltip.SetDefault("Summons the Desert Scourge when used in the desert\n" +
"Not consumable");
}
+2 -1
View File
@@ -11,7 +11,8 @@ namespace CalamityMod.Items.SummonItems
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Eidolon Tablet");
Tooltip.SetDefault("Not consumable");
Tooltip.SetDefault("Summons the Lunatic Cultist\n" +
"Not consumable");
}
public override void SetDefaults()
+1 -2
View File
@@ -1,7 +1,6 @@
using CalamityMod.Events;
using CalamityMod.Items.Materials;
using CalamityMod.NPCs.Polterghast;
using CalamityMod.World;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
@@ -16,7 +15,7 @@ namespace CalamityMod.Items.SummonItems
{
DisplayName.SetDefault("Necroplasmic Beacon");
Tooltip.SetDefault("It's spooky\n" +
"Summons Polterghast\n" +
"Summons Polterghast when used in the dungeon\n" +
"Not consumable");
}
+1 -1
View File
@@ -11,7 +11,7 @@ namespace CalamityMod.Items.SummonItems
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Old Power Cell");
Tooltip.SetDefault("Summons the Golem when used in the Temple\n" +
Tooltip.SetDefault("Summons the Golem when used in the temple\n" +
"Not consumable");
}
+1 -2
View File
@@ -1,6 +1,5 @@
using CalamityMod.Events;
using CalamityMod.NPCs.Providence;
using CalamityMod.World;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
@@ -13,7 +12,7 @@ namespace CalamityMod.Items.SummonItems
{
DisplayName.SetDefault("Profaned Core");
Tooltip.SetDefault("The core of the unholy flame\n" +
"Summons Providence\n" +
"Summons Providence when used in the hallow or underworld\n" +
"Should be used during daytime\n" +
"Not consumable");
}
+1 -2
View File
@@ -13,8 +13,7 @@ namespace CalamityMod.Items.SummonItems
{
DisplayName.SetDefault("Profaned Shard");
Tooltip.SetDefault("A shard of the unholy flame\n" +
"Summons the Profaned Guardians\n" +
"Can only be used during daytime\n" +
"Summons the Profaned Guardians when used in the hallow or underworld during daytime\n" +
"Not consumable");
}
+1 -1
View File
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.SummonItems
DisplayName.SetDefault("Rune of Kos");
Tooltip.SetDefault("A relic of the profaned flame\n" +
"Contains the power hunted relentlessly by the sentinels of the cosmic devourer\n" +
"When used in certain areas of the world it will unleash them\n" +
"When used in certain areas of the world, it will unleash them\n" +
"Not consumable");
}
+1 -1
View File
@@ -9,7 +9,7 @@ namespace CalamityMod.Items.SummonItems
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Sandstorm's Core");
Tooltip.SetDefault("Summons the Great Sand Shark\n" +
Tooltip.SetDefault("Summons the Great Sand Shark when used in the desert\n" +
"Not consumable");
}
+1 -2
View File
@@ -13,8 +13,7 @@ namespace CalamityMod.Items.SummonItems
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Seafood");
Tooltip.SetDefault("The sulphuric sand stirs...\n" +
"Summons the Aquatic Scourge\n" +
Tooltip.SetDefault("Summons the Aquatic Scourge when used in the sulphur sea\n" +
"Not consumable");
}
+1 -1
View File
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.SummonItems
{
DisplayName.SetDefault("Starcore");
Tooltip.SetDefault("May the stars guide your way\n" +
"Summons Astrum Deus at the Astral Beacon but is not consumed.");
"Summons Astrum Deus at the Astral Beacon, but is not consumed");
}
public override void SetDefaults()
+1 -1
View File
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.SummonItems
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Teratoma");
Tooltip.SetDefault("Summons the Hive Mind\n" +
Tooltip.SetDefault("Summons the Hive Mind when used in the corruption\n" +
"Not consumable");
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB