* x2 weather time * remove alchemy test and battle royale maps, add simple island map * island map + ocean parallax * map floor occluder sys * undercliff test * update sand and ocean sprite * Revert "undercliff test" This reverts commitc484fe630a. * more experiments * Revert "more experiments" This reverts commita7f30fd608. * Update default.yml * Update debug.yml
24 lines
751 B
C#
24 lines
751 B
C#
using Content.Shared._CP14.WeatherControl;
|
|
using Content.Shared.Destructible.Thresholds;
|
|
|
|
namespace Content.Server._CP14.WeatherControl;
|
|
|
|
/// <summary>
|
|
/// is the controller that hangs on the prototype map. It regulates which weather rules are run and where they are run.
|
|
/// </summary>
|
|
[RegisterComponent, AutoGenerateComponentPause, Access(typeof(CP14WeatherControllerSystem))]
|
|
public sealed partial class CP14WeatherControllerComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// random time with no weather.
|
|
/// </summary>
|
|
[DataField]
|
|
public MinMax ClearDuration = new(120,1200);
|
|
|
|
[DataField]
|
|
public HashSet<CP14WeatherData> Entries = new();
|
|
|
|
[DataField, AutoPausedField]
|
|
public TimeSpan NextWeatherTime = TimeSpan.Zero;
|
|
}
|