Quasimorph

Quasimorph

69 ratings
Hotkeys for Context Menus
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
80.849 KB
10 Jul, 2024 @ 10:23am
18 Aug @ 5:36am
10 Change Notes ( view )

Subscribe to download
Hotkeys for Context Menus

In 3 collections by nbk_redspy
Hotkeys and Click Reduction Pack
9 items
Oops! All QoL!
33 items
Oops! All QoL! (BETA edition)
24 items
Description
Quasimorph Context Menu Hotkeys


Info

Adds hotkeys to the context menus.
The hotkeys can be configured in the config file noted below.

Configuration

The configuration file is located at %UserProfile%\AppData\LocalLow\Magnum Scriptum Ltd\Quasimorph_ModConfigs\QM_ContextMenuHotkeys\QM_ContextMenuHotkeys.json.
The file will be created the first time the game is run.

Settings
Name
Default
Description
ConfigVersion
Used internally
CommandBinds
Key and Command (See config file)
The list of commands and their shortcut keys to invoke the command. For example, D for Disassemble. To not bind a command, set the Key to "None"

Important - Divide Stacks

The divide stacks and confirm commands are special in that they use a number. Divide is 99999 and confirm is 100000.

Command Binding Duplicate Note

The Command Binding mode can use the same key for multiple entries. For example, Disassembly and DiassemblyAll will not show up on the same menu and is safe to reuse the same key.

If the context menu has more than item with the same key bind, the first entry will be chosen.

Key List

The list of valid keyboard keys can be found at the bottom of https://docs.unity3d.com/ScriptReference/KeyCode.html

Command List

The game currently supports the following commands for the Context Menu.
Drop Take Equip Unequip Use Reload UnloadAmmo Eat FixWound Amputate Disassemble DisassembleAll DisassembleX1 Repair UnlockDatadisk SpillOnTheFloorX1 SpillOnTheFloorX5 99999 ApplySkull RemoveSkull RemoveFire Take_To_Drag Augment RemoveAugmentation Install

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 https://github.com/NBKRedSpy/QM-ContextMenuHotkeys

Change Log

3.5.1
  • Added the "Split Stacks Confirm" to the docs and the default config.
    • Thank you to Steam user Skrypt for reporting this.

3.5.0
  • v0.8.6 compatibility
  • Removed positional mode.
  • Configs will automatically be changed to write any missing settings from older files.

3.3.0
  • v0.8.5 compatible.

3.3.0
  • Moved config file directory.

3.2.0
  • .8 compatible.

3.1.0
  • Simplified enabling modes with a single setting.
  • Supports upgrading the configuration schema.
  • Added every context menu command in the config with unbound items set to KeyCode.None.
  • Highlights the hotkey on the menu items.

3.0.0
  • Supports Command Binding.

2.0.0

  • Added list for commands that must have a modifier. Defaults to destructive items.

  • Improved the command parsing. Now avoids invisible cached commands.
29 Comments
nbk_redspy  [author] 28 Sep @ 6:30am 
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  [author] 18 Aug @ 5:19am 
I was unaware that wasn't in the docs or the mod's defaults. Thank you for bringing that to my attention.
nbk_redspy  [author] 18 Aug @ 5:15am 
I think the confirm is 100000. You can bind both to the same key if you like.
Skrypt 17 Aug @ 9:36pm 
So I have "Divide" (99999) bound to a key.

After selecting that, another context menu is presented to select quantity and "Divide" again to finalize it.

How do I bind a key for that final context menu's "Divide"?
Crd 30 Jul @ 11:33am 
with new balance, its save to say maybe we need a repair action bind?
dnt know if possible..
nbk_redspy  [author] 21 Jun @ 11:19am 
By default, Eat and Equip are both bound to E and Take is bound to T.
You can either edit the command file and set the key binding, or delete the config when not in the game. The mod will recreate the config with the defaults.

See the Configuration section above for the config file location, bind commands, and key names.
bash 21 Jun @ 7:04am 
the letter "T" is not displayed in context menu. cant "take" stuff. i also miss the "E equip" function for weapons (ver 0.9.375)
Szil 5 Feb @ 10:09pm 
You're a hero of the solar system's working class and/or all the freemen and women of the system
nbk_redspy  [author] 2 Feb @ 3:03pm 
v0.8.5 compatible.
nbk_redspy  [author] 2 Feb @ 1:49pm 
v0.8.5 Status: In queue for needed changes.