From ff28feec14118e51d1c032e4a6790c58203cbf8f Mon Sep 17 00:00:00 2001 From: IProduceWidgets <107586145+IProduceWidgets@users.noreply.github.com> Date: Wed, 7 Aug 2024 17:47:03 -0400 Subject: [PATCH] butter is slippery (#29772) * butter slippery * rerun tests * standardize --- .../Objects/Consumable/Food/ingredients.yml | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/ingredients.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/ingredients.yml index f1f30f6c46..102703f2a5 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/ingredients.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/ingredients.yml @@ -1,4 +1,5 @@ # Lots of misc stuff in here, hard to parent it. +# ^ Yeah, this stuff should probably get split into different files but not my fight today. # Powder (For when you throw stuff like flour and it explodes) @@ -481,10 +482,33 @@ components: - type: Sprite state: butter + - type: Slippery + - type: StepTrigger + intersectRatio: 0.2 + - type: CollisionWake + enabled: false + - type: Physics + bodyType: Dynamic + - type: Fixtures + fixtures: + slips: + shape: + !type:PhysShapeAabb + bounds: "-0.3,-0.2,0.3,0.2" + layer: + - SlipLayer + hard: false + fix1: + shape: + !type:PhysShapeAabb + bounds: "-0.3,-0.2,0.3,0.2" + density: 10 + mask: + - ItemMask - type: entity name: stick of cannabis butter - parent: FoodBakingBase + parent: FoodButter id: FoodCannabisButter description: Add this to your favorite baked goods for an irie time. components: -- 2.52.0