//****************************************************************************
//SPHERE by : Menasoft ©1997-2000
//www.sphereserver.com
// All SPHERE script files and formats are copyright Menasoft & Partners.
// This file may be freely edited for personal use, but may not be distributed
// in whole or in part, in any format without express written permission from
// Menasoft & Partners.  All donations and contributions
// become the property of Menasoft & Partners.
//****************************************************************************
// FILE LAST UPDATED: Saturday, June 3, 2000
//
[DEFNAME TREASURE_MAPS]
TMOS                        0FFFFFED4 //Treasure Map Offset
TMS                         08c //Treasure Map Size	200x200 pixels - pins are in pixels
TMTILES                   { i_plant_fern 1 i_plant_rushes 1 i_plant_fern 1 i_plant_fern_5 1 i_plant_bulrushes 1 i_plant_grasses 1 i_plant_fern_3 1 i_plant_fern_4 1 }

[TYPEDEF 1101]
//LEVEL1MAP Deciphering
DEFNAME=T_L1MAP

ON=@DCLICK
	IF ! <SRC.RESTEST 1 i_pickaxe>
		SRC.MESSAGE=Where is your Pickaxe?
		RETURN 1
	ENDIF
	IF (<SRC.CARTOGRAPHY><50.0)
		SRC.MESSAGE=You're not a good enough cartographer for this!
		RETURN 1
	ENDIF
	// MOREP = the treasure location = MOREX,MOREY
	IF (<MORE><0FFFF)
		NAME=Deciphered Treasure Map
		TYPE=T_MAP
		MORE1=((<MOREX> -180)*010000)+(<MOREY> -180)
		MORE2=((<MOREX> +180)*010000)+(<MOREY> +180)
		PIN=105,105	// dead center.
		SRC.HOME=<SRC.P>
		SRC.P=<MOREP>
		SRC.NEWITEM=<VAR.TMTILES> //Place trigger random tile on UO Map
		SRC.ACT.TYPE=T_L1MAP_CHEST
		SRC.ACT.TIMER=-1
		SRC.ACT.ATTR=attr_static|attr_move_never
		SRC.ACT.LINK=<UID>
		SRC.ACT.P=<SRC.P>
		SRC.P=<SRC.HOME>	// put us back where we really are.
		RETURN 0
	ENDIF

[TYPEDEF 1102]
//LEVEL2MAP Deciphering
DEFNAME=T_L2MAP

ON=@DCLICK
	IF ! <SRC.RESTEST 1 i_pickaxe>
		SRC.MESSAGE=Where is your Pickaxe?
		RETURN 1
	ENDIF
	IF (<SRC.CARTOGRAPHY><60.0)
		SRC.MESSAGE=You're not a good enough cartographer for this!
		RETURN 1
	ENDIF
	// MOREP = the treasure location = MOREX,MOREY
	IF (<MORE><0FFFF)
		NAME=Deciphered Treasure Map
		TYPE=T_MAP
		MORE1=((<MOREX> -180)*010000)+(<MOREY> -180)
		MORE2=((<MOREX> +180)*010000)+(<MOREY> +180)
		PIN=105,105	// dead center.
		SRC.HOME=<SRC.P>
		SRC.P=<MOREP>
		SRC.NEWITEM=<VAR.TMTILES> //Place trigger random tile on UO Map
		SRC.ACT.TYPE=T_L2MAP_CHEST
		SRC.ACT.TIMER=-1
		SRC.ACT.ATTR=attr_static|attr_move_never
		SRC.ACT.LINK=<UID>
		SRC.ACT.P=<SRC.P>
		SRC.P=<SRC.HOME>	// put us back where we really are.
		RETURN 0
	ENDIF

[TYPEDEF 1103]
//LEVEL3MAP Deciphering
DEFNAME=T_L3MAP

ON=@DCLICK
	IF ! <SRC.RESTEST 1 i_pickaxe>
		SRC.MESSAGE=Where is your Pickaxe?
		RETURN 1
	ENDIF
	IF (<SRC.CARTOGRAPHY><70.0)
		SRC.MESSAGE=You're not a good enough cartographer for this!
		RETURN 1
	ENDIF
	IF (<MORE><0FFFF)
		NAME=Deciphered Treasure Map
		TYPE=T_MAP
		MORE1=((<MOREX> -180)*010000)+(<MOREY> -180)
		MORE2=((<MOREX> +180)*010000)+(<MOREY> +180)
		PIN=105,105	// dead center.
		SRC.HOME=<SRC.P>
		SRC.P=<MOREP>
		SRC.NEWITEM=<VAR.TMTILES> //Place trigger random tile on UO Map
		SRC.ACT.TYPE=T_L3MAP_CHEST
		SRC.ACT.TIMER=-1
		SRC.ACT.ATTR=attr_static|attr_move_never
		SRC.ACT.LINK=<UID>
		SRC.ACT.P=<SRC.P>
		SRC.P=<SRC.HOME>	// put us back where we really are.
		RETURN 0
	ENDIF

[TYPEDEF 1104]
//LEVEL4MAP Deciphering
DEFNAME=T_L4MAP

ON=@DCLICK
	IF ! <SRC.RESTEST 1 i_pickaxe>
		SRC.MESSAGE=Where is your Pickaxe?
		RETURN 1
	ENDIF
	IF (<SRC.CARTOGRAPHY><80.0)
		SRC.MESSAGE=You're not a good enough cartographer for this!
		RETURN 1
	ENDIF
	IF (<MORE><0FFFF)
		NAME=Deciphered Treasure Map
		TYPE=T_MAP
		MORE1=((<MOREX> -180)*010000)+(<MOREY> -180)
		MORE2=((<MOREX> +180)*010000)+(<MOREY> +180)
		PIN=105,105	// dead center.
		SRC.HOME=<SRC.P>
		SRC.P=<MOREP>
		SRC.NEWITEM=<VAR.TMTILES> //Place trigger random tile on UO Map
		SRC.ACT.TYPE=T_L4MAP_CHEST
		SRC.ACT.TIMER=-1
		SRC.ACT.ATTR=attr_static|attr_move_never
		SRC.ACT.LINK=<UID>
		SRC.ACT.P=<SRC.P>
		SRC.P=<SRC.HOME>	// put us back where we really are.
		RETURN 0
	ENDIF

[TYPEDEF 1105]
//LEVEL5MAP Deciphering
DEFNAME=T_L5MAP

ON=@DCLICK
	IF ! <SRC.RESTEST 1 i_pickaxe>
		SRC.MESSAGE=Where is your Pickaxe?
		RETURN 1
	ENDIF
	IF (<SRC.CARTOGRAPHY><90.0)
		SRC.MESSAGE=You're not a good enough cartographer for this!
		RETURN 1
	ENDIF
	IF (<MORE><0FFFF)
		NAME=Deciphered Treasure Map
		TYPE=T_MAP
		MORE1=((<MOREX> -180)*010000)+(<MOREY> -180)
		MORE2=((<MOREX> +180)*010000)+(<MOREY> +180)
		PIN=105,105	// dead center.
		SRC.HOME=<SRC.P>
		SRC.P=<MOREP>
		SRC.NEWITEM=<VAR.TMTILES> //Place trigger random tile on UO Map
		SRC.ACT.TYPE=T_L5MAP_CHEST
		SRC.ACT.TIMER=-1
		SRC.ACT.ATTR=attr_static|attr_move_never
		SRC.ACT.LINK=<UID>
		SRC.ACT.P=<SRC.P>
		SRC.P=<SRC.HOME>	// put us back where we really are.
		RETURN 0
	ENDIF

