41 lines
1.4 KiB
C#
41 lines
1.4 KiB
C#
using CalamityMod.Projectiles.Typeless;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.SummonItems
|
|
{
|
|
[LegacyName("BossRush")]
|
|
public class Terminus : ModItem
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
SacrificeTotal = 1;
|
|
DisplayName.SetDefault("Terminus");
|
|
Tooltip.SetDefault("A ritualistic artifact, thought to have brought upon The End many millennia ago\n" +
|
|
"Sealed away in the abyss, far from those that would seek to misuse it\n" +
|
|
"Activates Boss Rush Mode, using it again will deactivate Boss Rush Mode\n" +
|
|
"During the Boss Rush, all wires and wired devices will be disabled");
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.rare = ItemRarityID.Blue;
|
|
Item.width = 28;
|
|
Item.height = 28;
|
|
Item.useAnimation = 45;
|
|
Item.useTime = 45;
|
|
Item.channel = true;
|
|
Item.noUseGraphic = true;
|
|
Item.shoot = ModContent.ProjectileType<TerminusHoldout>();
|
|
Item.useStyle = ItemUseStyleID.HoldUp;
|
|
Item.consumable = false;
|
|
}
|
|
|
|
public override void ModifyResearchSorting(ref ContentSamples.CreativeHelper.ItemGroup itemGroup)
|
|
{
|
|
// The wiki classifies Boss Rush as an event
|
|
itemGroup = ContentSamples.CreativeHelper.ItemGroup.EventItem;
|
|
}
|
|
}
|
|
}
|