makes footsteps sound less like ass by shoving the old values into the new system (#7598)

This commit is contained in:
deathride58
2018-10-03 23:34:40 -04:00
committed by kevinz000
parent a794c6f17a
commit 1f0093c962
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -27,11 +27,11 @@
v /= 2
e -= 5
steps++
if(steps >= 6)
if(steps >= 3)
steps = 0
if(steps % 2)
else
return
if(!LM.has_gravity(T) && steps != 0) // don't need to step as often when you hop around
if(prob(80) && !LM.has_gravity(T)) // don't need to step as often when you hop around
return
playsound(T, pick(GLOB.footstep[T.footstep][1]),
GLOB.footstep[T.footstep][2] * v,
+1 -1
View File
@@ -20,7 +20,7 @@
GLOB.carbon_list -= src
/mob/living/carbon/initialize_footstep()
AddComponent(/datum/component/footstep, 1, 2)
AddComponent(/datum/component/footstep, 0.6, 2)
/mob/living/carbon/relaymove(mob/user, direction)
if(user in src.stomach_contents)