DESOLATION

Help manual · Functions · SimulEfuns

Is normal direction

Returns 1 if the dir passed is a member of this array:

private nosave string array normal_directions = ({ "up", "down",
                                                  "north", "northeast",
                                                  "northwest", "east",
                                                  "southeast", "southwest",
                                                  "south", "west" });

This is a desolation specific simul-efun and not part of the standard Lima Mudlib.

Prototype

int is_normal_direction(string dir);

Category:Functions Category:SimulEfuns