mirror of
https://github.com/ganelson/inform.git
synced 2024-07-08 01:54:21 +03:00
25 lines
724 B
Plaintext
25 lines
724 B
Plaintext
Example: * Red Cross
|
|
Location: New actions
|
|
RecipeLocation: Combat and Death
|
|
Index: DIAGNOSE command
|
|
Description: A ``DIAGNOSE`` command which allows the player to check on the health of someone.
|
|
For: Z-Machine
|
|
|
|
{*}"Red Cross"
|
|
|
|
Diagnosing is an action applying to one visible thing. Understand "diagnose [something]" as diagnosing.
|
|
|
|
Check diagnosing:
|
|
if the noun is not a person, say "Only people can have diagnoses." instead.
|
|
|
|
Carry out diagnosing:
|
|
say "You're not a medical expert."
|
|
|
|
Instead of diagnosing the player:
|
|
say "You feel fine!"
|
|
|
|
The Clinic is a room. Fred is a man in the Clinic. The player carries a tongue-depressor.
|
|
|
|
Test me with "diagnose me / diagnose fred / diagnose tongue-depressor".
|
|
|