mud/lib/cmds/creators/praces.c
2020-09-06 05:43:07 -07:00

27 lines
591 B
C

/* /cmds/creator/mraces.c
* A tool for cres which displays a listing of all available player races
* Blitz@NM-IVD
*/
#include <lib.h>
#include <daemons.h>
mixed cmd(string str) {
string *types;
types = load_object(RACES_D)->GetRaces(1);
if( !sizeof(types) ) {
return "No list at this time.";
}
types = sort_array(types, 1);
message("help", format_page(types, 5), this_player() );
return 1;
}
string GetHelp() {
return ("Syntax: praces\n\n"
"A simple tool for creators which will list "
"available player races.");
}