Unstable 1.1.14.0

This commit is contained in:
Markus Isberg
2023-10-02 16:43:54 +03:00
parent 94f5a93a0c
commit cf8f0de659
606 changed files with 21906 additions and 11456 deletions
@@ -198,6 +198,22 @@ namespace Barotrauma.Items.Components
set;
}
/// <summary>
/// Returns true if the red component of the light is twice as bright as the blue and green. Can be used by StatusEffects.
/// </summary>
public bool IsRed => ColorExtensions.IsRedDominant(LightColor);
/// <summary>
/// Returns true if the green component of the light is twice as bright as the red and blue. Can be used by StatusEffects.
/// </summary>
public bool IsGreen => ColorExtensions.IsGreenDominant(LightColor);
/// <summary>
/// Returns true if the blue component of the light is twice as bright as the red and green. Can be used by StatusEffects.
/// </summary>
public bool IsBlue => ColorExtensions.IsBlueDominant(LightColor);
public float TemporaryFlickerTimer;
public override void Move(Vector2 amount, bool ignoreContacts = false)