Quasimorph

Quasimorph

29 个评价
Raid Storage Sort, Drop, and Drop One
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
79.796 KB
4 月 9 日 下午 6:56
10 月 25 日 下午 1:09
10 项改动说明 ( 查看 )

订阅以下载
Raid Storage Sort, Drop, and Drop One

在 nbk_redspy 的 3 个合集中
Hotkeys and Click Reduction Pack
9 件物品
Oops! All QoL!
33 件物品
Oops! All QoL! (BETA edition)
24 件物品
描述
Storage Sort, Drop, and Single Drop

Important Notes for Opt In Beta

For users that are running the opt in beta, please see the documentation here[github.com] instead.

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

Credits
  • Special thanks to Crynano for his excellent Mod Configuration Menu.

3.1.0
  • 0.9.7+ Only
  • Added MCM support for key binding.
  • Fix for sort key invoked while in space. Missed in previous update.
  • Internal - Upgraded MCM configuration and all related requirements to the latest versions.

Change Log

2.4.1
  • Multi version support.

2.4.0
  • Drop All now always closes screen. Useful for muscle memory when opening a barrel and not realizing it was empty.

2.3.0
  • MCM integration.

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.
7 条留言
nbk_redspy  [作者] 9 月 28 日 上午 6:19 
This mod is compatible with the 0.9.6 opt in beta.

The compatibility info for all of my mods can be found here:
https://gist.github.com/NBKRedSpy/c48ca611b47e905158f972990f0ed83f
nbk_redspy  [作者] 9 月 21 日 上午 7:13 
I've been thinking about that too :) I'm not sure I'll get to it, but it might be possible.
Found da whey 9 月 21 日 上午 12:56 
is it possible to configure it to sort player inventory as well? im playing with increased backpack slots and sometimes its a mess =)
fudeu 7 月 29 日 下午 4:49 
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= 6 月 22 日 上午 5:22 
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  [作者] 4 月 22 日 下午 5:27 
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 4 月 22 日 下午 4:20 
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