Files
crystall-punk-14/Content.Shared/_CP14/Religion/Components/CP14ReligionSpeakerComponent.cs
Red b932d56f15 Gods part 2 (#1420)
* spooky scary patreons

* Update CP14ReligionSystem.cs

* goodbye radio channel

* gods? no! Mana parasites! Muahahaha

* Update gods.yml

* Update primordial.yml
2025-06-13 19:21:09 +03:00

29 lines
890 B
C#

using Content.Shared._CP14.Religion.Systems;
using Content.Shared.FixedPoint;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared._CP14.Religion.Components;
/// <summary>
/// Disables standard communication. Instead, attempts to say anything will consume mana, will be limited by the zone
/// of influence of religion, and will be spoken through the created entity of the “speaker.”
/// </summary>
[RegisterComponent, NetworkedComponent, Access(typeof(CP14SharedReligionGodSystem))]
public sealed partial class CP14ReligionSpeakerComponent : Component
{
[DataField]
public FixedPoint2 ManaCost = 5f;
[DataField(required: true)]
public EntProtoId Speaker;
/// <summary>
/// You can only talk within the sphere of influence of religion.
/// </summary>
[DataField]
public bool RestrictedReligionZone = true;
}