Files
Bubberstation/code/modules/movespeed/modifiers/innate.dm
GoldenAlpharex c6fc532e90 [MANUAL MIRROR] SPECIES NUKING 2023: Moves speed modifier to bodyparts [MDB IGNORE] (#22509)
* SPECIES NUKING 2023: Moves speed modifier to bodyparts (#76336)

As we all know, speed is stored in the legs.

Potential for more medical abominations.
Potential for adding augmented legs that make you speedier (?)

🆑
refactor: Species speed is now stored in bodyparts. Leg transplants from
slower species will make you slower.
/🆑

---------

Co-authored-by: san7890 <the@san7890.com>
Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>

* Makes it all work properly, and compile and all

* Fixes bodypart movespeed modifiers (#76520)

## About The Pull Request


![image](https://github.com/tgstation/tgstation/assets/82850673/502a195b-b9d6-48fd-92a1-462e74a13ae0)
I am today's big loser

Fixes https://github.com/tgstation/tgstation/issues/76509 (partly)
This was caused by my goofy ass not using the correct proc for the
VARIABLE movespeed modifier that is the bodypart one.

Additionally slightly changes some bodypart code that bothered me by
using signals even though it was just... not really necessary? And kind
of confusing?

## Why It's Good For The Game

Bugs are bad they make you mad

## Changelog

🆑
fix: Bodyparts that should slow you down, will slow you down.
/🆑

---------

Co-authored-by: ChungusGamer666 <82850673+ChungusGamer666@users.noreply.github.com>
Co-authored-by: san7890 <the@san7890.com>
Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>
2023-07-16 18:21:04 -04:00

16 lines
406 B
Plaintext

/datum/movespeed_modifier/strained_muscles
multiplicative_slowdown = -0.55
blacklisted_movetypes = (FLYING|FLOATING)
/datum/movespeed_modifier/pai_spacewalk
multiplicative_slowdown = 2
flags = IGNORE_NOSLOW
/datum/movespeed_modifier/bodypart
movetypes = ~FLYING
variable = TRUE
/datum/movespeed_modifier/dna_vault_speedup
blacklisted_movetypes = (FLYING|FLOATING)
multiplicative_slowdown = -0.4