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:
parent
d5aa552977
commit
695acc366e
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
radius: 0.45
|
||||
density: 25
|
||||
mask:
|
||||
- SmallMobMask
|
||||
- ItemMask
|
||||
layer:
|
||||
- MachineLayer
|
||||
- type: EntityStorage
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue