1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-05 16:44:21 +03:00
inform7/resources/Documentation/Examples/Inquisition.txt
2019-03-16 13:12:11 +00:00

31 lines
1.6 KiB
Plaintext

* To carry, to wear, to have
(Wand which reveals a person's concealed possessions; Interrogation)
A wand which, when waved, reveals the concealed items carried by people the player can see.
{*}"Interrogation"
The X-Ray Vision Wand is carried by the player.
Instead of waving the X-Ray Vision Wand:
say "Disappointingly, nothing happens."
Instead of waving the X-Ray Vision Wand when the player can see someone who is concealing something:
say "The wand glows green. Immediately you see on the monitor [a list of things which are concealed by people who can be seen by the player]."
After printing the name of a thing (called target) which is carried by someone while waving the wand:
say " (carried by [a random person who carries the target])"
The Interrogation Chamber is a room. "Despite its gothic name, this room is a rather civilized place for your work, with large plate-glass windows and a fitted carpet."
A thing can be secret or obvious. A thing is usually obvious.
Brian is in the Interrogation Chamber."Brian lounges against the wall." Brian carries a quantity of plastic explosive. The explosive is secret.
Janine is in the Interrogation Chamber. "Janine toys nervously with a laptop bag." Janine carries a chocolate biscuit, a laptop bag, and a microfilm. The microfilm is secret. The laptop bag is wearable. In the bag is a laptop computer.
Rule for deciding the concealed possessions of something: if the particular possession is secret, yes; otherwise no.
Instead of examining someone: say "[The noun] is openly carrying [a list of unconcealed things carried by the noun]."
Test me with "wave wand / examine janine / examine brian".