Add toggleable numpad movement (Alt+Enter)
Ports the zMUD/CMUD numpad.set convention: plain numpad for normal movement, Ctrl+numpad for moving up a level in that direction, and Ctrl+Alt+numpad for moving down a level, all sent as literal MUD commands via Accelerator. Alt+Enter toggles the whole set on/off (with a sound + spoken confirmation) by clearing/restoring the accelerators, so a disabled numpad types normally instead of doing nothing. Cleared the numbers/*/-/+ entries in the world's native <keypad> block since they'd otherwise double-send alongside the new Accelerator-based bindings - left "." and "/" (hide/inventory) alone since those aren't part of this feature. Documented the full three-layer key list and the toggle in the readme.
This commit is contained in:
45
readme.md
45
readme.md
@@ -109,6 +109,17 @@ The soundpack mirrors game text into a separate notepad-style window titled "out
|
||||
### Gag Manager
|
||||
- **Alt + F2**: Open the Gag Configuration menu (see [Gag Manager](#gag-manager) below)
|
||||
|
||||
### Numpad Movement
|
||||
See [Numpad Movement](#numpad-movement) below for the full breakdown - summary:
|
||||
- **Alt + Enter**: Toggle numpad movement on/off
|
||||
- **Numpad 1-9, 0**: Move (with Numpad 5 as look, Numpad 0 as exits)
|
||||
- **Numpad \* / Ctrl + Numpad \***: In / out
|
||||
- **Numpad - / Numpad +**: Up / down
|
||||
- **Ctrl + Numpad 1-9** (except 5): Move up a level in that direction
|
||||
- **Ctrl + Numpad - / Ctrl + Numpad +**: Upstairs / downstairs
|
||||
- **Ctrl + Alt + Numpad 1-9**: Move down a level in that direction (Ctrl+Alt+Numpad 5 is "go")
|
||||
- **Ctrl + Alt + Numpad - / Ctrl + Alt + Numpad +**: Climb up / climb down
|
||||
|
||||
|
||||
## Gag Manager
|
||||
|
||||
@@ -135,6 +146,40 @@ Press **Alt + F2** to open the Gag Configuration menu. From there you can:
|
||||
|
||||
Your gags are saved to `gags.lua`, next to your world file (`worlds/Cosmic Rage/gags.lua`). It's a plain, human-readable file, so you can copy it to share your gag list with someone else or keep it as a backup. To load someone else's list, drop their `gags.lua` into your own `worlds/Cosmic Rage/` folder - this replaces your existing gags, so back yours up first if you want to keep it.
|
||||
|
||||
|
||||
## Numpad Movement
|
||||
|
||||
The numpad can be dedicated entirely to movement, freeing you from typing full direction commands. It's on by default and works in three layers depending on what modifier you hold.
|
||||
|
||||
### Plain numpad - normal movement
|
||||
- **Numpad 7 / 8 / 9**: Northwest / North / Northeast
|
||||
- **Numpad 4 / 5 / 6**: West / Look / East
|
||||
- **Numpad 1 / 2 / 3**: Southwest / South / Southeast
|
||||
- **Numpad 0**: Exits
|
||||
- **Numpad \***: In
|
||||
- **Ctrl + Numpad \***: Out
|
||||
- **Numpad -**: Up
|
||||
- **Numpad +**: Down
|
||||
|
||||
### Ctrl + numpad - move up a level while heading that direction
|
||||
- **Ctrl + Numpad 7 / 8 / 9**: Northwest-up / North-up / Northeast-up
|
||||
- **Ctrl + Numpad 4 / 6**: West-up / East-up
|
||||
- **Ctrl + Numpad 1 / 2 / 3**: Southwest-up / South-up / Southeast-up
|
||||
- **Ctrl + Numpad -**: Upstairs
|
||||
- **Ctrl + Numpad +**: Downstairs
|
||||
|
||||
### Ctrl + Alt + numpad - move down a level while heading that direction
|
||||
- **Ctrl + Alt + Numpad 7 / 8 / 9**: Northwest-down / North-down / Northeast-down
|
||||
- **Ctrl + Alt + Numpad 4 / 6**: West-down / East-down
|
||||
- **Ctrl + Alt + Numpad 1 / 2 / 3**: Southwest-down / South-down / Southeast-down
|
||||
- **Ctrl + Alt + Numpad 5**: Go
|
||||
- **Ctrl + Alt + Numpad -**: Climb up
|
||||
- **Ctrl + Alt + Numpad +**: Climb down
|
||||
|
||||
### Turning it off
|
||||
|
||||
Press **Alt + Enter** to toggle numpad movement on or off - useful if you need the numpad free for typing numbers instead. You'll hear a confirmation sound and a spoken message each time you toggle it. When it's off, the numpad keys behave normally again rather than doing nothing.
|
||||
|
||||
## FAQ
|
||||
|
||||
**Q: My soundpack isn't working. What should I do?**
|
||||
|
||||
Reference in New Issue
Block a user