1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-02-12 10:59:23 +00:00

add debug settings descriptions

This commit is contained in:
Dimava 2020-05-29 17:37:54 +03:00
parent dee2354ff3
commit 328de2b033
2 changed files with 38 additions and 0 deletions

View File

@ -192,6 +192,7 @@ export class BoolSetting extends BaseSetting {
getHtml() { getHtml() {
const label = T.settings.labels[this.id] || { const label = T.settings.labels[this.id] || {
title: this.id.replace(/([a-z])([A-Z])/g, (s, a, b) => `${a}_${b}`), title: this.id.replace(/([a-z])([A-Z])/g, (s, a, b) => `${a}_${b}`),
description: "the consequences are unknown",
}; };
return ` return `
<div class="setting cardbox ${this.enabled ? "enabled" : "disabled"}"> <div class="setting cardbox ${this.enabled ? "enabled" : "disabled"}">

View File

@ -583,6 +583,7 @@ settings:
categories: categories:
game: Game game: Game
app: Application app: Application
debug: Debug
versionBadges: versionBadges:
dev: Development dev: Development
@ -668,6 +669,42 @@ settings:
description: >- description: >-
Whether to offer hints and tutorials while playing. Also hides certain UI elements onto a given level to make it easier to get into the game. Whether to offer hints and tutorials while playing. Also hides certain UI elements onto a given level to make it easier to get into the game.
debug_enableDebugSettings:
title: Debug / Enable Debug Settings
description: >-
Apply values below. If disabled, ignore values below.
debug_fastGameEnter: null
debug_noArtificialDelays: null
debug_disableSavegameWrite: null
debug_showEntityBounds: null
debug_showAcceptorEjectors: null
debug_disableMusic: null
debug_doNotRenderStatics: null
debug_disableZoomLimits: null
debug_showChunkBorders:
title: Debug / Show Chunk Borders
description: >-
Draw chunk rectangles.
debug_rewardsInstant: null
debug_allBuildingsUnlocked:
title: Debug / Unlock All Buildings
description: >-
Unlocks all buildings. Works in both new and loaded games.
debug_upgradesNoCost: null
debug_disableUnlockDialog: null
debug_disableLogicTicks: null
debug_testClipping: null
debug_framePausesBetweenTicks: null
debug_testTranslations: null
debug_enableEntityInspector:
title: Debug / Enable Entity Inspector
description: >-
Show information about hovered entity components.
debug_testAds: null
debug_disableMapOverview: null
debug_disableTutorialHints: null
debug_disableUpgradeNotification: null
keybindings: keybindings:
title: Keybindings title: Keybindings
hint: >- hint: >-