VERSIOn=0.54

// 03.11.2001, MoNK: Dungeon Treasures added
// 18.07.2001, MoNK: auto fix of treasures by clicking
// 13.05.2001, MoNK: remake of ttm
// 12.05.2001, MoNK: some fixes for ttm
// 01.05.2001, MoNK: VALUE for ttm
// 29.04.2001, MoNK: mineable treasures fixed: id = i_gold, dispid = i_treasure; sound added
// 28.04.2001, MoNK: treasure hunting for miners

//####################################
// "Dungeon Treasure Chests"
//####################################

[TYPEDEF t_key_treasure]
On=@Dclick
	target Which lock do you want to try to unlock with this <name>?
	return 1

On=@Click
	message Strange <name> with many grooves
	return 1

On=@Targon_item
	if <src.targ.type> != t_dungeon_treasure_chest
		if rand(5) == 0
			sfx 0142
			src.sysmessage You have try to unlock the <src.targ.name> but key brakes!
			remove
		else
			src.sysmessage You insert <name> into lock but nothing matter
		endif
		return 1
	endif

	if <morez> == <src.targ.morez>
		src.targ.type = t_container
		src.targ.timer = 600
		src.targ.attr = attr_decay
		src.targ.sfx 0ec
		remove
	else
		if rand(5) == 0
			sfx 0142
			src.sysmessage You have try to unlock the <src.targ.name> but key brakes!
			remove
		else
			src.sysmessage You insert <name> into lock but nothing matter
		endif
	endif
	return 1

[ITEMDEF i_key_treasure_copper]
NAME=Copper key
ID=i_key_copper

On=@Create
	type = t_key_treasure
	morez = { 1 20 }

[ITEMDEF i_key_treasure_iron]
NAME=Iron key
ID=i_key_iron

On=@Create
	type = t_key_treasure
	morez = { 1 20 }

[ITEMDEF i_key_treasure_silver]
NAME=Silver key
ID=i_key_iron

On=@Create
	color = color_o_silver
	type = t_key_treasure
	morez = { 1 20 }

[ITEMDEF i_key_treasure_gold]
NAME=Golden key
ID=i_key_gold

On=@Create
	type = t_key_treasure
	morez = { 1 20 }

[ITEMDEF i_key_treasure_rusty]
NAME=Rusty key
ID=i_key_rusty

On=@Create
	type = t_key_treasure
	morez = { 1 20 }

[ITEMDEF i_key_treasure_copper_old]
NAME=Old copper key
ID=i_key_copper

On=@Create
	color = colors_green
	type = t_key_treasure
	morez = { 1 20 }

[TYPEDEF t_dungeon_treasure_chest]
On=@DClick
	message This <name> is locked.
	return 1

On=@Pickup_ground
	if !<src.isgm>
		return 1
	endif

[ITEMDEF i_dungeon_treasure_chest1]
NAME=Treasure Chest
ID=i_chest_metal_brass

On=@Create
	type = t_dungeon_treasure_chest
	color = { color_o_gold 1 color_o_silver 1 color_o_verite 1 color_o_orion 1 color_o_agapite 1 color_o_shadow 1 }
	timer = -1
	morez = { 1 20 }

[ITEMDEF i_dungeon_treasure_chest2]
NAME=Treasure Chest
ID=i_chest_metal

On=@Create
	type = t_dungeon_treasure_chest
	color = { color_o_gold 1 color_o_silver 1 color_o_verite 1 color_o_orion 1 color_o_agapite 1 color_o_shadow 1 }
	timer = -1
	morez = { 1 20 }

[ITEMDEF i_dungeon_treasure_chest3]
NAME=Treasure Chest
ID=i_chest_wooden_brass

On=@Create
	type = t_dungeon_treasure_chest
	color = { color_o_gold 1 color_o_silver 1 color_o_verite 1 color_o_orion 1 color_o_agapite 1 color_o_shadow 1 }
	timer = -1
	morez = { 1 20 }

//#####################
// Dungeon Treasures Templates
//#####################

[TEMPLATE temp_dung_treas_valuables1]
	CONTAINER = { i_dungeon_treasure_chest1 1 i_dungeon_treasure_chest2 1 i_dungeon_treasure_chest3 1 }
	ITEM i_gold, { 1000 2500 }
	ITEM i_ingot_gold, { 2 3 }
	ITEM i_ingot_silver, { 2 3 }

CATEGORY=Item Templates
SUBSECTION=Dungeon Treasure Chests
DESCRIPTION=Valuables 1

[TEMPLATE temp_dung_treas_valuables2]
	CONTAINER = { i_dungeon_treasure_chest1 1 i_dungeon_treasure_chest2 1 i_dungeon_treasure_chest3 1 }
	ITEM i_gold, { 1500 3000 }
	ITEM i_ingot_gold, { 2 4 }
	ITEM i_ingot_silver, { 2 4 }

CATEGORY=Item Templates
SUBSECTION=Dungeon Treasure Chests
DESCRIPTION=Valuables 2

[TEMPLATE temp_dung_treas_valuables3]
	CONTAINER = { i_dungeon_treasure_chest1 1 i_dungeon_treasure_chest2 1 i_dungeon_treasure_chest3 1 }
	ITEM i_gold, { 2000 3500 }
	ITEM i_ingot_gold, { 3 6 }
	ITEM i_ingot_silver, { 3 6 }

CATEGORY=Item Templates
SUBSECTION=Dungeon Treasure Chests
DESCRIPTION=Valuables 3

