]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Give passive vents the correct sprite (#29536)
authorslarticodefast <161409025+slarticodefast@users.noreply.github.com>
Fri, 28 Jun 2024 12:33:03 +0000 (14:33 +0200)
committerGitHub <noreply@github.com>
Fri, 28 Jun 2024 12:33:03 +0000 (08:33 -0400)
give passive vents the correct sprite

Resources/Prototypes/Entities/Structures/Piping/Atmospherics/unary.yml
Resources/Textures/Structures/Piping/Atmospherics/vent.rsi/meta.json
Resources/Textures/Structures/Piping/Atmospherics/vent.rsi/vent_passive.png [new file with mode: 0644]

index 207d5ee692978df025c08b1737374add236d87b8..57d069c72faf72879a6f613f0d954aed7a7fb503 100644 (file)
@@ -76,7 +76,6 @@
   placement:
     mode: SnapgridCenter
   components:
-    # TODO ATMOS: Find sprite for this.
     - type: Sprite
       drawdepth: FloorObjects
       sprite: Structures/Piping/Atmospherics/vent.rsi
@@ -84,7 +83,7 @@
         - sprite: Structures/Piping/Atmospherics/pipe.rsi
           state: pipeHalf
           map: [ "enum.PipeVisualLayers.Pipe" ]
-        - state: vent_off
+        - state: vent_passive
           map: [ "enum.SubfloorLayers.FirstLayer" ]
     - type: Appearance
     - type: PipeColorVisuals
index 0d11425210b1471a4c76383dc7ec0ea4fa29a961..4e1733df55f2a003c0391d7632417a10e8c92e56 100644 (file)
@@ -7,6 +7,10 @@
    "license":"CC-BY-SA-3.0",
    "copyright":"Taken from https://github.com/BeeStation/BeeStation-Hornet at commit 4ccd79de285e79e504308bcd6fa5908d6b7685f7",
    "states":[
+      {
+         "name":"vent_passive",
+         "directions" : 4
+      },
       {
          "name":"vent_off",
          "directions" : 4
diff --git a/Resources/Textures/Structures/Piping/Atmospherics/vent.rsi/vent_passive.png b/Resources/Textures/Structures/Piping/Atmospherics/vent.rsi/vent_passive.png
new file mode 100644 (file)
index 0000000..5ff27ef
Binary files /dev/null and b/Resources/Textures/Structures/Piping/Atmospherics/vent.rsi/vent_passive.png differ