diff --git a/code/modules/mod/mod_clothes.dm b/code/modules/mod/mod_clothes.dm index 548f6064e5..629169e756 100644 --- a/code/modules/mod/mod_clothes.dm +++ b/code/modules/mod/mod_clothes.dm @@ -135,3 +135,6 @@ if(!mod.wearer.equip_to_slot_if_possible(overslot, overslot.slot_flags, qdel_on_fail = FALSE, disable_warning = TRUE)) mod.wearer.dropItemToGround(overslot, force = TRUE) overslot = null + +/obj/item/clothing/shoes/mod/negates_gravity() + return clothing_flags & NOSLIP diff --git a/code/modules/mod/modules/modules_engineering.dm b/code/modules/mod/modules/modules_engineering.dm index 3f94a04103..2b31d31b40 100644 --- a/code/modules/mod/modules/modules_engineering.dm +++ b/code/modules/mod/modules/modules_engineering.dm @@ -51,12 +51,13 @@ incompatible_modules = list(/obj/item/mod/module/magboot) cooldown_time = 0.5 SECONDS /// Slowdown added onto the suit. - var/slowdown_active = 0.5 + var/slowdown_active = 2 /obj/item/mod/module/magboot/on_activation() . = ..() if(!.) return + mod.boots.clothing_flags |= NOSLIP ADD_TRAIT(mod.wearer, TRAIT_NEGATES_GRAVITY, MOD_TRAIT) ADD_TRAIT(mod.wearer, TRAIT_NOSLIPWATER, MOD_TRAIT) mod.slowdown += slowdown_active @@ -67,6 +68,7 @@ . = ..() if(!.) return + mod.boots.clothing_flags &= ~NOSLIP REMOVE_TRAIT(mod.wearer, TRAIT_NEGATES_GRAVITY, MOD_TRAIT) REMOVE_TRAIT(mod.wearer, TRAIT_NOSLIPWATER, MOD_TRAIT) mod.slowdown -= slowdown_active