Jump to content

Recommended Posts

2e99577e69fc0722c373b2e387304ee4.png

 

I'm working on a custom item for my character mod, and have attempted to restructure a fluffy bedroll.

 

I haven't really done anything with the inventory image, it was just a template from another mod I've used as a placeholder to be able to test the custom item, so I am at a complete loss.

PaleHuman.zip

Link to comment
https://forums.kleientertainment.com/forums/topic/49364-identify-this-error/
Share on other sites

@MattDoesnt, try adding the following to your code.

 

In the assets table:

Asset("IMAGE", "images/inventoryimages/pale_coffin.tex"),

 

In your function which initializes the item:

inst.components.inventoryitem.atlasname = "images/inventoryimages/pale_coffin.xml"

inst.components.inventoryitem.imagename = "pale_coffin"

 

This might not fix the issue, but it's what is in the Diggable Reeds mod; it creates a new custom item for the dug_reeds.

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...