mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-31 00:49:06 +01:00
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user