i forgot how bad i was at coding

This commit is contained in:
kevinz000
2020-01-11 22:38:35 -08:00
parent 58e3648340
commit f56844d54a
2 changed files with 4 additions and 1 deletions
@@ -178,7 +178,7 @@ GLOBAL_LIST_EMPTY(movespeed_modification_cache)
///Set or update the global movespeed config on a mob
/mob/proc/update_config_movespeed()
add_movespeed_modifier(MOVESPEED_ID_CONFIG_SPEEDMOD, FALSE, 100, multiplicative_slowdown = get_config_multiplicative_speed())
add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/mob_config_speedmod, multiplicative_slowdown = get_config_multiplicative_speed())
///Get the global config movespeed of a mob by type
/mob/proc/get_config_multiplicative_speed()
+3
View File
@@ -122,3 +122,6 @@
/datum/movespeed_modifier/carbon_crawling
id = MOVESPEED_ID_CARBON_CRAWLING
multiplicative_slowdown = CRAWLING_ADD_SLOWDOWN
/datum/movespeed_modifier/mob_config_speedmod
id = MOVESPEED_ID_CONFIG_SPEEDMOD