const struct cmd_type cmd_table [] =
{
/*
* Common movement commands.
*/
{ "north", do_north, POS_STANDING, 0, LOG_NEVER, 0 },
{ "east", do_east, POS_STANDING, 0, LOG_NEVER, 0 },
{ "south", do_south, POS_STANDING, 0, LOG_NEVER, 0 },
{ "west", do_west, POS_STANDING, 0, LOG_NEVER, 0 },
{ "up", do_up, POS_STANDING, 0, LOG_NEVER, 0 },
{ "down", do_down, POS_STANDING, 0, LOG_NEVER, 0 },
/*
* Common other commands.
* Placed here so one and two letter abbreviations work.
*/
{ "at", do_at, POS_DEAD, L6, LOG_NORMAL, 1 },
{ "cast", do_cast, POS_FIGHTING, 0, LOG_NORMAL, 1 },