Thread: LPC Help
View Single Post
Old 10-22-2002, 05:01 PM   #2
cronel
New Member
 
Join Date: Apr 2002
Posts: 17
cronel is on a distinguished road
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
cronel is offline   Reply With Quote