Revert "Ports Bay's stamina/sprinting intent system. (#8805)" (#9182)

This shit is just full of issues that keep popping up and frankly I can't be fucked to deal with them.

Note: I'll probably do the same thing again but very simplified later on. This iteration is a mistake in how much of a mess it is, unfortunately.
This commit is contained in:
Matt Atlas
2020-06-23 20:07:06 +03:00
committed by GitHub
parent 8c069a8e9d
commit de38551038
59 changed files with 310 additions and 422 deletions
+4 -17
View File
@@ -145,16 +145,11 @@ var/list/gamemode_cache = list()
var/no_click_cooldown = 0
//Used for modifying movement speed for mobs.
//Universal modifiers
//Unversal modifiers
var/walk_speed = 0
var/walk_delay_multiplier = 1
var/run_delay_multiplier = 1
var/vehicle_delay_multiplier = 1
var/run_delay = 4
var/walk_delay = 4
var/creep_delay = 6
var/minimum_stamina_recovery = 1
var/maximum_stamina_recovery = 3
//Mob specific modifiers. NOTE: These will affect different mob types in different ways
var/human_delay = 0
@@ -987,16 +982,8 @@ var/list/gamemode_cache = list()
if("limbs_can_break")
config.limbs_can_break = value
if("run_delay")
config.run_delay = value
if("walk_delay")
config.walk_delay = value
if("creep_delay")
config.creep_delay = value
if("minimum_stamina_recovery")
config.minimum_stamina_recovery = value
if("maximum_stamina_recovery")
config.maximum_stamina_recovery = value
if("walk_speed")
config.walk_speed = value
// These should never go to 0 or below. So, we clamp them.
if("walk_delay_multiplier")