Banjo Posted April 7, 2020 Share Posted April 7, 2020 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? Link to comment Share on other sites More sharing options...
leon2356 Posted April 7, 2020 Share Posted April 7, 2020 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. Link to comment Share on other sites More sharing options...
Banjo Posted April 7, 2020 Author Share Posted April 7, 2020 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. Link to comment Share on other sites More sharing options...
leon2356 Posted April 7, 2020 Share Posted April 7, 2020 Ah ok. Makes sense. Hope you find what you're looking for. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now