]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Maints Exit Sign (#26831)
authorbrainfood1183 <113240905+brainfood1183@users.noreply.github.com>
Tue, 23 Apr 2024 11:31:48 +0000 (12:31 +0100)
committerGitHub <noreply@github.com>
Tue, 23 Apr 2024 11:31:48 +0000 (21:31 +1000)
* Maints Exit Sign

* change description

* id, sprites changed from maints to exit
prototype now has an unshaded layer so it can be seen in the dark.

Resources/Prototypes/Entities/Structures/Wallmounts/Signs/signs.yml
Resources/Textures/Structures/Wallmounts/signs.rsi/direction_exit.png [new file with mode: 0644]
Resources/Textures/Structures/Wallmounts/signs.rsi/direction_exit_unshaded.png [new file with mode: 0644]
Resources/Textures/Structures/Wallmounts/signs.rsi/meta.json

index 9aac49a6bd7a38b65036781b8dca39f37b044f77..18af2ec06cf4945b43554c7d1cec60ae1272554b 100644 (file)
   - type: Sprite
     state: direction_library
 
+- type: entity
+  parent: BaseSignDirectional
+  id: SignDirectionalExit
+  name: exit sign
+  description: A directional sign pointing toward the nearest exit.
+  components:
+  - type: Sprite
+    layers:
+      - state: direction_exit
+      - state: direction_exit_unshaded
+        shader: unshaded
+
 - type: entity
   parent: BaseSignDirectional
   id: SignDirectionalMed
diff --git a/Resources/Textures/Structures/Wallmounts/signs.rsi/direction_exit.png b/Resources/Textures/Structures/Wallmounts/signs.rsi/direction_exit.png
new file mode 100644 (file)
index 0000000..d2b60cb
Binary files /dev/null and b/Resources/Textures/Structures/Wallmounts/signs.rsi/direction_exit.png differ
diff --git a/Resources/Textures/Structures/Wallmounts/signs.rsi/direction_exit_unshaded.png b/Resources/Textures/Structures/Wallmounts/signs.rsi/direction_exit_unshaded.png
new file mode 100644 (file)
index 0000000..4facb60
Binary files /dev/null and b/Resources/Textures/Structures/Wallmounts/signs.rsi/direction_exit_unshaded.png differ
index 97be2aaa0d07ef1609ceaa7f3d3f81fa91f66dea..028e454d0afe240eb0131c5843d84df3e7414a52 100644 (file)
@@ -5,7 +5,7 @@
     "y": 32
   },
   "license": "CC-BY-SA-3.0",
-  "copyright": "Taken from https://github.com/discordia-space/CEV-Eris at commit 4e0bbe682d0a00192d24708fdb7031008aa03f18 and bee station at commit https://github.com/BeeStation/BeeStation-Hornet/commit/13dd5ac712385642574138f6d7b30eea7c2fab9c, except numerical signs which were created by discord: brainfood#7460, states: 'survival' and 'ntmining' from https://github.com/tgstation/tgstation/commit/f743754ec3ef446c8172388431effa73aeddb7ff#diff-b429dd7fccbca60d740d4887c1077a178abf1efffe57e7ae2a0b607c8a9e2202, 'janitor' edited by forgotmyotheraccount on github, 'arcade', 'barbershop', 'direction_exam', 'direction_icu', 'laundromat', 'news', 'reception', and 'salvage' made by rosieposieeee (github)",
+  "copyright": "Taken from https://github.com/discordia-space/CEV-Eris at commit 4e0bbe682d0a00192d24708fdb7031008aa03f18 and bee station at commit https://github.com/BeeStation/BeeStation-Hornet/commit/13dd5ac712385642574138f6d7b30eea7c2fab9c, except numerical signs, direction_exit which are created by discord: brainfood#7460, states: 'survival' and 'ntmining' from https://github.com/tgstation/tgstation/commit/f743754ec3ef446c8172388431effa73aeddb7ff#diff-b429dd7fccbca60d740d4887c1077a178abf1efffe57e7ae2a0b607c8a9e2202, 'janitor' edited by forgotmyotheraccount on github, 'arcade', 'barbershop', 'direction_exam', 'direction_icu', 'laundromat', 'news', 'reception', and 'salvage' made by rosieposieeee (github)",
     "states": [
         {
             "name": "ai",
                 ]
             ]
         },
+        {
+            "name": "direction_exit",
+            "directions": 4,
+            "delays": [
+                [
+                    1
+                ],
+                [
+                    1
+                ],
+                [
+                    1
+                ],
+                [
+                    1
+                ]
+            ]
+        },
+        {
+            "name": "direction_exit_unshaded",
+            "directions": 4,
+            "delays": [
+                [
+                    1
+                ],
+                [
+                    1
+                ],
+                [
+                    1
+                ],
+                [
+                    1
+                ]
+            ]
+        },
         {
             "name": "direction_wash",
             "directions": 4,