From 5f6c9245151f5d47a4e048c898da74e5f5bb8050 Mon Sep 17 00:00:00 2001 From: Aidenkrz Date: Sat, 21 Dec 2024 18:13:14 -0600 Subject: [PATCH] yuh! --- Resources/Prototypes/_SSS/markers.yml | 143 ++++++++++++++++++ .../Prototypes/_SSS/suspicion_grid_marker.yml | 12 -- Resources/Textures/_SSS/markers.rsi/chasm.png | Bin 0 -> 231 bytes .../_SSS/markers.rsi/chasm_corner.png | Bin 0 -> 239 bytes .../Textures/_SSS/markers.rsi/chasm_side.png | Bin 0 -> 235 bytes Resources/Textures/_SSS/markers.rsi/meta.json | 20 +++ 6 files changed, 163 insertions(+), 12 deletions(-) create mode 100644 Resources/Prototypes/_SSS/markers.yml delete mode 100644 Resources/Prototypes/_SSS/suspicion_grid_marker.yml create mode 100644 Resources/Textures/_SSS/markers.rsi/chasm.png create mode 100644 Resources/Textures/_SSS/markers.rsi/chasm_corner.png create mode 100644 Resources/Textures/_SSS/markers.rsi/chasm_side.png create mode 100644 Resources/Textures/_SSS/markers.rsi/meta.json diff --git a/Resources/Prototypes/_SSS/markers.yml b/Resources/Prototypes/_SSS/markers.yml new file mode 100644 index 0000000000..23714e70f8 --- /dev/null +++ b/Resources/Prototypes/_SSS/markers.yml @@ -0,0 +1,143 @@ +- 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: AtmosFixMarker + - type: Chasm + - type: StepTrigger + requiredTriggeredSpeed: 0 + intersectRatio: 0.4 + blacklist: + tags: + - Catwalk + - 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: MarkerBase + placement: + mode: SnapgridCenter + snap: + - Wall + components: + - type: Sprite + layers: + - sprite: _SSS/markers.rsi # { + state: chasm_corner + shader: unshaded + - type: AtmosFixMarker + - type: Chasm + - type: StepTrigger + requiredTriggeredSpeed: 0 + intersectRatio: 0.4 + blacklist: + tags: + - Catwalk + - type: Transform + anchored: true + - type: Clickable + - type: Physics + bodyType: Static + - 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: Tag + tags: + - HideContextMenu + +- type: entity + name: Invisible Chasm + suffix: Side + id: FloorChasmEntityInvisibleSide + parent: MarkerBase + placement: + mode: SnapgridCenter + snap: + - Wall + components: + - type: Sprite + layers: + - sprite: _SSS/markers.rsi # { + state: chasm_side + shader: unshaded + - type: AtmosFixMarker + - type: Chasm + - type: StepTrigger + requiredTriggeredSpeed: 0 + intersectRatio: 0.4 + blacklist: + tags: + - Catwalk + - type: Transform + anchored: true + - type: Clickable + - type: Physics + bodyType: Static + - type: Fixtures + fixtures: + fix1: + shape: + !type:PhysShapeAabb + bounds: "-0.5,-0.35,0.5,0.5" + layer: + - WallLayer + mask: + - ItemMask + density: 1000 + hard: false + - type: Tag + tags: + - HideContextMenu 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 0000000000000000000000000000000000000000..7a6620aba111b9d1fa4b57fbabccd092a951a284 GIT binary patch literal 231 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCim11AIbU_w6(J|Gxpq`~UwxkhD__YXVZNB|(0{K#~6pzqj!P0|ht>JR*x3 z81$4tm~qvkyOV%|0iG_7Ar}5`&pPrQP~dP0)VlZoOlpcp?xGE)4}&ME{RvrVtI3jk z?Y~Vxu9;O^_kja^dTrew{wnf+s1SYdH`m~?QcuHuZ}S54g5xZj+(AnElF>Zkb5BoN Q4K$m<)78&qol`;+0J-B$Jpcdz literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..58bbf26fbf439086624bdd923c51e767b265a43f GIT binary patch literal 239 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCim11AIbU_w6(J|Gxpq`~UwxkhD__YXVZNB|(0{K#~6pzqj!P0|ht>JR*x3 z81$4tm~qvkyOV%|5uPrNAr}5`&pPro7;v}*>fHH%#>jc?432eozG|wS>Yv(YIdO3b ztMcLPFZn{+`-^sPX@1}~Z(IH0kF)%P59=A8Pj@^P8o_u!?v275g*6LIn%S6btoE~~ ZsoTEhX^;6M#tF28!PC{xWt~$(699DuQHcNm literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..81ac5cf31ce14fa1b262f8f1983cc4ea20b487db GIT binary patch literal 235 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCim11AIbU_w6(J|Gxpq`~UwxkhD__YXVZNB|(0{K#~6pzqj!P0|ht>JR*x3 z81$4tm~qvkyOV%|A)YRdAr}5`&pPro7;v}*>fZT(#>n8vtSuXgt}j>d{gJu;UaXTr z+Aq<@6B`8O^@Nyze@Ncp@t(J|;rMQb_xa6|;wPEsP4^S<6R^>UyznqKdO!Or{)0<+ V{I3LAUI&`b;OXk;vd$@?2>=wnPsacN literal 0 HcmV?d00001 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" + } + ] +}