From 7fcd424c71002bcf592c23b9a5b87d8bfa9f630f Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Sun, 3 Jun 2018 16:29:56 +0200 Subject: [PATCH] Proper drawdepths for items & clothing. --- Resources/Prototypes/Entities/Clothing.yml | 6 +----- Resources/Prototypes/Entities/Items.yml | 2 ++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Resources/Prototypes/Entities/Clothing.yml b/Resources/Prototypes/Entities/Clothing.yml index 062c06833a..ccc745fcac 100644 --- a/Resources/Prototypes/Entities/Clothing.yml +++ b/Resources/Prototypes/Entities/Clothing.yml @@ -1,14 +1,10 @@ - type: entity name: "Clothing" id: Clothing + parent: BaseItem components: - - type: Transform - type: Clothing Size: 5 - - type: Clickable - - type: BoundingBox - - type: Physics - mass: 5 - type: entity parent: Clothing diff --git a/Resources/Prototypes/Entities/Items.yml b/Resources/Prototypes/Entities/Items.yml index ab398a0875..57a9abd15c 100644 --- a/Resources/Prototypes/Entities/Items.yml +++ b/Resources/Prototypes/Entities/Items.yml @@ -9,6 +9,8 @@ - type: BoundingBox - type: Physics mass: 5 + - type: Sprite + drawdepth: Items - type: entity name: "Emergency Toolbox With Handle"