From 86829b5191a8538bc7fb226dbd84b25424f8b090 Mon Sep 17 00:00:00 2001 From: moonheart08 Date: Thu, 29 Oct 2020 20:22:51 -0500 Subject: [PATCH] Liiiiight (#2451) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Mortician's Menagerie (#2391) * Body bags! * Morgue Trays and the Crematorium! Reorganised body bags to be under Morgue, not Medical * Fix. Things outside of EntityStorageComponents now use the Try*Storage() not just *Storage() methods - Allows mobs to be trapped in a morgue/crematorium whose tray can't open. * Fix tests. Modernise component dependency and nullability. * Update Content.Server/GameObjects/Components/Morgue/MorgueTrayComponent.cs Co-authored-by: Víctor Aguilera Puerto <6766154+Zumorica@users.noreply.github.com> * fix magically disappearing prototype (presumably just a mistake on my part) Co-authored-by: Remie Richards Co-authored-by: Víctor Aguilera Puerto <6766154+Zumorica@users.noreply.github.com> --- .../Entities/Constructible/Walls/lighting.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Resources/Prototypes/Entities/Constructible/Walls/lighting.yml b/Resources/Prototypes/Entities/Constructible/Walls/lighting.yml index 1496013a3d..b33d343532 100644 --- a/Resources/Prototypes/Entities/Constructible/Walls/lighting.yml +++ b/Resources/Prototypes/Entities/Constructible/Walls/lighting.yml @@ -63,3 +63,19 @@ - type: Destructible deadThreshold: 25 resistances: metallicResistances + +- type: entity + name: unpowered small light + id: SmallLight + parent: WallLight + components: + - type: Sprite + sprite: Constructible/Lighting/light_small.rsi + state: on + - type: PointLight + energy: 1.0 + enabled: true + offset: "-0.5, 0" + - type: Destructible + deadThreshold: 25 + resistances: metallicResistances