Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
feat(ui): Headers for space section
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversalzburg committed Jul 17, 2021
1 parent a8f8109 commit b6aae2c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/userscript/source/ui/SpaceSettingsUi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ export class SpaceSettingsUi extends SettingsSectionUi<SpaceSettings> {
});

this._optionButtons = [
this._getHeader(this._host.i18n("$space.planet.cath.label")),
this._getLimitedOption(
"spaceElevator",
this._options.items.spaceElevator,
Expand All @@ -131,6 +132,7 @@ export class SpaceSettingsUi extends SettingsSectionUi<SpaceSettings> {
true
),

this._getHeader(this._host.i18n("$space.planet.moon.label")),
this._getLimitedOption(
"moonOutpost",
this._options.items.moonOutpost,
Expand All @@ -143,6 +145,7 @@ export class SpaceSettingsUi extends SettingsSectionUi<SpaceSettings> {
true
),

this._getHeader(this._host.i18n("$space.planet.dune.label")),
this._getLimitedOption(
"planetCracker",
this._options.items.planetCracker,
Expand All @@ -160,6 +163,7 @@ export class SpaceSettingsUi extends SettingsSectionUi<SpaceSettings> {
true
),

this._getHeader(this._host.i18n("$space.planet.piscine.label")),
this._getLimitedOption(
"researchVessel",
this._options.items.researchVessel,
Expand All @@ -172,6 +176,7 @@ export class SpaceSettingsUi extends SettingsSectionUi<SpaceSettings> {
true
),

this._getHeader(this._host.i18n("$space.planet.helios.label")),
this._getLimitedOption(
"sunlifter",
this._options.items.sunlifter,
Expand All @@ -194,20 +199,23 @@ export class SpaceSettingsUi extends SettingsSectionUi<SpaceSettings> {
true
),

this._getHeader(this._host.i18n("$space.planet.terminus.label")),
this._getLimitedOption(
"cryostation",
this._options.items.cryostation,
this._host.i18n("$space.planet.terminus.cryostation.label"),
true
),

this._getHeader(this._host.i18n("$space.planet.kairo.label")),
this._getLimitedOption(
"spaceBeacon",
this._options.items.spaceBeacon,
this._host.i18n("$space.planet.kairo.spaceBeacon.label"),
true
),

this._getHeader(this._host.i18n("$space.planet.yarn.label")),
this._getLimitedOption(
"terraformingStation",
this._options.items.terraformingStation,
Expand All @@ -220,20 +228,23 @@ export class SpaceSettingsUi extends SettingsSectionUi<SpaceSettings> {
true
),

this._getHeader(this._host.i18n("$space.planet.umbra.label")),
this._getLimitedOption(
"hrHarvester",
this._options.items.hrHarvester,
this._host.i18n("$space.planet.umbra.hrHarvester.label"),
true
),

this._getHeader(this._host.i18n("$space.planet.charon.label")),
this._getLimitedOption(
"entangler",
this._options.items.entangler,
this._host.i18n("$space.planet.charon.entangler.label"),
true
),

this._getHeader(this._host.i18n("$space.planet.centaurusSystem.label")),
this._getLimitedOption(
"tectonic",
this._options.items.tectonic,
Expand Down

0 comments on commit b6aae2c

Please sign in to comment.