WeatherPrototype.cs 654 B

1234567891011121314151617181920212223
  1. using Robust.Shared.Audio;
  2. using Robust.Shared.Prototypes;
  3. using Robust.Shared.Utility;
  4. namespace Content.Shared.Weather;
  5. [Prototype]
  6. public sealed partial class WeatherPrototype : IPrototype
  7. {
  8. [IdDataField] public string ID { get; private set; } = default!;
  9. [ViewVariables(VVAccess.ReadWrite), DataField("sprite", required: true)]
  10. public SpriteSpecifier Sprite = default!;
  11. [ViewVariables(VVAccess.ReadWrite), DataField("color")]
  12. public Color? Color;
  13. /// <summary>
  14. /// Sound to play on the affected areas.
  15. /// </summary>
  16. [ViewVariables(VVAccess.ReadWrite), DataField("sound")]
  17. public SoundSpecifier? Sound;
  18. }