Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slowdown tile #708

Closed
34 changes: 34 additions & 0 deletions Resources/Prototypes/Entities/Markers/environmental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
{
"name": "rad"
},
{
"name": "slowdown_tile"
},
{
"name": "wall"
},
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading