Реворк экспедиций (#360)

* - add: Expedition rework.

* - tweak: Hardsuit tweak.
This commit is contained in:
Aviu00
2024-06-16 15:33:26 +00:00
committed by GitHub
parent b6d9ee496a
commit 3353440a99
19 changed files with 280 additions and 115 deletions

View File

@@ -64,7 +64,7 @@ public sealed class SalvageExpeditionConsoleBoundUserInterface : BoundUserInterf
var offering = new OfferingWindowOption();
offering.Title = Loc.GetString($"salvage-expedition-type");
var difficultyId = "Moderate";
var difficultyId = missionParams.Difficulty;
var difficultyProto = _protoManager.Index<SalvageDifficultyPrototype>(difficultyId);
// TODO: Selectable difficulty soon.
var mission = salvage.GetMission(difficultyProto, missionParams.Seed);
@@ -80,7 +80,7 @@ public sealed class SalvageExpeditionConsoleBoundUserInterface : BoundUserInterf
offering.AddContent(new Label
{
Text = Loc.GetString("salvage-expedition-difficulty-Moderate"),
Text = Loc.GetString($"salvage-expedition-difficulty-{difficultyId}"),
FontColorOverride = difficultyColor,
HorizontalAlignment = Control.HAlignment.Left,
Margin = new Thickness(0f, 0f, 0f, 5f),