mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
i forgot how bad i was at coding
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user