mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* giant protoid cleanup * yml changes * ! --------- Co-authored-by: deltanedas <@deltanedas:goida.zip>
31 lines
1,003 B
C#
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"
|
|
};
|
|
}
|