Fix crates masks (#27137)

Fixes crates masks not allowing them to go under plastic flaps + crates no longer can go trough windoors.

(cherry picked from commit 812abd33a0616aeedd9bea2952e4f0fb7bd31697)
This commit is contained in:
MilenVolf 2024-04-20 09:23:20 +03:00 committed by NullWanderer
parent d5aa552977
commit 695acc366e
No known key found for this signature in database
GPG Key ID: 212F05528FD678BE
6 changed files with 10 additions and 7 deletions

View File

@ -48,6 +48,9 @@ public enum CollisionGroup
MachineLayer = Opaque | MidImpassable | LowImpassable | BulletImpassable,
ConveyorMask = Impassable | MidImpassable | LowImpassable | DoorPassable,
// Crates
CrateMask = Impassable | HighImpassable | LowImpassable,
// Tables that SmallMobs can go under
TableMask = Impassable | MidImpassable,
TableLayer = MidImpassable,

View File

@ -30,7 +30,7 @@
radius: 0.45
density: 25
mask:
- SmallMobMask
- ItemMask
layer:
- MachineLayer
- type: EntityStorage

View File

@ -36,7 +36,7 @@
radius: 0.45
density: 50
mask:
- SmallMobMask #this is so they can go under plastic flaps
- CrateMask #this is so they can go under plastic flaps
layer:
- MachineLayer
- type: Icon

View File

@ -34,7 +34,7 @@
bounds: "-0.4,-0.4,0.4,0.29"
density: 50
mask:
- SmallMobMask #this is so they can go under plastic flaps
- CrateMask #this is so they can go under plastic flaps
layer:
- MachineLayer
- type: EntityStorage

View File

@ -356,7 +356,7 @@
bounds: "-0.4,-0.4,0.4,0.29"
density: 135
mask:
- SmallMobMask #this is so they can go under plastic flaps
- CrateMask #this is so they can go under plastic flaps
layer:
- LargeMobLayer
- type: Construction
@ -413,7 +413,7 @@
bounds: "-0.4,-0.4,0.4,0.29"
density: 80
mask:
- LargeMobMask
- CrateMask
layer:
- LargeMobLayer
- type: StaticPrice

View File

@ -23,7 +23,7 @@
bounds: "-0.49,-0.49,0.49,0.49"
density: 100
mask:
- TabletopMachineMask
- Impassable
layer:
- MidImpassable
- type: Damageable
@ -61,7 +61,7 @@
bounds: "-0.49,-0.49,0.49,0.49"
density: 100
mask:
- TabletopMachineMask
- Impassable
layer:
- Opaque
- MidImpassable