[TYPEDEF 1111]
//LEVEL1MAP Treasure map Chest Spawn
DEFNAME=T_L1MAP_CHEST

ON=@DCLICK
	IF <DISTANCE>>3
		RETURN 1
	ENDIF
	IF ( <LINK.TOPOBJ.UID> != <SRC.UID> )
		RETURN 1
	ENDIF
	IF ((<SRC.FINDLAYER(layer_hand1).BASEID>==i_PICKAXE) && (<SRC.MINING>>50.0))
		SRC.ANIM=0B
		SOUND=0126
		SRC.NEWITEM=TM_LOOT_1 //Treasure map random poor loot
		SRC.ACT.P=<P>
		SRC.MESSAGE=WOW a treasure !! OOPS!!
		LINK.REMOVE			//remove linked deciphered map
		SRC.NEWITEM=i_Treas_Spawn_VEasy //Treasure map very easy monster spawn
		SRC.ACT.P=<P>
		SRC.NEWITEM=i_Treas_Spawn_VEasy //Treasure map very easy monster spawn
		SRC.ACT.P=<P>
		SRC.NEWITEM=i_Treas_Spawn_VEasy //Treasure map very easy monster spawn
		SRC.ACT.P=<P>
		REMOVE				//remove trigger plant
		RETURN 1
	ENDIF
	RETURN 1

[TYPEDEF 1112]
//LEVEL2MAP Treasure map Chest Spawn
DEFNAME=T_L2MAP_CHEST

ON=@DCLICK
	IF <DISTANCE>>3
		RETURN 1
	ENDIF
	IF ( <LINK.TOPOBJ.UID> != <SRC.UID> )
		RETURN 1
	ENDIF
	IF (<SRC.FINDLAYER(layer_hand1).BASEID>==i_pickaxe) && (<SRC.MINING>>60.0)
		SRC.ANIM=0B
		SOUND=0126
		SRC.NEWITEM=TM_LOOT_2 //Treasure map random poor loot
		SRC.ACT.P=<P>
		SRC.MESSAGE=WOW a treasure !! OOPS!!
		LINK.REMOVE			//remove linked deciphered map
		SRC.NEWITEM=i_Treas_Spawn_Easy //Treasure map very easy monster spawn
		SRC.ACT.P=<P>
		SRC.NEWITEM=i_Treas_Spawn_Easy //Treasure map very easy monster spawn
		SRC.ACT.P=<P>
		SRC.NEWITEM=i_Treas_Spawn_Easy //Treasure map very easy monster spawn
		SRC.ACT.P=<P>
		REMOVE
		RETURN 1
	ENDIF
	RETURN 1

[TYPEDEF 1113]
//LEVEL3MAP Treasure map Chest Spawn
DEFNAME=T_L3MAP_CHEST

ON=@DCLICK
	IF <DISTANCE>>3
		RETURN 1
	ENDIF
	IF ( <LINK.TOPOBJ.UID> != <SRC.UID> )
		RETURN 1
	ENDIF
	IF (<SRC.FINDLAYER(layer_hand1).BASEID>==i_pickaxe) && (<SRC.MINING>>70.0)
		SRC.ANIM=0B
		SOUND=0126
		SRC.NEWITEM=TM_LOOT_3 //Treasure map random poor loot
		SRC.ACT.P=<P>
		SRC.MESSAGE=WOW a treasure !! OOPS!!
		LINK.REMOVE			//remove linked deciphered map
		SRC.NEWITEM=i_Treas_Spawn_Avg //Treasure map very easy monster spawn
		SRC.ACT.P=<P>
		SRC.NEWITEM=i_Treas_Spawn_Avg //Treasure map very easy monster spawn
		SRC.ACT.P=<P>
		SRC.NEWITEM=i_Treas_Spawn_Avg //Treasure map very easy monster spawn
		SRC.ACT.P=<P>
		REMOVE
		RETURN 1
	ENDIF
	RETURN 1

[TYPEDEF 1114]
//LEVEL4MAP Treasure map Chest Spawn
DEFNAME=T_L4MAP_CHEST

ON=@DCLICK
	IF <DISTANCE>>3
		RETURN 1
	ENDIF
	IF ( <LINK.TOPOBJ.UID> != <SRC.UID> )
		RETURN 1
	ENDIF
	IF (<SRC.FINDLAYER(layer_hand1).BASEID>==i_pickaxe) && (<SRC.MINING>>80.0)
		SRC.ANIM=0B
		SOUND=0126
		SRC.NEWITEM=TM_LOOT_4 //Treasure map random poor loot
		SRC.ACT.P=<P>
		SRC.MESSAGE=WOW a treasure !! OOPS!!
		LINK.REMOVE			//remove linked deciphered map
		SRC.NEWITEM=i_Treas_Spawn_Hard //Treasure map very easy monster spawn
		SRC.ACT.P=<P>
		SRC.NEWITEM=i_Treas_Spawn_Hard //Treasure map very easy monster spawn
		SRC.ACT.P=<P>
		SRC.NEWITEM=i_Treas_Spawn_Hard //Treasure map very easy monster spawn
		SRC.ACT.P=<P>
		REMOVE
		RETURN 1
	ENDIF
	RETURN 1

[TYPEDEF 1115]
//LEVEL5MAP Treasure map Chest Spawn
DEFNAME=T_L5MAP_CHEST

ON=@DCLICK
	IF <DISTANCE>>3
		RETURN 1
	ENDIF
	IF ( <LINK.TOPOBJ.UID> != <SRC.UID> )
		RETURN 1
	ENDIF
	IF (<SRC.FINDLAYER(layer_hand1).BASEID>==i_pickaxe) && (<SRC.MINING>>90.0)
		SRC.ANIM=0B
		SOUND=0126
		SRC.NEWITEM=TM_LOOT_5 //Treasure map random poor loot
		SRC.ACT.P=<P>
		SRC.MESSAGE=WOW a treasure !! OOPS!!
		LINK.REMOVE			//remove linked deciphered map
		SRC.NEWITEM=i_Treas_Spawn_VHard //Treasure map very easy monster spawn
		SRC.ACT.P=<P>
		SRC.NEWITEM=i_Treas_Spawn_VHard //Treasure map very easy monster spawn
		SRC.ACT.P=<P>
		SRC.NEWITEM=i_Treas_Spawn_VHard //Treasure map very easy monster spawn
		SRC.ACT.P=<P>
		REMOVE
		RETURN 1
	ENDIF
	RETURN 1

[ITEMDEF i_chest_treasure]
ID=i_chest_metal

