From d1241c57359dcc48892d6640918e1ac299b8f669 Mon Sep 17 00:00:00 2001 From: Nim <128169402+Nimfar11@users.noreply.github.com> Date: Fri, 8 Dec 2023 07:24:34 +0200 Subject: [PATCH] psychologist bed (#22223) --- .../Entities/Structures/Furniture/beds.yml | 26 ++++++++++++++++++ .../Furniture/furniture.rsi/meta.json | 5 +++- .../Furniture/furniture.rsi/psychbed.png | Bin 0 -> 392 bytes 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 Resources/Textures/Structures/Furniture/furniture.rsi/psychbed.png diff --git a/Resources/Prototypes/Entities/Structures/Furniture/beds.yml b/Resources/Prototypes/Entities/Structures/Furniture/beds.yml index 83e043334c..3f0234a089 100644 --- a/Resources/Prototypes/Entities/Structures/Furniture/beds.yml +++ b/Resources/Prototypes/Entities/Structures/Furniture/beds.yml @@ -153,3 +153,29 @@ - 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 diff --git a/Resources/Textures/Structures/Furniture/furniture.rsi/meta.json b/Resources/Textures/Structures/Furniture/furniture.rsi/meta.json index f929c9dffc..1f7049dfbe 100644 --- a/Resources/Textures/Structures/Furniture/furniture.rsi/meta.json +++ b/Resources/Textures/Structures/Furniture/furniture.rsi/meta.json @@ -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 index 0000000000000000000000000000000000000000..1fd4b9609b1d6be128e37976b1fb6cf0a240cd09 GIT binary patch literal 392 zcmV;30eAk1P)>B1{{%=AQ-6GU0HoW_eH4XzI}oz%|ET~Nt zluvE<0u0-7@4V0F9@Yfu+=37fU)kJ005p-0lD_SI|5yO8E2u>|0DhJFXP}?v<`X$M z2mLrRwUqdpye>L$bZEw#OVAH*vf(HUq_q=v6$1 literal 0 HcmV?d00001 -- 2.51.2