musicmud-2.1.6/data/
musicmud-2.1.6/data/help/
musicmud-2.1.6/data/policy/
musicmud-2.1.6/data/wild/
musicmud-2.1.6/data/world/
musicmud-2.1.6/doc/
musicmud-2.1.6/src/ident/
musicmud-2.1.6/src/lua/
musicmud-2.1.6/src/lua/include/
musicmud-2.1.6/src/lua/src/lib/
musicmud-2.1.6/src/lua/src/lua/
musicmud-2.1.6/src/lua/src/luac/
/* 
 * MusicMUD - mobile module
 * Copyright (C) 1998-2003 Abigail Brady
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 * 
 */
#include <stdlib.h>

#include "musicmud.h"
#include "State.h"
#include "verbs.h"
#include "misc.h"
#include "pflags.h"
#include "hooks.h"
#include "rooms.h"
#include "events.h"
#include "trap.h"
#include "move.h"

#define MODULE "mobile"

static bool verb_start(MudObject *who, int, const char **) {
    if (game_mobiles == 1) {
       who->printf("The mud is already in that state.\n");
       return false;
    }
    log(PFL_SEEINFO, 0, "game", "mobiles ^Gstarted");
    game_mobiles = 1;
    return true;
}

static bool verb_stop(MudObject *who, int, const char **) {
    if (game_mobiles == 0) {
       who->printf("The mud is already in that state.\n");
       return false;
    }
    log(PFL_SEEINFO, 0, "game", "mobiles ^Rstopped");
    game_mobiles = 0;
    return true;
}

#include "verbmodule.h"

void startup() {

AUTO_VERB( stop, 4, 0, PFL_START);
AUTO_VERB( start, 5, 0, PFL_START);

}