32 lines
974 B
C#
32 lines
974 B
C#
using Terraria.ID;
|
|
using Terraria;
|
|
using Terraria.ModLoader;
|
|
using ForgottenWawiTech.Content.Rarities;
|
|
|
|
namespace ForgottenWawiTech.Content.Items.Materials
|
|
{
|
|
public class MiniSingularity : ModItem
|
|
{
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 20;
|
|
Item.height = 20;
|
|
Item.maxStack = 9999;
|
|
Item.rare = ModContent.RarityType<SingularityItem>();
|
|
Item.value = Item.buyPrice(gold: 50);
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe()
|
|
.AddIngredient(ItemID.FragmentNebula, 5)
|
|
.AddIngredient(ItemID.FragmentSolar, 5)
|
|
.AddIngredient(ItemID.FragmentVortex, 5)
|
|
.AddIngredient(ItemID.FragmentStardust, 5)
|
|
.AddIngredient(ItemID.WormholePotion, 1)
|
|
.AddTile<Content.Tiles.CraftingStations.SingularitySealingUnit>()
|
|
.Register();
|
|
}
|
|
}
|
|
} |