Bump(mob/M)
if(!istype(M, /mob/player)) return
if(src.dir == NORTH)
M.dir = SOUTH
else if(src.dir == SOUTH)
M.dir = NORTH
else if(src.dir == EAST)
M.dir = WEST
else if(src.dir == WEST)
M.dir = EAST
M.movelock = 1
src.movelock = 1
view() << "[M.FirstName] [M.LastName] begins their battle with the slime!"
src.overlay += 'healthbar.dmi'
M.overlay += 'healthbar.dmi'
Problem description:
If M.movelock and src.movelock are defined vars, then why aren't the corresponding variables associated with overlays?