From the NannyMUD documentation
2001-07-09
controller - The controller deamon for a transport system.
/std/special/transport/controller
add_transport - add a transport to the system add_port - add a port to the system remove_transport - removes a transport to the system remove_port - removes a port to the system
query_ports - returns all ports in the system
This is the controller daemon for a transport system.
transport in std/transport/transport
NAME
add_transport - Add a transport to the system.LOCATION
/std/special/transport/controllerSYNTAX
void add_transport(string interior_filename);DESCRIPTION
This function adds a transport to the transport system. The argument is the filename to the interior object.
FUNCTION
NAME
add_port - Add a port to the system.LOCATION
/std/special/transport/controllerSYNTAX
void add_port(string filename, int x, y, z);DESCRIPTION
This function adds a port to the transport system at the specified coordinates. The first argument is the filename of the port and the other arguments are the coordinates of the port. The travel time between the ports are calculated from the coordinates as follows: sqrt(x_diff*x_diff + y_diff*y_diff + z_diff*z_diff) seconds. (x_diff is the difference in x-coordinates between the ports)NOTE
For the most common types of transports the z-coordinate can be left out (z=0).
FUNCTION
NAME
remove_transport - Removes a transport from the system.LOCATION
/std/special/transport/controllerSYNTAX
void remove_transport(string interior_filename);DESCRIPTION
This function removes a transport from the transport system. The argument is the filename to the interior object.
FUNCTION
NAME
remove_port - Remove a port from the system.LOCATION
/std/special/transport/controllerSYNTAX
void remove_port(string filename);DESCRIPTION
This function removes a port from the transport system. The argument is the filename to the port.
FUNCTION
NAME
query_ports - List all ports in the system.LOCATION
/std/special/transport/controllerSYNTAX
string *query_ports();DESCRIPTION
This function returns an array with the filenames of all ports in the transport system.