]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix texture sprite specifiers to RSI PNGs (#39783)
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>
Fri, 22 Aug 2025 20:21:23 +0000 (22:21 +0200)
committerGitHub <noreply@github.com>
Fri, 22 Aug 2025 20:21:23 +0000 (22:21 +0200)
These aren't available when packaged anymore.

Resources/Prototypes/Actions/anomaly.yml
Resources/Prototypes/Alerts/revenant.yml
Resources/Prototypes/Entities/Mobs/Player/admin_ghost.yml

index f89ccce92c7fd00a24f199b6ce1d37912d3738b0..3c1d27087045def5dde54c2173a7dbe678bc792f 100644 (file)
@@ -6,6 +6,6 @@
   components:
   - type: Action
     useDelay: 30
-    icon: Structures/Specific/anomaly.rsi/anom1.png
+    icon: { sprite: Structures/Specific/anomaly.rsi, state: anom1 }
   - type: InstantAction
     event: !type:ActionAnomalyPulseEvent
index ab2b13905d9cf205786a364c98c5d5c617cac727..8e1c494d64985f4b9fe3b1ad3a7a691f1733210e 100644 (file)
@@ -10,7 +10,7 @@
 
 - type: alert
   id: Corporeal
-  icons: [ /Textures/Mobs/Ghosts/revenant.rsi/icon.png ]
+  icons: [ { sprite: /Textures/Mobs/Ghosts/revenant.rsi, state: icon } ]
   name: alerts-revenant-corporeal-name
   description: alerts-revenant-corporeal-desc
 
index 6248207a817a55b5f4409541769adecda699ab21..7c1bb7ef16e5814783346e90871906372c38ba33 100644 (file)
   components:
   - type: Action
     icon: { sprite: Structures/Machines/parts.rsi, state: box_0 }
-    iconOn: Structures/Machines/parts.rsi/box_2.png
+    iconOn: { sprite: Structures/Machines/parts.rsi, state: box_2 }
     keywords: [ "AI", "console", "interface" ]
     priority: -10
 
   components:
   - type: Action
     icon: { sprite: Interface/Actions/actions_ai.rsi, state: comms_console }
-    iconOn: Interface/Actions/actions_ai.rsi/comms_console.png
+    iconOn: { sprite: Interface/Actions/actions_ai.rsi, state: comms_console }
     keywords: [ "AI", "console", "interface" ]
     priority: -4
   - type: InstantAction
   components:
   - type: Action
     icon: { sprite: Interface/Actions/actions_ai.rsi, state: mass_scanner }
-    iconOn: Interface/Actions/actions_ai.rsi/mass_scanner.png
+    iconOn: { sprite: Interface/Actions/actions_ai.rsi, state: comms_console }
     keywords: [ "AI", "console", "interface" ]
     priority: -6
   - type: InstantAction
   components:
   - type: Action
     icon: { sprite: Interface/Actions/actions_ai.rsi, state: crew_monitor }
-    iconOn: Interface/Actions/actions_ai.rsi/crew_monitor.png
+    iconOn: { sprite: Interface/Actions/actions_ai.rsi, state: crew_monitor }
     keywords: [ "AI", "console", "interface" ]
     priority: -8
   - type: InstantAction
   components:
   - type: Action
     icon: { sprite: Interface/Actions/actions_ai.rsi, state: station_records }
-    iconOn: Interface/Actions/actions_ai.rsi/station_records.png
+    iconOn: { sprite: Interface/Actions/actions_ai.rsi, state: station_records }
     keywords: [ "AI", "console", "interface" ]
     priority: -7
   - type: InstantAction