forked from Vault-Overseers/nuclear-14
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Slowdown tile1 (Vault-Overseers#718)
New invisible slowdown entity added.
- Loading branch information
1 parent
2ae382c
commit 6f08465
Showing
3 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
36 changes: 35 additions & 1 deletion
36
Resources/Prototypes/_Nuclear14/Entities/Markers/environmental.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,35 @@ | ||
# These have now been merged upstream so can be found in the same directory there. | ||
# These have now been merged upstream so can be found in the same directory there. | ||
# Slowdown Tile | ||
- type: entity | ||
name: Slowdown Tile | ||
id: N14SlowdownTile | ||
parent: MarkerBase | ||
suffix: slowdown floor | ||
components: | ||
- type: Sprite | ||
layers: | ||
- sprite: _Nuclear14/Markers/environment.rsi | ||
state: base-blue | ||
shader: unshaded | ||
- sprite: _Nuclear14/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,9 @@ | |
{ | ||
"name": "rad" | ||
}, | ||
{ | ||
"name": "slowdown_tile" | ||
}, | ||
{ | ||
"name": "wall" | ||
}, | ||
|
Binary file added
BIN
+227 Bytes
Resources/Textures/_Nuclear14/Markers/environment.rsi/slowdown_tile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.