Rejig pressure protection (#7560)
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
using Content.Shared.Damage;
|
||||
using Content.Shared.FixedPoint;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
using Robust.Shared.ViewVariables;
|
||||
|
||||
namespace Content.Server.Atmos.Components
|
||||
{
|
||||
@@ -24,5 +21,11 @@ namespace Content.Server.Atmos.Components
|
||||
/// Used to keep track of when damage starts/stops. Useful for logs.
|
||||
/// </summary>
|
||||
public bool TakingDamage = false;
|
||||
|
||||
/// <summary>
|
||||
/// These are the inventory slots that are checked for pressure protection. If a slot is missing protection, no protection is applied.
|
||||
/// </summary>
|
||||
[DataField("protectionSlots")]
|
||||
public List<string> ProtectionSlots = new() { "head", "outerClothing" };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user