ON=@Create
	ATTR=attr_static|attr_move_never
	TYPE=T_CONTAINER_LOCKED
	COLOR=045e
	MORE1=01
	MORE2=01 // the level of the chest.
	TIMER=900

ON=@DCLICK
	if (<MORE1>==02)
		if (<TIMER>>700)
			SRC.MESSAGE=You can't open the chest yet!
			RETURN 1
		else
			TYPE=T_CONTAINER
			ATTR=attr_move_never|attr_decay //activate decay after opening
			TIMER=650
			RETURN 0
		endif
	//***Creating Monster on Opening of Treasure Chest depending on Map Difficulty
	elseif (<MORE1>==01)
		MORE1=02
		TIMER=900
		SOUND=01FE
		IF <MORE2>==01
			SRC.NEWITEM=i_Treas_Spawn_VEasy //Treasure map random very easy monster spawn
			SRC.ACT.P=<P>
			SRC.NEWITEM=i_Treas_Spawn_VEasy //Treasure map random very easy monster spawn
			SRC.ACT.P=<P>
			SRC.NEWITEM=i_Treas_Spawn_VEasy //Treasure map random very easy monster spawn
			SRC.ACT.P=<P>
			RETURN 1
		ELSEIF <MORE2>==02
			SRC.NEWITEM=i_Treas_Spawn_Easy //Treasure map random easy monster spawn
			SRC.ACT.P=<P>
			SRC.NEWITEM=i_Treas_Spawn_Easy //Treasure map random easy monster spawn
			SRC.ACT.P=<P>
			SRC.NEWITEM=i_Treas_Spawn_Easy //Treasure map random easy monster spawn
			SRC.ACT.P=<P>
			RETURN 1
		ELSEIF <MORE2>==03
			SRC.NEWITEM=i_Treas_Spawn_Avg //Treasure map random average monster spawn
			SRC.ACT.P=<P>
			SRC.NEWITEM=i_Treas_Spawn_Avg //Treasure map random average monster spawn
			SRC.ACT.P=<P>
			SRC.NEWITEM=i_Treas_Spawn_Avg //Treasure map random average monster spawn
			SRC.ACT.P=<P>
			RETURN 1
		ELSEIF <MORE2>==04
			SRC.NEWITEM=i_Treas_Spawn_Hard //Treasure map random hard monster spawn
			SRC.ACT.P=<P>
			SRC.NEWITEM=i_Treas_Spawn_Hard //Treasure map random hard monster spawn
			SRC.ACT.P=<P>
			SRC.NEWITEM=i_Treas_Spawn_Hard //Treasure map random hard monster spawn
			SRC.ACT.P=<P>
			RETURN 1
		ELSEIF <MORE2>==05
			SRC.NEWITEM=i_Treas_Spawn_VHard //Treasure map random very hard monster spawn
			SRC.ACT.P=<P>
			SRC.NEWITEM=i_Treas_Spawn_VHard //Treasure map random very hard monster spawn
			SRC.ACT.P=<P>
			SRC.NEWITEM=i_Treas_Spawn_VHard //Treasure map random very hard monster spawn
			SRC.ACT.P=<P>
			RETURN 1
		ENDIF
		RETURN 0
	endif

//*******************************************************************

//TREASURE MAPS
//LEVEL1 [ITEMDEF 04f00] to [ITEMDEF 04f2f] - Very Easy Tattered Treasure Maps in Monsters

[ITEMDEF 04f00]
DEFNAME=i_ttm_l1_0
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MOREP=2354,3447,0
MORE1=0932 //X Treasure position in HEX	// not used !
MORE2=0d77 //Y Treasure position in HEX

[ITEMDEF 04f01]
DEFNAME=i_ttm_l1_1
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MOREP=1133,3403,0
MORE1=046D
MORE2=0D4B

[ITEMDEF 04f02]
DEFNAME=i_ttm_l1_2
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MOREP=1142,3509,0
MORE1=0476
MORE2=0DB5

[ITEMDEF 04f03]
DEFNAME=i_ttm_l1_3
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MOREP=1726,3507,3
MORE1=06BE
MORE2=0DB3

[ITEMDEF 04f04]
DEFNAME=i_ttm_l1_4
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0D6A
MORE1=047A
MOREP=1146,3434,0

[ITEMDEF 04f05]
DEFNAME=i_ttm_l1_5
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0D92
MORE1=07EA
MOREP=2026,3474,0

[ITEMDEF 04f06]
DEFNAME=i_ttm_l1_6
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0D6D
MORE1=075D
MOREP=1885,3437,10

[ITEMDEF 04f07]
DEFNAME=i_ttm_l1_7
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0D6D
MORE1=0808
MOREP=2056,3437,0

[ITEMDEF 04f08]
DEFNAME=i_ttm_l1_8
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0DEA
MORE1=080B
MOREP=2059,3562,0

[ITEMDEF 04f09]
DEFNAME=i_ttm_l1_9
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0B33
MORE1=0E25
MOREP=3621,2867,33

[ITEMDEF 04f0a]
DEFNAME=i_ttm_l1_10
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0D23
MORE1=0879
MOREP=2169,3363,10

[ITEMDEF 04f0b]
DEFNAME=i_ttm_l1_11
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0DB9
MORE1=0956
MOREP=2390,3513,3

[ITEMDEF 04f0c]
DEFNAME=i_ttm_l1_12
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0B4E
MORE1=0E56
MOREP=3670,2894,17

[ITEMDEF 04f0d]
DEFNAME=i_ttm_l1_13
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0F91
MORE1=0850
MOREP=2128,3985,3

[ITEMDEF 04f0e]
DEFNAME=i_ttm_l1_14
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0F38
MORE1=0872
MOREP=2162,3896,0

[ITEMDEF 04f0f]
DEFNAME=i_ttm_l1_15
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0F68
MORE1=01173
MOREP=4467,3944,0

[ITEMDEF 04f10]
DEFNAME=i_ttm_l1_16
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0E28
MORE1=012E0
MOREP=4832,3624,0

[ITEMDEF 04f11]
DEFNAME=i_ttm_l1_17
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0F25
MORE1=01218
MOREP=4632,3877,0

[ITEMDEF 04f12]
DEFNAME=i_ttm_l1_18
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0D31
MORE1=0123A
MOREP=4666,3377,0

[ITEMDEF 04f13]
DEFNAME=i_ttm_l1_19
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0D8C
MORE1=0126D
MOREP=4717,3468,0

[ITEMDEF 04f14]
DEFNAME=i_ttm_l1_20
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0C1A
MORE1=011AF
MOREP=4527,3098,0

[ITEMDEF 04f15]
DEFNAME=i_ttm_l1_21
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0CC7
MORE1=0120F
MOREP=4623,3271,0

[ITEMDEF 04f16]
DEFNAME=i_ttm_l1_22
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0C5B
MORE1=0112E
MOREP=4398,3163,0

[ITEMDEF 04f17]
DEFNAME=i_ttm_l1_23
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0C32
MORE1=01153
MOREP=4435,3122,0

[ITEMDEF 04f18]
DEFNAME=i_ttm_l1_24
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0CE9
MORE1=011E1
MOREP=4577,3305,0

