From 970ce38d657bbaf8d41c1135e6e79b576f74fc3e Mon Sep 17 00:00:00 2001 From: Southbridge <7013162+southbridge-fur@users.noreply.github.com> Date: Tue, 5 Aug 2025 11:27:28 -0500 Subject: [PATCH] Fixed Issues with Screens and Station Maps (#39393) --- .../Machines/Computers/computers.yml | 1 + .../Wallmounts/WallmountMachines/screen.yml | 1 + .../WallmountMachines/station_map.yml | 53 +++++++++---------- 3 files changed, 28 insertions(+), 27 deletions(-) diff --git a/Resources/Prototypes/Entities/Structures/Machines/Computers/computers.yml b/Resources/Prototypes/Entities/Structures/Machines/Computers/computers.yml index bc50c4fe39..6635e5698f 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/Computers/computers.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/Computers/computers.yml @@ -665,6 +665,7 @@ - type: CommunicationsConsole title: comms-console-announcement-title-station - type: DeviceNetwork + deviceNetId: Wireless transmitFrequencyId: ShuttleTimer - type: ActivatableUI key: enum.CommunicationsConsoleUiKey.Key diff --git a/Resources/Prototypes/Entities/Structures/Wallmounts/WallmountMachines/screen.yml b/Resources/Prototypes/Entities/Structures/Wallmounts/WallmountMachines/screen.yml index bb794e8ac0..f5218865a8 100644 --- a/Resources/Prototypes/Entities/Structures/Wallmounts/WallmountMachines/screen.yml +++ b/Resources/Prototypes/Entities/Structures/Wallmounts/WallmountMachines/screen.yml @@ -14,6 +14,7 @@ sprite: Structures/Wallmounts/screen.rsi state: screen noRot: true + - type: Appearance - type: ApcPowerReceiver powerLoad: 100 - type: ExtensionCableReceiver diff --git a/Resources/Prototypes/Entities/Structures/Wallmounts/WallmountMachines/station_map.yml b/Resources/Prototypes/Entities/Structures/Wallmounts/WallmountMachines/station_map.yml index 5e3b29e36f..39643fb850 100644 --- a/Resources/Prototypes/Entities/Structures/Wallmounts/WallmountMachines/station_map.yml +++ b/Resources/Prototypes/Entities/Structures/Wallmounts/WallmountMachines/station_map.yml @@ -36,10 +36,9 @@ - type: Sprite sprite: Structures/Machines/station_map.rsi layers: - - map: ["computerLayerBody"] - state: station_map0 - - map: ["computerLayerScreen"] - state: unshaded + - state: station_map0 + - state: unshaded + shader: unshaded - type: Icon sprite: Structures/Machines/station_map.rsi state: station_map0 @@ -59,29 +58,29 @@ key: enum.StationMapUiKey.Key - type: Destructible thresholds: - - trigger: # Excess damage, don't spawn entities - !type:DamageTrigger - damage: 200 - behaviors: - - !type:PlaySoundBehavior - sound: - collection: GlassBreak - - !type:DoActsBehavior - acts: [ "Destruction" ] - - trigger: - !type:DamageTrigger - damage: 100 - behaviors: - - !type:PlaySoundBehavior - sound: - collection: GlassBreak - - !type:SpawnEntitiesBehavior - spawn: - StationMapBroken: - min: 1 - max: 1 - - !type:DoActsBehavior - acts: [ "Destruction" ] + - trigger: # Excess damage, don't spawn entities + !type:DamageTrigger + damage: 200 + behaviors: + - !type:PlaySoundBehavior + sound: + collection: GlassBreak + - !type:DoActsBehavior + acts: [ "Destruction" ] + - trigger: + !type:DamageTrigger + damage: 100 + behaviors: + - !type:PlaySoundBehavior + sound: + collection: GlassBreak + - !type:SpawnEntitiesBehavior + spawn: + StationMapBroken: + min: 1 + max: 1 + - !type:DoActsBehavior + acts: [ "Destruction" ] - type: UserInterface interfaces: enum.StationMapUiKey.Key: