Objectives ecs rework (#19967)
Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
@@ -59,7 +59,7 @@ public sealed class CharacterInfoSystem : EntitySystem
|
||||
public readonly record struct CharacterData(
|
||||
EntityUid Entity,
|
||||
string Job,
|
||||
Dictionary<string, List<ConditionInfo>> Objectives,
|
||||
Dictionary<string, List<ObjectiveInfo>> Objectives,
|
||||
string? Briefing,
|
||||
string EntityName
|
||||
);
|
||||
|
||||
7
Content.Client/Objectives/Systems/ObjectivesSystem.cs
Normal file
7
Content.Client/Objectives/Systems/ObjectivesSystem.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
using Content.Shared.Objectives.Systems;
|
||||
|
||||
namespace Content.Client.Objectives.Systems;
|
||||
|
||||
public sealed class ObjectivesSystem : SharedObjectivesSystem
|
||||
{
|
||||
}
|
||||
@@ -128,7 +128,7 @@ public sealed class CharacterUIController : UIController, IOnStateEntered<Gamepl
|
||||
foreach (var condition in conditions)
|
||||
{
|
||||
var conditionControl = new ObjectiveConditionsControl();
|
||||
conditionControl.ProgressTexture.Texture = _sprite.Frame0(condition.SpriteSpecifier);
|
||||
conditionControl.ProgressTexture.Texture = _sprite.Frame0(condition.Icon);
|
||||
conditionControl.ProgressTexture.Progress = condition.Progress;
|
||||
var titleMessage = new FormattedMessage();
|
||||
var descriptionMessage = new FormattedMessage();
|
||||
|
||||
Reference in New Issue
Block a user