Airlock icon smoothing (#2789)
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
@@ -105,11 +105,11 @@ namespace Content.Client.GameObjects.Components.IconSmoothing
|
||||
case IconSmoothingMode.Corners:
|
||||
CalculateNewSpriteCorners();
|
||||
break;
|
||||
|
||||
case IconSmoothingMode.CardinalFlags:
|
||||
CalculateNewSpriteCardinal();
|
||||
break;
|
||||
|
||||
case IconSmoothingMode.NoSprite:
|
||||
break;
|
||||
default:
|
||||
throw new ArgumentOutOfRangeException();
|
||||
}
|
||||
@@ -303,5 +303,10 @@ namespace Content.Client.GameObjects.Components.IconSmoothing
|
||||
/// The icon selected is a bit field made up of the cardinal direction flags that have adjacent entities.
|
||||
/// </summary>
|
||||
CardinalFlags,
|
||||
|
||||
/// <summary>
|
||||
/// Where this component contributes to our neighbors being calculated but we do not update our own sprite.
|
||||
/// </summary>
|
||||
NoSprite,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,6 +64,9 @@
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- type: IconSmooth
|
||||
key: walls
|
||||
mode: NoSprite
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
|
||||
|
||||
Reference in New Issue
Block a user