]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
psychologist bed (#22223)
authorNim <128169402+Nimfar11@users.noreply.github.com>
Fri, 8 Dec 2023 05:24:34 +0000 (07:24 +0200)
committerGitHub <noreply@github.com>
Fri, 8 Dec 2023 05:24:34 +0000 (00:24 -0500)
Resources/Prototypes/Entities/Structures/Furniture/beds.yml
Resources/Textures/Structures/Furniture/furniture.rsi/meta.json
Resources/Textures/Structures/Furniture/furniture.rsi/psychbed.png [new file with mode: 0644]

index 83e043334cb6957618bca57706fb1b38ba381706..3f0234a089ca768456917149d69d4c6cd150e64d 100644 (file)
   - type: Construction
     graph: WebStructures
     node: bed
+
+- type: entity
+  parent: Bed
+  id: PsychBed
+  name: psychologist bed
+  description: An upholstered bed for the psychological care of patients.
+  components:
+  - type: Sprite
+    state: psychbed
+  - type: HealOnBuckle
+    damage:
+      types:
+        Cold: -0.5
+  - type: Destructible
+    thresholds:
+    - trigger:
+        !type:DamageTrigger
+        damage: 75
+      behaviors:
+      - !type:DoActsBehavior
+        acts: ["Destruction"]
+      - !type:SpawnEntitiesBehavior
+        spawn:
+          MaterialWoodPlank:
+            min: 2
+            max: 2
index f929c9dffc78f42bfea286bf2215179a4a8bd03d..1f7049dfbe1b545a11755e82dd2c9ed9d8102155 100644 (file)
@@ -1,7 +1,7 @@
 {
   "version": 1,
   "license": "CC-BY-SA-3.0",
-  "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/d5cb4288ec5f7cb9fb5b6f6e798f4c64cd82cd09",
+  "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/d5cb4288ec5f7cb9fb5b6f6e798f4c64cd82cd09, Taken from vgstation at commit https://github.com/vgstation-coders/vgstation13/commit/9d7ff729b6b89eee0b3d750327f9fbaff4aeb045",
   "size": {
     "x": 32,
     "y": 32
@@ -19,6 +19,9 @@
     {
       "name": "mattress"
     },
+    {
+      "name": "psychbed"
+    },
     {
       "name": "rack"
     },
diff --git a/Resources/Textures/Structures/Furniture/furniture.rsi/psychbed.png b/Resources/Textures/Structures/Furniture/furniture.rsi/psychbed.png
new file mode 100644 (file)
index 0000000..1fd4b96
Binary files /dev/null and b/Resources/Textures/Structures/Furniture/furniture.rsi/psychbed.png differ