[TEMPLATE temp_dung_treas_valuables4]
	CONTAINER = { i_dungeon_treasure_chest1 1 i_dungeon_treasure_chest2 1 i_dungeon_treasure_chest3 1 }
	ITEM i_gold, { 2500 4000 }
	ITEM i_ingot_gold, { 4 8 }
	ITEM i_ingot_silver, { 4 8 }

CATEGORY=Item Templates
SUBSECTION=Dungeon Treasure Chests
DESCRIPTION=Valuables 4

[TEMPLATE temp_dung_treas_valuables5]
	CONTAINER = { i_dungeon_treasure_chest1 1 i_dungeon_treasure_chest2 1 i_dungeon_treasure_chest3 1 }
	ITEM i_gold, { 3000 5000 }
	ITEM i_ingot_gold, { 5 10 }
	ITEM i_ingot_silver, { 5 10 }

CATEGORY=Item Templates
SUBSECTION=Dungeon Treasure Chests
DESCRIPTION=Valuables 5

[TEMPLATE temp_dung_treas_battle1]
	CONTAINER = { i_dungeon_treasure_chest1 1 i_dungeon_treasure_chest2 1 i_dungeon_treasure_chest3 1 }
	ITEM i_gold, { 1000 1500 }
	ITEM RANDOM_POOR_MAGIC_LOOT
	ITEM RANDOM_MEAGER_MAGIC_LOOT

CATEGORY=Item Templates
SUBSECTION=Dungeon Treasure Chests
DESCRIPTION=Battle 1

[TEMPLATE temp_dung_treas_battle2]
	CONTAINER = { i_dungeon_treasure_chest1 1 i_dungeon_treasure_chest2 1 i_dungeon_treasure_chest3 1 }
	ITEM i_gold, { 1500 2000 }
	ITEM RANDOM_MEAGER_MAGIC_LOOT
	ITEM RANDOM_AVERAGE_MAGIC_LOOT

CATEGORY=Item Templates
SUBSECTION=Dungeon Treasure Chests
DESCRIPTION=Battle 2

[TEMPLATE temp_dung_treas_battle3]
	CONTAINER = { i_dungeon_treasure_chest1 1 i_dungeon_treasure_chest2 1 i_dungeon_treasure_chest3 1 }
	ITEM i_gold, { 2000 2500 }
	ITEM RANDOM_AVERAGE_MAGIC_LOOT
	ITEM RANDOM_RICH_MAGIC_LOOT

CATEGORY=Item Templates
SUBSECTION=Dungeon Treasure Chests
DESCRIPTION=Battle 3

[TEMPLATE temp_dung_treas_battle4]
	CONTAINER = { i_dungeon_treasure_chest1 1 i_dungeon_treasure_chest2 1 i_dungeon_treasure_chest3 1 }
	ITEM i_gold, { 2500 3000 }
	ITEM RANDOM_RICH_MAGIC_LOOT
	ITEM RANDOM_FILTHY_RICH_MAGIC_LOOT

CATEGORY=Item Templates
SUBSECTION=Dungeon Treasure Chests
DESCRIPTION=Battle 4

[TEMPLATE temp_dung_treas_battle5]
	CONTAINER = { i_dungeon_treasure_chest1 1 i_dungeon_treasure_chest2 1 i_dungeon_treasure_chest3 1 }
	ITEM i_gold, { 3000 3500 }
	ITEM RANDOM_FILTHY_RICH_MAGIC_LOOT
	ITEM RANDOM_FILTHY_RICH_MAGIC_LOOT

CATEGORY=Item Templates
SUBSECTION=Dungeon Treasure Chests
DESCRIPTION=Battle 5

[TEMPLATE temp_dung_treas_magery1]
	CONTAINER = { i_dungeon_treasure_chest1 1 i_dungeon_treasure_chest2 1 i_dungeon_treasure_chest3 1 }
	ITEM i_gold, { 1000 1500 }
	ITEM i_reag_mandrake_root, { 10 50 }
	ITEM i_reag_ginseng, { 10 50 }
	ITEM i_reag_garlic, { 10 50 }
	ITEM i_reag_blood_moss, { 10 50 }
	ITEM i_reag_spider_silk, { 10 50 }
	ITEM i_reag_sulfur_ash, { 10 50 }
	ITEM i_reag_nightshade, { 10 50 }
	ITEM i_reag_black_pearl, { 10 50 }
	ITEM i_robe
	COLOR { color_o_mytheril 1 color_o_verite 1 }

CATEGORY=Item Templates
SUBSECTION=Dungeon Treasure Chests
DESCRIPTION=Magery 1

[TEMPLATE temp_dung_treas_magery2]
	CONTAINER = { i_dungeon_treasure_chest1 1 i_dungeon_treasure_chest2 1 i_dungeon_treasure_chest3 1 }
	ITEM i_gold, { 1000 1500 }
	ITEM i_reag_mandrake_root, { 30 70 }
	ITEM i_reag_ginseng, { 30 70 }
	ITEM i_reag_garlic, { 30 70 }
	ITEM i_reag_blood_moss, { 30 70 }
	ITEM i_reag_spider_silk, { 30 70 }
	ITEM i_reag_sulfur_ash, { 30 70 }
	ITEM i_reag_nightshade, { 30 70 }
	ITEM i_reag_black_pearl, { 30 70 }
	ITEM i_robe
	COLOR { color_o_mytheril 1 color_o_verite 1 }

CATEGORY=Item Templates
SUBSECTION=Dungeon Treasure Chests
DESCRIPTION=Magery 2

