mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-29 03:27:41 +03:00
* Уэээээээ * Почти настрадались * Скоро конец.... * СКОРО * Мышки плакали, кололись, но продолжали упорно жрать кактус * Все ближе! * Это такой конец? * Книжка говна * фиксики * ОНО ЖИВОЕ * Телепорт * разное * Added byond * ивенты теперь работают * Разфикс телепорта * Свет мой зеркальце скажи, да всю правду доложи - Я ль робастней всех на свете? * Разное * Еще многа всего * Многа разнава * Скоро конец.... * ЭТО КОНЕЦ * Фикс линтера (ну, или я на это надеюсь) * Еще один фикс линтера * Победа! * фиксики * пу пу пу * Фикс подмастерья * Мисклик * Высокочастотный меч * Неймспейсы * Пул способностей мага
44 lines
1.5 KiB
C#
44 lines
1.5 KiB
C#
// SPDX-FileCopyrightText: 2022 metalgearsloth <comedian_vs_clown@hotmail.com>
|
|
// SPDX-FileCopyrightText: 2023 DrSmugleaf <DrSmugleaf@users.noreply.github.com>
|
|
// SPDX-FileCopyrightText: 2023 Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
|
|
// SPDX-FileCopyrightText: 2023 metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
|
|
// SPDX-FileCopyrightText: 2024 AJCM <AJCM@tutanota.com>
|
|
// SPDX-FileCopyrightText: 2024 keronshb <54602815+keronshb@users.noreply.github.com>
|
|
// SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
using System.Numerics;
|
|
using Content.Shared.Actions;
|
|
using Content.Shared.Storage;
|
|
|
|
namespace Content.Shared.Magic.Events;
|
|
|
|
// TODO: This class needs combining with InstantSpawnSpellEvent
|
|
|
|
public sealed partial class WorldSpawnSpellEvent : WorldTargetActionEvent, ISpeakSpell
|
|
{
|
|
/// <summary>
|
|
/// The list of prototypes this spell will spawn
|
|
/// </summary>
|
|
[DataField]
|
|
public List<EntitySpawnEntry> Prototypes = new();
|
|
|
|
// TODO: This offset is liable for deprecation.
|
|
// TODO: Target tile via code instead?
|
|
/// <summary>
|
|
/// The offset the prototypes will spawn in on relative to the one prior.
|
|
/// Set to 0,0 to have them spawn on the same tile.
|
|
/// </summary>
|
|
[DataField]
|
|
public Vector2 Offset;
|
|
|
|
/// <summary>
|
|
/// Lifetime to set for the entities to self delete
|
|
/// </summary>
|
|
[DataField]
|
|
public float? Lifetime;
|
|
|
|
[DataField]
|
|
public string? Speech { get; private set; }
|
|
} |