41 lines
1.4 KiB
C#
41 lines
1.4 KiB
C#
using System.Collections.Generic;
|
|
using CalamityMod.Items.Materials;
|
|
using CalamityMod.Rarities;
|
|
using CalamityMod.Tiles.Furniture.CraftingStations;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Armor.GemTech
|
|
{
|
|
[AutoloadEquip(EquipType.Legs)]
|
|
public class GemTechSchynbaulds : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Armor.PostMoonLord";
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 28;
|
|
Item.height = 26;
|
|
Item.defense = 24;
|
|
Item.value = CalamityGlobalItem.RarityVioletBuyPrice;
|
|
Item.rare = ModContent.RarityType<ExoticRainbow>();
|
|
Item.Calamity().donorItem = true;
|
|
}
|
|
|
|
public override void ModifyTooltips(List<TooltipLine> tooltips) => GemTechHeadgear.ModifySetTooltips(this, tooltips);
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe().
|
|
AddIngredient<ExoPrism>(12).
|
|
AddIngredient(ItemID.FragmentSolar, 4).
|
|
AddIngredient(ItemID.FragmentVortex, 4).
|
|
AddIngredient(ItemID.FragmentNebula, 4).
|
|
AddIngredient(ItemID.FragmentStardust, 4).
|
|
AddIngredient<MeldBlob>(4).
|
|
AddIngredient<CoreofCalamity>(2).
|
|
AddTile<DraedonsForge>().
|
|
Register();
|
|
}
|
|
}
|
|
}
|