From 239fb74dcb906b47105174683f54778826c6e6e2 Mon Sep 17 00:00:00 2001 From: "n3ophyt3@gmail.com" Date: Wed, 15 Dec 2010 17:49:42 +0000 Subject: [PATCH] Suits only slow you down when not in space, as before Magboots now slow you down while active git-svn-id: http://tgstation13.googlecode.com/svn/trunk@627 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/objects/items/clothing.dm | 2 ++ code/modules/mob/living/carbon/human/human.dm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/code/game/objects/items/clothing.dm b/code/game/objects/items/clothing.dm index d0eaae8c448..61f0c56bc28 100644 --- a/code/game/objects/items/clothing.dm +++ b/code/game/objects/items/clothing.dm @@ -317,10 +317,12 @@ DEATH COMMANDO GAS MASK /obj/item/clothing/shoes/magboots/attack_self(mob/user as mob) if(src.flags&NOSLIP) src.flags &= ~NOSLIP + src.slowdown = SHOES_SLOWDOWN icon_state = "magboots0" user << "You disable the mag-pulse traction system." else src.flags |= NOSLIP + src.slowdown = 2 icon_state = "magboots1" user << "You enable the mag-pulse traction system." diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index 37ad643d1b5..dc87f3af735 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -127,7 +127,7 @@ var/hungry = (500 - src.nutrition)/5 // So overeat would be 100 and default level would be 80 if (hungry >= 70) tally += hungry/50 - if(src.wear_suit) + if(src.wear_suit && !istype(src.loc, /turf/space)) tally += src.wear_suit.slowdown if (istype(src.shoes, /obj/item/clothing/shoes))