ID:149642
 
mob/verb/Build()
var/types = typesof(/turf/specialbuildingblocks)
var/newtype = input("What do you want to make?")in types
new newtype(usr.loc)

ok here is a code what i will do is have special building blocks which can be built but i want it to be able to build only if you have the land bought and also if you have the right materials. Any ideas?

Remember nadrew settle down and stop annoying Raewoken
Lots of ways you could do this. One would be to have the player have a list of all turfs he owns then check to make sure he's building on a turf he owns.

As for the right materials just use if statements:

if(wood > 10 && nails > 20)
//build whatever it is your trying to build.

The materials needed could be stored in a list based upon what your trying to build.
In response to English
Hey thanks by the way anbody want to be a mapper for free?