From 4a67610fb88d49b3fd1bc54505f34eddfe9d41af Mon Sep 17 00:00:00 2001 From: sunbear-dev <107123733+sunbear-dev@users.noreply.github.com> Date: Sun, 17 Jul 2022 00:33:30 +0200 Subject: [PATCH] Error entity (#9740) Co-authored-by: tijn --- .../Prototypes/Entities/Objects/Fun/error.yml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Resources/Prototypes/Entities/Objects/Fun/error.yml diff --git a/Resources/Prototypes/Entities/Objects/Fun/error.yml b/Resources/Prototypes/Entities/Objects/Fun/error.yml new file mode 100644 index 0000000000..f5c9e49c80 --- /dev/null +++ b/Resources/Prototypes/Entities/Objects/Fun/error.yml @@ -0,0 +1,40 @@ +- type: entity + parent: BaseItem + id: Error + name: error + description: Hmmmm. Something went wrong. + components: + - type: Sprite + sprite: error.rsi + state: error + - type: Food + - type: SolutionContainerManager + solutions: + food: + maxVol: 26 + reagents: + - ReagentId: Nutriment + Quantity: 5 + - type: Slippery + launchForwardsMultiplier: 20 + - type: StepTrigger + intersectRatio: 0.2 + - type: CollisionWake + enabled: false + - type: Physics + bodyType: Dynamic + - type: Fixtures + fixtures: + - shape: + !type:PhysShapeAabb + bounds: "-0.2,-0.2,0.2,0.2" + id: "slips" + hard: false + layer: + - SlipLayer + - shape: + !type:PhysShapeAabb + bounds: "-0.2,-0.2,0.2,0.2" + mass: 5 + mask: + - ItemMask \ No newline at end of file