mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
18 lines
684 B
C#
18 lines
684 B
C#
using Content.Shared.Storage;
|
|
|
|
namespace Content.Shared.GameTicking.Rules.Components;
|
|
|
|
/// <summary>
|
|
/// This handles starting various roundstart variation rules after a station has been loaded.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class RoundstartStationVariationRuleComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The list of rules that will be started once the map is spawned.
|
|
/// Uses <see cref="EntitySpawnEntry"/> to support probabilities for various rules
|
|
/// without having to hardcode the probability directly in the rule's logic.
|
|
/// </summary>
|
|
[DataField(required: true)]
|
|
public List<EntitySpawnEntry> Rules = new();
|
|
}
|