Skip to content

Commit bf71002

Browse files
refactor(docs): auto-format via Prettier
1 parent 00a6f7d commit bf71002

1 file changed

Lines changed: 26 additions & 26 deletions

File tree

docs/debug.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -9,41 +9,41 @@ Tab-completion is available — type `dev.` and press Tab to browse available mo
99

1010
### Common commands
1111

12-
| Command | Description |
13-
| ------- | ----------- |
14-
| `dev.player.god()` | Toggle god mode (invincible, infinite mana). Pass `true`/`false` to set explicitly. |
15-
| `dev.player.invisible()` | Toggle invisibility (monsters ignore you). |
16-
| `dev.player.gold.give()` | Fill inventory with gold. Pass an amount to give a specific value. |
17-
| `dev.player.gold.take()` | Remove all gold. Pass an amount to remove a specific value. |
18-
| `dev.player.info()` | Print player position, HP, mode, and other state. |
19-
| `dev.items.spawn("name")` | Spawn an item by partial name match. |
20-
| `dev.items.spawnUnique("name")` | Spawn a unique item by partial name match. |
12+
| Command | Description |
13+
| ------------------------------- | ----------------------------------------------------------------------------------- |
14+
| `dev.player.god()` | Toggle god mode (invincible, infinite mana). Pass `true`/`false` to set explicitly. |
15+
| `dev.player.invisible()` | Toggle invisibility (monsters ignore you). |
16+
| `dev.player.gold.give()` | Fill inventory with gold. Pass an amount to give a specific value. |
17+
| `dev.player.gold.take()` | Remove all gold. Pass an amount to remove a specific value. |
18+
| `dev.player.info()` | Print player position, HP, mode, and other state. |
19+
| `dev.items.spawn("name")` | Spawn an item by partial name match. |
20+
| `dev.items.spawnUnique("name")` | Spawn a unique item by partial name match. |
2121

2222
## Chat commands
2323

2424
The chat box is only available in **multiplayer** (Enter opens it). It accepts a few commands:
2525

26-
| Command | Description |
27-
| ------- | ----------- |
28-
| `/help` | Shows a list of all available chat commands. |
29-
| `/seedinfo` | Show the seed info for the current level. |
26+
| Command | Description |
27+
| ----------------- | ----------------------------------------------------------- |
28+
| `/help` | Shows a list of all available chat commands. |
29+
| `/seedinfo` | Show the seed info for the current level. |
3030
| `/inspect <name>` | Inspect another player's stats and equipment (multiplayer). |
3131

3232
## Command-line parameters
3333

34-
| Command | Description |
35-
| ------- | ----------- |
36-
| `+` | Executes a debug command when loading the first game. For example `+god` or `+changelevel 1 +spawn 4 skeleton`. |
37-
| `-f` | Display frames per second. |
38-
| `-i` | Disable network timeout. |
39-
| `-n` | Disable startup video. |
34+
| Command | Description |
35+
| ------- | --------------------------------------------------------------------------------------------------------------- |
36+
| `+` | Executes a debug command when loading the first game. For example `+god` or `+changelevel 1 +spawn 4 skeleton`. |
37+
| `-f` | Display frames per second. |
38+
| `-i` | Disable network timeout. |
39+
| `-n` | Disable startup video. |
4040

4141
## In-game hotkeys
4242

43-
| Hotkey | Description |
44-
| ------ | ----------- |
45-
| `Shift` | While holding, you can use the mouse to scroll screen. |
46-
| `m` | Print debug monster info. |
47-
| `M` | Switch current debug monster. |
48-
| `` ` `` | Open the Lua console. |
49-
| `x` | Toggles `DebugToggle` variable. `DebugToggle` is a generic solution for temporary toggles needed for debugging. |
43+
| Hotkey | Description |
44+
| ------- | --------------------------------------------------------------------------------------------------------------- |
45+
| `Shift` | While holding, you can use the mouse to scroll screen. |
46+
| `m` | Print debug monster info. |
47+
| `M` | Switch current debug monster. |
48+
| `` ` `` | Open the Lua console. |
49+
| `x` | Toggles `DebugToggle` variable. `DebugToggle` is a generic solution for temporary toggles needed for debugging. |

0 commit comments

Comments
 (0)