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 CrackiumOre : ModItem //Dejar así
- {
- public override void SetStaticDefaults()
- {
- DisplayName.SetDefault("Crackium Ore");
- Tooltip.SetDefault("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(ItemID.PurpleMucos, 1);
- recipe.AddIngredient(ItemID.GoldOre, 3);
- recipe.anyGoldOre
- recipe.AddTile(TileID.Anvils);
- recipe.SetResult(this);
- recipe.AddRecipe();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment