It's missing a corresponding image file.I'm having a similar problem as the guy above.
I'm simply trying to make an item to get used to the way this works and it keeps giving me this:
Missing mod: Drom/Items/Drom
at Terraria.ModLoader.ModLoader.GetTexture(String name)
at Terraria.ModLoader.Mod.SetupContent()
at Terraria.ModLoader.ModLoader.do_Load(Object threadContext)
using Terraria.ID;
using Terraria.ModLoader;
namespace Drom.Items
{
public class Drom : ModItem
{
public override void SetDefaults()
{
item.name = "Carbonated Water";
item.width = 32;
item.height = 32;
item.maxStack = 30;
AddTooltip("Water that has been carbonated and has become fizzy");
item.value = 20;
item.rare = 1;
}
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.BottledWater);
recipe.SetResult(this, 1);
recipe.AddRecipe();
recipe = new ModRecipe(mod);
recipe.AddRecipeGroup("Drom:CarbonatedWater");
recipe.SetResult(this, 1);
recipe.AddRecipe();
}
}
}
using System;
using Terraria;
using Terraria.Graphics.Effects;
using Terraria.Graphics.Shaders;
using Terraria.ID;
using Terraria.ModLoader;
using Microsoft.Xna.Framework;
using System.Collections.Generic;
using System.Linq;
using System.IO;
namespace Drom
{
public class Drom : Mod
{
public Drom()
{
Properties = new ModProperties()
{
Autoload = true,
AutoloadGores = true,
AutoloadSounds = true
};
}
public override void Load()
{
for (int k = 1; k <= 4; k++)
{
}
}
public override void Unload()
{
if (!Main.dedServ)
{
}
}
public override void AddRecipeGroups()
{
RecipeGroup group = new RecipeGroup( () => Lang.misc[37] + " " + GetItem("CarbonatedWater").item.name, new int[]
{
ItemType("CarbonatedWater"),
});
RecipeGroup.RegisterGroup("Drom:CarbonatedWater", group);
}
}
}
I'm not sure what it is that I'm missing but it's driving me nuts...
It's only happening whenever I run the mod since I already worked out a few errors that I found
Make sure there is a Drom.png located in the same folder.