From 092b94ecbbe56e09beed40c7240528bac09595d3 Mon Sep 17 00:00:00 2001 From: Rane <60792108+Elijahrane@users.noreply.github.com> Date: Mon, 10 Jan 2022 21:32:52 -0500 Subject: [PATCH] Added body bag boxes, fixed some folded body bag behavior (#6044) * Added body bag boxes, fixed some folded body bag behavior * Added item component to body bags * Fixed tag --- .../Catalog/Fills/Boxes/medical.yml | 22 +++++++++++++++++++ .../Objects/Specific/Medical/morgue.yml | 5 +++++ Resources/Prototypes/tags.yml | 3 +++ 3 files changed, 30 insertions(+) diff --git a/Resources/Prototypes/Catalog/Fills/Boxes/medical.yml b/Resources/Prototypes/Catalog/Fills/Boxes/medical.yml index 0cfb640469..caa18d2885 100644 --- a/Resources/Prototypes/Catalog/Fills/Boxes/medical.yml +++ b/Resources/Prototypes/Catalog/Fills/Boxes/medical.yml @@ -65,3 +65,25 @@ layers: - state: box - state: latex + +- type: entity + name: body bag box + parent: BoxCardboard + id: BoxBodyBag + description: Contains body bags. + components: + - type: StorageFill + contents: + - id: BodyBag_Folded + amount: 5 + - type: Item + size: 30 + - type: Storage + capacity: 30 + - type: Sprite + layers: + - state: box + - state: bodybags + whitelist: + tags: + - BodyBag diff --git a/Resources/Prototypes/Entities/Objects/Specific/Medical/morgue.yml b/Resources/Prototypes/Entities/Objects/Specific/Medical/morgue.yml index b7c2b51147..813bd24ec6 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Medical/morgue.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Medical/morgue.yml @@ -3,6 +3,8 @@ name: body bag description: A plastic bag designed for the storage and transportation of cadavers. components: + - type: Item + size: 6 - type: Sprite netsync: false drawdepth: SmallObjects # I guess body bags need appear above a coroner's table? @@ -17,6 +19,9 @@ - type: Icon sprite: Objects/Specific/Medical/Morgue/bodybags.rsi state: bag + - type: Tag + tags: + - BodyBag - type: Clickable - type: InteractionOutline - type: MovedByPressure diff --git a/Resources/Prototypes/tags.yml b/Resources/Prototypes/tags.yml index a73a9863fe..a6b0b16fa6 100644 --- a/Resources/Prototypes/tags.yml +++ b/Resources/Prototypes/tags.yml @@ -11,6 +11,9 @@ - type: Tag id: Brutepack + +- type: Tag + id: BodyBag - type: Tag id: BotanyHatchet