]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
some chairs tweaks (#22901)
authorlzk <124214523+lzk228@users.noreply.github.com>
Wed, 27 Dec 2023 22:46:12 +0000 (23:46 +0100)
committerGitHub <noreply@github.com>
Wed, 27 Dec 2023 22:46:12 +0000 (15:46 -0700)
* make all chairs rotatable and anchorable

* Revert "make all chairs rotatable and anchorable"

This reverts commit d7f98261d5c228b7035b611f2becf2355c2f257f.

* comt

Resources/Prototypes/Entities/Structures/Furniture/chairs.yml

index 058fae24dc758914c28c1029c860746c96c7fb7a..ae8eddc9cf86ec8603ff61818ea21a7e874ebdfc 100644 (file)
@@ -82,6 +82,7 @@
   description: Apply butt.
   components:
   - type: Anchorable
+  - type: Rotatable
   - type: Sprite
     state: stool
   - type: Construction
   id: ChairOfficeLight
   parent: SeatBase
   components:
+  - type: Anchorable
   - type: Rotatable
     rotateWhileAnchored: true
   - type: Sprite
 - type: entity
   name: ritual chair
   id: ChairRitual
-  parent: SeatBase
+  parent: ChairWood
   description: Looks uncomfortable.
   components:
-  - type: Anchorable
-  - type: Rotatable
   - type: Sprite
     state: ritual
   - type: Construction
   name: meat chair
   description: Uncomfortably sweaty.
   components:
-  - type: Anchorable
   - type: Rotatable
   - type: Sprite
     state: meat
 - type: entity
   name: cursed chair
   id: ChairCursed
-  parent: SeatBase
+  parent: ChairWood
   description: It's staring back.
   components:
-  - type: Anchorable
-  - type: Rotatable
   - type: Sprite
     state: cursed
   - type: Strap
       - !type:PlaySoundBehavior
         sound:
           path: /Audio/Voice/Human/womanlaugh.ogg
+      - !type:SpawnEntitiesBehavior
+        spawn:
+          MaterialWoodPlank:
+            min: 1
+            max: 1
     graph: RitualSeat
     node: chairCursed
 
     anchored: true
   - type: Physics
     bodyType: Static
-  - type: Anchorable
   - type: Rotatable
   - type: Sprite
     sprite: Structures/Web/chair.rsi