ID:145996
 
Code:
                    for(var/turf/Walker_Spot1/k in world)
new/mob/Walkers/Bat(k.loc)
for(var/turf/Walker_Spot2/g in world)
new/mob/Walkers/Wolf(g.loc)
for(var/turf/Little1/l in world)
new/mob/NPC/Little_Kid(l.loc)
for(var/turf/Average1/v in world)
new/mob/NPC/Average_Kid(v.loc)
for(var/turf/Teen1/x in world)
new/mob/NPC/Teenager(x.loc)
for(var/turf/Ghost1/z in world)
new/mob/Ghost(z.loc)


Problem description:

This code is set in the login. Whenever the host logs in, nothing comes out... There are no new mobs. It is not indentation, that is for sure. Could you please tell me what is wrong?
I am not sure if this'll help, but you might want to do new/mob/Walkers/Bat(locate(k.x,k.y,k.z)) instead of, new/mob/Walkers/Bat(k.loc). Same goes for the rest of the new() procs.

O-matic
Actually, it should just be one letter. (EX. k , not k.loc) This is because you are looking for a turf. When something steps on a turf, they are added to the turfs CONTENTS list, therefore you check the turfs contents list to see if the person is there, k.loc does not check the contents, k does.
In response to O-matic
No, k.loc is the same is locate(k.x,k.y,k.z) :P
In response to KingSerpent
Well, I will try to use both ways... The only thing is that if the mob goes into the turfs contents, will it appear on the map?
In response to Killerdragon
It always does :-D