expedition rewards (#16972)
Co-authored-by: deltanedas <@deltanedas:kde.org> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
using Content.Shared.Random;
|
||||
using Content.Shared.Salvage;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
namespace Content.Server.Salvage.Expeditions;
|
||||
|
||||
@@ -27,7 +29,7 @@ public sealed class SalvageExpeditionComponent : Component
|
||||
/// <summary>
|
||||
/// Station whose mission this is.
|
||||
/// </summary>
|
||||
[ViewVariables, DataField("station")]
|
||||
[DataField("station")]
|
||||
public EntityUid Station;
|
||||
|
||||
[ViewVariables] public bool Completed = false;
|
||||
@@ -48,6 +50,12 @@ public sealed class SalvageExpeditionComponent : Component
|
||||
{
|
||||
Params = AudioParams.Default.WithVolume(-15),
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// The difficulty this mission had or, in the future, was selected.
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("difficulty")]
|
||||
public DifficultyRating Difficulty;
|
||||
}
|
||||
|
||||
public enum ExpeditionStage : byte
|
||||
|
||||
Reference in New Issue
Block a user