Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > add_dtd_unq_rooms

API Function: add_dtd_unq_rooms

Summary:
add rooms in preparsed UNQ format to MapD

Defined In LPC Object:
/usr/common/sys/mapd.c

Prototype:
void add_dtd_unq_rooms(mixed *unq, string filename)

Can Be Called By:
System, Common, Game

Description:

Adds one or more rooms, in preparsed UNQ form, to the MapD. This will deal with circular dependencies in the data, resolution order, checking for consistency, registering exits and a great deal more. Or, y'know, you can do it yourself and register all the rooms individually. If you're a glutton for punishment.

Return Value:

None.

Errors:
Bad parameters, bad data and bad MapD state can all cause errors.

See Also:
add_room_to_zone , add_room_object , add_unq_text_rooms