Jump to content

Recommended Posts

Hello.

I'm making a mod for Don't Starve 1 that adds a character and a craftable item, everything is working as expected except for the recipe icon of the craftable item being wrong. It appears to be using the graphic of the Summer Frest for some reason??

Everything else works, the recipe takes the right ingredients it gives me the correct item and the item itself is fully functional and all the other art assets in the mod display correctly, it's just the icon in the crafting menu that's not working.

I attached some images of the recipe with the incorrect icon and a picture of the item in my inventory to show what the icon should look like. And here's the bit of my code that adds the recipe, it's in my modmain.lua file.

local craft_kittyhat = Recipe("kittyhat", {Ingredient("monstermeat_dried", 3), Ingredient("beefalowool", 3), Ingredient("blue_cap", 2)}, GLOBAL.RECIPETABS.DRESS, {SCIENCE =0} )
craft_kittyhat.atlas = "images/inventoryimages/kittyhat.xml"
craft_kittyhat.image = "images/inventoryimages/kittyhat.tex"

I've been looking for a solution but any I can find are either for the wrong issue, the wrong game, or just don't work. Any help or tips would be greatly appreciated, thanks! 

image 1.png

image 2.png

image 3.png

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...