Skip to content

Commit

Permalink
docs: make debug help menu more welcoming
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 committed Mar 12, 2023
1 parent cda4bc7 commit 1cbeb28
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,16 +335,16 @@ Whether you are implementing a new feature or whether you are fixing a bug, it i
Bring up the keybindings menu (press `Escape` then `1`), scroll down almost to the bottom and press `+` to add a new key binding. Press the letter that corresponds to the _Debug menu_ item, then press the key you want to use to bring up the debug menu. To test your changes, create a new world with a new character. Once you are in that world, press the key you just assigned for the debug menu and you should see something like this:
```
┌───────────────────────────────────────────────────────────────────────────
│ Debug Functions - Using these will cheat not only the game, but yourself.
├───────────────────────────────────────────────────────────────────────────
│ i Info
│ Q Quit to main menu
│ s Spawning
│ p Player
│ t Teleport
│ m Map
└───────────────────────────────────────────────────────────────────────────
┌─────────────────────────────────────────────────────┐
│ Debug Functions - Manipulate the fabric of reality!
├─────────────────────────────────────────────────────┤
│ i Info │
│ Q Quit to main menu │
│ s Spawning...
│ p Player...
│ t Teleport...
│ m Map...
└─────────────────────────────────────────────────────┘
```
With these commands, you should be able to recreate the proper conditions to test your changes. The [DDA wiki](http://cddawiki.chezzo.com/cdda_wiki/index.php) may have useful informations regarding debug menu.
Expand Down
2 changes: 1 addition & 1 deletion src/debug_menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ static int debug_menu_uilist( bool display_all_entries = true )

std::string msg;
if( display_all_entries ) {
msg = _( "Debug Functions - Using these will cheat not only the game, but yourself.\nYou won't grow. You won't improve.\nTaking this shortcut will gain you nothing. Your victory will be hollow.\nNothing will be risked and nothing will be gained." );
msg = _( "Debug Functions - Manipulate the fabric of reality!\nYou can use them to fix a bug or test something.\nBe careful, as some of them may potentially break things." );
} else {
msg = _( "Debug Functions" );
}
Expand Down

0 comments on commit 1cbeb28

Please sign in to comment.