Blood and more (#516)
* - tweak: Teleport only works on cultists. * - add: Better twisted construction. * - tweak: Free engivend.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
using Content.Shared.Actions;
|
||||
using Content.Shared.Magic;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Shared._White.Cult.Actions;
|
||||
|
||||
@@ -7,6 +9,21 @@ public sealed partial class CultTwistedConstructionActionEvent : EntityTargetAct
|
||||
{
|
||||
[DataField("speech")]
|
||||
public string? Speech { get; private set; }
|
||||
|
||||
[DataField]
|
||||
public EntProtoId RunicDoor = "AirlockGlassCult";
|
||||
|
||||
[DataField]
|
||||
public EntProtoId Effect = "EffectConstructRed";
|
||||
|
||||
[DataField]
|
||||
public TimeSpan Delay = TimeSpan.FromSeconds(4);
|
||||
|
||||
[DataField]
|
||||
public SoundSpecifier? Sound = new SoundPathSpecifier("/Audio/Machines/airlock_creaking.ogg")
|
||||
{
|
||||
Params = AudioParams.Default.WithVolume(-3f),
|
||||
};
|
||||
}
|
||||
|
||||
public sealed partial class CultSummonDaggerActionEvent : InstantActionEvent, ISpeakSpell
|
||||
|
||||
30
Content.Shared/_White/Cult/Actions/CultEvents.cs
Normal file
30
Content.Shared/_White/Cult/Actions/CultEvents.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using Content.Shared.DoAfter;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared._White.Cult.Actions;
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed partial class ShacklesEvent : SimpleDoAfterEvent
|
||||
{
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed partial class TwistedConstructionEvent : DoAfterEvent
|
||||
{
|
||||
public NetEntity Effect { get; private set; }
|
||||
|
||||
public EntProtoId RunicDoor { get; private set; }
|
||||
|
||||
public NetCoordinates Location { get; private set; }
|
||||
|
||||
public TwistedConstructionEvent(NetEntity effect, EntProtoId runicDoor, NetCoordinates location)
|
||||
{
|
||||
Effect = effect;
|
||||
RunicDoor = runicDoor;
|
||||
Location = location;
|
||||
}
|
||||
|
||||
public override DoAfterEvent Clone() => this;
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Content.Shared.DoAfter;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared._White.Cult.Actions;
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed partial class ShacklesEvent : SimpleDoAfterEvent
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user