From 67b3937c75a9fb90a30fed20441d653ddf17b095 Mon Sep 17 00:00:00 2001 From: FyloZ Date: Thu, 9 Jul 2020 19:25:56 -0400 Subject: [PATCH] Updated Greatwood Hammer. --- Content/Items/Tools/GreatwoodHammer.cs | 20 ++++++++++---------- Content/Items/Tools/GreatwoodHammer.png | Bin 488 -> 497 bytes 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Content/Items/Tools/GreatwoodHammer.cs b/Content/Items/Tools/GreatwoodHammer.cs index d1f9ca8..6d3c468 100644 --- a/Content/Items/Tools/GreatwoodHammer.cs +++ b/Content/Items/Tools/GreatwoodHammer.cs @@ -1,5 +1,6 @@ using Decimation.Lib.Items; using Decimation.Lib.Util; +using Decimation.Lib.Util.Builder; using Terraria; using Terraria.ID; using Terraria.ModLoader; @@ -19,22 +20,21 @@ namespace Decimation.Content.Items.Tools item.height = 40; item.useTime = 10; item.useAnimation = 25; - this.item.knockBack = 5; - item.value = Item.sellPrice(0, 0, 10); + item.knockBack = 5; + item.value = Item.sellPrice(copper: 50); item.rare = Rarity.Green.GetRarityValue(); item.UseSound = SoundID.Item1; } protected override ModRecipe GetRecipe() { - ModRecipe recipe = GetNewModRecipe(this, 1, TileID.WorkBenches, true); - - recipe.AddIngredient(ItemID.WoodenHammer); - recipe.AddIngredient(ItemID.BorealWoodHammer); - recipe.AddIngredient(ItemID.ShadewoodHammer); - recipe.AddIngredient(ItemID.PalmWoodHammer); - - return recipe; + return new RecipeBuilder(this) + .WithIngredient(ItemID.WoodenHammer) + .WithIngredient(ItemID.BorealWoodHammer) + .WithIngredient(ItemID.ShadewoodHammer) + .WithIngredient(ItemID.PalmWoodHammer) + .WithStation(TileID.WorkBenches) + .Build(); } } } \ No newline at end of file diff --git a/Content/Items/Tools/GreatwoodHammer.png b/Content/Items/Tools/GreatwoodHammer.png index 4c5df27017cc21235a18e8dd033cc9eef7214a75..8cd42e76b800114f60b1342b38b63f07d27fd46f 100644 GIT binary patch delta 472 zcmV;}0Vn?G1MvfpBYyw^b5ch_0Itp)=>Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi z!vFvd!vV){sAK>D0ftFLK~z{r?U%hu13?r_Ao$jp^!p z?^1Mb@>0G%*vnw)dz6@4U!GNa|M*h*Z?Fi=9c;DK&YxbDN9~UC^y)#`ugUZbT61u6 zcCMrbCq{;p_b+csYtnbtr(=*2?`*894cFbS^7iprIW;z_1nyIl;5+NnGswuT8SX>9 zR#UnR`>vPi8Gm%KI5V!aHRv+wyH2LNlK^HhnCG86N^@>fi9z_P$@C2ZCfPv%lVEGI zeQ~FB?Kpq02C1nclfZgt`$M`0tvS{|J3Dy}_C4CRHZhyNK~6WWlQi#H*t?e&=9RFv zy{DvqdIo*XS!~U&G#kolWmsv=K{^J%YYym7?J;XNcTo?OuKw{GwB{Hw6qy6QV=3w% zuR)hNUt?tvpTSVfK|BWSI_3M{`qPAO5OelK``hLq9)l2yISAZfmVE$vyz(cUvEx+$ O00006^}5P;!3(ln_n z?T3D^g-*QJyoa(kLhg0gb4z{9R%MsW%#T-4%5A@Y-OiCrl7E$p$+EF%Ua)Yc`Q%2= zeJ41bFEcT;SnpjwR5BhxP3~*Ab5fmlJ0pqg`{Xktn^!bGK^VwZvKJ{SNuP0#&AMBH zdZ|g87tDQ z@e3k~Br%DU%zs|wq_pqEF)x@qi;GhH96+TBZ!2IDW4otw9J<=tIe;zAUj8n6M#CVouvrU zvL2FTD>277+Ug3j(`(5g!n*W*a$K*TAUh;RI3cK8MMz@~iO{w>f<8H|PKC?z)~$KLlo*r}T7{S6Z`C(1_zxO70pypw>ka?_002ovPDHLk FV1iXI