diff --git a/Resources/Prototypes/Entities/Markers/environmental.yml b/Resources/Prototypes/Entities/Markers/environmental.yml index 06425183561..5a802d5c996 100644 --- a/Resources/Prototypes/Entities/Markers/environmental.yml +++ b/Resources/Prototypes/Entities/Markers/environmental.yml @@ -87,6 +87,40 @@ - type: Physics bodyType: Static +# Slowdown Tile +- type: entity + name: Slowdown Tile + id: N14SlowdownTile + parent: MarkerBase + suffix: slowdown floor + components: + - type: Sprite + layers: + - sprite: Markers/environment.rsi + state: base-blue + shader: unshaded + - sprite: Markers/environment.rsi + shader: unshaded + state: slowdown_tile + - type: SpeedModifierContacts + walkSpeedModifier: 0.6 + sprintSpeedModifier: 0.6 + - type: PlacementReplacement + key: blocker + - type: Fixtures + fixtures: + fix1: + shape: + !type:PhysShapeAabb + bounds: "-0.4,-0.4,0.4,0.4" + layer: + - SlipLayer + mask: + - ItemMask + density: 1000 + hard: false + - type: Physics + bodyType: Static # Weather Blocker - type: entity diff --git a/Resources/Textures/_Nuclear14/Markers/environment.rsi/meta.json b/Resources/Textures/_Nuclear14/Markers/environment.rsi/meta.json index 6fc7decc8b9..25592576958 100644 --- a/Resources/Textures/_Nuclear14/Markers/environment.rsi/meta.json +++ b/Resources/Textures/_Nuclear14/Markers/environment.rsi/meta.json @@ -22,6 +22,9 @@ { "name": "rad" }, + { + "name": "slowdown_tile" + }, { "name": "wall" }, diff --git a/Resources/Textures/_Nuclear14/Markers/environment.rsi/slowdown_tile.png b/Resources/Textures/_Nuclear14/Markers/environment.rsi/slowdown_tile.png new file mode 100644 index 00000000000..48f3b1f39c4 Binary files /dev/null and b/Resources/Textures/_Nuclear14/Markers/environment.rsi/slowdown_tile.png differ