Section - Picture Delivery
To make the professor deliver (X - a picture):
if X is not in the top drawer:
say "Prof Doppelgänger says 'You might want to look at that [X] I gave you.'";
otherwise:
seat the professor;
silently try Professor Doppelgänger unlocking the top drawer with the desk key;
silently try Professor Doppelgänger opening the top drawer;
if the top drawer is closed:
say "He tries to unlock the top drawer of the desk with a key he takes from his pocket, but finds he cannot.";
otherwise:
say "He unlocks the top drawer of the desk with a key he takes from his pocket[run paragraph on]";
silently try Professor Doppelgänger taking X;
if Professor Doppelgänger does not carry X:
say " and looks for a picture, but fails to find it.";
otherwise:
say ", removes a picture from the drawer[run paragraph on]";
silently try Professor Doppelgänger closing the top drawer;
silently try Professor Doppelgänger locking the top drawer with the desk key;
now the player carries X;
say ", relocks it and hands the picture to you. He says 'This is [a X].'".