Files
Delta-v/Content.Shared/Weather/WeatherPrototype.cs
T
deltanedasanddeltanedas 85a29fbdf4 add ash storms to lavaland (#2445)
* add SaturationLoss to LungComponent

* add code for ash storms

* add ash storms to lavaland

* add ashwalker mob

* :trollface:

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
2024-12-18 01:27:23 +00:00

39 lines
1.1 KiB
C#

using Content.Shared.Damage;
using Content.Shared.Whitelist;
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; } = 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;
/// <summary>
/// DeltaV: Damage you can take from being in this weather.
/// Only applies when weather has fully set in.
/// </summary>
[DataField]
public DamageSpecifier? Damage;
/// <summary>
/// DeltaV: Don't damage entities that match this blacklist.
/// </summary>
[DataField]
public EntityWhitelist? DamageBlacklist;
}