From 3626b5fa0773944e1a23195ed491752ec8634483 Mon Sep 17 00:00:00 2001 From: FyloZ Date: Thu, 9 Jul 2020 19:26:57 -0400 Subject: [PATCH] Updated Multigrain Hammer. --- Content/Items/Tools/MultigrainHammer.cs | 26 +++++++++++------------ Content/Items/Tools/MultigrainHammer.png | Bin 502 -> 763 bytes 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Content/Items/Tools/MultigrainHammer.cs b/Content/Items/Tools/MultigrainHammer.cs index a1a64f2..d02e583 100644 --- a/Content/Items/Tools/MultigrainHammer.cs +++ b/Content/Items/Tools/MultigrainHammer.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; @@ -16,27 +17,26 @@ namespace Decimation.Content.Items.Tools protected override void InitTool() { - item.width = 32; - item.height = 32; + item.width = 48; + item.height = 48; item.useTime = 20; item.useAnimation = 20; - this.item.knockBack = 5; - item.value = Item.sellPrice(0, 0, 10); + item.knockBack = 5; + item.value = Item.sellPrice(silver: 10, copper: 90); item.rare = Rarity.Green.GetRarityValue(); - this.item.crit = 3; + item.crit = 3; item.UseSound = SoundID.Item1; } protected override ModRecipe GetRecipe() { - ModRecipe recipe = GetNewModRecipe(this, 1, TileID.Loom); - - recipe.AddIngredient(null, "GreatwoodHammer"); - recipe.AddIngredient(ItemID.CactusPickaxe); - recipe.AddIngredient(ItemID.Pumpkin, 10); - recipe.AddIngredient(ItemID.Vine, 2); - - return recipe; + return new RecipeBuilder(this) + .WithIngredient(ItemID.CactusPickaxe) + .WithIngredient(ItemID.Pumpkin, 10) + .WithIngredient(ItemID.Vine, 2) + .WithIngredient(ModContent.ItemType()) + .WithStation(TileID.Loom) + .Build(); } } } \ No newline at end of file diff --git a/Content/Items/Tools/MultigrainHammer.png b/Content/Items/Tools/MultigrainHammer.png index 9df47eed3d56890400475362398eeeb3d9b226c5..ddc1e46476b627a6dff98d507f018568ae874a24 100644 GIT binary patch literal 763 zcmVPx#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D0+2~WK~!i%?U+q$ zOi>tyM}w$Ekp`_uh_+IljYRw;#e$WEp9S5_Ld1r|LSi9dAr@_FK`bQf#G;!a;wRCC z#D`<*i*ld#$s&i`Ki zI8DVjlZij;ry9y$vq~%#l0UU!mc~0zG|H!*y_0txbdO4!L?A%&V}nf^llaX`v*p|O zevtO5My+l^mb zaknPSpyijyrCQ)4dSYBzBN)G`PRW0~_$Hq>LJC-!dk&gsx!d9m!rH??A)~{?8 zf$r=wjZ39T`Q|lkatNS5B@qbt#9CO})}k?j1hQ*laM69atxCSN7YJC96g|_?2Vdn; zBu?jtmN5rwgTbLiA8}$7fGFAQ}jeXz$@3jc?r^mNU1bx=Yqh^8z=w z@AkR<1W7aJ5pzGh2YkuL?PYBB%C4J|GxtdxS)%D9P_5*t^Y*kO>P$5~1Z?uh&*tSQ z?oJ8W6@xi}dZ4p4a>>)gOUMPl^AP tYM+2Fc@zj#S-%LN|2=W58Yhs+`~XE5STO!olVkt@002ovPDHLkV1hp8YhC~V literal 502 zcmV}zd%3{k+@GF<>0Mjo z!1TWdAHlRo4ul4C7#J7^O&TCN1Yj;l4+)sh6I_kJN^U=U3#Km|KLOJMrqfqzf@xSe z@#WMdu-!u^4WM|3fq}tXO%j}+(S5EeB@9-&VD~vN&FTCNOvBPlv=gM9fQ7_>hXC0n zAuL2RR8(M0Fiptkuo9DjK^Cljz(auKTmXyvj?6Hy4=SdwLJ5JZ0-|6(dU*j;H0aU* z(IJ4#=O=GH$7%+wym0b<4E8*%#5{9W9?Ty)1~7<%E0=O9QaDNB22QeDLN1 zQhg5d5iIUud>9Rja~K~+555o}*XJ-FkxCDq5P