]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fixed some icon rsi warnings (#26414)
authorWrexbe (Josh) <81056464+wrexbe@users.noreply.github.com>
Sun, 24 Mar 2024 22:46:24 +0000 (15:46 -0700)
committerGitHub <noreply@github.com>
Sun, 24 Mar 2024 22:46:24 +0000 (23:46 +0100)
Fixed some icon warnings

Co-authored-by: wrexbe <wrexbe@protonmail.com>
Resources/Prototypes/Actions/diona.yml
Resources/Prototypes/Actions/types.yml
Resources/Prototypes/Entities/Clothing/Neck/misc.yml
Resources/Prototypes/Roles/Jobs/Civilian/mime.yml

index 2d188987afc7bb15ec60a1a44ec51ca45578a8f1..11db30386a528321064c9f22de4c9135ccf02b61 100644 (file)
@@ -5,7 +5,9 @@
   noSpawn: true
   components:
   - type: InstantAction
-    icon: Mobs/Species/Diona/organs.rsi/brain.png
+    icon:
+      sprite: Mobs/Species/Diona/organs.rsi
+      state: brain
     event: !type:GibActionEvent {}
     checkCanInteract: false
     checkConsciousness: false
@@ -17,6 +19,8 @@
   noSpawn: true
   components:
   - type: InstantAction
-    icon: Mobs/Species/Diona/parts.rsi/full.png
+    icon:
+      sprite: Mobs/Species/Diona/parts.rsi
+      state: full
     event: !type:ReformEvent {}
     useDelay: 600 # Once every 10 minutes. Keep them dead for a fair bit before reforming
index 84f0839b254a6641dda8256d581052e654b25dd0..b91b26e35700810c9c53673e53f62160a5189d95 100644 (file)
@@ -41,7 +41,7 @@
   components:
   - type: InstantAction
     icon: { sprite: Objects/Tools/flashlight.rsi, state: flashlight }
-    iconOn: Objects/Tools/flashlight.rsi/flashlight-on.png
+    iconOn: { sprite: Objects/Tools/flashlight.rsi, state: flashlight-on }
     event: !type:ToggleActionEvent
 
 - type: entity
index 05067ff68a007321a9646e4104d344ef62782a68..6b4be3c9f84d59faeed9c00209c250495e5c4d78 100644 (file)
@@ -73,7 +73,9 @@
   noSpawn: true
   components:
   - type: EntityTargetAction
-    icon: Clothing/Neck/Misc/stethoscope.rsi/icon.png
+    icon:
+      sprite: Clothing/Neck/Misc/stethoscope.rsi
+      state: icon
     event: !type:StethoscopeActionEvent
     checkCanInteract: false
     priority: -1
index 83e916a68730bafd46823c18db15b512a99c4685..c22accaf2153377222cc664c38b2fbbbf6fa643c 100644 (file)
@@ -45,5 +45,7 @@
   - type: InstantAction
     priority: -1
     useDelay: 30
-    icon: Structures/Walls/solid.rsi/full.png
+    icon:
+      sprite: Structures/Walls/solid.rsi
+      state: full
     event: !type:InvisibleWallActionEvent