Difference between revisions of "Debug Console"
(Created page with "Cassete Beasts has a '''debug console''' that can be used for testing mods and other gameplay features. == Usage == The console can be enabled (and disab...") |
|||
Line 233: | Line 233: | ||
| Integer | | Integer | ||
|- | |- | ||
− | | <code> | + | | <code>next_relationship_<wbr>level</code> |
| Fulfills the requirements for reaching your current partners's next relationship level. | | Fulfills the requirements for reaching your current partners's next relationship level. | ||
| none | | none | ||
|- | |- | ||
− | | <code> | + | | <code>randomize_<wbr>party_sticker_<wbr>rarity</code> |
| Re-randomizes the rarity of the stickers in your party | | Re-randomizes the rarity of the stickers in your party | ||
| Boolean | | Boolean |
Revision as of 02:49, 29 May 2023
Cassete Beasts has a debug console that can be used for testing mods and other gameplay features.
Usage
The console can be enabled (and disabled) with the following cheat:
Once enabled, you can show and hide the debug console by pressing F1 on a keyboard, or R3 on a controller. (R3 is when you press the right stick in like a button, on a controller that supports it.)
Enabling the console will mark your save file as cheated, which is visible in the speedrun timer. This won't prevent you from completing the game or getting achievements though.
Be careful with the debug console. You can softlock yourself if you use a command at the wrong time, or modify something you don't understand.
Disabling
Entering the same cheat again disables the console.
Note that having enabled the debug console will be permanently recorded in your save file - the in-game timer will forever say that you have cheated from that point on (for that save file).
List of commands
This list can also be viewed in-game via the commands
command.
Command | Description | Parameters |
---|---|---|
dev
|
Toggles dev mode | none |
input_map
|
Prints the current input map to the console | none |
randomize_sprite
|
Randomizes the player character's appearance | none |
pyjamas
|
Sets the player's outfit | none |
reload_scene
|
Reloads the current scene; may cause bugs | none |
load_scene
|
Loads a scene from a given path; may cause bugs | Text |
push_scene
|
Loads a scene from a given path without unloading the current scene; may cause bugs | Text |
gain_exp
|
Gives the given number of experience points to the player's team. | Integer |
debug_stream_map
|
Toggles display of the debug streaming map | none |
warp_to_camera
|
Warps the players to the position pointed at by the camera (outside of battle only). | none |
passive_message
|
Displays a 'passive message' on the screen (for UI testing purposes) | Text, Text |
dialog_message
|
Displays a message dialog on the screen (for UI testing purposes) | Text |
stat_adjust
|
Brings up the base stat adjustment UI | none |
expo_mode
|
Enters expo mode (and will exit the current game WITHOUT saving). | none |
locale
|
Gets/sets the current locale code used for string localisation. Doesn't update any strings already in use. | Text |
font_test_message
|
Displays a standardised message for testing font and localisation issues. | none |
battle_init_pause
|
Delays the start of every battle by the given number of seconds. | Decimal |
battle_start_pause
|
Delays the start of every battle by the given number of seconds. | Decimal |
report_shader_compilation
|
Enable/disable reporting of unexpected shader compilations (in debug builds only) | Boolean |
export_data
|
Export monster/move/etc. databases to the given path. | Text |
platform
|
Prints the name of the platform services the game is using | none |
platform_set_stat
|
Sets a platform service stat | Text, Integer |
platform_unlock_
|
Unlocks the named achievement | Text |
platform_reset_stats
|
Resets all the user's stats and achievements | none |
filter_name
|
Applies profanity filter to the given string | Text |
filter_text
|
Applies profanity filter to the given string | Text |
max_stamina
|
Gets or sets the max amount of stamina the player has | Decimal |
ability
|
Gets or sets the player's abilities | Text, Boolean |
flag
|
Gets or sets one of the player's flags | Text, Boolean |
counter
|
Gets or sets one of the player's counters | Text, Integer |
randomize_all
|
Enables monster, type, and movepool randomization | none |
randomize_types
|
Enables monster type randomization | none |
permadeath
|
Enables/disables permadeath | Boolean |
add_item
|
Adds an item to the player's inventory | Text, Integer |
give_loot
|
Generates loot and adds it to the player's inventory | Text, Integer |
consume_item
|
Removes an item from the player's inventory | Text, Integer |
list_item_ids
|
Lists all the valid item IDs that can be used with add_item | none |
inventory
|
Lists the items in the player's inventory | none |
inventory_stack_limit_increases
|
Gets or sets the increases on stack limits in the player's inventory | Text, Integer |
heal
|
Heals the player's party | none |
hurt
|
Hurts the members of the player's current party | none |
fusion_meter
|
Gets or sets how full the player's fusion bar is. Range is 0 to 100 inclusive. | Integer |
unlock_partner
|
Unlocks partner by ID. Valid values are lower-case English names of the characters: kayleigh , meredith , etc.
|
Text |
lock_partner
|
De-unlocks partner by ID. Valid values are lower-case English names of the characters: kayleigh , meredith , etc.
|
Text |
partner
|
Gets or sets the player's partner. Valid values are lower-case English names of the characters: kayleigh , meredith , etc.
|
Text |
player_name
|
Gets or sets the player's name. | Text |
player_level
|
Gets or sets the player's current combat level. | Integer |
partner_level
|
Gets or sets the partner's current combat level. | Integer |
relationship_level
|
Gets or sets the current partner's relationship level (0-4 inclusive). | Integer |
relationship_kind
|
Gets or sets the current partner's relationship to platonic (0), dating (1), or romantic (2) | Integer |
next_relationship_
|
Fulfills the requirements for reaching your current partners's next relationship level. | none |
randomize_
|
Re-randomizes the rarity of the stickers in your party | Boolean |
give_tape
|
Gives the user a tape of a specific species. | Text, Text |
debug_tapes
|
Gives the player a random set of tapes for debug | none |
debug_stickers
|
Gives the player one of every sticker | Boolean |
debug_team
|
Sets up the player's team with a standard set of tapes at a given level, configured as would be expected of the player at this level. The player's existing tapes are put in storage. The partner is changed to Kayleigh. And the player & partners' levels are changed. | Integer |
seen_all_species
|
Gets/sets a cheat mode. When true, all species are considered 'seen' in the bestiary. | Boolean |
seen_random_fusions
|
Debug helper. Adds a random number of random fusions to your bestiary. | none |
day_length
|
Gets or sets the length of an in-game day (in real-time seconds) | Decimal |
date
|
Gets or sets the current world date | Integer |
time
|
Gets or sets the current world time | Decimal |
hour
|
Gets or sets the current world time in hours | Decimal |
report_event
|
Increments a stat counter in the user's save file | Text, Text, Integer |
stat
|
Returns the value of the stat with the given name and key | Text, Text |
win_battle
|
Immediately win and end the current battle | none |
flee_battle
|
Immediately flee and end the current battle | none |
lose_battle
|
Immediately lose and end the current battle | none |
world_level
|
Gets the level of the area the player is currently in | none |
game_over
|
Immediate game over | none |
no_aggro
|
Enables/disables aggro | Boolean |
player_scale
|
Gets/sets the scale of the player characters | Decimal |
warp_overworld
|
Warps to the given chunk in the overworld. The warp target name may also be given. | Integer, Integer, Text |
warp
|
Warps to a given scene. The warp target name may also be given. | Text, Text |
action_icons
|
Override the default platform controller button icons | Text |
start_quest
|
Starts the quest from the given resource path | Text |
complete_quest
|
Completes the quest with the given resource path | Text |
set_captains_defeated
|
Marks all the captains as having been defeated | none |
set_clues_obtained
|
Marks all clues for the main quest as obtained (the associated archangels are also considered defeated) | none |
list_all_clues
|
Lists all of the main quest clues, regardless of whether they've been obtained yet | none |
list_obtained_clues
|
Lists the main quest clues that have been obtained | none |
rumors
|
List all the current rumors in Harbourtown. | none |
regenerate_rumors
|
Generate a new set of rumors for Harbourtown. | none |
clear_noticeboard
|
Clears the noticeboard of quests so that more can be generated. | none |
server
|
Switches multiplayer server | Text |