mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 16:52:55 +02:00
Added Disable ASCII art to options (#832)
* hotfix getPlayer missing factions * Added ability to disable ascii art in options. ASCII art is impossible to deal with for screenreaders.
This commit is contained in:
@@ -20,6 +20,11 @@ interface IDefaultSettings {
|
||||
*/
|
||||
CodeInstructionRunTime: number;
|
||||
|
||||
/**
|
||||
* Render city as list of buttons.
|
||||
*/
|
||||
DisableASCIIArt: boolean;
|
||||
|
||||
/**
|
||||
* Whether global keyboard shortcuts should be recognized throughout the game.
|
||||
*/
|
||||
@@ -101,6 +106,7 @@ interface ISettings extends IDefaultSettings {
|
||||
const defaultSettings: IDefaultSettings = {
|
||||
AutosaveInterval: 60,
|
||||
CodeInstructionRunTime: 50,
|
||||
DisableASCIIArt: false,
|
||||
DisableHotkeys: false,
|
||||
Locale: "en",
|
||||
MaxLogCapacity: 50,
|
||||
@@ -119,6 +125,7 @@ const defaultSettings: IDefaultSettings = {
|
||||
export const Settings: ISettings & ISelfInitializer & ISelfLoading = {
|
||||
AutosaveInterval: defaultSettings.AutosaveInterval,
|
||||
CodeInstructionRunTime: 25,
|
||||
DisableASCIIArt: defaultSettings.DisableASCIIArt,
|
||||
DisableHotkeys: defaultSettings.DisableHotkeys,
|
||||
Editor: EditorSetting.Ace,
|
||||
EditorKeybinding: AceKeybindingSetting.Ace,
|
||||
|
||||
Reference in New Issue
Block a user