CatStation/Content.Server/StationEvents/Components/BluespaceArtifactRuleComponent.cs
deltanedas cf7fde3d62
Big prototype and datafield cleanup (#45202)
* giant protoid cleanup

* yml changes

* !

---------

Co-authored-by: deltanedas <@deltanedas:goida.zip>
2026-08-12 02:07:22 +00:00

31 lines
1,003 B
C#

using Content.Server.StationEvents.Events;
using Robust.Shared.Prototypes;
namespace Content.Server.StationEvents.Components;
/// <summary>
/// This is used for an event that spawns an artifact
/// somewhere random on the station.
/// </summary>
[RegisterComponent, Access(typeof(BluespaceArtifactRule))]
public sealed partial class BluespaceArtifactRuleComponent : Component
{
[DataField]
public EntProtoId ArtifactSpawnerPrototype = "RandomArtifactSpawner";
[DataField]
public EntProtoId ArtifactFlashPrototype = "EffectFlashBluespace";
// TODO: use LocalizedDataset, ideally when gamerules are more composable
[DataField]
public List<LocId> PossibleSightings = new()
{
"bluespace-artifact-sighting-1",
"bluespace-artifact-sighting-2",
"bluespace-artifact-sighting-3",
"bluespace-artifact-sighting-4",
"bluespace-artifact-sighting-5",
"bluespace-artifact-sighting-6",
"bluespace-artifact-sighting-7"
};
}