NPC Engine: A Library Extension For Inform
After having ported Infocom's classic interactive fiction game Deadline to Inform, I extracted all the code in there to move the Non-Player-Characters around and created a library from it.
If you would like to have NPCs in your game that are wandering around in a more sophisticated manner than just moving them from one room to another each turn on a predefined path, and if you want the player to have the opportunity of following NPCs, this one is the right library extension for you.
From the feature list:
- Complex descriptions of NPCs moving somewhere in the distance
- Asking the game itself and other NPCs where an NPC is
- Following NPCs you see moving in the distance
- Looking through windows
- Going to a room with a "GO TO" verb