Updated Greatwood Hammer.

This commit is contained in:
FyloZ 2020-07-09 19:25:56 -04:00
parent eeabb41dd6
commit 67b3937c75
2 changed files with 10 additions and 10 deletions

View File

@ -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();
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 488 B

After

Width:  |  Height:  |  Size: 497 B