[TEMPLATE temp_dung_treas_magery3]
	CONTAINER = { i_dungeon_treasure_chest1 1 i_dungeon_treasure_chest2 1 i_dungeon_treasure_chest3 1 }
	ITEM i_gold, { 1000 1500 }
	ITEM i_reag_mandrake_root, { 40 80 }
	ITEM i_reag_ginseng, { 40 80 }
	ITEM i_reag_garlic, { 40 80 }
	ITEM i_reag_blood_moss, { 40 80 }
	ITEM i_reag_spider_silk, { 40 80 }
	ITEM i_reag_sulfur_ash, { 40 80 }
	ITEM i_reag_nightshade, { 40 80 }
	ITEM i_reag_black_pearl, { 40 80 }
	ITEM i_robe
	COLOR { color_o_mytheril 1 color_o_verite 1 }

CATEGORY=Item Templates
SUBSECTION=Dungeon Treasure Chests
DESCRIPTION=Magery 3

[TEMPLATE temp_dung_treas_magery4]
	CONTAINER = { i_dungeon_treasure_chest1 1 i_dungeon_treasure_chest2 1 i_dungeon_treasure_chest3 1 }
	ITEM i_gold, { 1000 1500 }
	ITEM i_reag_mandrake_root, { 50 90 }
	ITEM i_reag_ginseng, { 50 90 }
	ITEM i_reag_garlic, { 50 90 }
	ITEM i_reag_blood_moss, { 50 90 }
	ITEM i_reag_spider_silk, { 50 90 }
	ITEM i_reag_sulfur_ash, { 50 90 }
	ITEM i_reag_nightshade, { 50 90 }
	ITEM i_reag_black_pearl, { 50 90 }
	ITEM i_robe
	COLOR { color_o_mytheril 1 color_o_verite 1 }

CATEGORY=Item Templates
SUBSECTION=Dungeon Treasure Chests
DESCRIPTION=Magery 4

[TEMPLATE temp_dung_treas_magery5]
	CONTAINER = { i_dungeon_treasure_chest1 1 i_dungeon_treasure_chest2 1 i_dungeon_treasure_chest3 1 }
	ITEM i_gold, { 1000 1500 }
	ITEM i_reag_mandrake_root, { 50 100 }
	ITEM i_reag_ginseng, { 50 100 }
	ITEM i_reag_garlic, { 50 100 }
	ITEM i_reag_blood_moss, { 50 100 }
	ITEM i_reag_spider_silk, { 50 100 }
	ITEM i_reag_sulfur_ash, { 50 100 }
	ITEM i_reag_nightshade, { 50 100 }
	ITEM i_reag_black_pearl, { 50 100 }
	ITEM i_robe
	COLOR { color_o_mytheril 1 color_o_verite 1 }

CATEGORY=Item Templates
SUBSECTION=Dungeon Treasure Chests
DESCRIPTION=Magery 5









//#############################
// "Mineable" treasures
//#############################

[ITEMDEF i_treasure_pit]
NAME=pit
ID=i_hole
TYPE=t_normal

On=@Create
	more = 1

On=@Dclick
	if <src.isgm>
		if <more> == 1
			src.newitem i_treasure_1
		endif
		if <more> == 2
			src.newitem i_treasure_2
		endif
		if <more> == 3
			src.newitem i_treasure_3
		endif
		if <more> == 4
			src.newitem i_treasure_4
		endif
		src.act.equip
	endif
	return 1

On=@Timer
	remove
	return 1

[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 }
color_treasure_chest	045e

[TYPEDEF t_ttm]

On=@DClick
	if !<src.restest t_weapon_mace_pick>	// any pickaxe
		src.message Where is your Pickaxe?
		return 1
	endif

	if <src.cartography> < (<more2> * 10.0) + 50.0)
		src.message You're not a good enough cartographer for this!
		return 1
	endif

	if <cont> != <src.findlayer(layer_pack).serial>
		src.message To deciphering this <name> you must have it in your backpack.
		return 1
	endif

	if <more2> < 1
		src.sysmessage Warning! This <name> is broken! Call GM now! More2 = <more2>
		return 1
	endif
	if <more2> > 5
		src.sysmessage Warning! This <name> is broken! Call GM now! More2 = <more2>
		return 1
	endif

	more = <morex>

	if <more> < 0ffff
		src.home = <src.p>
		src.p = <morep>
		src.newitem <var.tmtiles>	// place trigger random tile on UO Map
		more2 = (<more2> - 1)
		doswitch <more2>
			src.act.type = t_l1map_chest
			src.act.type = t_l2map_chest
			src.act.type = t_l3map_chest
			src.act.type = t_l4map_chest
			src.act.type = t_l5map_chest
		enddo
		src.act.timer = -1
		src.act.p = <morep>
		src.act.attr = attr_static | attr_move_never
		src.act.link = <serial>
		src.p = <src.home>	// put us back where we really are
		name = Deciphered Treasure Map
		type = t_map
		more1 = ((<morex> - 180) * 010000) + (<morey> - 180)
		more2 = ((<morex> + 180) * 010000) + (<morey> + 180)
		pin = 105,105		// dead center
		return 0
	endif

//============
// Old TTM types
//============

[TYPEDEF t_l1map]	// LEVEL1MAP Deciphering

On=@DClick
	more2 = 1
	type = t_ttm
	src.sysmessage Map fixed. Click one more time.
	return 1

[TYPEDEF t_l2map]	// LEVEL2MAP Deciphering

On=@DClick
	more2 = 2
	type = t_ttm
	src.sysmessage Map fixed. Click one more time.
	return 1

[TYPEDEF t_l3map]	// LEVEL3MAP Deciphering

On=@DClick
	more2 = 3
	type = t_ttm
	src.sysmessage Map fixed. Click one more time.
	return 1

[TYPEDEF t_l4map]	// LEVEL4MAP Deciphering

