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

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

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

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