SCP: Secret Laboratory

SCP: Secret Laboratory

Not enough ratings
How to add a custom keybind for the Candy Bag
By cg223
A tutorial on how to add a custom keybind to be able to open your candy bag (SCP-330) inventory with the press of a single button, no inventory navigation necessary.
   
Award
Favorite
Favorited
Unfavorite
Navigating to registry.txt
The registry.txt file is the file containing custom keybinds in SCP:SL. To access it, visit "%appdata%\SCP Secret Laboratory" (without the quotes) in File Explorer and open the "registry" text document.
If you cannot use file explorer, or are having trouble finding the text file, simply hit Win+R and paste in "%appdata%\SCP Secret Laboratory\registry.txt" (again, no quotes) and hit Run and the file will open.
Editing custom keybinds in registry.txt
First of all, you need to have your game closed. registry.txt is only loaded when the game launches, and saved when the game closes. If you edit registry.txt while SL is open, all changes will be reverted when the game closes.
Now, visit the key "27CustomHotkeyDefinitions". You can find it manually, or hit ctrl+f to find it that way.
Next, we need to add a new custom hotkey ourselves. You'll be inserting this JSON: ";;`'.+=;;{"CustomName":"Candy","TranslationId":0,"AssignedKey":53,"Apperance":0,"SortMode":0,"OverrideOption":0,"Elements":[{"_value":42,"Type":0}]}"
Put it at the very end, after everything else in the key, without the quotes.
If you've done it right, you should have a hotkey for the candy bag set to 5 on your keyboard. You can go in and change this in the menu, it'll act like a normal keybind does. You can edit the name, the order, everything else, so long as you don't delete the candy bag.

Hope this proves to be a minor assistance in your time playing SL!