]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix placement mode on chairs (#26041)
authorVelcroboy <107660393+IamVelcroboy@users.noreply.github.com>
Wed, 13 Mar 2024 14:45:28 +0000 (09:45 -0500)
committerGitHub <noreply@github.com>
Wed, 13 Mar 2024 14:45:28 +0000 (17:45 +0300)
Co-authored-by: Jeff <velcroboy333@hotmail.com>
Resources/Prototypes/Entities/Structures/Furniture/chairs.yml

index cc8cc325fbbf4523c4d692255aba2e5d2bfe2e71..87f74d0c4086684d0155cabd95208ecd6b85c979 100644 (file)
@@ -4,7 +4,7 @@
   abstract: true
   description: You sit in this. Either by will or force.
   placement:
-    mode: SnapgridCenter
+    mode: PlaceFree
   components:
   - type: Clickable
   - type: InteractionOutline
@@ -65,6 +65,8 @@
   id: ChairBase
   abstract: true
   parent: UnanchoredChairBase
+  placement:
+    mode: SnapgridCenter
   components:
   - type: Physics
     bodyType: Static
@@ -87,6 +89,8 @@
   id: StoolBase
   parent: OfficeChairBase
   abstract: true
+  placement:
+    mode: SnapgridCenter
   components:
   - type: Physics
     bodyType: Static
 - type: entity
   name: stool
   id: Stool
-  parent: ChairBase
+  parent: UnanchoredChairBase
   description: Apply butt.
   components:
   - type: Sprite
 
 - type: entity
   id: ChairMeat
-  parent: ChairBase
+  parent: UnanchoredChairBase
   name: meat chair
   description: Uncomfortably sweaty.
   components:
   name: web chair
   id: ChairWeb
   description: For true web developers.
-  parent: ChairBase
+  parent: UnanchoredChairBase
   components:
   - type: Sprite
     sprite: Structures/Web/chair.rsi
   parent: ChairFolding
   id: ChairFoldingSpawnFolded
   suffix: folded
-  placement:
-    mode: PlaceFree
   components:
   - type: Foldable
     folded: true
   - type: Construction
     graph: Seat
     node: chairSteelBench
-