Omega_Nightfueled

Untitled

Jul 27th, 2019
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. using Terraria.ID;
  2. using Terraria.ModLoader;
  3.  
  4. namespace OmegasArsenal.Items //Nombre de su Mod.Item
  5. {
  6. public class CrackiumBar : ModItem //Dejar así
  7. {
  8. public override void SetStaticDefaults()
  9. {
  10. DisplayName.SetDefault("Crackium Bar");
  11. Tooltip.SetDefault("Even after passing through fire it's still sticky"); //Descripción del item
  12. }
  13.  
  14. public override void SetDefaults()
  15. {
  16. item.width = 26; //Tamaño inGame
  17. item.height = 26;
  18. item.maxStack = 99; //Cantidad maxima en un espacio de inventario
  19. item.value = 10000; //Precio
  20. item.rare = 4;
  21. }
  22. public override void AddRecipes()
  23. {
  24. ModRecipe recipe = new ModRecipe(mod);
  25. recipe.AddIngredient(mod.ItemType<CrackiumOre>(3));
  26. recipe.AddTile(TileID.Furnaces);
  27. recipe.SetResult(this);
  28. recipe.AddRecipe();
  29. }
  30. }
  31. }
Advertisement
Add Comment
Please, Sign In to add comment