Pre-release
Adventure.js Docs Downloads
Score: 0 Moves: 0
// GlobalExitStarboard.js

(function () {
  /*global adventurejs A*/
  "use strict";

  /**
   * @augments {adventurejs.Exit}
   * @class global_starboard
   * @ajsconstruct MyGame.createGlobalExits({ "name": "global_starboard", [...] });
   * @ajsconstructedby adventurejs.Game#createGlobalExits
   * @hideconstructor
   * @ajsinstanceof Exit
   * @ajsmodifiedby adventurejs.Game#setGlobalDescriptions
   * @ajsnavheading GlobalExits
   * @ajsnode game.world.global_starboard
   * @tutorial NextSteps_GlobalScenery
   * @summary A global exit.
   * @ajsglobal GlobalExit
   */
  A.GlobalAssets.Exits.push({
    direction: "starboard",

    descriptions: {
      look: "There's no exit starboard of here. What, do $(we) think $(we're) on a boat?",
    },
  });
})();