From 3633b556c7e25d831d5f5076e4fe7534698cb5ce Mon Sep 17 00:00:00 2001 From: Wildkins Date: Sat, 7 Mar 2026 20:31:28 -0500 Subject: [PATCH] Fix Tajaran movespeed (#21991) Fixes #21974 Turns out we had ancient code that used a hardcoded bodytemp value to lower people's movespeed if they got too cold. Tajara naturally want a cooler body temp, and as a result they could end up movespeed nerfing themselves silently. Now the movespeed nerf is pegged to cold_discomfort_level, so your move speed will only be nerfed when you start getting warnings about feeling too cold. --- .../mob/living/carbon/human/human_movement.dm | 4 ++-- html/changelogs/johnwildkins-tajmove.yml | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 html/changelogs/johnwildkins-tajmove.yml diff --git a/code/modules/mob/living/carbon/human/human_movement.dm b/code/modules/mob/living/carbon/human/human_movement.dm index 386028d36a5..89a7e29a868 100644 --- a/code/modules/mob/living/carbon/human/human_movement.dm +++ b/code/modules/mob/living/carbon/human/human_movement.dm @@ -44,8 +44,8 @@ if (!(species.flags & NO_COLD_SLOWDOWN)) // Bugs and machines don't move slower when cold. if((mutations & FAT)) tally += 1.5 - if (bodytemperature < 283.222) - tally += (283.222 - bodytemperature) / 10 * 1.75 + if (bodytemperature < species.cold_discomfort_level) + tally += (species.cold_discomfort_level - bodytemperature) / 10 * 1.75 tally += max(2 * stance_damage, 0) //damaged/missing feet or legs is slow if((mutations & mRun)) diff --git a/html/changelogs/johnwildkins-tajmove.yml b/html/changelogs/johnwildkins-tajmove.yml new file mode 100644 index 00000000000..695eda97495 --- /dev/null +++ b/html/changelogs/johnwildkins-tajmove.yml @@ -0,0 +1,13 @@ +# Your name. +author: JohnWildkins + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, this gets changed to [] after reading. Just remove the brackets when you add new shit. +# Please surround your changes in double quotes ("). It works without them, but if you use certain characters it screws up compiling. The quotes will not show up in the changelog. +changes: + - bugfix: "Fix issue whereby Tajara would lose movement speed due to lowering their body temperature."