Jump to content

ItemContainer.Additem: can't find <insert item here>


Scyoni

Recommended Posts

Did you check the "module" from the items you want to add?

 

You can find the module at the top of the item-files, so for the normal PZ-items you should look at these txt-files "Steam\SteamApps\common\ProjectZomboid\media\scripts".

 

Pretty much all basic PZ-items are in the module called "Base", you then need to combine the itemname with the module, e.g. "Base.Axe".

Link to comment
Share on other sites

All of my module names match and are spelled correctly.

Could you upload the mod and link it? Or at least PM it to me? I'd take a look, see if I can figure it out, it's hard to guess what the issue is without looking at the console or the code itself.

Link to comment
Share on other sites

I think I might know what's your problem.
item SCYncComicZMen,
 
All item names in the script end with a comma which is actually part of the item name, it doesn't have to be there but since it is you'll need to spawn the items with , in the name.

nerdCulture.SCYncComicZMen,
 
I did that and it spawned the item in NF.

Edit: Edited because I made a stupid mistake and had to fix it :S i typed nerdCulture.item SCYncComicZMen, above which won't actually work fixed now :P
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...