
; MAPS section
;
; Each map in the world (world, city, cave, etc.) needs an entry in this table
; Map 0 is always the main world map.
;
; As of release A77, you may now have 1000 maps (0-999)
;
;  Each map needs the following arguments:
;
;	arg0	the map ID (0-999)  0 is main world map  Link points are via map numbers
;
;	arg1	the image file name of the map (a JPG usually, but RLE BMP is OK)
;
;	arg2	the OBL file name for the map (which places link point objects on that map
;			Note: if a terrain file exists, it must share the same name, so do NOT
;			put an extension on the file name.  "iceland" would indicate both
;			"iceland.OBL" and "iceland.TER" (and possibly other files as development
;			continues.  The OBL and TER files are created when you use the map editor.
;			You are primarily responsible for generating the image file (JPG).
;			This is also the root name of the MIDI music file played when wandering
;			That map. (music files should be in the world or root MIDI folder)
;
;	arg3	The map name.  This appears briefly as the user changes maps.
;
;   arg4	The Map FLAGS. This is a number, containing several flags, which controls
;			specific behaviours of players while on a map.  Add together the values
;			of each flag you want and then set the map flags to that value.  For example,
;			if you want both flag 2 and flag 4, then set the map flags to "6"
;
;		As of release A77, you can use hexadecimal values for the map flags (start the number with 0x)
;               If you don't know what this means, just add the decimal values together for the combo you want
;
;           	The flag values are:
;
;		DECIMAL		HEX		MEANING, WHEN INCLUDED
;
;		1		0x00000001	// enables pet vs pet battles (but protects players from pets)
;		2		0x00000002	// enables pets to be used against other players or pets (if pkers or no safehaven)
;		4		0x00000004	// enables "no protection from PKer"
;		8		0x00000008	// enables "no PKing allowed here at all"
;		16		0x00000010	// enables "LADDER" reporting. (PK kills on this map are reported to ladder server)
;		32		0x00000020	// enables "show all link names." 
;							// Normally link names are hidden until after first use of link.
;		64		0x00000040	// disables "Shadows" under heroes (and monsters) on map and in scenes of that map.
;		128		0x00000080	// disables the use of pets (cannot summon them) on this map.
;		256		0x00000100	// disables eavesdropping to and from players on this map.  
;							// (you can still whisper, shout, etc.)
;		512		0x00000200	// designates the map a GUILD HALL map.  (not sure what this means yet...)
;		1024	0x00000400	// Prevents Humans from being able to damage monsters or pets
;		2048	0x00000800	// NO_REWARD.  After a fight, no GP, XP or items are found to reward the survivors
;							// Pets still get rewarded, coz I am a big softy
;		4096	0x00001000	// NO_HEAL.  Heal spells and items provide only 1HP of sustenance.
;		8192	0x00002000	// NO_TICKETS.  Tickets won't work here
;		16384	0x00004000	// NO_MINI_MAP. upper right minimap is uninformative here
;		32768	0x00008000	// NO_STUN.  the non-buff disease spells will not work here 
;							// (stun, sleep, paralyze, etc.)
;		65536	0x00010000	// NO_BUFF.	the buff/debuff disease spells will not work here.
;		131072	0x00020000	// NO_PKREZ. PKers cannot use resurrection spells on others
;       262144	0x00040000	// MAP_FLAG_HIDE_LINKS. don't show white link boxes on minimap until visited
;	    524288	0x00080000	// MAP_FLAG_NO_WAYPOINTS disable automatic waypoint calculations (good for mazes)
;
;	arg5	The map Sound Theme 0 (none) - 255 (see THEME table for making your own themes)
;			If you provide this argument, it picks a sound theme which will be played while the player is walking
;			on the map (not inside a scene of that map, though you might want a common theme.)  Note that you 
;			cannot have multiple themes on one map.

;
; FOR EXAMPLE:
;
;	arg0	arg1				arg2				arg3						arg4			arg5
;	ID		image file			OBL/TER/MID	root	Map Name (seen by player)	Map FLAGS		Map Theme
;
;	0,		wormCave.jpg,		wormCave,			"Wyrm Cavern",				0,			0
;	5,		town2.jpg,			westin,				"Westin",					0,			3
;	6,		town3.jpg,			stonetree,			"Stonetree",   
;	arg0	arg1									arg2				arg3						arg4			arg5
;	ID		image file							OBL/TER/MID	root	Map Name (seen by player)	Map FLAGS		Map Theme
	
	0,		"pitchblack.jpg", 					"Eternal Doom",		"Eternal Doom", 				64,				24
	1, 		"Darkwood.jpg", 						"Darkwood", 		"Darkwood", 					64,				0
	2, 		"easternplains.jpg", 				"easternplains",	"Eastern Plains", 			64,				0
	3,		"castletown1.jpg", 						"Town1", 		"Bleakforest",			 		64,				0
	4,		"creek-forest.jpg", 					"Creek Forest",		"Forest of Regret", 			64,				0
	5,		"caverns1.jpg"						"Caverns1"			"Gnomic Tunnels",			64,				0
	6,		"oceanmap1.jpg"						"Dearke Sea1"		"Dearke Sea-Clam Island"		64,				0
	7,		"oceanmap1.jpg"						"Dearke Sea2"		"Dearke Sea"					64,				0
	8,		"tallenportbeach.jpg"				"Tallenport Beach"	"Tallenport Beach"			64,				0
	9,		"tallenport2.jpg"					"Tallenport Hills"	"Tallenport Hills"			64,				0
	10,		"wellesforest.jpg"					"Welles Forest"		"Welles Forest"				64,				0
	11,		"forest2.jpg"						"Welles Canyon"		"Welles Canyon"				64,				0
	12,		"tallenport3.jpg"					"Qrrbirlbel"		"Qrrbirlbel"					64,				0
	13,		"mine1.jpg"							"mine1"				"Abandoned Mines"			64,				0
	14,		"Aerial shot.jpg"					"Dark Woods"		"Dark Woods"					64,				0
	15,		"forest1.jpg"						"Dark Woods2"		"Eastern Dark Woods"			64,				0
	16,		"castletown1.jpg"					"Dark Hallow"		"Janeria"					64,				0
	17,		"arenaTown.jpg"						"PKarena1"			"1c3 4|23|\|4"				65540,			23