[ITEMDEF 04f19]
DEFNAME=i_ttm_l1_25
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0C91
MORE1=011A7
MOREP=4519,3217,0

[ITEMDEF 04f1a]
DEFNAME=i_ttm_l1_26
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0D74
MORE1=011D3
MOREP=4563,3444,0

[ITEMDEF 04f1b]
DEFNAME=i_ttm_l1_27
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0D20
MORE1=011D8
MOREP=4568,3360,0

[ITEMDEF 04f1c]
DEFNAME=i_ttm_l1_28
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0F36
MORE1=09BA
MOREP=2490,3894,3

[ITEMDEF 04f1d]
DEFNAME=i_ttm_l1_29
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0F5A
MORE1=09CF
MOREP=2511,3930,3

[ITEMDEF 04f1e]
DEFNAME=i_ttm_l1_30
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0F9C
MORE1=09E1
MOREP=2529,3996,3

[ITEMDEF 04f1f]
DEFNAME=i_ttm_l1_31
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Map

ON=@Create
TYPE=T_L1MAP
MORE2=0F6F
MORE1=09B1
MOREP=2481,3951,3

//[ITEMDEF 04f20] to [ITEMDEF 04f2f] Reserved for more Level 1 Treasure Maps

//LEVEL2 [ITEMDEF 04f30] to [ITEMDEF 04f5f] - Easy Tattered Treasure Maps in Monsters

[ITEMDEF 04f30]
DEFNAME=i_ttm_l2_0
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0C34
MORE1=0431
MOREP=1073,3124,0

[ITEMDEF 04f31]
DEFNAME=i_ttm_l2_1
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0D9A
MORE1=042F
MOREP=1071,3482,0

[ITEMDEF 04f32]
DEFNAME=i_ttm_l2_2
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0DD8
MORE1=0485
MOREP=1157,3544,0

[ITEMDEF 04f33]
DEFNAME=i_ttm_l2_3
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0DE1
MORE1=0687
MOREP=1671,3553,0

[ITEMDEF 04f34]
DEFNAME=i_ttm_l2_4
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0D61
MORE1=046A
MOREP=1130,3425,0

[ITEMDEF 04f35]
DEFNAME=i_ttm_l2_5
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0D68
MORE1=07E3
MOREP=2019,3432,0

[ITEMDEF 04f36]
DEFNAME=i_ttm_l2_6
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0D74
MORE1=074B
MOREP=1867,3444,10

[ITEMDEF 04f37]
DEFNAME=i_ttm_l2_7
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0D91
MORE1=0800
MOREP=2048,3473,0

[ITEMDEF 04f38]
DEFNAME=i_ttm_l2_8
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0DFD
MORE1=0827
MOREP=2087,3581,0

[ITEMDEF 04f39]
DEFNAME=i_ttm_l2_9
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0D04
MORE1=081E
MOREP=2078,3332,0

[ITEMDEF 04f3a]
DEFNAME=i_ttm_l2_10
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0D28
MORE1=0899
MOREP=2201,3368,0

[ITEMDEF 04f3b]
DEFNAME=i_ttm_l2_11
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
MORE2=0DB9
MORE1=0935
MOREP=2357,3513,3

[ITEMDEF 04f3c]
DEFNAME=i_ttm_l2_12
ID=i_map
TYPE=T_L2MAP
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0B46
MORE1=0E66
MOREP=3686,2886,15

[ITEMDEF 04f3d]
DEFNAME=i_ttm_l2_13
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0F7B
MORE1=0854
MOREP=2132,3963,3

[ITEMDEF 04f3e]
DEFNAME=i_ttm_l2_14
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0E0B
MORE1=09DD
MOREP=2525,3595,0

[ITEMDEF 04f3f]
DEFNAME=i_ttm_l2_15
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0F49
MORE1=0116C
MOREP=4460,3913,0

[ITEMDEF 04f40]
DEFNAME=i_ttm_l2_16
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0E81
MORE1=012DB
MOREP=4827,3713,0

[ITEMDEF 04f41]
DEFNAME=i_ttm_l2_17
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0F26
MORE1=01201
MOREP=4609,3878,0

[ITEMDEF 04f42]
DEFNAME=i_ttm_l2_18
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0D40
MORE1=01251
MOREP=4689,3392,0

[ITEMDEF 04f43]
DEFNAME=i_ttm_l2_19
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0D9C
MORE1=01283
MOREP=4739,3484,0

[ITEMDEF 04f44]
DEFNAME=i_ttm_l2_20
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0C11
MORE1=011C3
MOREP=4547,3089,0

[ITEMDEF 04f45]
DEFNAME=i_ttm_l2_21
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0CE3
MORE1=0120E
MOREP=4622,3299,1

[ITEMDEF 04f46]
DEFNAME=i_ttm_l2_22
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0C43
MORE1=0112A
MOREP=4394,3139,0

[ITEMDEF 04f47]
DEFNAME=i_ttm_l2_23
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0C3A
MORE1=01159
MOREP=4441,3130,0

[ITEMDEF 04f48]
DEFNAME=i_ttm_l2_24
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0CDD
MORE1=011D5
MOREP=4565,3293,0

[ITEMDEF 04f49]
DEFNAME=i_ttm_l2_25
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0C89
MORE1=011A3
MOREP=4515,3209,0

[ITEMDEF 04f4a]
DEFNAME=i_ttm_l2_26
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0D5B
MORE1=011D5
MOREP=4565,3419,0

[ITEMDEF 04f4b]
DEFNAME=i_ttm_l2_27
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0D1C
MORE1=011DD
MOREP=4573,3356,0

[ITEMDEF 04f4c]
DEFNAME=i_ttm_l2_28
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0F3F
MORE1=09B1
MOREP=2481,3903,6

[ITEMDEF 04f4d]
DEFNAME=i_ttm_l2_29
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0F76
MORE1=09D1
MOREP=2513,3958,6

[ITEMDEF 04f4e]
DEFNAME=i_ttm_l2_30
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0FA3
MORE1=09CF
MOREP=2511,4003,3

[ITEMDEF 04f4f]
DEFNAME=i_ttm_l2_31
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Map

ON=@Create
TYPE=T_L2MAP
MORE2=0F88
MORE1=099F
MOREP=2463,3976,3

//[ITEMDEF 04f50] to [ITEMDEF 04f5f] Reserved for more Level 2 Treasure Maps

//LEVEL3 [ITEMDEF 04f60] to [ITEMDEF 04f8f] - Tattered Treasure Maps in Monsters

[ITEMDEF 04f60]
DEFNAME=i_ttm_l3_0
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0F49
MORE1=09B2
MOREP=2482,3913,3

[ITEMDEF 04f61]
DEFNAME=i_ttm_l3_1
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0D98
MORE1=0444
MOREP=1092,3480,0

[ITEMDEF 04f62]
DEFNAME=i_ttm_l3_2
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0DA4
MORE1=0703
MOREP=1795,3492,0

[ITEMDEF 04f63]
DEFNAME=i_ttm_l3_3
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0D75
MORE1=0640
MOREP=1600,3445,0

