1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-05 16:44:21 +03:00
inform7/Documentation/Examples/MenuContinued.txt
2019-02-05 00:44:07 +00:00

27 lines
1.3 KiB
Plaintext

* Table continuations
(HELP menu from extension, with added content; Food Network Interactive)
Using a menu system from an extension, but adding our own material to it for this game.
"Basic Help Menu" is an extension that uses tables to provide a menu of instructions. Suppose we wanted to include this menu in our own game, but add a few custom menu items of our own:
{*}"Food Network Interactive"
Include Basic Screen Effects by Emily Short. Include Menus by Emily Short. Include Basic Help Menu by Emily Short.
Table of Basic Help Options (continued)
title subtable description toggle
"Recipes in This Game" Table of Recipes -- --
"Contacting the Author" -- "If you have any difficulties with [story title], please contact me at fakeaddress@gmail.com." --
This table is one that is pre-defined by the extension. By continuing it, we add a few additional items to the list.
And since we've promised a sub-menu of recipes:
{**}Table of Recipes
title subtable description toggle
"Salmon Tartare" -- "First, be sure to buy extremely fresh salmon. Raw fish should be served on the day it was caught, if possible. To guarantee this, visit an Asian supermarket or specialty store, and buy salmon marked 'sashimi grade'..." --
"Pecan Brownies" -- "Begin by shelling half a pound of pecans..." --
Whole Foods is a room.
To test it, type HELP and then experiment.