_brief.c

foundationI_fluffos_v1/lib/cmds/mortal/_brief.c · 519 B

From the archive foundation1_fluffos_v1.zip

Download the archive   « Back to the archive contents

/*    /cmds/mortal/_brief.c
 *    from Foundation
 *    sets a person's "look" mode
 *    created by Descartes of Borg 941019
 */

#include <std.h>

inherit DAEMON;

int cmd_brief(string str) {
    if((int)this_player()->set_verbose())
      message("system", "Verbose mode.", this_player());
    else message("system", "Brief mode.", this_player());
    return 1;
}

void help() {
    message("help", "Syntax: <brief>\n\n"
      "Toggles between seeing full room descriptions and short ones.",
      this_player());
}

Site Stats

Snippets: 1791
Codebases: 571