[ITEMDEF 04f64]
DEFNAME=i_ttm_l3_4
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0E3A
MORE1=086B
MOREP=2155,3642,0

[ITEMDEF 04f65]
DEFNAME=i_ttm_l3_5
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0D31
MORE1=07BD
MOREP=1981,3377,0

[ITEMDEF 04f66]
DEFNAME=i_ttm_l3_6
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0D86
MORE1=072D
MOREP=1837,3462,10

[ITEMDEF 04f67]
DEFNAME=i_ttm_l3_7
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0DA5
MORE1=07F7
MOREP=2039,3493,0

[ITEMDEF 04f68]
DEFNAME=i_ttm_l3_8
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0E0B
MORE1=0840
MOREP=2112,3595,10

[ITEMDEF 04f69]
DEFNAME=i_ttm_l3_9
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0D0A
MORE1=0832
MOREP=2098,3338,0

[ITEMDEF 04f6a]
DEFNAME=i_ttm_l3_10
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0D48
MORE1=0880
MOREP=2176,3400,0

[ITEMDEF 04f6b]
DEFNAME=i_ttm_l3_11
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0DAF
MORE1=0919
MOREP=2329,3503,0

[ITEMDEF 04f6c]
DEFNAME=i_ttm_l3_12
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0B3A
MORE1=0E6A
MOREP=3690,2874,12

[ITEMDEF 04f6d]
DEFNAME=i_ttm_l3_13
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0F67
MORE1=084F
MOREP=2127,3943,3

[ITEMDEF 04f6e]
DEFNAME=i_ttm_l3_14
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0F4D
MORE1=011BF
MOREP=4543,3917,0

[ITEMDEF 04f6f]
DEFNAME=i_ttm_l3_15
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0F39
MORE1=01179
MOREP=4473,3897,0

[ITEMDEF 04f70]
DEFNAME=i_ttm_l3_16
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0EBB
MORE1=012B1
MOREP=4785,3771,0

[ITEMDEF 04f71]
DEFNAME=i_ttm_l3_17
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0F26
MORE1=011F5
MOREP=4597,3878,0

[ITEMDEF 04f72]
DEFNAME=i_ttm_l3_18
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0D44
MORE1=0125C
MOREP=4700,3396,0

[ITEMDEF 04f73]
DEFNAME=i_ttm_l3_19
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0DAD
MORE1=01291
MOREP=4753,3501,0

[ITEMDEF 04f74]
DEFNAME=i_ttm_l3_20
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0C2C
MORE1=011E1
MOREP=4577,3116,0,easy

[ITEMDEF 04f75]
DEFNAME=i_ttm_l3_21
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0CF1
MORE1=01206
MOREP=4614,3313,0

[ITEMDEF 04f76]
DEFNAME=i_ttm_l3_22
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0C3A
MORE1=01136
MOREP=4406,3130,0

[ITEMDEF 04f77]
DEFNAME=i_ttm_l3_23
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0C21
MORE1=01168
MOREP=4456,3105,0,easy

[ITEMDEF 04f78]
DEFNAME=i_ttm_l3_24
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0CB6
MORE1=011B7
MOREP=4535,3254,0

[ITEMDEF 04f79]
DEFNAME=i_ttm_l3_25
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0C61
MORE1=01175
MOREP=4469,3169,0

[ITEMDEF 04f7a]
DEFNAME=i_ttm_l3_26
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0D4A
MORE1=011DE
MOREP=4574,3402,0

[ITEMDEF 04f7b]
DEFNAME=i_ttm_l3_27
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0D11
MORE1=011DE
MOREP=4574,3345,0

[ITEMDEF 04f7c]
DEFNAME=i_ttm_l3_28
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0F44
MORE1=09C6
MOREP=2502,3908,3

[ITEMDEF 04f7d]
DEFNAME=i_ttm_l3_29
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0F7F
MORE1=09CC
MOREP=2508,3967,3

[ITEMDEF 04f7e]
DEFNAME=i_ttm_l3_30
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0FAD
MORE1=09C2
MOREP=2498,4013,3

[ITEMDEF 04f7f]
DEFNAME=i_ttm_l3_31
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Map

ON=@Create
TYPE=T_L3MAP
MORE2=0F70
MORE1=0998
MOREP=2456,3952,3

//[ITEMDEF 04f80] to [ITEMDEF 04f8f] Reserved for more Level 3 Treasure Maps

//LEVEL4 [ITEMDEF 04f90] to [ITEMDEF 04fbf] - Hard Tattered Treasure Maps in Monsters

[ITEMDEF 04f90]
DEFNAME=i_ttm_l4_0
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0249
MORE1=0C34
MOREP=3124,585,5

[ITEMDEF 04f91]
DEFNAME=i_ttm_l4_1
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0DA8
MORE1=0454
MOREP=1108,3496,0

[ITEMDEF 04f92]
DEFNAME=i_ttm_l4_2
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0DAC
MORE1=06EB
MOREP=1771,3500,0

[ITEMDEF 04f93]
DEFNAME=i_ttm_l4_3
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0D8C
MORE1=0476
MOREP=1142,3468,0

[ITEMDEF 04f94]
DEFNAME=i_ttm_l4_4
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0DFD
MORE1=080B
MOREP=2059,3581,0

[ITEMDEF 04f95]
DEFNAME=i_ttm_l4_5
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0D46
MORE1=077B
MOREP=1915,3398,0

[ITEMDEF 04f96]
DEFNAME=i_ttm_l4_6
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0D67
MORE1=0468
MOREP=1128,3431,0

[ITEMDEF 04f97]
DEFNAME=i_ttm_l4_7
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0DB1
MORE1=07FB
MOREP=2043,3505,0

[ITEMDEF 04f98]
DEFNAME=i_ttm_l4_8
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0E28
MORE1=085C
MOREP=2140,3624,0

[ITEMDEF 04f99]
DEFNAME=i_ttm_l4_9
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0D0C
MORE1=0846
MOREP=2118,3340,0

[ITEMDEF 04f9a]
DEFNAME=i_ttm_l4_10
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0D59
MORE1=0853
MOREP=2131,3417,0

[ITEMDEF 04f9b]
DEFNAME=i_ttm_l4_11
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0D91
MORE1=0916
MOREP=2326,3473,0

[ITEMDEF 04f9c]
DEFNAME=i_ttm_l4_12
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0F94
MORE1=086E
MOREP=2158,3988,3

[ITEMDEF 04f9d]
DEFNAME=i_ttm_l4_13
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0F62
MORE1=085B
MOREP=2139,3938,3

[ITEMDEF 04f9e]
DEFNAME=i_ttm_l4_14
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0F53
MORE1=011A9
MOREP=4521,3923,0

[ITEMDEF 04f9f]
DEFNAME=i_ttm_l4_15
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0DC4
MORE1=012A3
MOREP=4771,3524,0

[ITEMDEF 04fa0]
DEFNAME=i_ttm_l4_16
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0EF1
MORE1=012A0
MOREP=4768,3825,0

