mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 09:35:30 +01:00
Merge pull request #8733 from MrPerson/cold_slowdown_speedup
Reduces penalty to movespeed from being cold
This commit is contained in:
@@ -697,8 +697,8 @@
|
||||
|
||||
if((H.disabilities & FAT))
|
||||
mspeed += 1.5
|
||||
if(H.bodytemperature < 283.222)
|
||||
mspeed += (283.222 - H.bodytemperature) / 10 * (grav+0.5)
|
||||
if(H.bodytemperature < BODYTEMP_COLD_DAMAGE_LIMIT)
|
||||
mspeed += (BODYTEMP_COLD_DAMAGE_LIMIT - H.bodytemperature) / COLD_SLOWDOWN_FACTOR
|
||||
|
||||
mspeed += speedmod
|
||||
|
||||
|
||||
Reference in New Issue
Block a user