From: Nim <128169402+Nimfar11@users.noreply.github.com> Date: Fri, 8 Dec 2023 05:24:34 +0000 (+0200) Subject: psychologist bed (#22223) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=d1241c57359dcc48892d6640918e1ac299b8f669;p=space-station-14.git psychologist bed (#22223) --- 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 0000000000..1fd4b9609b Binary files /dev/null and b/Resources/Textures/Structures/Furniture/furniture.rsi/psychbed.png differ