Updated Multigrain Hammer.
This commit is contained in:
parent
67b3937c75
commit
3626b5fa07
@ -1,5 +1,6 @@
|
|||||||
using Decimation.Lib.Items;
|
using Decimation.Lib.Items;
|
||||||
using Decimation.Lib.Util;
|
using Decimation.Lib.Util;
|
||||||
|
using Decimation.Lib.Util.Builder;
|
||||||
using Terraria;
|
using Terraria;
|
||||||
using Terraria.ID;
|
using Terraria.ID;
|
||||||
using Terraria.ModLoader;
|
using Terraria.ModLoader;
|
||||||
@ -16,27 +17,26 @@ namespace Decimation.Content.Items.Tools
|
|||||||
|
|
||||||
protected override void InitTool()
|
protected override void InitTool()
|
||||||
{
|
{
|
||||||
item.width = 32;
|
item.width = 48;
|
||||||
item.height = 32;
|
item.height = 48;
|
||||||
item.useTime = 20;
|
item.useTime = 20;
|
||||||
item.useAnimation = 20;
|
item.useAnimation = 20;
|
||||||
this.item.knockBack = 5;
|
item.knockBack = 5;
|
||||||
item.value = Item.sellPrice(0, 0, 10);
|
item.value = Item.sellPrice(silver: 10, copper: 90);
|
||||||
item.rare = Rarity.Green.GetRarityValue();
|
item.rare = Rarity.Green.GetRarityValue();
|
||||||
this.item.crit = 3;
|
item.crit = 3;
|
||||||
item.UseSound = SoundID.Item1;
|
item.UseSound = SoundID.Item1;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override ModRecipe GetRecipe()
|
protected override ModRecipe GetRecipe()
|
||||||
{
|
{
|
||||||
ModRecipe recipe = GetNewModRecipe(this, 1, TileID.Loom);
|
return new RecipeBuilder(this)
|
||||||
|
.WithIngredient(ItemID.CactusPickaxe)
|
||||||
recipe.AddIngredient(null, "GreatwoodHammer");
|
.WithIngredient(ItemID.Pumpkin, 10)
|
||||||
recipe.AddIngredient(ItemID.CactusPickaxe);
|
.WithIngredient(ItemID.Vine, 2)
|
||||||
recipe.AddIngredient(ItemID.Pumpkin, 10);
|
.WithIngredient(ModContent.ItemType<GreatwoodHammer>())
|
||||||
recipe.AddIngredient(ItemID.Vine, 2);
|
.WithStation(TileID.Loom)
|
||||||
|
.Build();
|
||||||
return recipe;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 502 B After Width: | Height: | Size: 763 B |
Loading…
Reference in New Issue
Block a user