Omega_Nightfueled

Untitled

Jul 27th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 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 CrackiumOre : ModItem //Dejar así
  7. {
  8. public override void SetStaticDefaults()
  9. {
  10. DisplayName.SetDefault("Crackium Ore");
  11. Tooltip.SetDefault("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. }
  23.  
  24. public override void AddRecipes()
  25. {
  26. ModRecipe recipe = new ModRecipe(mod);
  27. recipe.AddIngredient(ItemID.PurpleMucos, 1);
  28. recipe.AddIngredient(ItemID.GoldOre, 3);
  29. recipe.anyGoldOre
  30. recipe.AddTile(TileID.Anvils);
  31. recipe.SetResult(this);
  32. recipe.AddRecipe();
  33. }
  34. }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment