12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- module.exports = class ZebedeeCormallenRoad5 {
- constructor() {
- this.id = this.constructor.name;
- this.name = "Cormallen Road East";
- this.description = "The wide cobbled road continues to the east and west.";
- this.filename = "zebedee/cormallenroad5.js";
- this.type = "room";
- this.items = [];
- this.mobiles = [];
- this.roomExpires = 0;
- this.resetDelay = 6000000;
- this.roomExits = ["east", "west"];
- }
- mud_reset(time) {
- libs.Output.toRoom(this.id, "The street bustles with foot traffic.");
- this.roomExpires = time + this.resetDelay;
- }
- mud_tick(time) {
- if(time >= this.roomExpires) {
- this.mud_reset(time);
- }
- }
- mud_getName() {
- return this.name;
- }
- mud_getDescription() {
- return this.description;
- }
- look(room, mobile, input) {
- }
- east(room, mobile, input) {
- world.mud_moveMobile(mobile.id, this.id, "ZebedeeCormallenRoad6", "leaves east");
- return true;
- }
- west(room, mobile, input) {
- world.mud_moveMobile(mobile.id, this.id, "ZebedeeCormallenRoad4", "leaves west");
- return true;
- }
- };
|