-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Гипоспрей борга теперь позволяет выбирать нужный реагент.
- Loading branch information
Showing
6 changed files
with
103 additions
and
43 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
Content.Server/Chemistry/Components/SolutionRegenerationComponent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 2 additions & 8 deletions
10
...ent.Server/_Sunrise/SolutionRegenerationSwitcher/SolutionRegenerationSwitcherComponent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
using Content.Shared.Chemistry.Reagent; | ||
|
||
namespace Content.Server.Sunrise.SolutionRegenerationSwitcher | ||
namespace Content.Server._Sunrise.SolutionRegenerationSwitcher | ||
{ | ||
[RegisterComponent] | ||
public sealed partial class SolutionRegenerationSwitcherComponent : Component | ||
{ | ||
[DataField("options", required: true), ViewVariables(VVAccess.ReadWrite)] | ||
public List<ReagentQuantity> Options = default!; | ||
|
||
[DataField("currentIndex"), ViewVariables(VVAccess.ReadWrite)] | ||
public int CurrentIndex = 0; | ||
|
||
/// <summary> | ||
/// Should the already generated solution be kept when switching? | ||
/// </summary> | ||
[DataField("keepSolution"), ViewVariables(VVAccess.ReadWrite)] | ||
public bool KeepSolution = false; | ||
public bool KeepSolution; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
Resources/Locale/en-US/_strings/_sunrise/autoregen-switcher/autoregen-component.ftl
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
...rces/Locale/en-US/_strings/_sunrise/autoregen-switcher/solution-regeneration-switcher.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
solution-regeneration-switcher-switched = Теперь производится { $reagent } | ||
solution-regeneration-switcher-switch-verb = Сменить реагент | ||
solution-regeneration-switcher-already-select = Реагент уже выбран | ||
solution-regeneration-switcher-switch-verb-text = Переключает производство реагента. |