diff --git a/Content/Items/Weapons/MultigrainSword.cs b/Content/Items/Weapons/MultigrainSword.cs index 6f9b296..38f3dbb 100644 --- a/Content/Items/Weapons/MultigrainSword.cs +++ b/Content/Items/Weapons/MultigrainSword.cs @@ -1,5 +1,7 @@ +using Decimation.Content.Projectiles; using Decimation.Lib.Items; using Decimation.Lib.Util; +using Decimation.Lib.Util.Builder; using Terraria; using Terraria.ID; using Terraria.ModLoader; @@ -11,16 +13,16 @@ namespace Decimation.Content.Items.Weapons protected override string ItemName => "Multigrain Sword"; protected override string ItemTooltip => "Smells like honeysuckle"; protected override int Damages => 30; - protected override string ProjectileName => "Stinger"; + protected override int ProjectileId => ModContent.ProjectileType(); protected override void InitWeapon() { - item.width = 36; - item.height = 37; + item.width = 58; + item.height = 58; item.useTime = 26; item.useAnimation = 26; item.knockBack = 5; - item.value = Item.sellPrice(0, 0, 40); + item.value = Item.sellPrice(silver: 88); item.rare = Rarity.Green.GetRarityValue(); item.crit = 4; item.autoReuse = true; @@ -30,15 +32,14 @@ namespace Decimation.Content.Items.Weapons protected override ModRecipe GetRecipe() { - ModRecipe recipe = GetNewModRecipe(this, 1, TileID.Anvils, true); - - recipe.AddIngredient(ItemID.CactusSword); - recipe.AddIngredient(ItemID.Pumpkin, 15); - recipe.AddIngredient(ItemID.Acorn, 5); - recipe.AddIngredient(ItemID.Hay, 15); - recipe.AddIngredient(ModContent.ItemType()); - - return recipe; + return new RecipeBuilder(this) + .WithIngredient(ItemID.CactusSword) + .WithIngredient(ItemID.Pumpkin, 15) + .WithIngredient(ItemID.Acorn, 5) + .WithIngredient(ItemID.Hay, 15) + .WithIngredient(ModContent.ItemType()) + .WithStation(TileID.Loom) + .Build(); } } } \ No newline at end of file diff --git a/Content/Items/Weapons/MultigrainSword.png b/Content/Items/Weapons/MultigrainSword.png index 7db78bb..e4d0f4a 100644 Binary files a/Content/Items/Weapons/MultigrainSword.png and b/Content/Items/Weapons/MultigrainSword.png differ