// MAPINFO for TNT. Exactly the same as Doom 2, except it
// has different map names and cluster messages.
include "mapinfo/doomcommon.txt"

gameinfo
{
  	titlepage = "TTL_TNT"
	titlemusic = "TNT_DM2T"
}

clearepisodes
episode map01
{
	name = "TNT: Evilution"
	key = "t"
}

defaultmap
{
	sucktime = 1
	intermusic = "tnt_evil"
	exitpic = "int_tnt"
}

map MAP01 lookup "THUSTR_1"
{
	next = "MAP02"
	secretnext = "MAP02"
	sky1 = "TNTSKY1"
	cluster = 5
	par = 30
	music = "TNT_RUNN"
}

map MAP02 lookup "THUSTR_2"
{
	next = "MAP03"
	secretnext = "MAP03"
	sky1 = "TNTSKY1"
	cluster = 5
	par = 90
	music = "TNT_STLK"
}

map MAP03 lookup "THUSTR_3"
{
	next = "MAP04"
	secretnext = "MAP04"
	sky1 = "TNTSKY1"
	cluster = 5
	par = 120
	music = "$MUSIC_MESSAG"
}

map MAP04 lookup "THUSTR_4"
{
	next = "MAP05"
	secretnext = "MAP05"
	sky1 = "TNTSKY1"
	cluster = 5
	par = 120
	music = "TNT_BETW"
}

map MAP05 lookup "THUSTR_5"
{
	next = "MAP06"
	secretnext = "MAP06"
	sky1 = "TNTSKY1"
	cluster = 5
	par = 90
	music = "TNT_DOOM"
}

map MAP06 lookup "THUSTR_6"
{
	next = "MAP07"
	secretnext = "MAP07"
	sky1 = "TNTSKY1"
	cluster = 5
	par = 150
	music = "TNT_THED"
}

map MAP07 lookup "THUSTR_7"
{
	next = "MAP08"
	secretnext = "MAP08"
	sky1 = "TNTSKY1"
	cluster = 6
	par = 120
	map07special
	music = "TNT_SHWN"
}

map MAP08 lookup "THUSTR_8"
{
	next = "MAP09"
	secretnext = "MAP09"
	sky1 = "TNTSKY1"
	cluster = 6
	par = 120
	music = "TNT_DDTB"
}

map MAP09 lookup "THUSTR_9"
{
	next = "MAP10"
	secretnext = "MAP10"
	sky1 = "TNTSKY1"
	cluster = 6
	par = 270
	music = "TNT_RUNN"
}

map MAP10 lookup "THUSTR_10"
{
	next = "MAP11"
	secretnext = "MAP11"
	sky1 = "TNTSKY1"
	cluster = 6
	par = 90
	music = "TNT_DEAD"
}

map MAP11 lookup "THUSTR_11"
{
	next = "MAP12"
	secretnext = "MAP12"
	sky1 = "TNTSKY1"
	cluster = 6
	par = 210
	music = "TNT_STL2"
}

map MAP12 lookup "THUSTR_12"
{
	next = "MAP13"
	secretnext = "MAP13"
	sky1 = "TNTSKY2"
	cluster = 7
	par = 150
	music = "$MUSIC_DDTBLU"
}

map MAP13 lookup "THUSTR_13"
{
	next = "MAP14"
	secretnext = "MAP14"
	sky1 = "TNTSKY2"
	cluster = 7
	par = 150
	music = "TNT_BETW"
}

map MAP14 lookup "THUSTR_14"
{
	next = "MAP15"
	secretnext = "MAP15"
	sky1 = "TNTSKY2"
	cluster = 7
	par = 150
	music = "TNT_DDT2"
}

map MAP15 lookup "THUSTR_15"
{
	next = "MAP16"
	secretnext = "MAP31"
	sky1 = "TNTSKY2"
	cluster = 7
	par = 210
	music = "TNT_STLK"
}

map MAP16 lookup "THUSTR_16"
{
	next = "MAP17"
	secretnext = "MAP17"
	sky1 = "TNTSKY2"
	cluster = 7
	par = 150
	music = "TNT_DED2"
}

map MAP17 lookup "THUSTR_17"
{
	next = "MAP18"
	secretnext = "MAP18"
	sky1 = "TNTSKY2"
	cluster = 7
	par = 420
	music = "TNT_DOOM"
}

