]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fixed Issues with Screens and Station Maps (#39393)
authorSouthbridge <7013162+southbridge-fur@users.noreply.github.com>
Tue, 5 Aug 2025 16:27:28 +0000 (11:27 -0500)
committerGitHub <noreply@github.com>
Tue, 5 Aug 2025 16:27:28 +0000 (18:27 +0200)
Resources/Prototypes/Entities/Structures/Machines/Computers/computers.yml
Resources/Prototypes/Entities/Structures/Wallmounts/WallmountMachines/screen.yml
Resources/Prototypes/Entities/Structures/Wallmounts/WallmountMachines/station_map.yml

index bc50c4fe3901a52ddcea41838b8cdc5c51697286..6635e5698f1b7388df741af393c6a485c00d2835 100644 (file)
   - type: CommunicationsConsole
     title: comms-console-announcement-title-station
   - type: DeviceNetwork
+    deviceNetId: Wireless    
     transmitFrequencyId: ShuttleTimer
   - type: ActivatableUI
     key: enum.CommunicationsConsoleUiKey.Key
index bb794e8ac08c3b6f0d8f2066cfeac280ec5e8fae..f5218865a8c45566592912fbb8c35a3b0b633af3 100644 (file)
@@ -14,6 +14,7 @@
     sprite: Structures/Wallmounts/screen.rsi
     state: screen
     noRot: true
+  - type: Appearance
   - type: ApcPowerReceiver
     powerLoad: 100
   - type: ExtensionCableReceiver
index 5e3b29e36f174416792a3d457bdfdf2bf6dde304..39643fb85020fc68132c68d39724c6824d5bdb3a 100644 (file)
     - 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
       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: