Jump to content

How can I reference camping items in my trait script?


CaptainDingo

Recommended Posts

I have a mod that adds new traits. Some of these traits add items to the player on spawn. However, I'm unable to add items that aren't in Base without causing mod errors.

 

I assume I need to somehow properly reference these non-Base items from "camping" and so on. Could someone help?

 

For instance, when I use:

        iteminv.AddItem("camping.CampfireKit");

 

I just get errors. All items in Base work however.

Edited by CaptainDingo
Link to comment
Share on other sites

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