mirror of
https://github.com/ganelson/inform.git
synced 2024-07-16 22:14:23 +03:00
16 lines
606 B
Plaintext
16 lines
606 B
Plaintext
|
Example: * Unpeeled
|
||
|
Location: Listing contents of something
|
||
|
RecipeLocation: Bags, Bottles, Boxes and Safes
|
||
|
Index: Single yellow onion in a sack
|
||
|
Description: Calling an onion "a single yellow onion" when (and only when) it is being listed as the sole content of a room or container.
|
||
|
For: Z-Machine
|
||
|
|
||
|
{*}"Unpeeled"
|
||
|
|
||
|
Scullery is a room. A sack is carried by the player. The sack contains a yellow onion. The player carries a cork.
|
||
|
|
||
|
Before printing the name of the onion while listing contents:
|
||
|
if the holder of the onion contains exactly 1 thing, say "single ".
|
||
|
|
||
|
Test me with "i / put cork in sack / i".
|