diff --git a/Resources/Prototypes/_SSS/markers.yml b/Resources/Prototypes/_SSS/markers.yml new file mode 100644 index 0000000000..5dee74ffa9 --- /dev/null +++ b/Resources/Prototypes/_SSS/markers.yml @@ -0,0 +1,107 @@ +- type: entity + id: SSSGridMarker + name: Grid marker + parent: MarkerBase + suffix: SSS + components: + - type: SuspicionGridMarker + - type: Sprite + layers: + - state: red + - sprite: Objects/Fun/toys.rsi + state: plushie_rouny + +- type: entity + name: Invisible Chasm + id: FloorChasmEntityInvisible + parent: MarkerBase + placement: + mode: SnapgridCenter + snap: + - Wall + components: + - type: Sprite + layers: + - sprite: _SSS/markers.rsi + state: chasm + shader: unshaded + - type: Chasm + - type: StepTrigger + requiredTriggeredSpeed: 0 + intersectRatio: 0.4 + - type: Transform + anchored: true + - type: Clickable + - type: Physics + bodyType: Static + - type: Fixtures + fixtures: + fix1: + shape: + !type:PhysShapeAabb + bounds: "-0.5,-0.5,0.5,0.5" + layer: + - WallLayer + mask: + - ItemMask + density: 1000 + hard: false + - type: Tag + tags: + - HideContextMenu + +- type: entity + name: Invisible Chasm + suffix: Corner + id: FloorChasmEntityInvisibleCorner + parent: FloorChasmEntityInvisible + placement: + mode: SnapgridCenter + snap: + - Wall + components: + - type: Sprite + layers: + - sprite: _SSS/markers.rsi + state: chasm_corner + shader: unshaded + - type: Fixtures + fixtures: + fix1: + shape: + !type:PhysShapeAabb + bounds: "-0.5,-0.35,0.35,0.5" + layer: + - WallLayer + mask: + - ItemMask + density: 1000 + hard: false + +- type: entity + name: Invisible Chasm + suffix: Side + id: FloorChasmEntityInvisibleSide + parent: FloorChasmEntityInvisible + placement: + mode: SnapgridCenter + snap: + - Wall + components: + - type: Sprite + layers: + - sprite: _SSS/markers.rsi + state: chasm_side + shader: unshaded + - type: Fixtures + fixtures: + fix1: + shape: + !type:PhysShapeAabb + bounds: "-0.5,-0.35,0.5,0.5" + layer: + - WallLayer + mask: + - ItemMask + density: 1000 + hard: false diff --git a/Resources/Prototypes/_SSS/suspicion_grid_marker.yml b/Resources/Prototypes/_SSS/suspicion_grid_marker.yml deleted file mode 100644 index c6a0862f86..0000000000 --- a/Resources/Prototypes/_SSS/suspicion_grid_marker.yml +++ /dev/null @@ -1,12 +0,0 @@ -- type: entity - id: SSSGridMarker - name: Grid marker - parent: MarkerBase - suffix: SSS - components: - - type: SuspicionGridMarker - - type: Sprite - layers: - - state: red - - sprite: Objects/Fun/toys.rsi - state: plushie_rouny diff --git a/Resources/Textures/_SSS/markers.rsi/chasm.png b/Resources/Textures/_SSS/markers.rsi/chasm.png new file mode 100644 index 0000000000..7a6620aba1 Binary files /dev/null and b/Resources/Textures/_SSS/markers.rsi/chasm.png differ diff --git a/Resources/Textures/_SSS/markers.rsi/chasm_corner.png b/Resources/Textures/_SSS/markers.rsi/chasm_corner.png new file mode 100644 index 0000000000..58bbf26fbf Binary files /dev/null and b/Resources/Textures/_SSS/markers.rsi/chasm_corner.png differ diff --git a/Resources/Textures/_SSS/markers.rsi/chasm_side.png b/Resources/Textures/_SSS/markers.rsi/chasm_side.png new file mode 100644 index 0000000000..81ac5cf31c Binary files /dev/null and b/Resources/Textures/_SSS/markers.rsi/chasm_side.png differ diff --git a/Resources/Textures/_SSS/markers.rsi/meta.json b/Resources/Textures/_SSS/markers.rsi/meta.json new file mode 100644 index 0000000000..eb328f6505 --- /dev/null +++ b/Resources/Textures/_SSS/markers.rsi/meta.json @@ -0,0 +1,20 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Space Wizards Federation, modified by Durk for SSS", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "chasm" + }, + { + "name": "chasm_side" + }, + { + "name": "chasm_corner" + } + ] +}