mob/proc/UpdateBuildVerbs()
var/items = 0
var/list/Test = typesof(/obj/BuildArea)
world << "1"
for(var/obj/O in Test)
world << "2"
winset(src, "buildwindowgrid", "current-cell=[++items]")
src << output(O, "buildwindowgrid")
winset(src, "buildwindowgrid", "cells=[items]")
Problem description:
It seems that it does not want to go past number 1.
So there has to be a problem in the list But I'm out of Ideas right now.
For some reason, newlist() doesn't take lists.