mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* giant protoid cleanup * yml changes * ! --------- Co-authored-by: deltanedas <@deltanedas:goida.zip>
17 lines
509 B
C#
17 lines
509 B
C#
using Content.Server.StationEvents.Events;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
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(required: true)]
|
|
public EntProtoId Prototype;
|
|
}
|