tortoise shell accessory craftable into turtle shell
This commit is contained in:
1 parent
b8a422cb4f
commit
f8bf09d490
1 file changed
+10
@@ -1,4 +1,5 @@
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Accessories
|
||||
@@ -27,5 +28,14 @@ namespace CalamityMod.Items.Accessories
|
||||
player.moveSpeed -= 0.1f;
|
||||
player.thorns = 0.25f;
|
||||
}
|
||||
|
||||
// This item cannot be crafted, but it can be crafted into a normal Turtle Shell.
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(this);
|
||||
recipe.SetResult(ItemID.TurtleShell);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user