Pre-release
Adventure.js Docs Downloads
Score: 0 Moves: 0
Tutorial explaining how to customize output in Adventurejs. tutorial, output

Start Scripting:Customize Output

To be written...

  • verb phases
  • verb actions
  • verb reactions
  • verb subscription on_success
  • verb subscription on_first_success
  • verb subscription on_failure
  • verb subscription on_first_failure
  • overrideOutput
  • appendToOutput
  • prependToOutput
  • override_verb_success_msg
  • KEEP?
  • override_verb_failure_msg - simple but inflexible
  • REPLACE WITH on_failure
    MyGame.patchVerb({
      name: "fly",
      override_verb_failure_msg: "You can't. ",
      override_verb_success_msg: "You fly! ",
    }),