Look at maps/level1 for a basic map.
Look at maps/ground.lvl for a better map.
Save your map as maps/ground.lvl in order to use it in game. I have made a backup of ground.lvl

The concepts are:

 - First three lines of file (provided <256 bytes) are ignored by IRRELEVANT
 - If >256 bytes Bad Stuff (tm) happens
 - Next 23 lines should each be 63 characters long
 - These 23 lines are the map
 - See below for a table of valid objects
 - After the map comes the control section
 - In the control section, empty lines are OK
 - Lines beginning with a space or a # are ignored
 - Other lines are used, but bad lines will be ignored
 - See below for valid commands and syntax
 - File must end in non-command line (e.g. comment or blank line)
 - Control commands must be in all caps
 - Control commands must be the first thing on the line
 - Control commands must be the only thing on the line
 - Don't try anything that I don't mention here unless you feel like buying yourself a new computer

Map objects:
# - Wall
[ - Tree
. - Lit floor
<SPACE> - Dark floor
+ - Closed door
' - Open door
< - Spawn point (also stairs up if not top level)
> - Stairs down

Control section:
Valid commands are:
ITEM - Makes an item appear on the map
MESSAGE - Makes a message appear the first time the player visits a square
TIMES - Repeats the following line a certain number of times

Item:
Should be invoked specifying the x, y co-ords and then the item
List of items available below
Syntax:
ITEM X Y TYPE
Examples:
ITEM RANDOM RANDOM
This makes a random item at a random location
ITEM 6 6 RANDOM
This makes a random item at 6, 6
ITEM RANDOM 0
This makes a UNIX Book at a random position
ITEM RANDOM 6 6
!!!This is invalid!!!
ITEM RANDOM 6 RANDOM
!!!This is invalid!!!
ITEM RANDOM RANDOM RANDOM
!!!This is invalid!!!

Message:
Should be invoked specifying x, y co-ords and then the message
Syntax:
MESSAGE X Y TEXT
Examples:
ITEM RANDOM This is my text
Prints 'This is my text' when the player visits a random spot. The spot is guaranteed to be walkable
ITEM 6 5 This is my text
When they visit 6, 5 it prints the text
ITEM 6 5 RANDOM
Prints 'RANDOM' when they visit 6, 5
ITEM RANDOM 6 RANDOM
Will print out '6 RANDOM' when the player visits a random spot. The spot is guaranteed to be walkable
ITEM 6 RANDOM RANDOM
!!!This is invalid!!!

Times:
Runs the following line (Even if it's empty or a comment!!!) a specified number of times
Syntax:
TIMES NUMBER
Examples
TIMES 6
Runs the next line 6 times
TIMES RANDOM
!!!This is invalid!!!

Items that are available:
0 - UNIX Book
1 - TCP/IP Book
2 - Atari ST BASIC Book
3 - Branch wand
