1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-07 17:44:22 +03:00
inform7/resources/Documentation/Examples/RedCross.txt
2023-07-24 11:56:58 +01:00

24 lines
713 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".