Files
CalamityModPublic/Items/LoreItems/KnowledgeDestroyer.cs
T
Andrew Marheine fe43841897 P90 Acid Round nerf.
Changes to lore items, except Moon Lord.
Skeletron Death Mode 4 arm change.
2020-02-03 19:00:18 -06:00

38 lines
1.2 KiB
C#

using CalamityMod.CalPlayer;
using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeDestroyer : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("The Destroyer");
Tooltip.SetDefault("A machine brought to life by the mighty souls of warriors, and built to excavate massive tunnels in planets to gather resources.\n" +
"Could have proven useful if Draedon didn't have an obsession with turning everything into a tool of destruction.\n" +
"Place in your inventory to gain a boost to your pick speed.\n" +
"However, your max acceleration is decreased slightly due to you feeling heavier.");
}
public override void SetDefaults()
{
item.width = 20;
item.height = 20;
item.rare = 5;
item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void UpdateInventory(Player player)
{
CalamityPlayer modPlayer = player.Calamity();
modPlayer.destroyerLore = true;
}
}
}