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/Diagnose.txt
2019-03-16 13:12:11 +00:00

20 lines
633 B
Plaintext

* New actions
(DIAGNOSE command; Red Cross)
A DIAGNOSE command which allows the player to check on the health of someone.
{*}"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".