Blood and more (#516)

* - tweak: Teleport only works on cultists.

* - add: Better twisted construction.

* - tweak: Free engivend.
This commit is contained in:
Aviu00
2024-07-30 16:31:34 +00:00
committed by GitHub
parent cd0701180c
commit 2b5838657d
10 changed files with 195 additions and 45 deletions

View File

@@ -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

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

View File

@@ -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
{
}