mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
* 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>
21 lines
568 B
C#
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!;
|
|
}
|