Files
CalamityModPublic/Items/Mounts/ExoThrone.cs
T
tomat 67bceff6e7 Initial dotnet format pass.
This commit formats the entire codebase according to `dotnet format` and its limited understanding of our provided `.editorconfig`.
2024-02-28 21:49:50 -08:00

28 lines
920 B
C#

using System.Collections.Generic;
using CalamityMod.Rarities;
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);
}
}