[ITEMDEF 04fa1]
DEFNAME=i_ttm_l4_17
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0D02
MORE1=01223
MOREP=4643,3330,0

[ITEMDEF 04fa2]
DEFNAME=i_ttm_l4_18
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0D46
MORE1=01270
MOREP=4720,3398,0

[ITEMDEF 04fa3]
DEFNAME=i_ttm_l4_19
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0C34
MORE1=01188
MOREP=4488,3124,0

[ITEMDEF 04fa4]
DEFNAME=i_ttm_l4_20
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0C48
MORE1=011E1
MOREP=4577,3144,0,easy

[ITEMDEF 04fa5]
DEFNAME=i_ttm_l4_21
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0C66
MORE1=01143
MOREP=4419,3174,0

[ITEMDEF 04fa6]
DEFNAME=i_ttm_l4_22
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0C2D
MORE1=0112E
MOREP=4398,3117,0

[ITEMDEF 04fa7]
DEFNAME=i_ttm_l4_23
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0C21
MORE1=01178
MOREP=4472,3105,0,easy

[ITEMDEF 04fa8]
DEFNAME=i_ttm_l4_24
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0CAF
MORE1=0119C
MOREP=4508,3247,0

[ITEMDEF 04fa9]
DEFNAME=i_ttm_l4_25
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0C7D
MORE1=01177
MOREP=4471,3197,0

[ITEMDEF 04faa]
DEFNAME=i_ttm_l4_26
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0D3F
MORE1=011DD
MOREP=4573,3391,0

[ITEMDEF 04fab]
DEFNAME=i_ttm_l4_27
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0D05
MORE1=011E2
MOREP=4578,3333,0

[ITEMDEF 04fac]
DEFNAME=i_ttm_l4_28
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0F34
MORE1=09D2
MOREP=2514,3892,0

[ITEMDEF 04fad]
DEFNAME=i_ttm_l4_29
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0F88
MORE1=09CE
MOREP=2510,3976,3

[ITEMDEF 04fae]
DEFNAME=i_ttm_l4_30
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0FBF
MORE1=09D3
MOREP=2515,4031,0

[ITEMDEF 04faf]
DEFNAME=i_ttm_l4_31
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Map

ON=@Create
TYPE=T_L4MAP
MORE2=0F61
MORE1=0989
MOREP=2441,3937,3

//[ITEMDEF 04fb0] to [ITEMDEF 04fbf] Reserved for more Level 4 Treasure Maps

//LEVEL5 [ITEMDEF 04fc0] to [ITEMDEF 04fef] - Very Hard Tattered Treasure Maps in Monsters

[ITEMDEF 04fc0]
DEFNAME=i_ttm_l5_0
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=021A
MORE1=0550
MOREP=1360,538,1

[ITEMDEF 04fc1]
DEFNAME=i_ttm_l5_1
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0DB2
MORE1=0464
MOREP=1124,3506,0

[ITEMDEF 04fc2]
DEFNAME=i_ttm_l5_2
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0DA1
MORE1=06D2
MOREP=1746,3489,7

[ITEMDEF 04fc3]
DEFNAME=i_ttm_l5_3
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0D92
MORE1=0489
MOREP=1161,3474,0

[ITEMDEF 04fc4]
DEFNAME=i_ttm_l5_4
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0DC3
MORE1=07FA
MOREP=2042,3523,0

[ITEMDEF 04fc5]
DEFNAME=i_ttm_l5_5
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0D6A
MORE1=076B
MOREP=1899,3434,1

[ITEMDEF 04fc6]
DEFNAME=i_ttm_l5_6
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0D5F
MORE1=0818
MOREP=2072,3423,0

[ITEMDEF 04fc7]
DEFNAME=i_ttm_l5_7
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0DCB
MORE1=0808
MOREP=2056,3531,0

[ITEMDEF 04fc8]
DEFNAME=i_ttm_l5_8
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0B11
MORE1=0E79
MOREP=3705,2833,24

[ITEMDEF 04fc9]
DEFNAME=i_ttm_l5_9
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0D17
MORE1=0871
MOREP=2161,3351,10

[ITEMDEF 04fca]
DEFNAME=i_ttm_l5_10
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0D98
MORE1=0933
MOREP=2355,3480,3

[ITEMDEF 04fcb]
DEFNAME=i_ttm_l5_11
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0AF8
MORE1=0E8B
MOREP=3723,2808,20

[ITEMDEF 04fcc]
DEFNAME=i_ttm_l5_12
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0F9C
MORE1=0860
MOREP=2144,3996,0

[ITEMDEF 04fcd]
DEFNAME=i_ttm_l5_13
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0F62
MORE1=086C
MOREP=2156,3938,3

[ITEMDEF 04fce]
DEFNAME=i_ttm_l5_14
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0F79
MORE1=011A2
MOREP=4514,3961,0

[ITEMDEF 04fcf]
DEFNAME=i_ttm_l5_15
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0DD3
MORE1=012B4
MOREP=4788,3539,0

[ITEMDEF 04fd0]
DEFNAME=i_ttm_l5_16
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0F03
MORE1=01228
MOREP=4648,3843,0

[ITEMDEF 04fd1]
DEFNAME=i_ttm_l5_17
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0D1D
MORE1=01231
MOREP=4657,3357,0

[ITEMDEF 04fd2]
DEFNAME=i_ttm_l5_18
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0D6C
MORE1=01274
MOREP=4724,3436,0

[ITEMDEF 04fd3]
DEFNAME=i_ttm_l5_19
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0C1C
MORE1=0119C
MOREP=4508,3100,0

[ITEMDEF 04fd4]
DEFNAME=i_ttm_l5_20
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0CC3
MORE1=01200
MOREP=4608,3267,0

[ITEMDEF 04fd5]
DEFNAME=i_ttm_l5_21
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0C70
MORE1=0112D
MOREP=4397,3184,0

[ITEMDEF 04fd6]
DEFNAME=i_ttm_l5_22
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0C2E
MORE1=01143
MOREP=4419,3118,0

[ITEMDEF 04fd7]
DEFNAME=i_ttm_l5_23
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0CFA
MORE1=011E5
MOREP=4581,3322,0

[ITEMDEF 04fd8]
DEFNAME=i_ttm_l5_24
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0CA0
MORE1=011A7
MOREP=4519,3232,0

[ITEMDEF 04fd9]
DEFNAME=i_ttm_l5_25
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0D71
MORE1=011C8
MOREP=4552,3441,0

[ITEMDEF 04fda]
DEFNAME=i_ttm_l5_26
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0D34
MORE1=011DA
MOREP=4570,3380,0

[ITEMDEF 04fdb]
DEFNAME=i_ttm_l5_27
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE2=0F31
MORE1=09AF
MOREP=2479,3889,3

[ITEMDEF 04fdc]
DEFNAME=i_ttm_l5_28
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE1=09D4
MORE2=0F43
MOREP=2516,3907,0

[ITEMDEF 04fdd]
DEFNAME=i_ttm_l5_29
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE1=09CE
MORE2=0F8E
MOREP=2510,3982,3

