Mood no longer affects movement speed, instead affects actions speed.

also fat doesnt make you stupidly slow now.
This commit is contained in:
quotefox
2021-06-18 20:27:33 +01:00
parent 1a68b2a347
commit c6644eb27a
4 changed files with 19 additions and 9 deletions
@@ -1428,7 +1428,8 @@ GLOBAL_LIST_EMPTY(roundstart_races)
var/grav_force = min(gravity - STANDARD_GRAVITY,3)
. += 1 + grav_force
var/datum/component/mood/mood = H.GetComponent(/datum/component/mood)
/*var/datum/component/mood/mood = H.GetComponent(/datum/component/mood)
//removed because mood now influences action speed. Hyperstation 13.
if(mood && !flight) //How can depression slow you down if you can just fly away from your problems?
switch(mood.sanity)
if(SANITY_INSANE to SANITY_CRAZY)
@@ -1437,9 +1438,9 @@ GLOBAL_LIST_EMPTY(roundstart_races)
. += 1
if(SANITY_UNSTABLE to SANITY_DISTURBED)
. += 0.5
*/
if(HAS_TRAIT(H, TRAIT_FAT))
. += (1.5 - flight)
. += (0.5 - flight)
if(H.bodytemperature < BODYTEMP_COLD_DAMAGE_LIMIT && !HAS_TRAIT(H, TRAIT_RESISTCOLD))
. += (BODYTEMP_COLD_DAMAGE_LIMIT - H.bodytemperature) / COLD_SLOWDOWN_FACTOR
return .
+4
View File
@@ -50,6 +50,10 @@
var/cached_multiplicative_slowdown
/////////////////
//Action Speed
var/actionmultiplier = 1
var/actionmoodmultiplier = 1
var/name_archive //For admin things like possession
var/bodytemperature = BODYTEMP_NORMAL //310.15K / 98.6F