Jump to content
Sign in to follow this  
Banjo

Spawn codes for specific keys (e.g. prison)?

Recommended Posts

Trying to spawn keys and I couldn't find the item names in the scripts files, so what would I use ("Base.itemname") for a specific key, such as the prison key?

Share this post


Link to post
Share on other sites

You should use necroforge to get keys. It has a tool called "Key Maker" You activate it then you click on the door you want to make a key for and it will spawn in your inventory.

Share this post


Link to post
Share on other sites

Thanks, but I need to be able to automatically spawn them in the player's inventory when they start in a certain location; it's for a mod I'm working on. I can make an item do that, but can't figure out how keys work so I can make one spawn like an item.

 

I guess I can look at NF's code (so that's definitely a helpful pointer), but I was hoping someone here knew how to do it in lua.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...