32 lines
986 B
C#
32 lines
986 B
C#
using Terraria.ID;
|
|
using Terraria;
|
|
using Terraria.ModLoader;
|
|
using ForgottenWawiTech.Content.Rarities;
|
|
|
|
namespace ForgottenWawiTech.Content.Items.Materials
|
|
{
|
|
public class SingularityAlloy : ModItem
|
|
{
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 20;
|
|
Item.height = 20;
|
|
Item.maxStack = 9999;
|
|
Item.rare = ModContent.RarityType<SingularityItem>();
|
|
Item.value = Item.buyPrice(gold: 10);
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe()
|
|
.AddIngredient(ModContent.ItemType<ControlledSingularity>(), 2)
|
|
.AddIngredient(ItemID.HallowedBar, 5)
|
|
.AddIngredient(ItemID.SoulofMight, 3)
|
|
.AddIngredient(ItemID.SoulofSight, 3)
|
|
.AddIngredient(ItemID.SoulofFright, 3)
|
|
.AddTile<Content.Tiles.CraftingStations.SingularitySealingUnit>()
|
|
.Register();
|
|
}
|
|
}
|
|
} |