From: Pieter-Jan Briers Date: Sun, 18 Feb 2024 03:26:19 +0000 (+0100) Subject: Shadow anomaly respects "reduced motion" (#25355) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=0c8e61757278715cb7a065c6cf8bf5d8ac24142f;p=space-station-14.git Shadow anomaly respects "reduced motion" (#25355) Enabling "reduced motion" now makes the smoke effects not animate. This helps some people with vision issues. --- diff --git a/Resources/Prototypes/Entities/Objects/Misc/kudzu.yml b/Resources/Prototypes/Entities/Objects/Misc/kudzu.yml index 9727f2125d..6ebf095117 100644 --- a/Resources/Prototypes/Entities/Objects/Misc/kudzu.yml +++ b/Resources/Prototypes/Entities/Objects/Misc/kudzu.yml @@ -271,8 +271,10 @@ - type: Sprite drawdepth: Effects sprite: Effects/spookysmoke.rsi - state: spookysmoke - color: "#793a80dd" + layers: + - state: spookysmoke + color: "#793a80dd" + map: [base] - type: Kudzu growthTickChance: 0.2 spreadChance: 0.99 @@ -290,6 +292,13 @@ tags: - HideContextMenu - SpookyFog + - type: OptionsVisualizer + visuals: + base: + - options: Default + data: { state: spookysmoke } + - options: ReducedMotion + data: { state: spookysmoke_static } - type: entity name: Haze @@ -297,4 +306,4 @@ parent: ShadowKudzu components: - type: Kudzu - spreadChance: 0 #appears during pulsation. It shouldnt spreading. \ No newline at end of file + spreadChance: 0 #appears during pulsation. It shouldnt spreading. diff --git a/Resources/Textures/Effects/spookysmoke.rsi/meta.json b/Resources/Textures/Effects/spookysmoke.rsi/meta.json index c6655bdba2..13da3020fc 100644 --- a/Resources/Textures/Effects/spookysmoke.rsi/meta.json +++ b/Resources/Textures/Effects/spookysmoke.rsi/meta.json @@ -25,6 +25,9 @@ 0.2 ] ] + }, + { + "name": "spookysmoke_static" } ] -} \ No newline at end of file +} diff --git a/Resources/Textures/Effects/spookysmoke.rsi/spookysmoke_static.png b/Resources/Textures/Effects/spookysmoke.rsi/spookysmoke_static.png new file mode 100644 index 0000000000..a817fe76e2 Binary files /dev/null and b/Resources/Textures/Effects/spookysmoke.rsi/spookysmoke_static.png differ