On=@DClick
	more2 = 4
	type = t_ttm
	src.sysmessage Map fixed. Click one more time.
	return 1

[TYPEDEF t_l5map]	// LEVEL5MAP Deciphering

On=@DClick
	more2 = 5
	type = t_ttm
	src.sysmessage Map fixed. Click one more time.
	return 1

//======================
// Treasure map Chest Spawns
//======================

[FUNCTION f_map_chest_create]	// <argn> - level of treasure
	src.anim 11
	sfx 0126
	if <argn> == 5
		src.newitem tm_loot_5 //Treasure map random poor loot
	elseif <argn> == 4
		src.newitem tm_loot_4
	elseif <argn> == 3
		src.newitem tm_loot_3
	elseif <argn> == 2
		src.newitem tm_loot_2
	else
		src.newitem tm_loot_1
	endif
	src.act.p=<src.p>
	doswitch <src.dir>
		src.move=0,1
		src.move=-1,1
		src.move=-1,0
		src.move=-1,-1
		src.move=0,-1
		src.move=1,-1
		src.move=1,0
		src.move=1,1
	enddo
	src.message Wow! A treasure! Oops!
	if <link> != 04fffffff
		if <link.type> == t_map
			link.remove
		endif
	endif
	if <argn> == 5
		src.newitem i_Treas_Spawn_VHard //Treasure map very hard monster spawn
		src.act.p = <src.p>
		src.newitem i_Treas_Spawn_VHard
		src.act.p = <src.p>
		src.newitem i_Treas_Spawn_VHard
		src.act.p = <src.p>
	elseif <argn> == 4
		src.newitem i_Treas_Spawn_Hard //Treasure map hard monster spawn
		src.act.p = <src.p>
		src.newitem i_Treas_Spawn_Hard
		src.act.p = <src.p>
		src.newitem i_Treas_Spawn_Hard
		src.act.p = <src.p>
	elseif <argn> == 3
		src.newitem i_Treas_Spawn_Avg //Treasure map average monster spawn
		src.act.p = <src.p>
		src.newitem i_Treas_Spawn_Avg
		src.act.p = <src.p>
		src.newitem i_Treas_Spawn_Avg
		src.act.p = <src.p>
	elseif <argn> == 2
		src.newitem i_Treas_Spawn_Easy //Treasure map easy monster spawn
		src.act.p = <src.p>
		src.newitem i_Treas_Spawn_Easy
		src.act.p = <src.p>
		src.newitem i_Treas_Spawn_Easy
		src.act.p = <src.p>
	else
		src.newitem i_Treas_Spawn_VEasy //Treasure map very easy monster spawn
		src.act.p = <src.p>
		src.newitem i_Treas_Spawn_VEasy
		src.act.p = <src.p>
		src.newitem i_Treas_Spawn_VEasy
		src.act.p = <src.p>
	endif
	remove
	return 1


[TYPEDEF t_l1map_chest]

On=@DClick
	if <distance> > 2
		return 1
	endif
	if <link.cont.serial> != <src.findlayer(layer_pack).serial>
		return 1
	endif
	if (<src.findlayer(layer_hand1).id> == id(i_pickaxe)) && (<src.mining> > 50.0)
		f_map_chest_create 1
		return 1
	endif
	return 1

[TYPEDEF t_l2map_chest]

On=@DClick
	if <distance> > 2
		return 1
	endif
	if <link.cont.serial> != <src.findlayer(layer_pack).serial>
		return 1
	endif
	if (<src.findlayer(layer_hand1).id> == id(i_pickaxe)) && (<src.mining>>60.0)
		f_map_chest_create 2
		return 1
	endif
	return 1

[TYPEDEF t_l3map_chest]

On=@DClick
	if <distance> > 2
		return 1
	endif
	if <link.cont.serial> != <src.findlayer(layer_pack).serial>
		return 1
	endif
	if (<src.findlayer(layer_hand1).id> == id(i_pickaxe)) && (<src.mining>>70.0)
		f_map_chest_create 3
		return 1
	endif
	return 1

[TYPEDEF t_l4map_chest]

On=@DClick
	if <distance> > 2
		return 1
	endif
	if <link.cont.serial> != <src.findlayer(layer_pack).serial>
		return 1
	endif
	if (<src.findlayer(layer_hand1).id> == id(i_pickaxe)) && (<src.mining>>80.0)
		f_map_chest_create 4
		return 1
	endif
	return 1

[TYPEDEF t_l5map_chest]

On=@DClick
	if <distance> > 2
		return 1
	endif
	if <link.cont.serial> != <src.findlayer(layer_pack).serial>
		return 1
	endif
	if (<src.findlayer(layer_hand1).id> == id(i_pickaxe)) && (<src.mining> > 90.0)
		f_map_chest_create 5
		return 1
	endif
	return 1

[ITEMDEF i_chest_treasure]
ID=i_chest_metal

On=@Create
	type = t_container_locked
	attr = attr_static | attr_move_never
	color = color_treasure_chest
	more1 = 1
	more2 = 1 // the level of the chest
	timer = 900

