2022-05-29 02:29:10 -04:00
|
|
|
|
using Content.Shared.Actions;
|
2022-07-29 14:13:12 +12:00
|
|
|
|
using Robust.Shared.Audio;
|
2022-05-29 02:29:10 -04:00
|
|
|
|
|
2023-09-08 18:16:05 -07:00
|
|
|
|
namespace Content.Shared.Magic.Events;
|
2022-05-29 02:29:10 -04:00
|
|
|
|
|
2023-08-22 18:14:33 -07:00
|
|
|
|
public sealed partial class TeleportSpellEvent : WorldTargetActionEvent, ISpeakSpell
|
2022-05-29 02:29:10 -04:00
|
|
|
|
{
|
|
|
|
|
|
[DataField("blinkSound")]
|
|
|
|
|
|
public SoundSpecifier BlinkSound = new SoundPathSpecifier("/Audio/Magic/blink.ogg");
|
2022-06-19 14:07:00 -07:00
|
|
|
|
|
2023-04-26 16:04:44 +12:00
|
|
|
|
[DataField("speech")]
|
2023-08-22 18:14:33 -07:00
|
|
|
|
public string? Speech { get; private set; }
|
2022-06-19 14:07:00 -07:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Volume control for the spell.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[DataField("blinkVolume")]
|
|
|
|
|
|
public float BlinkVolume = 5f;
|
2022-05-29 02:29:10 -04:00
|
|
|
|
}
|