From 196ec030f53b58aaaee71c4f45d5ec20075d608a Mon Sep 17 00:00:00 2001 From: moneyl <8206401+Moneyl@users.noreply.github.com> Date: Thu, 23 May 2019 15:46:43 -0400 Subject: [PATCH] Add aabb values and Collidable component to power objects --- Resources/Prototypes/Entities/Power.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Resources/Prototypes/Entities/Power.yml b/Resources/Prototypes/Entities/Power.yml index c49ea8244c..f47d27f500 100644 --- a/Resources/Prototypes/Entities/Power.yml +++ b/Resources/Prototypes/Entities/Power.yml @@ -41,6 +41,8 @@ components: - type: Clickable - type: BoundingBox + aabb: -0.5, -0.5, 0.3, 0.5 + - type: Collidable - type: Sprite texture: Objects/generator.png - type: Icon @@ -105,6 +107,8 @@ components: - type: Clickable - type: BoundingBox + aabb: -0.5, -0.5, 0.5, 0.5 + - type: Collidable - type: Sprite netsync: false sprite: Buildings/smes.rsi @@ -140,6 +144,8 @@ components: - type: Clickable - type: BoundingBox + aabb: -0.5, -0.25, 0.5, 0.25 + - type: Collidable - type: Sprite texture: Objects/wiredmachine.png - type: Icon @@ -156,6 +162,8 @@ components: - type: Clickable - type: BoundingBox + aabb: -0.5, -0.25, 0.5, 0.25 + - type: Collidable - type: Sprite texture: Objects/wirelessmachine.png - type: Icon