Files
CalamityModPublic/Items/LoreItems/KnowledgeAstrumDeus.cs
T

37 lines
1.1 KiB
C#

using CalamityMod.CalPlayer;
using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeAstrumDeus : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Astrum Deus");
Tooltip.SetDefault("God of the stars and largest vessel for the Astral Infection.\n" +
"Though struck down from its place among the stars its remnants have gathered strength, aiming to take its rightful place in the cosmos once more.\n" +
"Place in your inventory to gain increased movement speed in space.");
}
public override void SetDefaults()
{
item.width = 20;
item.height = 20;
item.rare = 9;
item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void UpdateInventory(Player player)
{
CalamityPlayer modPlayer = player.Calamity();
modPlayer.astrumDeusLore = true;
}
}
}