Files
CalamityModPublic/Items/Mounts/ExoThrone.cs
T
Altixal 7bc61e25cc Localizing ModifyTooltips: Part 1
Also fixed Xyk's forgotten Y. Insig nerf
2023-07-18 02:32:36 +07:00

28 lines
920 B
C#

using CalamityMod.Rarities;
using System.Collections.Generic;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Mounts
{
public class ExoThrone : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Mounts";
public override void SetDefaults()
{
Item.width = 32;
Item.height = 34;
Item.useTime = Item.useAnimation = 20;
Item.useStyle = ItemUseStyleID.Shoot;
Item.UseSound = SoundID.Item94;
Item.noMelee = true;
Item.mountType = ModContent.MountType<DraedonGamerChairMount>();
Item.value = CalamityGlobalItem.RarityVioletBuyPrice;
Item.rare = ModContent.RarityType<Violet>();
}
public override void ModifyTooltips(List<TooltipLine> list) => list.IntegrateHotkey(CalamityKeybinds.ExoChairSlowdownHotkey);
}
}