Advertisement
Guest User

Item

a guest
Aug 14th, 2015
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. using System;
  2. using Terraria;
  3. using Terraria.ID;
  4. using Terraria.ModLoader;
  5.  
  6. namespace PikaMod.Items {
  7. public class ChaoticLance : ModItem
  8. {
  9. public override void SetDefaults()
  10. {
  11. item.name = "Chaotic Lance";
  12. item.toolTip = "'Great for impersonating mod devs!'";
  13. item.knockBack = 3;
  14. item.damage = 148;
  15. item.melee = true;
  16. item.noUseGraphic = true;
  17. item.useSound = 1;
  18. item.useAnimation = 32;
  19. item.useTime = 32;
  20. item.useStyle = 5;
  21. item.width = 28;
  22. item.height = 32;
  23. item.maxStack = 1;
  24. item.shoot = mod.ProjectileType("ChaoticLance");
  25. item.shootSpeed = 4.75f;
  26. item.value = 100;
  27. item.rare = 9;
  28. }
  29.  
  30. public override void AddRecipes()
  31. {
  32. ModRecipe recipe = new ModRecipe(mod);
  33. recipe.AddIngredient(null, "MagnesiumBar", 1);
  34. recipe.AddTile(18);
  35. recipe.SetResult(this, 1);
  36. recipe.AddRecipe();
  37. }
  38. }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement