mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-19 14:51:27 +00:00
* crawling? * knockdown. CONTAINS CHANGES THAT NEED REVERTING * plotting can_moves death * CANMOVE IS DEAD * mappers are insane * removes todos as the are todone * decreases crawling speed * silly-con fixes * surgery fixes * fixes death * pAI fixes * removes var/lying * runtime fix * decreases default crawling speed * correct crawling dir * some more fixes * stunbaton tweak, revert later * rejuv fix * restraint and incapacitated refactor * crawling dir in line with TG * fixes vehicle movement and grabs * alien rest fixes * antistun fixes * fixed fall sounds * forgor to stage this * first review * canmove zombie dispersal * fix * lots of fixes * defines * fixes the trait helper * if you got no legs you can still crawl * sillyconfix * no reverty keepy * jaunt fix * hopefully fixes perma sleepy zzz * admin rejuv temp fix * rest canceling * antistun chems now remove knockdown * buckle offset fix * fixes some stuff * crawling delay = 4 * descuffs bed * sleeping hotfix * fixes simple mob resting * V is the macro for resting * projectiles no dodgy * refines the projectile check * god I hate strings * MORE FIXES * I hate buckling * fixes capulettium plus * winding down * farie review * bugs did stop showing up * SEAN * todo * sean review * ed209 * i HATE cyborgs * steel review * laaaaaast things * reverts stun baton changes * and done
30 lines
1.2 KiB
Plaintext
30 lines
1.2 KiB
Plaintext
/// Config holder for values relating to mob movement speeds
|
|
/datum/configuration_section/movement_configuration
|
|
/// Base run speed before modifiers
|
|
var/base_run_speed = 1
|
|
/// Base walk speed before modifiers
|
|
var/base_walk_speed = 4
|
|
///crawling speed modifier
|
|
var/crawling_speed_reduction = 4
|
|
/// Move delay for humanoids
|
|
var/human_delay = 1.5
|
|
/// Move delay for cyborgs
|
|
var/robot_delay = 2.5
|
|
/// Move delay for xenomorphs
|
|
var/alien_delay = 1.5
|
|
/// Move delay for slimes (xenobio, not slimepeople)
|
|
var/slime_delay = 1.5
|
|
/// Move delay for other simple animals
|
|
var/animal_delay = 2.5
|
|
|
|
/datum/configuration_section/movement_configuration/load_data(list/data)
|
|
// Use the load wrappers here. That way the default isnt made 'null' if you comment out the config line
|
|
CONFIG_LOAD_NUM(base_run_speed, data["base_run_speed"])
|
|
CONFIG_LOAD_NUM(base_walk_speed, data["base_walk_speed"])
|
|
CONFIG_LOAD_NUM(crawling_speed_reduction, data["crawling_speed_reduction"])
|
|
CONFIG_LOAD_NUM(human_delay, data["human_delay"])
|
|
CONFIG_LOAD_NUM(robot_delay, data["robot_delay"])
|
|
CONFIG_LOAD_NUM(alien_delay, data["alien_delay"])
|
|
CONFIG_LOAD_NUM(slime_delay, data["slime_delay"])
|
|
CONFIG_LOAD_NUM(animal_delay, data["animal_delay"])
|