Multi-examine
version 3 by Jon Ingold
Documentation
- Chapter: The Multiexamining Action
- Chapter: Designing other multiple actions.
- Example: * Always One... - A barrel containing ten apples and one rotten one.
- Example: * Santa's Shed - A brief example showing some sets of objects - and also demonstrating the
- Example: *** Tuning Up - An orchestra with sections that can be listened to individually.
Section: Overview
Provides a system for examining plural objects.
Multiple examining is useful for when we have groups of identical objects which are naturally considered as a group, like a pad of nine buttons, or a bag of coins. The way it's implemented here is to take a collection of objects specified by the player and deduce the most specific kind to which they all belong. If you want more flexible behaviour - but possibily requiring more specification - see "The Left Hand of Autumn" in the I7 Recipe Book.