Add singularity armor, multitool and rarity

This commit is contained in:
2025-11-10 12:53:25 +00:00
parent 1ccea8b5fa
commit ecf3476874
20 changed files with 297 additions and 15 deletions
@@ -0,0 +1,39 @@
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using ForgottenWawiTech.Content.Items.Materials;
using ForgottenWawiTech.Content.Rarities;
namespace ForgottenWawiTech.Content.Items.Tools.SingularitySet
{
public class SingularityMultitool : ModItem
{
public override void SetDefaults()
{
Item.damage = 500;
Item.DamageType = DamageClass.Melee;
Item.width = 40;
Item.height = 40;
Item.useTime = 10;
Item.useAnimation = 20;
Item.useStyle = ItemUseStyleID.Swing;
Item.knockBack = 5.0f;
Item.value = Item.sellPrice(gold: 5);
Item.rare = ModContent.RarityType<SingularityItem>();
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
Item.useTurn = true;
Item.axe = 500;
Item.hammer = 500;
Item.pick = 500;
}
public override void AddRecipes()
{
CreateRecipe()
.AddIngredient(ModContent.ItemType<ControlledSingularity>(), 12)
.AddTile(TileID.MythrilAnvil)
.Register();
}
}
}