Il Dr Home — 12 of 12

Leonardo Boselli

Release 3

Chapter 3 - Azioni suggerite

Definition: a thing is takeable if it is not scenery and it is not a person and it is not part of something and it is not an enterable container and it is not a supporter.

After examining a thing (called the object):

say "[fixed letter spacing]";

if the object is worn by the player:

change HI hyperlink text to "togli [the object]";

print HI hyperlink;

otherwise:

if the object is wearable:

change HI hyperlink text to "indossa [the object]";

print HI hyperlink;

if the object is carried by the player:

change HI hyperlink text to "lascia [the object]";

print HI hyperlink;

if the object is edible:

change HI hyperlink text to "annusa [the object]";

print HI hyperlink;

change HI hyperlink text to "assaggia [the object]";

print HI hyperlink;

change HI hyperlink text to "mangia [the object]";

print HI hyperlink;

[INIZIO oggetti specifici trasportati]

if the object is the rivista and the location is the ambulatorio:

change HI hyperlink text to "dai [the object] al dottore";

print HI hyperlink;

[FINE oggetti specifici trasportati]

repeat with S running through supporters in the location:

if S is not the object:

change HI hyperlink text to "metti [the object] [sup the S]";

print HI hyperlink;

repeat with C running through open containers in the location:

if C is not the object:

change HI hyperlink text to "metti [the object] [inp the C]";

print HI hyperlink;

otherwise if the object is takeable:

change HI hyperlink text to "prendi [the object]";

print HI hyperlink;

if the object is a container:

if the object is open:

if the object is openable:

change HI hyperlink text to "chiudi [the object]";

print HI hyperlink;

repeat with Obj running through the things carried by the player:

change HI hyperlink text to "metti [the Obj] [inp the object]";

print HI hyperlink;

otherwise:

change HI hyperlink text to "apri [the object]";

print HI hyperlink;

if the object is enterable:

if the object is a supporter:

if the player is on the object:

change HI hyperlink text to "scendi";

print HI hyperlink;

otherwise:

change HI hyperlink text to "siedi [sup the object]";

print HI hyperlink;

otherwise if the object is a container:

if the player is in the object:

change HI hyperlink text to "esci";

print HI hyperlink;

otherwise:

change HI hyperlink text to "entra [inp the object]";

print HI hyperlink;

[INIZIO oggetti specifici]

if the object is the televisore:

if the televisore is switched off:

change HI hyperlink text to "accendi [the object]";

print HI hyperlink;

otherwise:

change HI hyperlink text to "spegni [the object]";

print HI hyperlink;

[FINE oggetti specifici]

if the object is a door:

change HI hyperlink text to "attraversa [the object]";

print HI hyperlink;

say "[roman type][no line break]";

continue the action.