var/stufftobuild[0]
stufftobuild+=typesof(/turf/estate)
switch(input("What are we building?") as null|anything in stufftobuild)
if(null)
usr<<"You build nothing."
if("something in list")
new/turf/estate/x(usr.loc)
usr<<"You build [x]"
else
usr<<"Say what?"
Problem description:
I'm working on Citizen's build verb and I want players to be able to pick from a list of buildable turfs. I've figured out how to make this work, but I can't wrap my head around compiling the turf names instead of the type paths. A pre-emptive thanks for anyone brave enough to clue me in.