UNPKG

doggo-quest-logic

Version:

The game logic for the Doggo Quest text-based game sample project

17 lines (16 loc) 909 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const GameObjectBase_1 = require("../GameObjectBase"); class TableObject extends GameObjectBase_1.GameObjectBase { constructor(room) { super('table'); this.look = `It's a large wooden table that you can comfortably lurk underneath.`; this.smell = 'The table mostly smells like wood. Sometimes it smells like food, but you don\'t smell any up there now.'; this.lick = `Ew! Wood tastes yucky. No thank you.`; this.eat = `When you were a puppy it was fun to chew on tables, but not anymore.`; this.think = `Mommy and daddy take food from the kitchen and put it on the table at dinner time. It isn't dinner time now, though.`; this.push = `The table is way too heavy for you to move.`; this.pull = this.push; } } exports.TableObject = TableObject;