2024-11-17 11:46:31 -05:00
|
|
|
using Content.Shared.Actions;
|
|
|
|
|
using Content.Shared.Storage;
|
|
|
|
|
using Robust.Shared.Audio;
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.Magic.Events;
|
|
|
|
|
|
2025-05-04 18:34:19 +01:00
|
|
|
public sealed partial class RandomGlobalSpawnSpellEvent : InstantActionEvent
|
2024-11-17 11:46:31 -05:00
|
|
|
{
|
|
|
|
|
/// <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");
|
|
|
|
|
|
2025-02-23 12:24:36 -05:00
|
|
|
/// <summary>
|
|
|
|
|
/// Should this Global spawn spell turn its targets into a Survivor Antagonist?
|
|
|
|
|
/// Ignores the caster for this.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField]
|
|
|
|
|
public bool MakeSurvivorAntagonist = false;
|
2024-11-17 11:46:31 -05:00
|
|
|
}
|