The traditional LPC approach to this problem is to make a base room that is configurable. Then have a server of some kind that maps "coordinates", or whatever keys you use, into room properties (extracted from your single file, a map, or whatever); and then clones the base room and configures it with those characteristics. These cloned rooms are used while needed and then destroyed.
Modern drivers (MudOS for sure) have a master apply (i.e. one of those functions that the driver calls on master.c for special things) that is supposed to help you do this mapping for any objects it can't find on disk. It's called "compile_object" in MudOS. Notice that the apply is not strictly necessary to create the effect.
--cronel
|