28 lines
809 B
C#
28 lines
809 B
C#
using Content.Shared.Actions;
|
|
using Content.Shared.Storage;
|
|
using Robust.Shared.Audio;
|
|
|
|
namespace Content.Shared.Magic.Events;
|
|
|
|
public sealed partial class RandomGlobalSpawnSpellEvent : InstantActionEvent
|
|
{
|
|
/// <summary>
|
|
/// The list of prototypes this spell can spawn, will select one randomly
|
|
/// </summary>
|
|
[DataField]
|
|
public List<EntitySpawnEntry> Spawns = new();
|
|
|
|
/// <summary>
|
|
/// Sound that will play globally when cast
|
|
/// </summary>
|
|
[DataField]
|
|
public SoundSpecifier Sound = new SoundPathSpecifier("/Audio/Magic/staff_animation.ogg");
|
|
|
|
/// <summary>
|
|
/// Should this Global spawn spell turn its targets into a Survivor Antagonist?
|
|
/// Ignores the caster for this.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool MakeSurvivorAntagonist = false;
|
|
}
|