Difference between revisions of "Console"
Jump to navigation
Jump to search
(Begun adding commands with syntax & description) |
|||
| Line 1: | Line 1: | ||
| − | |||
| − | |||
{| class="wikitable" | {| class="wikitable" | ||
|- style="background-color:#32cb00;" | |- style="background-color:#32cb00;" | ||
| Line 8: | Line 6: | ||
|- | |- | ||
| CLEAR | | CLEAR | ||
| − | |||
| Clears the console | | Clears the console | ||
|- | |- | ||
| CLEAR_X | | CLEAR_X | ||
| − | |||
| Clears all but the last X lines of the console | | Clears all but the last X lines of the console | ||
|- | |- | ||
| SHOW_ON_ERROR | | SHOW_ON_ERROR | ||
| − | |||
| Whether to show the console when an error occurs | | Whether to show the console when an error occurs | ||
|- | |- | ||
| − | | | + | | SHOW_TIMESTAMP |
| − | |||
| Whether to show the time stamp for each command | | Whether to show the time stamp for each command | ||
|- | |- | ||
| HELP | | HELP | ||
| − | |||
| Shows a list of all Commands available | | Shows a list of all Commands available | ||
|- | |- | ||
| HELP_ALPHA | | HELP_ALPHA | ||
| − | |||
| Shows a list of all Commands available in alphabetical order | | Shows a list of all Commands available in alphabetical order | ||
|- | |- | ||
| SET_FONT_SIZE | | SET_FONT_SIZE | ||
| − | |||
| Sets the font size of the Console | | Sets the font size of the Console | ||
|- | |- | ||
| TOGGLE_ERRORS | | TOGGLE_ERRORS | ||
| − | |||
| Whether to print internal errors | | Whether to print internal errors | ||
|- | |- | ||
| TOGGLE_VERBOSE | | TOGGLE_VERBOSE | ||
| − | |||
| Whether errors should be printed with stacktrace | | Whether errors should be printed with stacktrace | ||
| + | |- | ||
| + | | CLEAR_HISTORY | ||
| + | | Clear console history | ||
|- | |- | ||
| TAKE_ALL_LAND | | TAKE_ALL_LAND | ||
| − | |||
| Claims the entire plot | | Claims the entire plot | ||
|- | |- | ||
| WRITE_ERROR | | WRITE_ERROR | ||
| − | + | | Show all errors that has occured during this save | |
| − | | Show all errors that | ||
|- | |- | ||
| TOGGLE_LIGHTS | | TOGGLE_LIGHTS | ||
| − | |||
| Toggles whether lamps should always be on | | Toggles whether lamps should always be on | ||
|- | |- | ||
| UNLOCK_FURNITURE | | UNLOCK_FURNITURE | ||
| − | |||
| Unlocks all furniture | | Unlocks all furniture | ||
| + | |- | ||
| + | | SPAWN_GUEST | ||
| + | | Spawns a guest, that appears in the game for a receptionist | ||
| + | |- | ||
| + | | SPAWN_BURGLAR | ||
| + | | Spawns a burglar | ||
| + | |- | ||
| + | | SPAWN_POLICE | ||
| + | | Spawns a police officer for each burglar present | ||
| + | |- | ||
| + | | SPAWN_EMPLOYEES | ||
| + | | Spawns the specified employees in the specified role | ||
| + | |- | ||
| + | | TOGGLE_SKYSCRAPERS | ||
| + | | Toggle whether skyscrapers should become see-through | ||
| + | |- | ||
| + | | MAX_EMPLOYEE_STATS | ||
| + | | Maxes the stats of all selected employees | ||
| + | |- | ||
| + | | SET_EMPLOYEE_STATS | ||
| + | | Sets the selected employees stats to the specified value between 0-1 | ||
| + | |- | ||
| + | | SET_EMPLOYEE_STAT | ||
| + | | Sets a specified spec in a specified role of the selected employees to a specified value between 0-3 | ||
| + | |- | ||
| + | | ADD_EMPLOYEE_EXP | ||
| + | | Add 1 experience point to selected employees in specified role | ||
| + | |- | ||
| + | | RESET_MOOD | ||
| + | | Reset thoughts and mood affectors of selected employees | ||
| + | |- | ||
| + | | SPAWN_CAR | ||
| + | | Spawns the specified amount of cars, which park somewhere for a couple of minutes and drives off | ||
| + | |- | ||
| + | | UNLOCK_ALL_REWARDS | ||
| + | | Unlocks all rewards in the game | ||
| + | |- | ||
| + | | ADD_MONEY | ||
| + | | Adds the specified amount of money | ||
| + | |- | ||
| + | | ADD_FANS | ||
| + | | Adds the specified amount of fans to the specified software category | ||
| + | |- | ||
| + | | SET_BUSINESS_REP | ||
| + | | Sets business reputation to the specified level in percent | ||
| + | |- | ||
| + | | CLEAR_DIRT | ||
| + | | Clears dirt in all rooms | ||
| + | |- | ||
| + | | SKIP_DAYS | ||
| + | | Skips the specified amount of days. This might freeze the game for a while | ||
| + | |- | ||
| + | | SKIP_HOURS | ||
| + | | Skips the specified amount of hours | ||
| + | |- | ||
| + | | SKIP_TO | ||
| + | | Skips to the specified hour between 0 and 23 | ||
| + | |- | ||
| + | | INSTA_DEVELOP_DESIGN | ||
| + | | Instantly releases software in design document window if modded | ||
| + | |- | ||
| + | | AGE_EMPLOYEES | ||
| + | | Ages all selected employees the specified amount of months | ||
| + | |- | ||
| + | | TOGGLE_INFINITE_SUBSIDIARIES | ||
| + | | Toggle whether to remove limit on subsidiaries | ||
| + | |- | ||
| + | | GENERATE_LOCALIZATION | ||
| + | | Generates localization files for the specified mod. | ||
| + | |- | ||
| + | | RELOAD_MOD | ||
| + | | Reloads the specified mod, but not for the currently running game. | ||
| + | |- | ||
| + | | CHECK_SPEC_REP | ||
| + | | Checks whether all specializations are represented in software types using the specified mod | ||
| + | |- | ||
| + | | CHECK_ADDON_MARKET | ||
| + | | Checks whether all markets are fulfilled by an add-on in a software type. Input Mod name, software name and add-on name | ||
| + | |- | ||
| + | | TEST_DEV_MOD | ||
| + | | Checks whether software is balanced properly. Input Mod name, software name and category name | ||
| + | |- | ||
| + | | RELOAD_DLL_MOD | ||
| + | | Reload a dll mod. Game may become unstable | ||
| + | |- | ||
| + | | RECOMPILE_DLL_MOD | ||
| + | | re-compile a dll mod. Game may become unstable | ||
| + | |- | ||
| + | | UNLOAD_DLL_MOD | ||
| + | | Unload a dll mod. Game may become unstable | ||
| + | |- | ||
| + | | RELOAD_FURNITURE | ||
| + | | Reloads all modded furniture with immediate effect | ||
| + | |- | ||
| + | | RELOAD_FURNITURE_MOD | ||
| + | | Reloads specified modded furniture with immediate effect | ||
| + | |- | ||
| + | | RELOAD_MATERIALS | ||
| + | | Reloads all room materials, only including materials loaded at game launch | ||
| + | |- | ||
| + | | REFRESH_SAVES | ||
| + | |- | ||
| + | | FURNITURE_DEBUG | ||
| + | | Toggle whether to show the build(red->cyan) and nav(green->pink) boundary, interaction points(blue) and snap points(yellow) of the selected furniture | ||
| + | |- | ||
| + | | FURNITURE_THUMBNAIL | ||
| + | | Generates a thumbnail for the specified furniture. Only works in the main menu | ||
| + | |- | ||
| + | | EXPORT_FURNITURE_BOUNDS | ||
| + | | Exports boundary information to the TyD of the specified furniture. | ||
| + | |- | ||
| + | | EXPORT_FURNITURE_POINTS | ||
| + | | Exports snap and interaction point data to the TyD of the specified furniture. | ||
| + | |- | ||
| + | | FLYCAM_DRAW_DISTANCE | ||
| + | | The draw distance multiplier to use in first person mode. Between 1 and 10. | ||
| + | |- | ||
| + | | ACTIVATE_WAYPOINT_EDITOR | ||
| + | | Activates a waypoint animation system for first person mode. Press Backspace to add a waypoint and Enter to play. | ||
| + | |- | ||
| + | | TOGGLE_CEILING | ||
| + | | Toggles the generation of ceiling meshes for first person mode. Might need a reload and has a performance impact. | ||
| + | |- | ||
| + | | UI_UNDER_MOUSE | ||
| + | | Lists all UI elements currently under the mouse cursor | ||
| + | |- | ||
| + | | UI_CHILDREN | ||
| + | | Get a list of all UI elements contained in a UI element | ||
| + | |- | ||
| + | | UI_COMPONENTS | ||
| + | | Get a list of all components attached to a UI element | ||
| + | |- | ||
| + | | RELOAD_TUTORIALS | ||
| + | | Reloads all tutorials | ||
| + | |- | ||
| + | | SKIP_TRACK | ||
| + | | Force skip music track playing, if any | ||
| + | |- | ||
| + | | START_FIRE | ||
| + | | Starts fire in selected rooms | ||
| + | |- | ||
| + | | CAPTURE_SCREEN | ||
| + | | Saves screenshot to a Capture folder with the specified file name (excluding .png, auto indexed) and with the specified scaling | ||
| + | |- | ||
| + | | LIST_SCOPE_MEMBERS | ||
| + | | List all members of a script scope | ||
| + | |- | ||
| + | | COMPARE_LOCALIZATION | ||
| + | | Compare the first translation UI file to the second. The second should almost always be English | ||
| + | |- | ||
| + | | CONVERT_LOCALIZATION_TYD | ||
| + | | Convert all XML files to TyD files for the specified localization | ||
| + | |- | ||
| + | | RELOAD_LOCALIZATION | ||
| + | | Reloads all localizations, but doesn't update UI | ||
| + | |- | ||
| + | | LOAD_FROM_LOCALIZOR | ||
| + | | Downloads specified localization from Localizor.com, e.g. "de" | ||
| + | |- | ||
| + | | STORE_CAM_STATE | ||
| + | | Saves current camera position | ||
| + | |- | ||
| + | | RESTORE_CAM_STATE | ||
| + | | Loads last saved camera position | ||
| + | |- | ||
| + | | SET_STYLE | ||
| + | | Sets style in customization menu | ||
| + | |- | ||
| + | | GET_GENERATION_STRING | ||
| + | | Output the string used to generate the map | ||
| + | |- | ||
| + | | FIND_BOXES | ||
| + | | Find all conveyors and assemblers containing components related to the specified printing job | ||
| + | |- | ||
| + | | FIX_COMPONENT_COUNT | ||
| + | | Recounts all hardware components on map in case a print job is stalled | ||
|} | |} | ||
Revision as of 15:24, 4 April 2023
| Command | Syntax | Description |
|---|---|---|
| CLEAR | Clears the console | |
| CLEAR_X | Clears all but the last X lines of the console | |
| SHOW_ON_ERROR | Whether to show the console when an error occurs | |
| SHOW_TIMESTAMP | Whether to show the time stamp for each command | |
| HELP | Shows a list of all Commands available | |
| HELP_ALPHA | Shows a list of all Commands available in alphabetical order | |
| SET_FONT_SIZE | Sets the font size of the Console | |
| TOGGLE_ERRORS | Whether to print internal errors | |
| TOGGLE_VERBOSE | Whether errors should be printed with stacktrace | |
| CLEAR_HISTORY | Clear console history | |
| TAKE_ALL_LAND | Claims the entire plot | |
| WRITE_ERROR | Show all errors that has occured during this save | |
| TOGGLE_LIGHTS | Toggles whether lamps should always be on | |
| UNLOCK_FURNITURE | Unlocks all furniture | |
| SPAWN_GUEST | Spawns a guest, that appears in the game for a receptionist | |
| SPAWN_BURGLAR | Spawns a burglar | |
| SPAWN_POLICE | Spawns a police officer for each burglar present | |
| SPAWN_EMPLOYEES | Spawns the specified employees in the specified role | |
| TOGGLE_SKYSCRAPERS | Toggle whether skyscrapers should become see-through | |
| MAX_EMPLOYEE_STATS | Maxes the stats of all selected employees | |
| SET_EMPLOYEE_STATS | Sets the selected employees stats to the specified value between 0-1 | |
| SET_EMPLOYEE_STAT | Sets a specified spec in a specified role of the selected employees to a specified value between 0-3 | |
| ADD_EMPLOYEE_EXP | Add 1 experience point to selected employees in specified role | |
| RESET_MOOD | Reset thoughts and mood affectors of selected employees | |
| SPAWN_CAR | Spawns the specified amount of cars, which park somewhere for a couple of minutes and drives off | |
| UNLOCK_ALL_REWARDS | Unlocks all rewards in the game | |
| ADD_MONEY | Adds the specified amount of money | |
| ADD_FANS | Adds the specified amount of fans to the specified software category | |
| SET_BUSINESS_REP | Sets business reputation to the specified level in percent | |
| CLEAR_DIRT | Clears dirt in all rooms | |
| SKIP_DAYS | Skips the specified amount of days. This might freeze the game for a while | |
| SKIP_HOURS | Skips the specified amount of hours | |
| SKIP_TO | Skips to the specified hour between 0 and 23 | |
| INSTA_DEVELOP_DESIGN | Instantly releases software in design document window if modded | |
| AGE_EMPLOYEES | Ages all selected employees the specified amount of months | |
| TOGGLE_INFINITE_SUBSIDIARIES | Toggle whether to remove limit on subsidiaries | |
| GENERATE_LOCALIZATION | Generates localization files for the specified mod. | |
| RELOAD_MOD | Reloads the specified mod, but not for the currently running game. | |
| CHECK_SPEC_REP | Checks whether all specializations are represented in software types using the specified mod | |
| CHECK_ADDON_MARKET | Checks whether all markets are fulfilled by an add-on in a software type. Input Mod name, software name and add-on name | |
| TEST_DEV_MOD | Checks whether software is balanced properly. Input Mod name, software name and category name | |
| RELOAD_DLL_MOD | Reload a dll mod. Game may become unstable | |
| RECOMPILE_DLL_MOD | re-compile a dll mod. Game may become unstable | |
| UNLOAD_DLL_MOD | Unload a dll mod. Game may become unstable | |
| RELOAD_FURNITURE | Reloads all modded furniture with immediate effect | |
| RELOAD_FURNITURE_MOD | Reloads specified modded furniture with immediate effect | |
| RELOAD_MATERIALS | Reloads all room materials, only including materials loaded at game launch | |
| REFRESH_SAVES | ||
| FURNITURE_DEBUG | Toggle whether to show the build(red->cyan) and nav(green->pink) boundary, interaction points(blue) and snap points(yellow) of the selected furniture | |
| FURNITURE_THUMBNAIL | Generates a thumbnail for the specified furniture. Only works in the main menu | |
| EXPORT_FURNITURE_BOUNDS | Exports boundary information to the TyD of the specified furniture. | |
| EXPORT_FURNITURE_POINTS | Exports snap and interaction point data to the TyD of the specified furniture. | |
| FLYCAM_DRAW_DISTANCE | The draw distance multiplier to use in first person mode. Between 1 and 10. | |
| ACTIVATE_WAYPOINT_EDITOR | Activates a waypoint animation system for first person mode. Press Backspace to add a waypoint and Enter to play. | |
| TOGGLE_CEILING | Toggles the generation of ceiling meshes for first person mode. Might need a reload and has a performance impact. | |
| UI_UNDER_MOUSE | Lists all UI elements currently under the mouse cursor | |
| UI_CHILDREN | Get a list of all UI elements contained in a UI element | |
| UI_COMPONENTS | Get a list of all components attached to a UI element | |
| RELOAD_TUTORIALS | Reloads all tutorials | |
| SKIP_TRACK | Force skip music track playing, if any | |
| START_FIRE | Starts fire in selected rooms | |
| CAPTURE_SCREEN | Saves screenshot to a Capture folder with the specified file name (excluding .png, auto indexed) and with the specified scaling | |
| LIST_SCOPE_MEMBERS | List all members of a script scope | |
| COMPARE_LOCALIZATION | Compare the first translation UI file to the second. The second should almost always be English | |
| CONVERT_LOCALIZATION_TYD | Convert all XML files to TyD files for the specified localization | |
| RELOAD_LOCALIZATION | Reloads all localizations, but doesn't update UI | |
| LOAD_FROM_LOCALIZOR | Downloads specified localization from Localizor.com, e.g. "de" | |
| STORE_CAM_STATE | Saves current camera position | |
| RESTORE_CAM_STATE | Loads last saved camera position | |
| SET_STYLE | Sets style in customization menu | |
| GET_GENERATION_STRING | Output the string used to generate the map | |
| FIND_BOXES | Find all conveyors and assemblers containing components related to the specified printing job | |
| FIX_COMPONENT_COUNT | Recounts all hardware components on map in case a print job is stalled |