closet skeleton event (#19802)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using Content.Server.StationEvents.Events;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
namespace Content.Server.StationEvents.Components;
|
||||
|
||||
/// <summary>
|
||||
/// Spawns a single entity in a random EntityStorage on the station
|
||||
/// </summary>
|
||||
[RegisterComponent, Access(typeof(RandomEntityStorageSpawnRule))]
|
||||
public sealed partial class RandomEntityStorageSpawnRuleComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The entity to be spawned.
|
||||
/// </summary>
|
||||
[DataField("prototype", required: true, customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
|
||||
public string Prototype = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user