Fix crates masks (#27137)
Fixes crates masks not allowing them to go under plastic flaps + crates no longer can go trough windoors.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user