UNPKG

@sprucelabs/spruce-cli

Version:

Command line interface for building Spruce skills.

26 lines 1.12 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const spruce_skill_utils_1 = require("@sprucelabs/spruce-skill-utils"); const onboarding_first_script_1 = require("./onboarding.first.script"); const script = [ async (player) => { player.ui.clear(); await player.ui.renderImage(spruce_skill_utils_1.diskUtil.resolvePath(__dirname, '../../../../docs/images/listen.jpg'), { width: 100, height: 23, }); }, 'You approach the "Immersive" door and grab the handle...', "It won't budge no matter how hard you try.", 'You hear a sound, so you put your ear to the door.', 'From the other side, someone yells, "Work in progress. Try the door on the left! Thaaaaaanks!!"', 'You back away...', async (player) => { await player.ui.waitForEnter(); player.ui.clear(); await (0, onboarding_first_script_1.renderDoors)(player.ui); return (0, onboarding_first_script_1.chooseOnboardingAdventure)(player); }, ]; exports.default = script; //# sourceMappingURL=onboarding.immersive.script.js.map