Keyword Interface
version 2 by Aaron Reed
Documentation
- Section: Basic Usage
- Section: Objects
- Section: Directions
- Section: Topics
- Section: Parser Messages
- Section: Control
- Section: Screen Reader Mode
- Section: Disambiguation
- Example: * Sense of Direction - A simple usage of the extension to print bold compass directions.
- Example: ** The Gnome's Holiday - A full example of emphasized objects, compassless directions, and
This extension emulates the emphasized keyword system for streamlining common IF input, as seen in "Blue Lacuna." Nouns, directions, and topics are highlighted and can be typed without verbs to examine, move, or discuss, respectively. Topics are implemented only in skeletal form to allow for integration with any conversation sytem. A full system for letting the player select his own preferred color scheme and keeping games backwards-compatible for players on screen readers or with no color support is also included. The extension is compatible with either z-code or Glulx.
A warning: Inform authors using color have poor options on either platform. In z-code games, colors can be freely adjusted, but are limited to a palette of eight neon shades, only a few of which will be readable on any given backdrop. Glulx users can select from a palette of sixteen million colors, but can perversely only use two at a time, and these cannot be changed during play. On z-code, all eight colors are made available to the user and can be adjusted by player or author at any time; on Glulx, the two defaults are blue and green, and only authors can customise this. On both platforms, bold, italics, and fixed-width are offered as alternatives to colored keywords.