mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-02 17:17:25 +00:00
* initial commit * whoops * guidebook * typo oof * fix? * untouch stuff (WHOOPS), refactor tile detonation, remove remaining rogue ascendant stuff, requested changes * cosmic void namefix per request * oh heck last minute fix * unique deathsound * requested changes * this should untouch it..? * obligatory blank line fix * requested changes + guidebook update + gameplay communication polish
28 lines
890 B
C#
28 lines
890 B
C#
using System.Numerics;
|
|
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Prototypes;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
|
|
|
namespace Content.Shared._DV.CosmicCult.Components;
|
|
|
|
/// <summary>
|
|
/// Component for Cosmic Cult's entropic colossus.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent]
|
|
[AutoGenerateComponentPause]
|
|
public sealed partial class CosmicTileDetonatorComponent : Component
|
|
{
|
|
[AutoPausedField, DataField(customTypeSerializer: typeof(TimeOffsetSerializer))]
|
|
public TimeSpan DetonationTimer = default!;
|
|
|
|
[DataField] public EntProtoId TileDetonation = "MobTileDamageArea";
|
|
|
|
[DataField] public TimeSpan DetonateWait = TimeSpan.FromSeconds(0.525);
|
|
|
|
[DataField] public Vector2i DetonationCenter;
|
|
|
|
[DataField] public Vector2 MaxSize = new Vector2(8, 8);
|
|
|
|
[DataField] public Vector2 Size = new Vector2(0, 0);
|
|
}
|