* fix ghost zlevel moving * stairways autorotation * ladders sprite update * slow space swimming * fix wrong wood spawn * deadly ocean * Update zLevels.yml
18 lines
469 B
C#
18 lines
469 B
C#
namespace Content.Server._CP14.MapDamage;
|
|
|
|
/// <summary>
|
|
/// can take damage from being directly on the map (not on the grid)
|
|
/// </summary>
|
|
[RegisterComponent, AutoGenerateComponentPause]
|
|
public sealed partial class CP14DamageableByMapComponent : Component
|
|
{
|
|
[DataField, AutoPausedField]
|
|
public TimeSpan NextDamageTime = TimeSpan.Zero;
|
|
|
|
[DataField]
|
|
public bool Enabled = false;
|
|
|
|
[DataField]
|
|
public Entity<CP14MapDamageComponent>? CurrentMap;
|
|
}
|