Reversed Persuasion Correction
version 2 by Juhana Leinonen
Documentation
- Chapter: Functionality
- Chapter: Limitations
- Chapter: Change log
- Example: * In the Army - A demonstration of the extension's functionality.
Chapter: Functionality
In English it's grammatically acceptable to say either ALICE, GO WEST or GO WEST, ALICE. The latter might even sound more natural in some cases (HELLO, BOB) but Inform accepts only the former NPC, COMMAND syntax. This is unfortunate especially to people new to IF because commanding something like HELLO, BOB always gives the "you seem to want to talk to someone, but I can't see whom" response, which is misleading at best if Bob is standing right there.
This extension allows the player to give the NPC's name in any order, before or after the comma. Including this extension is all that's needed.
For the benefit of teaching players the usual IF conventions the extension notifies the player of the correction that was made. If the player types OPEN DOOR, CHARLES the game says (charles, open door). If you don't like this feature you can disable it by adding "Use silent persuasion correction." to your source code.