* Fix dead mobs sneezing and coughing * SneezeCough update * Streamlined Event code, moved dead-check * cleanup * I can has merge? * Shared event for SharedMobStateSystem
11 lines
370 B
C#
11 lines
370 B
C#
using Robust.Shared.Audio;
|
|
|
|
namespace Content.Shared.Disease.Events;
|
|
|
|
/// <summary>
|
|
/// Raised by an entity about to sneeze/cough.
|
|
/// Set Cancelled to true on event handling to suppress the sneeze
|
|
/// </summary>
|
|
[ByRefEvent]
|
|
public record struct AttemptSneezeCoughEvent(EntityUid uid, string SnoughMessage, SoundSpecifier? SnoughSound, bool Cancelled = false);
|