Add singularity armor, multitool and rarity
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 504 B |
Reference in New Issue
Block a user