From bdcd0c32313fd45bafbe9b0a0708c3f04934e99a Mon Sep 17 00:00:00 2001 From: atermonera Date: Sat, 22 Jan 2022 16:43:47 -0800 Subject: [PATCH] Belts contribute to slowdown --- code/modules/mob/living/carbon/human/human_movement.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human_movement.dm b/code/modules/mob/living/carbon/human/human_movement.dm index 4ab13ff86f..09ebcd2034 100644 --- a/code/modules/mob/living/carbon/human/human_movement.dm +++ b/code/modules/mob/living/carbon/human/human_movement.dm @@ -109,13 +109,13 @@ . += shoes.slowdown // Loop through some slots, and add up their slowdowns. - // Includes slots which can provide armor, the back slot, and suit storage. - for(var/obj/item/I in list(wear_suit, w_uniform, back, gloves, head, s_store)) + // Includes slots which can provide armor, the back slot, belt, and suit storage. + for(var/obj/item/I in list(wear_suit, w_uniform, back, gloves, head, s_store, belt)) . += I.slowdown // Hands are also included, to make the 'take off your armor instantly and carry it with you to go faster' trick no longer viable. // This is done seperately to disallow negative numbers (so you can't hold shoes in your hands to go faster). - for(var/obj/item/I in list(r_hand, l_hand) ) + for(var/obj/item/I in list(r_hand, l_hand)) . += max(I.slowdown, 0) // Similar to above, but for turf slowdown.