Refactor Book of Unholy, add Singularity Sealing Unit
This commit is contained in:
@@ -22,6 +22,7 @@ namespace ForgottenWawiTech.Content.Items.Materials
|
||||
Recipe recipe = CreateRecipe();
|
||||
recipe.AddIngredient(ModContent.ItemType<MiniSingularity>(), 5);
|
||||
recipe.AddIngredient(ModContent.ItemType<ContainmentUnit>(), 1);
|
||||
recipe.AddIngredient(ModContent.ItemType<EnergyCore>(), 2);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.Register();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
using Terraria.ID;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using ForgottenWawiTech.Content.Rarities;
|
||||
|
||||
namespace ForgottenWawiTech.Content.Items.Materials
|
||||
{
|
||||
public class EnergyCore : 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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 504 B |
Reference in New Issue
Block a user