It seems I'm unable to do this with turfs? Is there any possible way of doing so? I don't want to replace my turfs with objects.
What I'm currently doing.
mob
player
Login()
src.out_types(list_types(/obj/OUTDOOR)) //If i try this with "/turf" it won't work!
proc
list_types(stype)
return typesof(stype) - stype// Does nothing besides removing /obj from the list.
mob
proc
out_types(list/types)
src<<output(null,"Main.Mapping")
for(var/i in 1 to types.len step 1)
var/thisPath = types[i]
src.Objects += new thisPath
src << output(src.Objects[i], "Main.Mapping:1,[i]")