* Adds single clap emote * Adds missing single clap loc * Adds void blink effects, sound, and sprite * Adds VoidApplauseEvent and implements it into the Magic System and Grimoire * Removes commented Spawn code in Shared Magic System. Adds comments to replace pointlight with a negative light in the future. * Makes spells Mono * Changes to swap positions. * Makes Void Applause target body only * Update Content.Shared/Magic/Events/VoidApplauseSpellEvent.cs Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> * Update Content.Client/Magic/MagicSystem.cs Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> * Update Resources/Audio/Effects/Emotes/attributions.yml Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> * Update Resources/Prototypes/SoundCollections/emotes.yml Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> * Update Content.Shared/Magic/Events/VoidApplauseSpellEvent.cs Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> * Removes duplicate effect spawning from server * Puts Void Applause effect on server, lets lizards hear clap * Adds single clap to diona --------- Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
25 lines
673 B
C#
25 lines
673 B
C#
using Content.Shared.Actions;
|
|
using Content.Shared.Chat.Prototypes;
|
|
using Robust.Shared.Prototypes;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.Magic.Events;
|
|
|
|
public sealed partial class VoidApplauseSpellEvent : EntityTargetActionEvent, ISpeakSpell
|
|
{
|
|
[DataField]
|
|
public string? Speech { get; private set; }
|
|
|
|
/// <summary>
|
|
/// Emote to use.
|
|
/// </summary>
|
|
[DataField]
|
|
public ProtoId<EmotePrototype> Emote = "ClapSingle";
|
|
|
|
/// <summary>
|
|
/// Visual effect entity that is spawned at both the user's and the target's location.
|
|
/// </summary>
|
|
[DataField]
|
|
public EntProtoId Effect = "EffectVoidBlink";
|
|
}
|