![]() |
Les Heures du ventAn interactive fiction by Eole (2007) - the Inform 7 source text | |||||||||||||
Home page Contents Previous Next Complete text | Section 3 - Boussole (for Glulx only)
Include Basic Screen Effects by Emily Short. [1] To turn screen black: clear the screen; leave space; To turn screen white: clear the screen; leave space. To leave space: say paragraph break; say paragraph break; say paragraph break; say paragraph break. Table of Fancy Status
Definition: a room is discernible: if it is lit, yes; if in darkness, no; yes. To say top rose: let place be the room up from the location; if the place is a discernible room, say "[if the place is unvisited][end if]U "; otherwise say " "; [2]t show at all. Moral: never ever make assumptions about the color scheme used by your audience.] let place be the room northwest from the location; if place is a discernible room, say "[if the place is unvisited][end if]NW"; otherwise say " "; let place be the room north from the location; if place is a discernible room, say "[if the place is unvisited][end if] N "; otherwise say " "; let place be the room northeast from the location; if place is a discernible room, say "[if the place is unvisited][end if]NE"; otherwise say " ". To say middle rose: say " "; let place be the room west from the location; if place is a discernible room, say "[if the place is unvisited][end if]W "; otherwise say " "; say " . "; let place be the room east from the location; if place is a discernible room, say "[if the place is unvisited][end if] E"; otherwise say " ". To say bottom rose: let place be the room down from the location; if the place is a discernible room, say "[if the place is unvisited][end if]D "; otherwise say " "; let place be the room southwest from the location; if place is a discernible room, say "[if the place is unvisited][end if]SW"; otherwise say " "; let place be the room south from the location; if place is a discernible room, say "[if the place is unvisited][end if] S "; otherwise say " "; let place be the room southeast from the location; if place is a discernible room, say "[if the place is unvisited][end if]SE"; otherwise say " ". Rule for constructing the status line: fill status bar with Table of Fancy Status; rule succeeds. |