mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 06:32:26 +01:00
Merge pull request #2316 from nickofolas/fix-newline
Fix whitespace in Bladeburner console
This commit is contained in:
commit
225de0faf6
@ -25,8 +25,8 @@ export const ConsoleHelpText: {
|
|||||||
"automate [var] [val] [hi/low]",
|
"automate [var] [val] [hi/low]",
|
||||||
"",
|
"",
|
||||||
"A simple way to automate your Bladeburner actions. This console command can be used " +
|
"A simple way to automate your Bladeburner actions. This console command can be used " +
|
||||||
"to automatically start an action when your stamina rises above a certain threshold, and " +
|
"to automatically start an action when your stamina rises above a certain threshold, and " +
|
||||||
"automatically switch to another action when your stamina drops below another threshold.",
|
"automatically switch to another action when your stamina drops below another threshold.",
|
||||||
" automate status - Check the current status of your automation and get a brief description of what it'll do",
|
" automate status - Check the current status of your automation and get a brief description of what it'll do",
|
||||||
" automate en - Enable the automation feature",
|
" automate en - Enable the automation feature",
|
||||||
" automate dis - Disable the automation feature",
|
" automate dis - Disable the automation feature",
|
||||||
@ -39,9 +39,9 @@ export const ConsoleHelpText: {
|
|||||||
" automate general 'Field Analysis' low",
|
" automate general 'Field Analysis' low",
|
||||||
"",
|
"",
|
||||||
"Using the four console commands above will set the automation to perform Tracking contracts " +
|
"Using the four console commands above will set the automation to perform Tracking contracts " +
|
||||||
"if your stamina is 100 or higher, and then switch to Field Analysis if your stamina drops below " +
|
"if your stamina is 100 or higher, and then switch to Field Analysis if your stamina drops below " +
|
||||||
"50. Note that when setting the action, the name of the action is CASE-SENSITIVE. It must " +
|
"50. Note that when setting the action, the name of the action is CASE-SENSITIVE. It must " +
|
||||||
"exactly match whatever the name is in the UI.",
|
"exactly match whatever the name is in the UI.",
|
||||||
],
|
],
|
||||||
clear: ["clear", "", "Clears the console"],
|
clear: ["clear", "", "Clears the console"],
|
||||||
cls: ["cls", "", "Clears the console"],
|
cls: ["cls", "", "Clears the console"],
|
||||||
@ -49,8 +49,8 @@ export const ConsoleHelpText: {
|
|||||||
"help [command]",
|
"help [command]",
|
||||||
"",
|
"",
|
||||||
"Running 'help' with no arguments displays the general help text, which lists all console commands " +
|
"Running 'help' with no arguments displays the general help text, which lists all console commands " +
|
||||||
"and a brief description of what they do. A command can be specified to get more specific help text " +
|
"and a brief description of what they do. A command can be specified to get more specific help text " +
|
||||||
"about that particular command. For example:",
|
"about that particular command. For example:",
|
||||||
"",
|
"",
|
||||||
" help automate",
|
" help automate",
|
||||||
"",
|
"",
|
||||||
@ -60,8 +60,8 @@ export const ConsoleHelpText: {
|
|||||||
"log [en/dis] [type]",
|
"log [en/dis] [type]",
|
||||||
"",
|
"",
|
||||||
"Enable or disable logging. By default, the results of completing actions such as contracts/operations are logged " +
|
"Enable or disable logging. By default, the results of completing actions such as contracts/operations are logged " +
|
||||||
"in the console. There are also random events that are logged in the console as well. The five categories of " +
|
"in the console. There are also random events that are logged in the console as well. The five categories of " +
|
||||||
"things that get logged are:",
|
"things that get logged are:",
|
||||||
"",
|
"",
|
||||||
"[general, contracts, ops, blackops, events]",
|
"[general, contracts, ops, blackops, events]",
|
||||||
"",
|
"",
|
||||||
@ -86,10 +86,11 @@ export const ConsoleHelpText: {
|
|||||||
" skill list",
|
" skill list",
|
||||||
"",
|
"",
|
||||||
"To display information about a specific skill, specify the name of the skill afterwards. " +
|
"To display information about a specific skill, specify the name of the skill afterwards. " +
|
||||||
"Note that the name of the skill is case-sensitive. Enter it exactly as seen in the UI. If " +
|
"Note that the name of the skill is case-sensitive. Enter it exactly as seen in the UI. If " +
|
||||||
"the name of the skill has whitespace, enclose the name of the skill in double quotation marks:",
|
"the name of the skill has whitespace, enclose the name of the skill in double quotation marks:",
|
||||||
"",
|
"",
|
||||||
" skill list Reaper<br>" + " skill list 'Digital Observer'",
|
" skill list Reaper",
|
||||||
|
" skill list 'Digital Observer'",
|
||||||
"",
|
"",
|
||||||
"This console command can also be used to level up skills:",
|
"This console command can also be used to level up skills:",
|
||||||
"",
|
"",
|
||||||
@ -99,9 +100,9 @@ export const ConsoleHelpText: {
|
|||||||
"start [type] [name]",
|
"start [type] [name]",
|
||||||
"",
|
"",
|
||||||
"Start an action. An action is specified by its type and its name. The " +
|
"Start an action. An action is specified by its type and its name. The " +
|
||||||
"name is case-sensitive. It must appear exactly as it does in the UI. If " +
|
"name is case-sensitive. It must appear exactly as it does in the UI. If " +
|
||||||
"the name of the action has whitespace, enclose it in double quotation marks. " +
|
"the name of the action has whitespace, enclose it in double quotation marks. " +
|
||||||
"Valid action types include:",
|
"Valid action types include:",
|
||||||
"",
|
"",
|
||||||
"[general, contract, op, blackop]",
|
"[general, contract, op, blackop]",
|
||||||
"",
|
"",
|
||||||
|
@ -138,6 +138,7 @@ export function Console(props: IProps): React.ReactElement {
|
|||||||
paddingBottom: '8px',
|
paddingBottom: '8px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
alignItems: 'stretch',
|
alignItems: 'stretch',
|
||||||
|
whiteSpace: 'pre-wrap',
|
||||||
}}>
|
}}>
|
||||||
<Box>
|
<Box>
|
||||||
<Logs entries={[...props.bladeburner.consoleLogs]} />
|
<Logs entries={[...props.bladeburner.consoleLogs]} />
|
||||||
|
Loading…
Reference in New Issue
Block a user