]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Add fancy table spawner (#26044)
authorVelcroboy <107660393+IamVelcroboy@users.noreply.github.com>
Wed, 13 Mar 2024 06:21:51 +0000 (01:21 -0500)
committerGitHub <noreply@github.com>
Wed, 13 Mar 2024 06:21:51 +0000 (09:21 +0300)
* Add fancy table spawner

* fix icon

---------

Co-authored-by: Jeff <velcroboy333@hotmail.com>
Resources/Prototypes/Entities/Markers/Spawners/Random/fancytables.yml [new file with mode: 0644]

diff --git a/Resources/Prototypes/Entities/Markers/Spawners/Random/fancytables.yml b/Resources/Prototypes/Entities/Markers/Spawners/Random/fancytables.yml
new file mode 100644 (file)
index 0000000..274db34
--- /dev/null
@@ -0,0 +1,22 @@
+- type: entity
+  name: random fancy table spawner
+  id: FancyTableSpawner
+  parent: MarkerBase
+  components:
+    - type: Sprite
+      layers:
+        - state: red
+        - sprite: Structures/Furniture/Tables/Fancy/blue.rsi
+          state: full
+    - type: RandomSpawner
+      prototypes:
+        - TableFancyBlue
+        - TableFancyCyan
+        - TableFancyBlack
+        - TableFancyRed
+        - TableFancyPurple
+        - TableFancyPink
+        - TableFancyGreen
+        - TableFancyOrange
+        - TableFancyWhite
+      offset: 0.0