var
list/baseset = list()
World
New()
for(var/obj/colors/C in typesof(/obj/colors/))
baseset.Add(C)
return ..()
That code is supposed to add every object under obj/colors/ to the list baseset, however it does not. I even tried the following:
var
list/baseset = typesof(/obj/colors/)
Neither of the two will add all of the certain object to the list. Am I doing something wrong?