Quasimorph

Quasimorph

70 个评价
Hotkeys for Context Menus
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
80.849 KB
2024 年 7 月 10 日 上午 10:23
8 月 18 日 上午 5:36
10 项改动说明 ( 查看 )

订阅以下载
Hotkeys for Context Menus

在 nbk_redspy 的 3 个合集中
Hotkeys and Click Reduction Pack
9 件物品
Oops! All QoL!
33 件物品
Oops! All QoL! (BETA edition)
24 件物品
描述
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 条留言
nbk_redspy  [作者] 9 月 28 日 上午 6:30 
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  [作者] 8 月 18 日 上午 5:19 
I was unaware that wasn't in the docs or the mod's defaults. Thank you for bringing that to my attention.
nbk_redspy  [作者] 8 月 18 日 上午 5:15 
I think the confirm is 100000. You can bind both to the same key if you like.
Skrypt 8 月 17 日 下午 9:36 
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 7 月 30 日 上午 11:33 
with new balance, its save to say maybe we need a repair action bind?
dnt know if possible..
nbk_redspy  [作者] 6 月 21 日 上午 11:19 
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 6 月 21 日 上午 7:04 
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 2 月 5 日 下午 10:09 
You're a hero of the solar system's working class and/or all the freemen and women of the system
nbk_redspy  [作者] 2 月 2 日 下午 3:03 
v0.8.5 compatible.
nbk_redspy  [作者] 2 月 2 日 下午 1:49 
v0.8.5 Status: In queue for needed changes.