* spooky scary patreons * Update CP14ReligionSystem.cs * goodbye radio channel * gods? no! Mana parasites! Muahahaha * Update gods.yml * Update primordial.yml
29 lines
890 B
C#
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;
|
|
}
|
|
|
|
|