On=@DClick
	if (<type> == t_container_locked) || (<type> == 02)
		src.message This chest is locked!
		return 1
	endif
	if <more> == 2
		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
	endif

	//***Creating Monster on Opening of Treasure Chest depending on Map Difficulty

	if <more1> == 1
		more1 = 2
		timer = 900
		sfx 01fe
		if <more2> == 1
			src.newitem i_Treas_Spawn_VEasy // Treasure map random very easy monster spawn
			src.act.p = <src.p>
			src.newitem i_Treas_Spawn_VEasy
			src.act.p = <src.p>
			src.newitem i_Treas_Spawn_VEasy
			src.act.p = <src.p>
			return 1
		elseif <more2> == 2
			src.newitem i_Treas_Spawn_Easy // Treasure map random easy monster spawn
			src.act.p = <src.p>
			src.newitem i_Treas_Spawn_Easy
			src.act.p = <src.p>
			src.newitem i_Treas_Spawn_Easy
			src.act.p = <src.p>
			return 1
		elseif <more2> == 3
			src.newitem i_Treas_Spawn_Avg // Treasure map random average monster spawn
			src.act.p = <src.p>
			src.newitem i_Treas_Spawn_Avg
			src.act.p = <src.p>
			src.newitem i_Treas_Spawn_Avg
			src.act.p = <src.p>
			return 1
		elseif <more2> == 4
			src.newitem i_Treas_Spawn_Hard // Treasure map random hard monster spawn
			src.act.p = <src.p>
			src.newitem i_Treas_Spawn_Hard
			src.act.p = <src.p>
			src.newitem i_Treas_Spawn_Hard
			src.act.p = <src.p>
			return 1
		elseif <more2> == 5
			src.newitem i_Treas_Spawn_VHard // Treasure map random very hard monster spawn
			src.act.p = <src.p>
			src.newitem i_Treas_Spawn_VHard
			src.act.p = <src.p>
			src.newitem i_Treas_Spawn_VHard
			src.act.p = <src.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
VALUE=10000

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	TYPE=t_ttm
	morep = 2353,3448,0
	more2 = 1	// level 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1133,3403,0
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1142,3509,0
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1726,3507,3
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1146,3434,0
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2026,3474,0
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1885,3437,10
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2056,3437,0
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2059,3562,0
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 3621,2867,33
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2169,3363,10
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2390,3513,3
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 3670,2894,17
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2128,3985,3
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2162,3896,0
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4467,3944,0
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4832,3624,0
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4632,3877,0
	more2 = 1

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


CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4666,3377,0
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4717,3468,0
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4527,3098,0
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4623,3271,0
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4398,3163,0
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4435,3122,0
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4577,3305,0
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4519,3217,0
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4563,3444,0
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4568,3360,0
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2490,3894,3
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2511,3930,3
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2529,3996,3
	more2 = 1

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 1
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2481,3951,3
	more2 = 1

//[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
VALUE=20000

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1073,3124,0
	more2 = 2	// level 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1071,3482,0
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1157,3544,0
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1671,3553,0
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1130,3425,0
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2019,3432,0
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1867,3444,10
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2048,3473,0
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2087,3581,0
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2078,3332,0
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2201,3368,0
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2357,3513,3
	more2 = 2

[ITEMDEF 04f3c]
DEFNAME=i_ttm_l2_12
ID=i_map
type = t_ttm
NAME=Tattered Treasure Map
VALUE=20000

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 3686,2886,15
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2132,3963,3
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2525,3595,0
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4460,3913,0
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4827,3713,0
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4609,3878,0
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4689,3392,0
	more2 = 2

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


CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4739,3484,0
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4547,3089,0
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4622,3299,1
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4394,3139,0
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4441,3130,0
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4565,3293,0
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4515,3209,0
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4565,3419,0
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4573,3356,0
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2481,3903,6
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2513,3958,6
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2511,4003,3
	more2 = 2

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 2
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2463,3976,3
	more2 = 2

//[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
VALUE=30000

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2482,3913,3
	more2 = 3	// level 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1092,3480,0
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1795,3492,0
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1600,3445,0
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2155,3642,0
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1981,3377,0
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1837,3462,10
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2039,3493,0
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2112,3595,10
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2098,3338,0
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2176,3400,0
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2329,3503,0
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 3690,2874,12
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2127,3943,3
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4543,3917,0
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4473,3897,0
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4785,3771,0
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4597,3878,0
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4700,3396,0
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4753,3501,0
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4577,3116,0
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4614,3313,0
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4406,3130,0
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4456,3105,0,easy
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4535,3254,0
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4469,3169,0
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4574,3402,0
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4574,3345,0
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2502,3908,3
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2508,3967,3
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2498,4013,3
	more2 = 3

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 3
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2456,3952,3
	more2 = 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
VALUE=40000

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 3124,585,5
	more2 = 4	// level 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1108,3496,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1771,3500,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1142,3468,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2059,3581,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1915,3398,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1128,3431,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2043,3505,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2140,3624,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2118,3340,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2131,3417,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2326,3473,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2158,3988,3
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2139,3938,3
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4521,3923,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4771,3524,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4768,3825,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4643,3330,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4720,3398,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4488,3124,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4577,3144,0,easy
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4419,3174,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4398,3117,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4472,3105,0,easy
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4508,3247,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4471,3197,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4573,3391,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4578,3333,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2514,3892,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2510,3976,3
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2515,4031,0
	more2 = 4

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 4
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2441,3937,3
	more2 = 4

//[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
VALUE=50000

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1360,538,1
	more2 = 5	// level 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1124,3506,0
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1746,3489,7
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1161,3474,0
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2042,3523,0
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 1899,3434,1
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2072,3423,0
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2056,3531,0
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 3705,2833,24
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2161,3351,10
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2355,3480,3
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 3723,2808,20
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2144,3996,0
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2156,3938,3
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4514,3961,0
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4788,3539,0
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4648,3843,0
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4657,3357,0
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4724,3436,0
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4508,3100,0
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4608,3267,0
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4397,3184,0
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4419,3118,0
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4581,3322,0
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4519,3232,0
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4552,3441,0
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 4570,3380,0
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2479,3889,3
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2516,3907,0
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2510,3982,3
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2490,3957,0
	more2 = 5

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

