Files
Delta-v/Content.Shared/_DV/CosmicCult/Components/CosmicTileDetonatorComponent.cs
T
AftrLite c4f588bc7d Cosmic Cult | Release Patch (#3811)
* 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
2025-05-24 17:39:57 +01:00

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);
}