entity storage tweaks (#19182)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Content.Shared.Construction.Prototypes;
|
||||
using Content.Shared.Power;
|
||||
using Content.Shared.Whitelist;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
namespace Content.Server.Power.Components
|
||||
@@ -13,14 +14,12 @@ namespace Content.Server.Power.Components
|
||||
/// <summary>
|
||||
/// The charge rate of the charger, in watts
|
||||
/// </summary>
|
||||
|
||||
[DataField("chargeRate")]
|
||||
public float ChargeRate = 20.0f;
|
||||
|
||||
/// <summary>
|
||||
/// The charge rate with no machine upgrades
|
||||
/// </summary>
|
||||
|
||||
[DataField("baseChargeRate")]
|
||||
public float BaseChargeRate = 20.0f;
|
||||
|
||||
@@ -37,7 +36,16 @@ namespace Content.Server.Power.Components
|
||||
[DataField("partRatingChargeRateModifier")]
|
||||
public float PartRatingChargeRateModifier = 1.5f;
|
||||
|
||||
/// <summary>
|
||||
/// The container ID that is holds the entities being charged.
|
||||
/// </summary>
|
||||
[DataField("slotId", required: true)]
|
||||
public string SlotId = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// A whitelist for what entities can be charged by this Charger.
|
||||
/// </summary>
|
||||
[DataField("whitelist")]
|
||||
public EntityWhitelist? Whitelist;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user