CATEGORY=Maps - Treasure
SUBSECTIOn=Level 5
DESCRIPTIOn=Map

On=@Create
	type = t_ttm
	morep = 2409,3908,0
	more2 = 5

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

[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
	more2 = 0
	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
		endif
		remove
		return 1
	endif
	attr = <attr> | attr_identified
	return 0

[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
	more2 = 0
	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
		endif
		remove
		return 1
	endif
	attr = <attr> | attr_identified
	return 0

[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
		endif
		remove
		return 1
	endif
	attr = <attr> | attr_identified
	return 0

[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
	timer = 0
	morep = 0,1,3
	more2 = 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
		endif
		remove
		return 1
	endif
	attr = <attr> | attr_identified
	return 0

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

[TEMPLATE TM_LOOT_1]
	CONTAINER=i_chest_treasure
	more2=1
	ITEM=RANDOM_POOR_MAGIC_GOODIE
	ITEM=RANDOM_POOR_MAGIC_LOOT
	ITEM=RANDOM_POOR_MAGIC_LOOT
	ITEM=RANDOM_POOR_MAGIC_GOODIE
	ITEM=i_gold,{1500 2000}
	CONTAINER = i_bag
	color = color_treasure_chest
	ITEM = rand_ru_weapon

[TEMPLATE TM_LOOT_2]
	CONTAINER=i_chest_treasure
	more2=2
	ITEM=RANDOM_MEAGER_MAGIC_GOODIE
	ITEM={ RANDOM_MEAGER_MAGIC_LOOT 1 RANDOM_POOR_MAGIC_LOOT 1 }
	ITEM=RANDOM_MEAGER_MAGIC_LOOT
	ITEM=RANDOM_MEAGER_MAGIC_GOODIE
	ITEM=i_gold,{2500 3000}
	CONTAINER = i_bag
	color = color_treasure_chest
	ITEM = rand_mi_weapon

[TEMPLATE TM_LOOT_3]
	CONTAINER=i_chest_treasure
	more2=3
	ITEM=RANDOM_AVERAGE_MAGIC_GOODIE
	ITEM={ RANDOM_AVERAGE_MAGIC_LOOT 1 RANDOM_MEAGER_MAGIC_LOOT 1 }
	ITEM=RANDOM_AVERAGE_MAGIC_LOOT
	ITEM=RANDOM_AVERAGE_MAGIC_GOODIE
	ITEM=i_gold,{2500 3000}
	CONTAINER = i_bag
	color = color_treasure_chest
	ITEM = rand_fo_weapon

[TEMPLATE TM_LOOT_4]
	CONTAINER = i_chest_treasure
	more2 = 4
	ITEM = RANDOM_RICH_MAGIC_GOODIE
	ITEM = { RANDOM_RICH_MAGIC_LOOT 1 RANDOM_AVERAGE_MAGIC_LOOT 1 }
	ITEM = RANDOM_RICH_MAGIC_LOOT
	ITEM = RANDOM_RICH_MAGIC_GOODIE
	ITEM = i_gold,{3000 3500}
	CONTAINER = i_bag
	color = color_treasure_chest
	ITEM = rand_po_weapon

[TEMPLATE TM_LOOT_5]
	CONTAINER=i_chest_treasure
	more2=5
	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=RANDOM_FILTHY_RICH_MAGIC_GOODIE
	ITEM=i_gold,{3500 5000}
	CONTAINER = i_bag
	color = color_treasure_chest
	ITEM = rand_va_weapon

//****

[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 }

[TEMPLATE ttm_lvl2]
ITEM={ ttm_lvl2_1 1 ttm_lvl2_2 1 }

[TEMPLATE ttm_lvl3]
ITEM={ ttm_lvl3_1 1 ttm_lvl3_2 1 }

[TEMPLATE ttm_lvl4]
ITEM={ ttm_lvl4_1 1 ttm_lvl4_2 1 }

[TEMPLATE ttm_lvl5]
ITEM={ ttm_lvl5_1 1 ttm_lvl5_2 1 }

[TEMPLATE ttm_all]
ITEM={ ttm_lvl1 1 ttm_lvl2 1 ttm_lvl3 1 ttm_lvl4 1 ttm_lvl5 }

//===========================
// Treasure 1
//===========================

[ITEMDEF i_treasure_1_1_1]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b3f
	timer = 600
	amount = {100 200}

On=@Click
	dispid = 01b3f
	update

[ITEMDEF i_treasure_1_1_2]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b40
	timer = 600
	amount = {300 500}

On=@Click
	dispid = 01b40
	update

[ITEMDEF i_treasure_1_1_3]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b41
	timer = 600
	amount = {300 500}

On=@Click
	dispid = 01b41
	update

[ITEMDEF i_treasure_1_2_1]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b44
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b44
	update

[ITEMDEF i_treasure_1_2_2]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b43
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b43
	update

[ITEMDEF i_treasure_1_2_3]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b42
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b42
	update

[ITEMDEF i_treasure_1_3_0]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b45
	timer = 600
	amount = {200 400}

On=@Click
	dispid = 01b45
	update

[ITEMDEF i_treasure_1_3_1]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b48
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b48
	update

[ITEMDEF i_treasure_1_3_2]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b47
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b47
	update

[ITEMDEF i_treasure_1_3_3]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b46
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b46
	update

//===========================
// Treasure 2
//===========================

[ITEMDEF i_treasure_2_1_1]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b4a
	timer = 600
	amount = {300 500}

On=@Click
	dispid = 01b4a
	update

[ITEMDEF i_treasure_2_1_2]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b4b
	timer = 600
	amount = {300 500}

On=@Click
	dispid = 01b4b
	update

[ITEMDEF i_treasure_2_2_0]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b4f
	timer = 600
	amount = {100 200}

On=@Click
	dispid = 01b4f
	update

[ITEMDEF i_treasure_2_2_1]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b4e
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b4e
	update

[ITEMDEF i_treasure_2_2_2]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b4c
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b4c
	update

[ITEMDEF i_treasure_2_3_0]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b50
	timer = 600
	amount = {100 200}

On=@Click
	dispid = 01b50
	update

[ITEMDEF i_treasure_2_3_1]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b51
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b51
	update

[ITEMDEF i_treasure_2_3_2]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b4d
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b4d
	update

//===========================
// Treasure 3
//===========================

[ITEMDEF i_treasure_3_1_1]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b53
	timer = 600
	amount = {300 500}

On=@Click
	dispid = 01b53
	update

[ITEMDEF i_treasure_3_1_2]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b54
	timer = 600
	amount = {300 500}

On=@Click
	dispid = 01b54
	update

[ITEMDEF i_treasure_3_1_3]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b55
	timer = 600
	amount = {300 400}

On=@Click
	dispid = 01b55
	update

[ITEMDEF i_treasure_3_2_0]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b5b
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b5b
	update

[ITEMDEF i_treasure_3_2_1]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b5c
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b5c
	update

[ITEMDEF i_treasure_3_2_2]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b5d
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b5d
	update

[ITEMDEF i_treasure_3_2_3]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b56
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b56
	update

[ITEMDEF i_treasure_3_3_0]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b5a
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b5a
	update

[ITEMDEF i_treasure_3_3_1]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b59
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b59
	update

[ITEMDEF i_treasure_3_3_2]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b58
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b58
	update

[ITEMDEF i_treasure_3_3_3]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b57
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b57
	update

//===========================
// Treasure 4
//===========================

[ITEMDEF i_treasure_4_1_2]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b62
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b62
	update

[ITEMDEF i_treasure_4_1_3]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b63
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b63
	update

[ITEMDEF i_treasure_4_1_4]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b64
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b64
	update

[ITEMDEF i_treasure_4_2_0]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b5f
	timer = 600
	amount = {200 400}

On=@Click
	dispid = 01b5f
	update

[ITEMDEF i_treasure_4_2_1]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b60
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b60
	update

[ITEMDEF i_treasure_4_2_2]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b61
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b61
	update

[ITEMDEF i_treasure_4_2_3]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b67
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b67
	update

[ITEMDEF i_treasure_4_2_4]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b65
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b65
	update

[ITEMDEF i_treasure_4_3_0]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay	
	dispid = 01b6b
	timer = 600
	amount = {200 400}

On=@Click
	dispid = 01b6b
	update

[ITEMDEF i_treasure_4_3_1]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b6a
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b6a
	update

[ITEMDEF i_treasure_4_3_2]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b69
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b69
	update

[ITEMDEF i_treasure_4_3_3]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b68
	timer = 600
	amount = {300 700}

On=@Click
	dispid = 01b68
	update

[ITEMDEF i_treasure_4_3_4]
NAME=treasure
ID=i_gold
TYPE=t_gold
WEIGHT=0.1
VALUE=1

On=@Create
	attr = attr_decay
	dispid = 01b66
	timer = 600
	amount = {300 500}

On=@Click
	dispid = 01b66
	update

[ITEMDEF i_treasure_1]
ID=i_worldgem_lg
TYPE=t_eq_script
LAYER=30
WEIGHT=0

On=@Create
	attr = attr_invis | attr_decay
	timer = 1

On=@Equip
	attr = attr_invis | attr_decay
	timer = 1
	morep = <src.p>

On=@Timer
	cont.effect 3,0377a,6,15,1
	cont.newitem i_treasure_1_1_1
	cont.act.dispid = 01b3f
	morex = <morex> + 1
	morey = <morey> + 1
	cont.act.p = <morep>
	cont.act.sfx 50
	cont.newitem i_treasure_1_1_2
	morex = (<morex> - 1)
	cont.act.p = <morep>
	cont.act.sfx 52
	cont.newitem i_treasure_1_1_3
	morex = (<morex> - 1)
	cont.act.p = <morep>
	cont.act.sfx 53
	cont.newitem i_treasure_1_2_3
	morey = (<morey> - 1)
	cont.act.p = <morep>
	cont.act.sfx 54
	cont.newitem i_treasure_1_2_2
	morex = <morex> + 1
	cont.act.p = <morep>
	cont.act.sfx 55
	cont.newitem i_treasure_1_2_1
	morex = <morex> + 1
	cont.act.p = <morep>
	cont.act.sfx 50
	cont.newitem i_treasure_1_3_0
	morex = <morex> + 1
	morey = <morey> - 1
	cont.act.p = <morep>
	cont.act.sfx 52
	cont.newitem i_treasure_1_3_1
	morex = (<morex> - 1)
	cont.act.p = <morep>
	cont.act.sfx 53
	cont.newitem i_treasure_1_3_2
	morex = (<morex> - 1)
	cont.act.p = <morep>
	cont.act.sfx 54
	cont.newitem i_treasure_1_3_3
	morex = (<morex> - 1)
	cont.act.p = <morep>
	cont.act.sfx 55

	cont.message Wow! A treasure! Oops!

	return 0

[ITEMDEF i_treasure_2]
ID=i_worldgem_lg
TYPE=t_eq_script
LAYER=30
WEIGHT=0

On=@Create
	attr = attr_invis | attr_decay
	timer = 1

On=@Equip
	attr = attr_invis | attr_decay
	timer = 1
	morep = <src.p>

On=@Timer
	cont.effect 3,0377a,6,15,1
	cont.newitem i_treasure_2_1_1
	morey = <morey> + 1
	cont.act.p = <morep>
	cont.act.sfx 50
	cont.newitem i_treasure_2_1_2
	morex = (<morex> - 1)
	cont.act.p = <morep>
	cont.act.sfx 52
	cont.newitem i_treasure_2_2_2
	morey = (<morey> - 1)
	cont.act.p = <morep>
	cont.act.sfx 53
	cont.newitem i_treasure_2_2_1
	morex = <morex> + 1
	cont.act.p = <morep>
	cont.act.sfx 54
	cont.newitem i_treasure_2_2_0
	morex = <morex> + 1
	cont.act.p = <morep>
	cont.act.sfx 55
	cont.newitem i_treasure_2_3_0
	morey = <morey> - 1
	cont.act.p = <morep>
	cont.act.sfx 50
	cont.newitem i_treasure_2_3_1
	morex = (<morex> - 1)
	cont.act.p = <morep>
	cont.act.sfx 52
	cont.newitem i_treasure_2_3_2
	morex = (<morex> - 1)
	cont.act.p = <morep>
	cont.act.sfx 53

	cont.message Wow! A treasure! Oops!

	return 0

[ITEMDEF i_treasure_3]
ID=i_worldgem_lg
TYPE=t_eq_script
LAYER=30
WEIGHT=0

On=@Create
	attr = attr_invis | attr_decay
	timer = 1

On=@Equip
	attr = attr_invis | attr_decay
	timer = 1
	morep = <src.p>

On=@Timer
	cont.effect 3,0377a,6,15,1
	cont.newitem i_treasure_3_1_1
	morex = <morex> + 1
	morey = <morey> + 1
	cont.act.p = <morep>
	cont.act.sfx 50
	cont.newitem i_treasure_3_1_2
	morex = (<morex> - 1)
	cont.act.p = <morep>
	cont.act.sfx 52
	cont.newitem i_treasure_3_1_3
	morex = (<morex> - 1)
	cont.act.p = <morep>
	cont.act.sfx 53
	cont.newitem i_treasure_3_2_3
	morey = (<morey> - 1)
	cont.act.p = <morep>
	cont.act.sfx 54
	cont.newitem i_treasure_3_2_2
	morex = <morex> + 1
	cont.act.p = <morep>
	cont.act.sfx 55
	cont.newitem i_treasure_3_2_1
	morex = <morex> + 1
	cont.act.p = <morep>
	cont.act.sfx 50
	cont.newitem i_treasure_3_2_0
	morex = <morex> + 1
	cont.act.p = <morep>
	cont.act.sfx 52
	cont.newitem i_treasure_3_3_0
	morey = <morey> - 1
	cont.act.p = <morep>
	cont.act.sfx 53
	cont.newitem i_treasure_3_3_1
	morex = (<morex> - 1)
	cont.act.p = <morep>
	cont.act.sfx 54
	cont.newitem i_treasure_3_3_2
	morex = (<morex> - 1)
	cont.act.p = <morep>
	cont.act.sfx 55
	cont.newitem i_treasure_3_3_3
	morex = (<morex> - 1)
	cont.act.p = <morep>
	cont.act.sfx 50

	cont.message Wow! A treasure! Oops!

	return 0

[ITEMDEF i_treasure_4]
ID=i_worldgem_lg
TYPE=t_eq_script
LAYER=30
WEIGHT=0

On=@Create
	attr = attr_invis | attr_decay
	timer = 1

On=@Equip
	attr = attr_invis | attr_decay
	timer = 1
	morep = <src.p>

On=@Timer
	cont.effect 3,0377a,6,15,1
	cont.newitem i_treasure_4_1_2
	morey = <morey> + 1
	cont.act.p = <morep>
	cont.act.sfx 50
	cont.newitem i_treasure_4_1_3
	morex = (<morex> - 1)
	cont.act.p = <morep>
	cont.act.sfx 52
	cont.newitem i_treasure_4_1_4
	morex = (<morex> - 1)
	cont.act.p = <morep>
	cont.act.sfx 53
	cont.newitem i_treasure_4_2_4
	morey = (<morey> - 1)
	cont.act.p = <morep>
	cont.act.sfx 54
	cont.newitem i_treasure_4_2_3
	morex = <morex> + 1
	cont.act.p = <morep>
	cont.act.sfx 55
	cont.newitem i_treasure_4_2_2
	morex = <morex> + 1
	cont.act.p = <morep>
	cont.act.sfx 50
	cont.newitem i_treasure_4_2_1
	morex = <morex> + 1
	cont.act.p = <morep>
	cont.act.sfx 52
	cont.newitem i_treasure_4_2_0
	morex = <morex> + 1
	cont.act.p = <morep>
	cont.act.sfx 53
	cont.newitem i_treasure_4_3_0
	morey = <morey> - 1
	cont.act.p = <morep>
	cont.act.sfx 54
	cont.newitem i_treasure_4_3_1
	morex = (<morex> - 1)
	cont.act.p = <morep>
	cont.act.sfx 55
	cont.newitem i_treasure_4_3_2
	morex = (<morex> - 1)
	cont.act.p = <morep>
	cont.act.sfx 50
	cont.newitem i_treasure_4_3_3
	morex = (<morex> - 1)
	cont.act.p = <morep>
	cont.act.sfx 52
	cont.newitem i_treasure_4_3_4
	morex = (<morex> - 1)
	cont.act.p = <morep>
	cont.act.sfx 53

	cont.message Wow! A treasure! Oops!

	return 0

[EOF]
