Files
Delta-v/Content.Shared/_DV/CosmicCult/Components/CosmicChantryComponent.cs
T
AftrLite 409cd39883 Cosmic Cult | Patch 1.1.0 (#3905)
* initial commit

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* my whitespace so trailing

* Merge branch 'coscult-tweakandfix' of https://github.com/AftrLite/Delta-v into coscult-tweakandfix

* tweaks

* 2nd content commit

* linter oopsie

* my yml so linter

* ubuntu build test fail my beloathed

* weighting tune

* requested changes + audio changes for licensing

* using begone

* tweak

* begone spawnmenu entry

* yml fix, nyano code tweak, effigy tweak

* review commit

* testfail nonsense begone

* requested changes from a review that doesn't even exist yet

* emote change
2025-06-13 11:51:31 +02:00

53 lines
1.4 KiB
C#

using Robust.Shared.Audio;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
namespace Content.Shared._DV.CosmicCult.Components;
/// <summary>
/// Component for Cosmic Cult's Vacuous Chantry.
/// </summary>
[RegisterComponent, NetworkedComponent]
[AutoGenerateComponentPause]
public sealed partial class CosmicChantryComponent : Component
{
[AutoPausedField, DataField(customTypeSerializer: typeof(TimeOffsetSerializer))]
public TimeSpan SpawnTimer = default!;
[AutoPausedField, DataField(customTypeSerializer: typeof(TimeOffsetSerializer))]
public TimeSpan CountdownTimer = default!;
[DataField] public TimeSpan SpawningTime = TimeSpan.FromSeconds(2.4);
[DataField] public TimeSpan EventTime = TimeSpan.FromSeconds(150);
[DataField] public bool Spawned;
[DataField] public bool Completed;
[DataField] public EntityUid InternalVictim;
[DataField] public EntityUid VictimBody;
[DataField] public SoundSpecifier ChantryAlarm = new SoundPathSpecifier("/Audio/_DV/CosmicCult/chantry_alarm.ogg");
[DataField] public EntProtoId Colossus = "MobCosmicColossus";
[DataField] public EntProtoId SpawnVFX = "CosmicGlareAbilityVFX";
}
[Serializable, NetSerializable]
public enum ChantryVisuals : byte
{
Status,
}
[Serializable, NetSerializable]
public enum ChantryStatus : byte
{
Off,
On,
}