* Light now use visualizer * Added ghost actions * Add hotkey input for ghosts * no message * Testing blinking animation * Better animation * Better customization * No abuse * Reversed sln * No fun for ghosts * No fun for ghosts x2 * Cooldown for lights * Moved to component deps * This tollist is unnecessary * Enums to byte Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> * Some lights can ignore ghosts now Co-authored-by: Alex Evgrashin <evgrashin.adl@gmail.com> Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
20 lines
620 B
C#
20 lines
620 B
C#
#nullable enable
|
|
using Content.Shared.Actions;
|
|
|
|
namespace Content.Server.GameObjects.Components.Observer
|
|
{
|
|
/// <summary>
|
|
/// Allow ghost to interact with object by boo action
|
|
/// </summary>
|
|
public interface IGhostBooAffected
|
|
{
|
|
/// <summary>
|
|
/// Invokes when ghost used boo action near entity.
|
|
/// Use it to blink lights or make something spooky.
|
|
/// </summary>
|
|
/// <param name="args">Boo action details</param>
|
|
/// <returns>Returns true if object was affected</returns>
|
|
bool AffectedByGhostBoo(InstantActionEventArgs args);
|
|
}
|
|
}
|