I have managed to get the initial page to display the initial menu on startup, plus display dialogs as they should be.
However; I would like to remove the announcement of the VORPLE version that gets appended to the initial menu.
I’d like to keep the initial screen “clean” and have provided all that info (and more) in the credits dialog.
(Note: I’m employing sections of the Vorple Examples to reduce the potential for errors on my first pass. So, the displayed text will seem familiar.)
Below, I’ve included the code snippet that implements the initial screen and dialogs:
[code]Volume Menu
[Have labelled each section as a Volume just for convenience in the initial runs.]
[‘Nullspace’ is my name for the ‘Room’ in which out-of-world menu actions to take place]
Nullspace is a room with the printed name “”.
[The following rule gets ride of most of the header info, which seems to get printed AFTER the menu.
I’ve not found any way of adjusting it’s placement, so I had to suppress it altogether.
This, however, still allows ‘Vorple 2.4’ to be printed right below the initial menu.
Since this is already displayed in the storyfile info, I’d like to eliminate it from the main screen.]
Rule for printing the banner text: say “” instead.
When play begins:
try displaying menu.
Displaying menu is an action applying to nothing.
Understand “Menu” as displaying menu.
Carry out displaying menu:
now the player is in nullspace;
say “Menu:[line break](click or type one of the following)[paragraph break]”;
say " 1) [run paragraph on]";
display “About” linking to command “About”, without showing the command;
say “[line break] 2) [run paragraph on]”;
display “Credits” linking to command “Credits”, without showing the command;
say “[line break] 3) [run paragraph on]”;
display “Play Adventure” linking to command “Play”, without showing the command;
say “[paragraph break]”;
mark the current action “normal”.
Volume About
Showing about is an action out of world.
Understand “about” and “info” as showing about.
Carry out showing about:
say “[bold type]‘The Seven Liberal Arts and Sciences’ series (Part 1 of 7)[roman type][paragraph break]”;
say “[bold type]GRAMMAR[roman type][paragraph break]”;
say “[italic type]by Die Gebrüdern Rätsel[roman type]”;
mark the current action “dialog”.
Volume Credits
Crediting is an action out of world.
Understand “credits” as crediting.
Carry out crediting:
try requesting the story file version;
say “[bold type]Vorple[roman type] by Juhana Leinonen (MIT license)[line break]”;
mark the current action “dialog”.
Volume Play
Playing adventure is an action out of world.
Understand “Play” as playing adventure.
Carry out playing adventure:
now the player is in the Omniverse;
mark the current action “normal”.
[/code]