Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using Terraria.ID;
- using Terraria.ModLoader;
- namespace DeathWeps.Items
- {
- public class SuperDeathSword : ModItem
- {
- public override void SetStaticDefaults()
- {
- // DisplayName.SetDefault("SuperDeathSword"); // By default, capitalization in classnames will add spaces to the display name. You can customize the display name here by uncommenting this line.
- Tooltip.SetDefault("Way better, but...");
- }
- public override void SetDefaults()
- {
- item.damage = 70;
- item.melee = true;
- item.width = 45;
- item.height = 45;
- item.useTime = 15;
- item.useAnimation = 15;
- item.useStyle = 1;
- item.knockBack = 10;
- item.value = 10001;
- item.rare = 5;
- item.UseSound = SoundID.Item1;
- item.autoReuse = true;
- }
- public override void AddRecipes()
- {
- ModRecipe recipe = new ModRecipe(mod);
- recipe.AddIngredient(ItemID.DeathSword, 1);
- recipe.AddIngredient(ItemID.BrokenHeroSword, 1);
- recipe.AddTile(TileID.MythrilAnvil);
- recipe.SetResult(this);
- recipe.AddRecipe();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement