Debug Menu

From Random Access Mayhem Wiki
Jump to navigation Jump to search
Debug Console.png

Random Access Mayhem features a Debug function in the accessibility menu not dissimilar to other roguelikes that enable a number of Keybinds, as well as a Debug Console. Note that enabling the debug function in the accessibility menu will block you from earning skins from challenges.

Keybinds

Enabling the Debug option enables multiple keybinds for testing purposes or softlocks in the worst case scenario for basic gameplay. The following are the basic keybinds without any changes:

  • U: Upgrade: Spawns a green upgrade stick.
  • G: GOLEM: Spawns a red GOLEM upgrade stick
  • P: Peaceful: Disables/Enables the enemy AI.
  • O: Invincibility: Attacks no longer damage you.
  • C: Clear Room: Sets the room flag to complete and opens the doors.
  • I: Infinite Energy: Equivalent of Assist Mode.
  • M: Morb: Grants you all upgrades.
    • Visually it may not look like it, but swapping into any bot or attempting to spawn upgrades will show you are maxed out.

Debug Console

Upon pressing Tilde (`/~) by default, a Debug Console will open, with 5 major commands:

  • Give: entering the command "give [upgrade_name/upgradeName/score] [number]" without quotes or brackets will grant you fitness points/upgrades of that number. Can be either snake_case or camelCase.
    • Careful granting yourself a lot of upgrades at once, it will be incredibly loud and potentially crash the game from the amount of overlayed upgrades.
  • Spawn: entering the command "spawn [botname] [number]" without quotes or brackets. Can take the inputs:
    • steeltoe
    • deadlift
    • router
    • aphid
    • boss
      • "boss" will spawn a non-functional copy of the CPU, which has collision with the player but cannot be harmed or knocked back, as well as being unable to move or attack.
    • barrel
    • dummy
  • Set Flag: entering the command "setflag [flagname] [true/false] will change that flag to the specified state.
    • The setflag command can set any variable in the internal GameManager, but doing so will usually result in a crash of some kind. Functional flags include:
      • cranked, alkaline, stoicism, halflife, decay: sets the corresponding difficulty modifier for the run.
      • dm_unlimited_swap_targeting: false by default, enabling this will allow the swap cursor to be held infinitely without any swap energy drain.
      • enable_score_modifiers: true by default, disabling this will disable the Variety Multiplier.
  • Kill All: entering the command "killall" kills all enemies currently alive.
  • Go To: entering the command "goto [floor_name/floorName]" will send you to the next floor.
    • Floor -> Floor -> Floor -> Floor -> Shop -> Floor -> Floor -> Floor -> Floor -> Shop -> Peak -> Soul of the Machine -> Maintenance(old, broken version of Onward]]
    • Before v0.3.10c, this command worked as intended, taking you to whichever easy or hard floor you picked.