goback.c

final_realms_fluffos_v1/lib/cmds/creator/goback.c · 446 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

/* 
 * Externalize by Baldrick june '97.
 */

#include <standard.h>
#include <cmd.h>
inherit CMD_BASE;
inherit WIZ_CMD_BASE;

void setup(){

position = 1;
}

/* added by Dank Mar 3 '93.  also added query_prev() to move.c */
static int cmd(string foo, object me) {
    object ob;
    if (!(ob = me->query_prev()))
    write("Previous location is not valid.\n");
    else
    me->move_player("X",ob);
    me->set_trivial_action();
    return 1;
}

Site Stats

Snippets: 1791
Codebases: 571