UNPKG

doggo-quest-logic

Version:

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

17 lines (16 loc) 924 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const GameObjectBase_1 = require("../GameObjectBase"); class DiningChairObject extends GameObjectBase_1.GameObjectBase { constructor(room) { super('chair'); this.look = `The chairs are all wooden and properly pushed in underneath the table.`; this.think = `Once or twice, mommy and daddy left a chair not pushed in and I was able to jump up on it. They don't do that anymore.`; this.smell = `The chairs all smell like wood.`; this.lick = `Nope, not gunna do it. Wood is yucky!`; this.eat = `Mommy and daddy used to coat the wood with yucky stuff and I just don't want to eat it anymore.`; this.push = `The chairs are all pushed in already`; this.pull = `The chairs are too heavy and stable for you to move`; } } exports.DiningChairObject = DiningChairObject;