[ITEMDEF 04fde]
DEFNAME=i_ttm_l5_30
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE1=09BA
MORE2=0F75
MOREP=2490,3957,0

[ITEMDEF 04fdf]
DEFNAME=i_ttm_l5_31
ID=i_map
NAME=Tattered Treasure Map

CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Map

ON=@Create
TYPE=T_L5MAP
MORE1=0969
MORE2=0F44
MOREP=2409,3908,0

//**********************************************
//BASE TREASURE MAPS FOR RESTEST

[ITEMDEF 04ffa]
//Very Easy Treasure Map Random Monster Spawn
DEFNAME=i_treas_spawn_veasy
ID=I_HOLE
TYPE=T_SPAWN_CHAR
CATEGORY=Maps - Treasure
SUBSECTION=Level 1
DESCRIPTION=Monster Spawn

ON=@Create
	TIMER=0
	MOREP=0,1,3
	ATTR=attr_move_never|attr_invis
	MORE1={ c_ettin 1 c_skeleton 1 c_troll_w_axe 1 c_orc_lord 1 }

ON=@TIMER
	IF ( <ATTR>&attr_identified )
		IF <MORE2>
			RETURN 1	// wait for death of monsters.
		ENDIF
		REMOVE	// monsters where killed so clean up
		// We can now unlock the chest ?
		RETURN 1
	ENDIF
	ATTR= ( <ATTR>|attr_identified )
	RETURN 0 // create our monster.

[ITEMDEF 04ffb]
//Easy Treasure Map Random Monster Spawn
DEFNAME=i_treas_spawn_easy
ID=I_HOLE
TYPE=T_SPAWN_CHAR
CATEGORY=Maps - Treasure
SUBSECTION=Level 2
DESCRIPTION=Monster Spawn

ON=@Create
	TIMER=0
	MOREP=0,1,3
	MORE2=0
	ATTR=attr_move_never|attr_invis
	MORE1={ c_m_orc_mage 1 c_orc_lord 1 c_gargoyle 1 c_gazer 1 c_m_hellhound 1 c_elem_earth 1 }

ON=@TIMER
 IF <ATTR>&attr_identified
	IF <MORE2>
		RETURN 1	// wait for death of monsters.
	ENDIF
	REMOVE	// monsters where killed so clean up
	// We can now unlock the chest ?
	RETURN 1
 ENDIF
 ATTR=<ATTR>|attr_identified
 RETURN 0 // create our monster.

[ITEMDEF 04ffc]
//Average Treasure Map Random Monster Spawn
DEFNAME=i_treas_spawn_avg
ID=I_HOLE
TYPE=T_SPAWN_CHAR
CATEGORY=Maps - Treasure
SUBSECTION=Level 3
DESCRIPTION=Monster Spawn

ON=@Create
TIMER=0
MOREP=0,1,3
ATTR=attr_move_never|attr_invis
MORE1={ c_liche 1 c_m_ogre_lord 1 c_elem_air 1 c_elem_water 1 c_elem_fire 1 }

ON=@TIMER
 IF <ATTR>&attr_identified
	IF <MORE2>
		RETURN 1	// wait for death of monsters.
	ENDIF
	REMOVE	// monsters where killed so clean up
	// We can now unlock the chest ?
	RETURN 1
 ENDIF
 ATTR=<ATTR>|attr_identified
 RETURN 0 // create our monster.

[ITEMDEF 04ffd]
//Hard Treasure Map Random Monster Spawn
DEFNAME=i_treas_spawn_hard
ID=I_HOLE
TYPE=T_SPAWN_CHAR
CATEGORY=Maps - Treasure
SUBSECTION=Level 4
DESCRIPTION=Monster Spawn

ON=@Create
TIMER=0
MOREP=0,1,3
MORE2=0
ATTR=attr_move_never|attr_invis
MORE1={ c_liche 1 c_m_liche_lord 1 c_DAEMON 1 c_DAEMON_W_SWORD 1 c_m_gazer_elder 1 c_m_ogre_lord 1 c_m_orc_mage 1 }

ON=@TIMER
 IF <ATTR>&attr_identified
	IF <MORE2>
		RETURN 1	// wait for death of monsters.
	ENDIF
	REMOVE	// monsters where killed so clean up
	// We can now unlock the chest ?
	RETURN 1
 ENDIF
 ATTR=<ATTR>|attr_identified
 RETURN 0 // create our monster.

[ITEMDEF 04ffe]
//Treasure Map Very Hard Random Monster Spawn
DEFNAME=i_treas_spawn_vhard
ID=I_HOLE
TYPE=T_SPAWN_CHAR
CATEGORY=Maps - Treasure
SUBSECTION=Level 5
DESCRIPTION=Monster Spawn

ON=@Create
MOREP=0,1,3
MORE2=0
TIMER=0
ATTR=attr_move_never|attr_invis
MORE1={ C_M_BALRON 1 c_m_liche_lord 1 c_DAEMON 1 c_DAEMON_W_SWORD 1 c_m_elem_poison 1 c_m_elem_poison 1 c_m_elem_blood 1 c_m_ogre_lord 1}

ON=@TIMER
 IF <ATTR>&attr_identified
	IF <MORE2>
		RETURN 1	// wait for death of monsters.
	ENDIF
	REMOVE	// monsters where killed so clean up
	// We can now unlock the chest ?
	RETURN 1
 ENDIF
 ATTR=<ATTR>|attr_identified
 RETURN 0 // create our monster.

//*******************************************************************
// Treasure Maps

[TEMPLATE TM_LOOT_1]
CONTAINER=i_chest_treasure //Metal Chest
RANDMAGICITEM

[TEMPLATE TM_LOOT_2]
CONTAINER=i_chest_treasure //Metal Chest
MORE2=2
ITEM=RANDOM_MEAGER_MAGIC_GOODIE
ITEM={ RANDOM_MEAGER_MAGIC_LOOT 1 RANDOM_POOR_MAGIC_LOOT 1 }
ITEM=RANDOM_MEAGER_MAGIC_LOOT
ITEM=i_gold,{1500 2000}

[TEMPLATE TM_LOOT_3]
CONTAINER=i_chest_treasure //Metal Chest
MORE2=03
ITEM=RANDOM_AVERAGE_MAGIC_GOODIE
ITEM={ RANDOM_AVERAGE_MAGIC_LOOT 1 RANDOM_MEAGER_MAGIC_LOOT 1 }
ITEM=RANDOM_AVERAGE_MAGIC_LOOT
ITEM=i_gold,{2000 2500}

[TEMPLATE TM_LOOT_4]
CONTAINER=i_chest_treasure //Metal Chest
MORE2=04
ITEM=RANDOM_RICH_MAGIC_GOODIE
ITEM={ RANDOM_RICH_MAGIC_LOOT 1 RANDOM_AVERAGE_MAGIC_LOOT 1 }
ITEM=RANDOM_RICH_MAGIC_LOOT
ITEM=i_gold,{2500 3000}