map MAP18 lookup "THUSTR_18"
{
	next = "MAP19"
	secretnext = "MAP19"
	sky1 = "TNTSKY2"
	cluster = 7
	par = 150
	music = "TNT_DEAD"
}

map MAP19 lookup "THUSTR_19"
{
	next = "MAP20"
	secretnext = "MAP20"
	sky1 = "TNTSKY2"
	cluster = 7
	par = 210
	music = "$MUSIC_COUNTD"
}

map MAP20 lookup "THUSTR_20"
{
	next = "MAP21"
	secretnext = "MAP21"
	sky1 = "TNTSKY2"
	cluster = 7
	par = 150
	music = "TNT_MESG"
}

map MAP21 lookup "THUSTR_21"
{
	next = "MAP22"
	secretnext = "MAP22"
	sky1 = "TNTSKY3"
	cluster = 8
	par = 240
	music = "$MUSIC_IN_CIT"
}

map MAP22 lookup "THUSTR_22"
{
	next = "MAP23"
	secretnext = "MAP23"
	sky1 = "TNTSKY3"
	cluster = 8
	par = 150
	music = "TNT_DDT3"
}

map MAP23 lookup "THUSTR_23"
{
	next = "MAP24"
	secretnext = "MAP24"
	sky1 = "TNTSKY3"
	cluster = 8
	par = 180
	music = "$MUSIC_AMPIE"
}

map MAP24 lookup "THUSTR_24"
{
	next = "MAP25"
	secretnext = "MAP25"
	sky1 = "TNTSKY3"
	cluster = 8
	par = 150
	music = "$MUSIC_BETWEE"
}

map MAP25 lookup "THUSTR_25"
{
	next = "MAP26"
	secretnext = "MAP26"
	sky1 = "TNTSKY3"
	cluster = 8
	par = 150
	music = "$MUSIC_DOOM"
}

map MAP26 lookup "THUSTR_26"
{
	next = "MAP27"
	secretnext = "MAP27"
	sky1 = "TNTSKY3"
	cluster = 8
	par = 300
	music = "TNT_DED2"
}

map MAP27 lookup "THUSTR_27"
{
	next = "MAP28"
	secretnext = "MAP28"
	sky1 = "TNTSKY3"
	cluster = 8
	par = 330
	music = "TNT_DDTB"
}

map MAP28 lookup "THUSTR_28"
{
	next = "MAP29"
	secretnext = "MAP29"
	sky1 = "TNTSKY3"
	cluster = 8
	par = 420
	music = "TNT_DDT3"
}

map MAP29 lookup "THUSTR_29"
{
	next = "MAP30"
	secretnext = "MAP30"
	sky1 = "TNTSKY3"
	cluster = 8
	par = 300
	music = "TNT_BETW"
}

map MAP30 lookup "THUSTR_30"
{
	next = "EndGameC"
	secretnext = "EndGameC"
	sky1 = "TNTSKY3"
	cluster = 8
	par = 180
	allowmonstertelefrags
	music = "TNT_DDTB"
}

map MAP31 lookup "THUSTR_31"
{
	next = "MAP16"
	secretnext = "MAP32"
	sky1 = "TNTSKY3"
	cluster = 9
	par = 120
	music = "TNT_EVIL"
}

map MAP32 lookup "THUSTR_32"
{
	next = "MAP16"
	secretnext = "MAP16"
	sky1 = "TNTSKY3"
	cluster = 10
	par = 30
	music = "$MUSIC_IN_CIT"
}

// DOOM II first cluster (up thru level 6)

cluster 5
{
	flat = "SLIME16"
	music = "TNT_READ"
	exittext = lookup, "T1TEXT"
}

// DOOM II second cluster (up thru level 11)

cluster 6
{
	flat = "RROCK14"
	music = "TNT_READ"
	exittext = lookup, "T2TEXT"
}

// DOOM II third cluster (up thru level 20)

cluster 7
{
	flat = "RROCK07"
	music = "TNT_READ"
	exittext = lookup, "T3TEXT"
}

// DOOM II fourth cluster (up thru level 30)

cluster 8
{
	flat = "RROCK17"
	music = "TNT_READ"
	exittext = lookup, "T4TEXT"
}

// DOOM II fifth cluster (level 31)

cluster 9
{
	flat = "RROCK13"
	music = "TNT_READ"
	entertext = lookup, "T5TEXT"
}

// DOOM II sixth cluster (level 32)

cluster 10
{
	flat = "RROCK19"
	music = "TNT_READ"
	entertext = lookup, "T6TEXT"
}
