ID:842173
 
(See the best response by Albro1.)
Code:
turf/Gym
Treadmil
icon='Gym.dmi'
icon_state="Treadmill"
//density=1
Entered(mob/M)
if(istype(M,/mob/Player))
// walk(M,0)
if(prob(50))
if(!M.Gravity)
M.MaxPL += rand(1,7)
M.AddExp(rand(1,3),"Training Exp")
spawn(5) step(src,WEST)
else
M.MaxPL += rand(1,10)*M.Gravity/8
M.AddExp(rand(1,3)*M.Gravity/8,"Training Exp")
spawn(5) step(src,WEST)

M.UpdateHud()
Exited(mob/Player/M)
if(istype(M,/mob)) walk(M,0)


Problem description:it just does not make user step west

Best response
You are telling the turf to step west instead of M.
oops