Emilia(SleepeeSoftware) 49511f4109 working nice
2026-02-21 11:22:03 +01:00

41 lines
1.1 KiB
C#

using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace Emiliasmod.Content.Items
{
// This is a basic item template.
// Please see tModLoader's ExampleMod for every other example:
// https://github.com/tModLoader/tModLoader/tree/stable/ExampleMod
public class EmiliasWand : ModItem
{
// The Display Name and Tooltip of this item can be edited in the 'Localization/en-US_Mods.Emiliasmod.hjson' file.
public override void SetDefaults()
{
Item.damage = 300;
Item.DamageType = DamageClass.Melee;
Item.pick = 300;
Item.width = 40;
Item.height = 200;
Item.useTime = 10;
Item.useAnimation = 10;
Item.useStyle = ItemUseStyleID.Shoot;
Item.knockBack = 6;
Item.value = Item.buyPrice(platinum: 1);
Item.rare = ItemRarityID.Red;
//Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
Item.useTurn = true;
}
public override void AddRecipes()
{
Recipe recipe = CreateRecipe();
recipe.AddIngredient(ItemID.DirtBlock, 10);
recipe.AddTile(TileID.WorkBenches);
recipe.Register();
}
}
}