Add all key items
Add all key items
Want to be able to add all key items at once, instead doing 1 by 1. Cant seem to figure out how to the cmd for it. Any help be nice to get this on track. I am aware might cause issues, But this is for testing the server.
[GM] Soulsin
Re: Add all key items
There isn't one, you would need to create a custom GM command.
You can find them all in scripts/globals/keyitems.lua
I created a basic design you can follow but i'm not adding all of them for you as there are 2544 key items, I just added the first 10 to see if it worked.
You will have to add the rest, change the .txt to .lua and place in scripts/commands/
Command will be @addallkeyitems
Edit: I made the function shorter to add them all for you. Again change the .txt to .lua and place in scripts/commands/
You can find them all in scripts/globals/keyitems.lua
I created a basic design you can follow but i'm not adding all of them for you as there are 2544 key items, I just added the first 10 to see if it worked.
You will have to add the rest, change the .txt to .lua and place in scripts/commands/
Command will be @addallkeyitems
Edit: I made the function shorter to add them all for you. Again change the .txt to .lua and place in scripts/commands/
- Attachments
-
- addallkeyitems.txt
- (495 Bytes) Downloaded 361 times
Re: Add all key items
id just change the keyitems blob in the db manually
-
- Developer
- Posts: 707
- Joined: Sun Jul 22, 2012 12:11 am
Re: Add all key items
Expect missions and/or quests to have odd side-effects doing this...