From 78875f1fdda5cf17587071e5da2c95dbc903c7bb Mon Sep 17 00:00:00 2001 From: SweptWasTaken Date: Sat, 8 May 2021 21:48:06 -0700 Subject: [PATCH] Fixes banana peels --- .../Objects/Consumable/Food/produce.yml | 29 +++++++++++++++++++ .../Objects/Consumable/banana-trash.yml | 28 ------------------ 2 files changed, 29 insertions(+), 28 deletions(-) delete mode 100644 Resources/Prototypes/Entities/Objects/Consumable/banana-trash.yml diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml index f91a25e271..998f004c5c 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml @@ -107,6 +107,35 @@ - ReagentId: JuiceBanana Quantity: 10 +- type: entity + name: banana peel + parent: BaseItem + id: TrashBananaPeel + components: + - type: Sprite + sprite: Objects/Specific/Hydroponics/banana.rsi + state: peel + - type: Slippery + intersectPercentage: 0.2 + - type: CollisionWake + enabled: false + - type: Physics + bodyType: Dynamic + fixtures: + - shape: + !type:PhysShapeAabb + bounds: "-0.2,-0.2,0.2,0.2" + name: "slips" + hard: false + layer: + - SmallImpassable + - shape: + !type:PhysShapeAabb + bounds: "-0.2,-0.2,0.2,0.2" + mass: 5 + mask: + - SmallImpassable + - type: entity name: carrot parent: ProduceBase diff --git a/Resources/Prototypes/Entities/Objects/Consumable/banana-trash.yml b/Resources/Prototypes/Entities/Objects/Consumable/banana-trash.yml deleted file mode 100644 index 7df49b09fc..0000000000 --- a/Resources/Prototypes/Entities/Objects/Consumable/banana-trash.yml +++ /dev/null @@ -1,28 +0,0 @@ -- type: entity - name: banana peel - parent: TrashBase - id: TrashBananaPeel - components: - - type: Sprite - sprite: Objects/Specific/Hydroponics/banana.rsi - state: peel - - type: Slippery - intersectPercentage: 0.2 - - type: CollisionWake - enabled: false - - type: Physics - bodyType: Dynamic - fixtures: - - shape: - !type:PhysShapeAabb - bounds: "-0.2,-0.2,0.2,0.2" - name: "slips" - hard: false - layer: - - SmallImpassable - - shape: - !type:PhysShapeAabb - bounds: "-0.2,-0.2,0.2,0.2" - mass: 5 - mask: - - SmallImpassable