[TEMPLATE 101905]
DEFNAME=TM_LOOT_5
CONTAINER=i_chest_treasure //Metal Chest
MORE2=05
ITEM=RANDOM_FILTHY_RICH_MAGIC_GOODIE
ITEM={ RANDOM_FILTHY_RICH_MAGIC_LOOT 1 RANDOM_RICH_MAGIC_LOOT 1 }
ITEM=RANDOM_FILTHY_RICH_MAGIC_LOOT
ITEM=i_gold,{3500 4000}

//****

[TEMPLATE ttm_LVL1_1]
ITEM={ i_ttm_l1_0 1 i_ttm_l1_1 1 i_ttm_l1_2 1 i_ttm_l1_3 1 i_ttm_l1_4 1 i_ttm_l1_5 1 i_ttm_l1_6 1 i_ttm_l1_7 1 i_ttm_l1_8 1 i_ttm_l1_9 1 i_ttm_l1_10 1 i_ttm_l1_11 1 i_ttm_l1_12 1 i_ttm_l1_13 1 i_ttm_l1_14 1 i_ttm_l1_15 1 }

[TEMPLATE ttm_LVL1_2]
ITEM={ i_ttm_l1_16 1 i_ttm_l1_17 1 i_ttm_l1_18 1 i_ttm_l1_19 1 i_ttm_l1_20 1 i_ttm_l1_21 1 i_ttm_l1_22 1 i_ttm_l1_23 1 i_ttm_l1_24 1 i_ttm_l1_25 1 i_ttm_l1_26 1 i_ttm_l1_27 1 i_ttm_l1_28 1 i_ttm_l1_29 1 i_ttm_l1_30 1 i_ttm_l1_31 1 }

[TEMPLATE ttm_LVL2_1]
ITEM={ i_ttm_l2_0 1 i_ttm_l2_1 1 i_ttm_l2_2 1 i_ttm_l2_3 1 i_ttm_l2_4 1 i_ttm_l2_5 1 i_ttm_l2_6 1 i_ttm_l2_7 1 i_ttm_l2_8 1 i_ttm_l2_9 1 i_ttm_l2_10 1 i_ttm_l2_11 1 i_ttm_l2_12 1 i_ttm_l2_13 1 i_ttm_l2_14 1 i_ttm_l2_15 1 }

[TEMPLATE ttm_LVL2_2]
ITEM={ i_ttm_l2_16 1 i_ttm_l2_17 1 i_ttm_l2_18 1 i_ttm_l2_19 1 i_ttm_l2_20 1 i_ttm_l2_21 1 i_ttm_l2_22 1 i_ttm_l2_23 1 i_ttm_l2_24 1 i_ttm_l2_25 1 i_ttm_l2_26 1 i_ttm_l2_27 1 i_ttm_l2_28 1 i_ttm_l2_29 1 i_ttm_l2_30 1 i_ttm_l2_31 1 }

[TEMPLATE ttm_LVL3_1]
ITEM={ i_ttm_l3_0 1 i_ttm_l3_1 1 i_ttm_l3_2 1 i_ttm_l3_3 1 i_ttm_l3_4 1 i_ttm_l3_5 1 i_ttm_l3_6 1 i_ttm_l3_7 1 i_ttm_l3_8 1 i_ttm_l3_9 1 i_ttm_l3_10 1 i_ttm_l3_11 1 i_ttm_l3_12 1 i_ttm_l3_13 1 i_ttm_l3_14 1 i_ttm_l3_15 1 }

[TEMPLATE ttm_LVL3_2]
ITEM={ i_ttm_l3_16 1 i_ttm_l3_17 1 i_ttm_l3_18 1 i_ttm_l3_19 1 i_ttm_l3_20 1 i_ttm_l3_21 1 i_ttm_l3_22 1 i_ttm_l3_23 1 i_ttm_l3_24 1 i_ttm_l3_25 1 i_ttm_l3_26 1 i_ttm_l3_27 1 i_ttm_l3_28 1 i_ttm_l3_29 1 i_ttm_l3_30 1 i_ttm_l3_31 1 }

[TEMPLATE ttm_LVL4_1]
ITEM={ i_ttm_l4_0 1 i_ttm_l4_1 1 i_ttm_l4_2 1 i_ttm_l4_3 1 i_ttm_l4_4 1 i_ttm_l4_5 1 i_ttm_l4_6 1 i_ttm_l4_7 1 i_ttm_l4_8 1 i_ttm_l4_9 1 i_ttm_l4_10 1 i_ttm_l4_11 1 i_ttm_l4_12 1 i_ttm_l4_13 1 i_ttm_l4_14 1 i_ttm_l4_15 1 }

[TEMPLATE ttm_LVL4_2]
ITEM={ i_ttm_l4_16 1 i_ttm_l4_17 1 i_ttm_l4_18 1 i_ttm_l4_19 1 i_ttm_l4_20 1 i_ttm_l4_21 1 i_ttm_l4_22 1 i_ttm_l4_23 1 i_ttm_l4_24 1 i_ttm_l4_25 1 i_ttm_l4_26 1 i_ttm_l4_27 1 i_ttm_l4_28 1 i_ttm_l4_29 1 i_ttm_l4_30 1 i_ttm_l4_31 1 }

[TEMPLATE ttm_LVL5_1]
ITEM={ i_ttm_l5_0 1 i_ttm_l5_1 1 i_ttm_l5_2 1 i_ttm_l5_3 1 i_ttm_l5_4 1 i_ttm_l5_5 1 i_ttm_l5_6 1 i_ttm_l5_7 1 i_ttm_l5_8 1 i_ttm_l5_9 1 i_ttm_l5_10 1 i_ttm_l5_11 1 i_ttm_l5_12 1 i_ttm_l5_13 1 i_ttm_l5_14 1 i_ttm_l5_15 1 }

[TEMPLATE ttm_LVL5_2]
ITEM={ i_ttm_l5_16 1 i_ttm_l5_17 1 i_ttm_l5_18 1 i_ttm_l5_19 1 i_ttm_l5_20 1 i_ttm_l5_21 1 i_ttm_l5_22 1 i_ttm_l5_23 1 i_ttm_l5_24 1 i_ttm_l5_25 1 i_ttm_l5_26 1 i_ttm_l5_27 1 i_ttm_l5_28 1 i_ttm_l5_29 1 i_ttm_l5_30 1 i_ttm_l5_31 1 }

//****

[TEMPLATE ttm_LVL1]
ITEM={ ttm_LVL1_1 1 ttm_LVL1_2 1 }
//TYPE=T_L1MAP

[TEMPLATE ttm_LVL2]
ITEM={ ttm_LVL2_1 1 ttm_LVL2_2 1 }
//TYPE=T_L2MAP

[TEMPLATE ttm_LVL3]
ITEM={ ttm_LVL3_1 1 ttm_LVL3_2 1 }
//TYPE=T_L3MAP

[TEMPLATE ttm_LVL4]
ITEM={ ttm_LVL4_1 1 ttm_LVL4_2 1 }
//TYPE=T_L4MAP

[TEMPLATE ttm_LVL5]
ITEM={ ttm_LVL5_1 1 ttm_LVL5_2 1 }
//TYPE=T_L5MAP

[EOF]
