diff --git a/Content/Items/Weapons/SlingshotWood.cs b/Content/Items/Weapons/SlingshotWood.cs index eda376a..5ec6275 100644 --- a/Content/Items/Weapons/SlingshotWood.cs +++ b/Content/Items/Weapons/SlingshotWood.cs @@ -1,6 +1,8 @@ using Decimation.Content.Items.Ammo; using Decimation.Lib.Items; using Decimation.Lib.Util; +using Decimation.Lib.Util.Builder; +using Terraria; using Terraria.ID; using Terraria.ModLoader; @@ -13,16 +15,18 @@ namespace Decimation.Content.Items.Weapons protected override DamageType DamagesType => DamageType.Ranged; protected override int Damages => 7; protected override string AmmoName => "Pebble"; + protected override int AmmoId => ModContent.ItemType(); protected override void InitWeapon() { - item.width = 32; + item.width = 24; item.height = 32; item.useTime = 16; item.useAnimation = 16; item.useStyle = 5; item.shoot = 1; item.rare = Rarity.Orange.GetRarityValue(); + item.value = Item.sellPrice(silver: 1); item.UseSound = SoundID.Item5; item.shootSpeed = 5f; item.crit = 10; @@ -31,12 +35,11 @@ namespace Decimation.Content.Items.Weapons protected override ModRecipe GetRecipe() { - ModRecipe recipe = GetNewModRecipe(this, 1, TileID.WorkBenches); - - recipe.AddIngredient(ItemID.Wood, 12); + return new RecipeBuilder(this) + .WithIngredient(ItemID.Wood, 12) + .WithStation(TileID.WorkBenches) + .Build(); // recipe.AddIngredient(null,"CrimsoniteBar", 10); - - return recipe; } } } \ No newline at end of file diff --git a/Content/Items/Weapons/SlingshotWood.png b/Content/Items/Weapons/SlingshotWood.png index 8270338..e6f84b3 100644 Binary files a/Content/Items/Weapons/SlingshotWood.png and b/Content/Items/Weapons/SlingshotWood.png differ