Quasimorph

Quasimorph

Not enough ratings
Raid Storage Sort, Drop, and Drop One
   
Award
Favorite
Favorited
Unfavorite
Compatible Version: 0.9.1, 0.9
File Size
Posted
Updated
7.871 MB
9 Apr @ 6:56pm
25 May @ 11:05am
6 Change Notes ( view )

Subscribe to download
Raid Storage Sort, Drop, and Drop One

In 1 collection by nbk_redspy
Hotkeys and Click Reduction Pack
9 items
Description
Storage Sort, Drop, and Single Drop


Docs

Sorts or drops all items in a container.
By default S sorts and D drops all items.
Adds the context menu command "Drop One".

The drop key is useful when dropping gas from barrels in one keystroke.
The "Drop One" command is useful when dropping a single item from a stack to keep a door open. For example, a piece of plastic.

See the Configuration section below to change hot keys.

Both hotkeys can be configured. See the Configuration section below.

"Drop One" and Context Menu Hotkeys Mod

To add a hotkey to the "Drop One" function in the Context Menu Hotkeys mod,

Add this to the list of keys in the Context Menu Hokeys config file:
{ "Key": "F", "Command": 620000 },

The above will add the key F as the hotkey when the context menu is open.

Configuration

The configuration file will be created on the first game run and can be found at %AppData%\..\LocalLow\Magnum Scriptum Ltd\Quasimorph_ModConfigs\StorageSort\config.json.
Name
Default
Description
SortKey
S
The key that sorts the current storage inventory
DropKey
D
Drops all items in a container.

Key List

The list of valid keyboard keys can be found at the bottom of https://docs.unity3d.com/ScriptReference/KeyCode.html
Beware that numbers 0-9 are Alpha0 - Alpha9. Most of the other keys are as expected such as X for X.
Use "None" to not bind the key.

Support

If you enjoy my mods and want to buy me a coffee, check out my Ko-Fi[ko-fi.com] page.
Thanks!

Source Code

Source code is available on GitHub at https://github.com/NBKRedSpy/QM_StorageSort

Change Log

2.1.0
  • Added "Drop One" command.

2.0.1
  • Fixed mod config using key codes instead of the string version.
  • Thanks goes to Steam user Traveler for reporting this issue.

2.0.0
  • Added Drop All key.
4 Comments
fudeu 29 Jul @ 4:49pm 
Any chance to make the 'drop all' hotkey work for items held (but not equipped) by corpses, too? Whenever there's a lot of corpses in a 3x3 area I like to drop all their items in one big pile in the center. Also, if you could even make a setting it so that whenever a corpse or container is opened everything (that is not equipped if it's a corpse) gets automatically dropped on the ground that'd save me many tedious clicks, too.
=X= 22 Jun @ 5:22am 
I see you have similar way of playing as me. I assume a lot of people block doors for easier backtracking and spread oil for pyromaniac way of clearing enemies, but it is nice to see others think alike.
nbk_redspy  [author] 22 Apr @ 5:27pm 
Thank you for reporting that. The mod has been updated. The next time the game is run, the config will be converted to the text version of the key codes.
Traveler 22 Apr @ 4:20pm 
The config.json just states this instead of keys:
{
"SortKey": 115,
"DropKey": 100
}
and as far as I know of, provided page has no corresponding link to the numerical value in the json file.

This is the list of numerical value that can be put in the config.json file.
https://docs.unity3d.com/Packages/com.unity.tiny@0.13/rt/tiny_runtime/enums/_runtimefull_.ut.core2d.keycode.html