Allows lasers to pass through glass airlocks (#6499)

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
lajolico
2022-02-06 08:48:31 -05:00
committed by GitHub
parent dc38a8a149
commit 5e978857c0
2 changed files with 17 additions and 2 deletions

View File

@@ -29,7 +29,7 @@
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/medical.rsi
- type: entity
parent: Airlock
id: AirlockChemistry
@@ -86,6 +86,21 @@
enabled: false
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/glass.rsi
- type: Fixtures
fixtures:
- shape:
!type:PhysShapeAabb
bounds: "-0.49,-0.49,0.49,0.49" # don't want this colliding with walls or they won't close
mass: 100
mask:
- Impassable
layer: #removed opaque from the layer, allowing lasers to pass through glass airlocks
- Impassable
- MobImpassable
- VaultImpassable
- SmallImpassable
- type: entity
parent: AirlockGlass

View File

@@ -29,7 +29,7 @@
bounds: "-0.49,-0.49,0.49,0.49" # don't want this colliding with walls or they won't close
mass: 100
mask:
- MobImpassable
- Impassable
layer:
- Opaque
- Impassable