ID:266571
 
var/const/e = 100 // e = elapsed requirement
mob
var
speed = 0 in 1 to 100
lag = 0 in 1 to 99
rFactor = 0 in 1 to 10 // rFactor is Random Factor
tmp/et = 0 // et = elapsed time
tmp/mo = 0 // mo = momentum
New()
..()
spawn()
while(1)
sleep(1)
if(et > e + (e/10) || round(mo,1) > 0)
src.et += speed
spawn()
while(1)
sleep(5)
if(mo > 0)
mo -= 0.1
turf
var
delay = 0 in 1 to 100
Entered(mob/M)
if(e + src.delay + M.lag + round(M.rFactor*(rand(10,100)/10),1) <= M.et)
M.et -= (e + delay)
M.mo += 0.1
return ..()
return 0

I would think that this would keep mobs with a speed of 3 from moving very fast... however, they seem to move unencumbered! Is there something wrong with my code here that is making low-speeded mobs move fast?
Returning 0 from Entered() has no effect. You want the Enter() proc.

Might I also recommend more descriptive var names? Your vars may be fine for you, but looking at someone elses code with arbitrary letters combined as var names is a pain.
In response to Shadowdarke
Ah, right! Enter() is the key. I'll modify the var names in the code above, for posterity at least. Thanks!

-LoW