From: IProduceWidgets <107586145+IProduceWidgets@users.noreply.github.com> Date: Wed, 7 Aug 2024 21:47:03 +0000 (-0400) Subject: butter is slippery (#29772) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=ff28feec14118e51d1c032e4a6790c58203cbf8f;p=space-station-14.git butter is slippery (#29772) * butter slippery * rerun tests * standardize --- 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: