Added a Collidable Component to the existing station grind in StationStation.

This commit is contained in:
Acruid
2020-01-11 15:15:11 -08:00
parent 32103979ed
commit ca58afd81b
3 changed files with 6 additions and 1 deletions

View File

@@ -52,6 +52,7 @@ namespace Content.Server.GameObjects.Components.Movement
physComp.Mass = 1; physComp.Mass = 1;
} }
//TODO: Is this always true?
if (!gridEntity.HasComponent<ICollidableComponent>()) if (!gridEntity.HasComponent<ICollidableComponent>())
{ {
var collideComp = gridEntity.AddComponent<CollidableComponent>(); var collideComp = gridEntity.AddComponent<CollidableComponent>();

View File

@@ -101,6 +101,10 @@ entities:
type: Transform type: Transform
- index: 0 - index: 0
type: MapGrid type: MapGrid
- shapes:
- !type:PhysShapeGrid
grid: 0
type: Collidable
- uid: 1 - uid: 1
type: LaserItem type: LaserItem
components: components: