From e49e8136e0381441aa17a7a8e6cb1f0375420290 Mon Sep 17 00:00:00 2001
From: SimpleStation14 <130339894+SimpleStation14@users.noreply.github.com>
Date: Tue, 23 Apr 2024 11:55:21 -0700
Subject: [PATCH] Mirror: Add fancy table spawner (#170)
## Mirror of PR #26044: [Add fancy table
spawner](https://github.com/space-wizards/space-station-14/pull/26044)
from
[space-wizards](https://github.com/space-wizards)/[space-station-14](https://github.com/space-wizards/space-station-14)
###### `f5f5eebeeeee005a955ebd2814b4b9d6204e72ef`
PR opened by IamVelcroboy
at 2024-03-12 16:09:24 UTC
PR merged by web-flow at
2024-03-13 06:21:51 UTC
---
PR changed 1 files with 22 additions and 0 deletions.
The PR had the following labels:
- No C#
---
Original Body
> ## About the PR
> Adds fancy table spawner for mapping random fancy tables
>
> ## Why / Balance
> Nice
>
> ## Technical details
> n/a
>
> ## Media
> n/a
> - [x] I have added screenshots/videos to this PR showcasing its
changes in-game, **or** this PR does not require an in-game showcase
>
> ## Breaking changes
> n/a
>
> **Changelog**
> n/a
>
Co-authored-by: Velcroboy <107660393+IamVelcroboy@users.noreply.github.com>
---
.../Markers/Spawners/Random/fancytables.yml | 22 +++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 Resources/Prototypes/Entities/Markers/Spawners/Random/fancytables.yml
diff --git a/Resources/Prototypes/Entities/Markers/Spawners/Random/fancytables.yml b/Resources/Prototypes/Entities/Markers/Spawners/Random/fancytables.yml
new file mode 100644
index 00000000000..274db344378
--- /dev/null
+++ b/Resources/Prototypes/Entities/Markers/Spawners/Random/fancytables.yml
@@ -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