| Chapter 20: Publishing |

| 20.22. Kinds of value accepted by the map-maker

Integer values are typed in the usual way: 3, -72, etc.

Text is in double-quotes: "Map of Lower Delta", etc.

Font names are in double-quotes: "Helvetica", etc. Note that Inform makes no effort to look for such fonts: if we give the name of a font we haven't got, the result will probably be that the map's EPS file will be displayed in various applications with Courier (which looks like bad typewriting) substituted. All fonts are by default equal to the global "font" setting (by default equal to "Helvetica"), so changing "font" for the whole map affects everything not explicitly specified as having a different font.

Shape names are in double-quotes with lower case. At present, the only legal shapes are "circle", "square" and "rectangle".

On/off values are written just thus: on, off. No quotation marks.

Offset values are actually pairs, and are written as two numbers (possibly negative numbers) joined by an ampersand, as in the example: "Index map with room-offset of Botley set to 10&-30." Note lack of spaces around the ampersand. This means that Botley's room is displaced from its correct grid position on the EPS map by 10% of the grid size eastwards, and 30% southwards. (The grid size is the distance between one grid position and the next: displacing Botley by -200&0 would move it two whole grid positions westwards.)

The route-stiffness setting is used when drawing routes between two rooms. These are drawn as Bezier curves, a standard way to make a smooth curve not only travel from A to B but also from pointing in a given direction at A to ending up pointing in a given direction at B. Thus a Bezier curve may turn a route round so that it leaves A pointing west, but curves around to enter B from the south. (Most routes involve leaving in one direction and arriving in the opposite direction, of course, and in those cases a Bezier curve is just a straight line.)

The stiffness factor for a given room measures how much the curves are allowed to warp around in order to force them to arrive at that room from exactly the right compass bearing. The default is 100. Raising to, say, 250 can force curved paths into freakish zig-zags: whereas lowering to 1, the minimum, may make the route arrive at completely the wrong bearing. (Formally speaking: at each end of the route, a "control point" for the Bezier curve is made by taking the centre point of the room, then adding the relevant compass bearing's vector, scaled up by the route-stiffness as a percentage of the grid size.)

Colour values are named and in double-quotes. These names are the same as those for the traditional set of web-page-safe colour chips, as follows:

> "Alice Blue"
> "Antique White"
> "Aqua"
> "Aquamarine"
> "Azure"
> "Beige"
> "Bisque"
> "Black"
> "Blanched Almond"
> "Blue"
> "Blue Violet"
> "Brown"
> "Burly Wood"
> "Cadet Blue"
> "Chartreuse"
> "Chocolate"
> "Coral"
> "Cornflower Blue"
> "Cornsilk"
> "Crimson"
> "Cyan"
> "Dark Blue"
> "Dark Cyan"
> "Dark Golden Rod"
> "Dark Gray"
> "Dark Green"
> "Dark Khaki"
> "Dark Magenta"
> "Dark Olive Green"
> "Dark Orange"
> "Dark Orchid"
> "Dark Red"
> "Dark Salmon"
> "Dark Sea Green"
> "Dark Slate Blue"
> "Dark Slate Gray"
> "Dark Turquoise"
> "Dark Violet"
> "Deep Pink"
> "Deep Sky Blue"
> "Dim Gray"
> "Dodger Blue"
> "Feldspar"
> "Fire Brick"
> "Floral White"
> "Forest Green"
> "Fuchsia"
> "Gainsboro"
> "Ghost White"
> "Gold"
> "Golden Rod"
> "Gray"
> "Green"
> "Green Yellow"
> "Honey Dew"
> "Hot Pink"
> "Indian Red"
> "Indigo"
> "Ivory"
> "Khaki"
> "Lavender"
> "Lavender Blush"
> "Lawn Green"
> "Lemon Chiffon"
> "Light Blue"
> "Light Coral"
> "Light Cyan"
> "Light Golden Rod Yellow"
> "Light Grey"
> "Light Green"
> "Light Pink"
> "Light Salmon"
> "Light Sea Green"
> "Light Sky Blue"
> "Light Slate Blue"
> "Light Slate Gray"
> "Light Steel Blue"
> "Light Yellow"
> "Lime"
> "Lime Green"
> "Linen"
> "Magenta"
> "Maroon"
> "Medium Aquamarine"
> "Medium Blue"
> "Medium Orchid"
> "Medium Purple"
> "Medium Sea Green"
> "Medium Slate Blue"
> "Medium Spring Green"
> "Medium Turquoise"
> "Medium Violet Red"
> "Midnight Blue"
> "Mint Cream"
> "Misty Rose"
> "Moccasin"
> "Navajo White"
> "Navy"
> "Old Lace"
> "Olive"
> "Olive Drab"
> "Orange"
> "Orange Red"
> "Orchid"
> "Pale Golden Rod"
> "Pale Green"
> "Pale Turquoise"
> "Pale Violet Red"
> "Papaya Whip"
> "Peach Puff"
> "Peru"
> "Pink"
> "Plum"
> "Powder Blue"
> "Purple"
> "Red"
> "Rosy Brown"
> "Royal Blue"
> "Saddle Brown"
> "Salmon"
> "Sandy Brown"
> "Sea Green"
> "Sea Shell"
> "Sienna"
> "Silver"
> "Sky Blue"
> "Slate Blue"
> "Slate Gray"
> "Snow"
> "Spring Green"
> "Steel Blue"
> "Tan"
> "Teal"
> "Thistle"
> "Tomato"
> "Turquoise"
> "Violet"
> "Violet Red"
> "Wheat"
> "White"
> "White Smoke"
> "Yellow"
> "Yellow Green"

Previous | Contents | Next