Generalized Store System (#10201)
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
using Content.Shared.Store;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
namespace Content.Server.Traitor.Uplink.SurplusBundle;
|
||||
|
||||
/// <summary>
|
||||
@@ -12,4 +15,11 @@ public sealed class SurplusBundleComponent : Component
|
||||
[ViewVariables(VVAccess.ReadOnly)]
|
||||
[DataField("totalPrice")]
|
||||
public int TotalPrice = 20;
|
||||
|
||||
/// <summary>
|
||||
/// The preset that will be used to get all the listings.
|
||||
/// Currently just defaults to the basic uplink.
|
||||
/// </summary>
|
||||
[DataField("storePreset", customTypeSerializer: typeof(PrototypeIdSerializer<StorePresetPrototype>))]
|
||||
public string StorePreset = "StorePresetUplink";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user