Decimation_Mod/Content/Items/Accessories/RedHotShackle.cs
FyloZ 15d2947c33 Networking stuff for the Dune Wyrm.
Changed Crystal Skull and Red Hot Shackle's sprites
2020-06-05 16:06:36 -04:00

38 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
using Decimation.Lib.Items;
using Decimation.Lib.Util;
namespace Decimation.Content.Items.Accessories
{
internal class RedHotShackle : DecimationAccessory
{
protected override string ItemName => "Red Hot Shackle";
protected override string ItemTooltip => "WIP";
protected override void InitAccessory()
{
item.width = 24;
item.height = 24;
item.rare = Rarity.Green.GetRarityValue();
item.value = Item.buyPrice(0, 0, 2);
item.defense = 1;
}
protected override List<ModRecipe> GetAdditionalRecipes()
{
ModRecipe recipe = GetNewModRecipe(this, 1, new List<int>() { TileID.Furnaces }, true);
recipe.AddIngredient(ItemID.Shackle);
recipe.AddIngredient(ItemID.Gel, 10);
return new List<ModRecipe>() { recipe };
}
}
}