Support multiple containers for HealingComponent (#16867)
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
using Content.Shared.Damage;
|
||||
using Content.Shared.Damage.Prototypes;
|
||||
using Content.Shared.DoAfter;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
|
||||
|
||||
namespace Content.Server.Medical.Components
|
||||
{
|
||||
@@ -36,8 +35,8 @@ namespace Content.Server.Medical.Components
|
||||
/// HealingComponent this filters what damage container type this component should work on. If null,
|
||||
/// all damage container types are supported.
|
||||
/// </remarks>
|
||||
[DataField("damageContainer", customTypeSerializer: typeof(PrototypeIdSerializer<DamageContainerPrototype>))]
|
||||
public string? DamageContainerID;
|
||||
[DataField("damageContainers", customTypeSerializer: typeof(PrototypeIdListSerializer<DamageContainerPrototype>))]
|
||||
public List<string>? DamageContainers;
|
||||
|
||||
/// <summary>
|
||||
/// How long it takes to apply the damage.
|
||||
|
||||
Reference in New Issue
Block a user