From f7c71b500fb8680b3655ca588872500140efbc91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Aguilera=20Puerto?= Date: Sat, 22 Aug 2020 13:27:03 +0200 Subject: [PATCH] Make airlocks, lights and chairs/stools destructible. --- .../Entities/Constructible/Doors/airlock_base.yml | 2 ++ .../Entities/Constructible/Ground/furniture.yml | 9 +++++++++ .../Prototypes/Entities/Constructible/Walls/lighting.yml | 4 ++++ 3 files changed, 15 insertions(+) diff --git a/Resources/Prototypes/Entities/Constructible/Doors/airlock_base.yml b/Resources/Prototypes/Entities/Constructible/Doors/airlock_base.yml index ad88ad239f..292eb737df 100644 --- a/Resources/Prototypes/Entities/Constructible/Doors/airlock_base.yml +++ b/Resources/Prototypes/Entities/Constructible/Doors/airlock_base.yml @@ -58,6 +58,8 @@ - type: Occluder - type: SnapGrid offset: Center + - type: Destructible + maxHP: 500 placement: mode: SnapgridCenter diff --git a/Resources/Prototypes/Entities/Constructible/Ground/furniture.yml b/Resources/Prototypes/Entities/Constructible/Ground/furniture.yml index 1ad0119924..39799efae4 100644 --- a/Resources/Prototypes/Entities/Constructible/Ground/furniture.yml +++ b/Resources/Prototypes/Entities/Constructible/Ground/furniture.yml @@ -17,6 +17,8 @@ position: Stand - type: Anchorable - type: Pullable + - type: Destructible + maxHP: 50 - type: entity name: bar stool @@ -48,6 +50,8 @@ position: Stand - type: Anchorable - type: Pullable + - type: Destructible + maxHP: 50 - type: entity name: dark office chair @@ -81,6 +85,8 @@ position: Stand - type: Anchorable - type: Pullable + - type: Destructible + maxHP: 50 - type: entity parent: Chair @@ -96,6 +102,7 @@ state: comfychair_preview + - type: entity name: wooden chair id: ChairWood @@ -126,5 +133,7 @@ - type: Strap position: Down rotation: -90 + - type: Destructible + maxHP: 75 placement: mode: SnapgridCenter diff --git a/Resources/Prototypes/Entities/Constructible/Walls/lighting.yml b/Resources/Prototypes/Entities/Constructible/Walls/lighting.yml index 6067f47b90..28e87a8d7a 100644 --- a/Resources/Prototypes/Entities/Constructible/Walls/lighting.yml +++ b/Resources/Prototypes/Entities/Constructible/Walls/lighting.yml @@ -45,6 +45,8 @@ - type: PoweredLight bulb: Tube - type: PowerReceiver + - type: Destructible + maxHP: 50 - type: entity name: small light @@ -66,3 +68,5 @@ - type: PoweredLight bulb: Bulb - type: PowerReceiver + - type: Destructible + maxHP: 25