Gas overlay chunking (#1678)
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
@@ -45,23 +45,6 @@ namespace Content.Shared.Atmos
|
||||
/// </summary>
|
||||
public string GasOverlaySprite { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Sprite specifier for the gas overlay.
|
||||
/// </summary>
|
||||
public SpriteSpecifier GasOverlay
|
||||
{
|
||||
get
|
||||
{
|
||||
if(string.IsNullOrEmpty(GasOverlaySprite) && !string.IsNullOrEmpty(GasOverlayTexture))
|
||||
return new SpriteSpecifier.Texture(new ResourcePath(GasOverlayTexture));
|
||||
|
||||
if(!string.IsNullOrEmpty(GasOverlaySprite) && !string.IsNullOrEmpty(GasOverlayState))
|
||||
return new SpriteSpecifier.Rsi(new ResourcePath(GasOverlaySprite), GasOverlayState);
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Path to the tile overlay used when this gas appears visible.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user