Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using Microsoft.Xna.Framework;
- using Terraria;
- using Terraria.Graphics.Effects;
- using Terraria.Graphics.Shaders;
- using Terraria.ID;
- using Terraria.ModLoader;
- namespace Weapons.Items.DirkSword
- {
- public class DirkSword : ModItem
- {
- public override void SetDefaults ()
- {
- item.name = "Unbreakable Katana"; // Sword name
- item.damage = 130; // Sword damage
- item.melee = true; // Is melee
- item.width = 90; // Sword width
- item.height = 90; // Sword height
- item.toolTip = "Unbreakable piece of awesome shit."; // Description
- item.useTime = 25; // Rate of Fire
- item.useAnimation = 25; // Animation speed
- item.useStyle = 1;
- item.knockback = 3;
- item.value = 100;
- item.rare = 10;
- item.useSound = 1;
- item.autoReuse = true; //Allows autoswing
- item.useTurn = true;
- }
- public override void AddRecipes()
- {
- ModRecipe recipe = new ModRecipe(mod);
- recipe.AddIngredient(ItemID.1198, 15);
- recipe.AddIngredient(ItemID.548, 5);
- recipe.AddIngredient(ItemID.526, 50);
- recipe.AddTile(TileID.134);
- recipe.SetResult(this)
- recipe.AddRecipe()
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement