Updated Multigrain Hammer.
This commit is contained in:
parent
67b3937c75
commit
3626b5fa07
@ -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<GreatwoodHammer>())
|
||||
.WithStation(TileID.Loom)
|
||||
.Build();
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 502 B After Width: | Height: | Size: 763 B |
Loading…
Reference in New Issue
Block a user