not all solutions are elegant
This commit is contained in:
1 parent
71fa2eed5f
commit
6f12649cc2
1 file changed
+27
-10
@@ -5,6 +5,7 @@ using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Projectiles.Summon;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System.Collections.Generic;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -17,16 +18,16 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Flamsteed Ring");
|
||||
Tooltip.SetDefault(@"Summons a colossal controllable mech
|
||||
Right click to display the mech's control panel
|
||||
The panel has 3 configurations, selected using the brackets on the edges of the UI
|
||||
Each bracket powers 2 out of 3 possible functions, represented by the circular icons.
|
||||
The bottom left icon miniaturizes the mech to the size of a player, but weakens its weapons.
|
||||
The bottom right icon is a powerful jet booster which greatly enhances movement.
|
||||
The top icon is the mech's weaponry. It must be powered in order to attack.
|
||||
Click the top icon to switch between Regicide, an enormous energy blade, and a powerful Gauss rifle.
|
||||
Exiting the mount while a boss is alive will temporarily hinder your movement
|
||||
[c/87ceeb:Now, make them pay.]");
|
||||
Tooltip.SetDefault("Summons a colossal controllable mech\n" +
|
||||
"Right click to display the mech's control panel\n" +
|
||||
"The panel has 3 configurations, selected using the brackets on the edges of the UI\n" +
|
||||
"Each bracket powers 2 out of 3 possible functions, represented by the circular icons.\n" +
|
||||
"The bottom left icon miniaturizes the mech to the size of a player, but weakens its weapons.\n" +
|
||||
"The bottom right icon is a powerful jet booster which greatly enhances movement.\n" +
|
||||
"The top icon is the mech's weaponry. It must be powered in order to attack.\n" +
|
||||
"Click the top icon to switch between Regicide, an enormous energy blade, and a powerful Gauss rifle.\n" +
|
||||
"Exiting the mount while a boss is alive will temporarily hinder your movement\n" +
|
||||
"[c/87ceeb:Now, make them pay.]");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -47,6 +48,22 @@ Exiting the mount while a boss is alive will temporarily hinder your movement
|
||||
item.summon = true;
|
||||
}
|
||||
|
||||
public override void ModifyTooltips(List<TooltipLine> list)
|
||||
{
|
||||
Mod crouchMod = ModLoader.GetMod("CrouchMod");
|
||||
if (crouchMod != null)
|
||||
{
|
||||
foreach (TooltipLine line2 in list)
|
||||
{
|
||||
if (line2.mod == "Terraria" && line2.Name == "Tooltip9")
|
||||
{
|
||||
line2.text = "Big, oversized robots can't crouch. Please don't try.\n" +
|
||||
"[c/87ceeb:Now, make them pay.]";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
|
||||
Reference in new issue
Block a user