Section - 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]
[FINE oggetti specifici]
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 "sali [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;
if the object is the cannone:
change HI hyperlink text to "alzo 30cm";
print HI hyperlink;
change HI hyperlink text to "alzo 60cm";
print HI hyperlink;
change HI hyperlink text to "alzo 90cm";
print HI hyperlink;
change HI hyperlink text to "fuoco";
print HI hyperlink;
say "[roman type][no line break]";
continue the action.