Files
Delta-v/Content.Shared/EntityConditions/EntityConditionPrototype.cs
deltanedasanddeltanedas f0b4c6ef2a add nested entity effects+conditions (#42341)
* add nested effect

* add nested condition

* move api to the main systems and improve effect guidebook text gen

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
2026-06-29 12:44:00 +02:00

21 lines
568 B
C#

using Content.Shared.EntityConditions.Conditions;
using Robust.Shared.Prototypes;
namespace Content.Shared.EntityConditions;
/// <summary>
/// A prototype for entity conditions which can be reused via <see cref="NestedCondition"/>.
/// </summary>
[Prototype]
public sealed partial class EntityConditionPrototype : IPrototype
{
[IdDataField]
public string ID { get; private set; } = string.Empty;
/// <summary>
/// The condition of this prototype.
/// </summary>
[DataField(required: true)]
public EntityCondition Condition = default!;
}