24 lines
665 B
C#
24 lines
665 B
C#
using Robust.Shared.Audio;
|
|
using Robust.Shared.Prototypes;
|
|
using Robust.Shared.Utility;
|
|
|
|
namespace Content.Shared.Weather;
|
|
|
|
[Prototype("weather")]
|
|
public sealed partial class WeatherPrototype : IPrototype
|
|
{
|
|
[IdDataField] public string ID { get; private set; } = default!;
|
|
|
|
[ViewVariables(VVAccess.ReadWrite), DataField("sprite", required: true)]
|
|
public SpriteSpecifier Sprite = default!;
|
|
|
|
[ViewVariables(VVAccess.ReadWrite), DataField("color")]
|
|
public Color? Color;
|
|
|
|
/// <summary>
|
|
/// Sound to play on the affected areas.
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadWrite), DataField("sound")]
|
|
public SoundSpecifier? Sound;
|
|
}
|