New Sprites for cables (#34955)
* initial textures * Makes it have layers because Milon wanted it * Makes it have layers because Milon wanted it * in do NOT understand github * tested, works * Update Content.Client/Power/Visualizers/CableVisualizerComponent.cs Co-authored-by: lzk <124214523+lzk228@users.noreply.github.com> * Update Content.Client/Power/Visualizers/CableVisualizerComponent.cs Co-authored-by: lzk <124214523+lzk228@users.noreply.github.com> * remove extra newline * EmoGarbage Review - Adjust MV cables to use orange stripes --------- Co-authored-by: lzk <124214523+lzk228@users.noreply.github.com> Co-authored-by: Milon <milonpl.git@proton.me> Co-authored-by: EmoGarbage404 <retron404@gmail.com>
This commit is contained in:
@@ -31,5 +31,7 @@ public sealed class CableVisualizerSystem : EntitySystem
|
||||
mask = WireVisDirFlags.None;
|
||||
|
||||
args.Sprite.LayerSetState(0, $"{component.StatePrefix}{(int) mask}");
|
||||
if (component.ExtraLayerPrefix != null)
|
||||
args.Sprite.LayerSetState(1, $"{component.ExtraLayerPrefix}{(int) mask}");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user