Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using Terraria.ID;
- using Terraria.ModLoader;
- namespace OmegasArsenal.Items //Nombre de su Mod.Item
- {
- public class CrackiumBar : ModItem //Dejar así
- {
- public override void SetStaticDefaults()
- {
- DisplayName.SetDefault("Crackium Bar");
- Tooltip.SetDefault("Even after passing through fire it's still sticky"); //Descripción del item
- }
- public override void SetDefaults()
- {
- item.width = 26; //Tamaño inGame
- item.height = 26;
- item.maxStack = 99; //Cantidad maxima en un espacio de inventario
- item.value = 10000; //Precio
- item.rare = 4;
- }
- public override void AddRecipes()
- {
- ModRecipe recipe = new ModRecipe(mod);
- recipe.AddIngredient(mod.ItemType<CrackiumOre>(3));
- recipe.AddTile(TileID.Furnaces);
- recipe.SetResult(this);
- recipe.AddRecipe();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment