Can't crawl over counters (#40099)

Counters and Tables separation

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
This commit is contained in:
Princess Cheeseballs
2025-09-04 14:03:10 -07:00
committed by GitHub
parent ad3874b8cd
commit 01a7fc66f0
5 changed files with 11 additions and 11 deletions

View File

@@ -59,6 +59,9 @@ public enum CollisionGroup
TableMask = Impassable | MidImpassable, TableMask = Impassable | MidImpassable,
TableLayer = MidImpassable, TableLayer = MidImpassable,
// Tables that SmallMobs can't go under
CounterLayer = MidImpassable | LowImpassable,
// Tabletop machines, windoors, firelocks // Tabletop machines, windoors, firelocks
TabletopMachineMask = Impassable | HighImpassable, TabletopMachineMask = Impassable | HighImpassable,
// Tabletop machines // Tabletop machines

View File

@@ -57,4 +57,4 @@
mask: mask:
- TableMask - TableMask
layer: layer:
- TableLayer - CounterLayer

View File

@@ -77,7 +77,7 @@
mask: mask:
- TableMask - TableMask
layer: layer:
- TableLayer - CounterLayer
- type: Damageable - type: Damageable
damageContainer: StructuralInorganic damageContainer: StructuralInorganic
damageModifierSet: Wood damageModifierSet: Wood
@@ -201,7 +201,7 @@
- type: entity - type: entity
id: TableReinforced id: TableReinforced
parent: TableBase parent: CounterBase
name: reinforced table name: reinforced table
description: A square piece of metal standing on four metal legs. Extra robust. description: A square piece of metal standing on four metal legs. Extra robust.
components: components:
@@ -471,7 +471,7 @@
- type: entity - type: entity
id: TableBrass id: TableBrass
parent: TableBase parent: CounterBase
name: brass table name: brass table
description: A shiny, corrosion resistant brass table. Steampunk! description: A shiny, corrosion resistant brass table. Steampunk!
components: components:
@@ -615,7 +615,7 @@
- type: entity - type: entity
id: TableStone id: TableStone
parent: TableBase parent: CounterBase
name: stone table name: stone table
description: Literally the sturdiest thing you have ever seen. description: Literally the sturdiest thing you have ever seen.
components: components:
@@ -675,7 +675,7 @@
collection: FootstepCarpet collection: FootstepCarpet
- type: entity - type: entity
parent: TableBase parent: CounterBase
id: TableXeno id: TableXeno
name: xeno table name: xeno table
description: I wouldn't put the silverware on it. description: I wouldn't put the silverware on it.

View File

@@ -105,7 +105,7 @@
mask: mask:
- TableMask - TableMask
layer: layer:
- TableLayer - CounterLayer
- type: TimedDespawn - type: TimedDespawn
lifetime: 180 lifetime: 180
- type: PointLight - type: PointLight

View File

@@ -29,10 +29,7 @@
- 0.50,0.50 - 0.50,0.50
- -0.50,0.50 - -0.50,0.50
layer: layer:
- Impassable - ConveyorMask
- MidImpassable
- LowImpassable
- DoorPassable
hard: False hard: False
- type: Conveyor - type: Conveyor
- type: DeviceNetwork - type: DeviceNetwork