// Plutonia maps

map PL_MAP01 lookup "PHUSTR_1"
{
	next = "PL_MAP02"
	secretnext = "PL_MAP02"
	sky1 = "PSKY1"
	cluster = 18
	par = 30
	music = "P_RUNNIN"
	ExitPic = "PLUINTER"
}

map PL_MAP02 lookup "PHUSTR_2"
{
	next = "PL_MAP03"
	secretnext = "PL_MAP03"
	sky1 = "PSKY1"
	cluster = 18
	par = 90
	music = "P_STALKS"
	ExitPic = "PLUINTER"
}

map PL_MAP03 lookup "PHUSTR_3"
{
	next = "PL_MAP04"
	secretnext = "PL_MAP04"
	sky1 = "PSKY1"
	cluster = 18
	par = 120
	music = "P_COUNTD"
	ExitPic = "PLUINTER"
}

map PL_MAP04 lookup "PHUSTR_4"
{
	next = "PL_MAP05"
	secretnext = "PL_MAP05"
	sky1 = "PSKY1"
	cluster = 18
	par = 120
	music = "P_BETWEE"
	ExitPic = "PLUINTER"
}

map PL_MAP05 lookup "PHUSTR_5"
{
	next = "PL_MAP06"
	secretnext = "PL_MAP06"
	sky1 = "PSKY1"
	cluster = 18
	par = 90
	music = "P_DOOM"
	ExitPic = "PLUINTER"
}

map PL_MAP06 lookup "PHUSTR_6"
{
	next = "PL_MAP07"
	secretnext = "PL_MAP07"
	sky1 = "PSKY1"
	cluster = 18
	par = 150
	music = "P_THE_DA"
	ExitPic = "PLUINTER"
}

map PL_MAP07 lookup "PHUSTR_7"
{
	next = "PL_MAP08"
	secretnext = "PL_MAP08"
	sky1 = "PSKY1"
	cluster = 19
	par = 120
	map07special
	music = "P_SHAWN"
	ExitPic = "PLUINTER"
}

map PL_MAP08 lookup "PHUSTR_8"
{
	next = "PL_MAP09"
	secretnext = "PL_MAP09"
	sky1 = "PSKY1"
	cluster = 19
	par = 120
	music = "P_DDTBLU"
	ExitPic = "PLUINTER"
}

map PL_MAP09 lookup "PHUSTR_9"
{
	next = "PL_MAP10"
	secretnext = "PL_MAP10"
	sky1 = "PSKY1"
	cluster = 19
	par = 270
	music = "P_IN_CIT"
	ExitPic = "PLUINTER"
}

map PL_MAP10 lookup "PHUSTR_10"
{
	next = "PL_MAP11"
	secretnext = "PL_MAP11"
	sky1 = "PSKY1"
	cluster = 19
	par = 90
	music = "P_DEAD"
	ExitPic = "PLUINTER"
}

map PL_MAP11 lookup "PHUSTR_11"
{
	next = "PL_MAP12"
	secretnext = "PL_MAP12"
	sky1 = "PSKY1"
	cluster = 19
	par = 210
	music = "P_STLKS2"
	ExitPic = "PLUINTER"
}

map PL_MAP12 lookup "PHUSTR_12"
{
	next = "PL_MAP13"
	secretnext = "PL_MAP13"
	sky1 = "PSKY2"
	cluster = 20
	par = 150
	music = "P_THEDA2"
	ExitPic = "PLUINTER"
}

map PL_MAP13 lookup "PHUSTR_13"
{
	next = "PL_MAP14"
	secretnext = "PL_MAP14"
	sky1 = "PSKY2"
	cluster = 20
	par = 150
	music = "P_DOOM2"
	ExitPic = "PLUINTER"
}

map PL_MAP14 lookup "PHUSTR_14"
{
	next = "PL_MAP15"
	secretnext = "PL_MAP15"
	sky1 = "PSKY2"
	cluster = 20
	par = 150
	music = "P_DDTBL2"
	ExitPic = "PLUINTER"
}

map PL_MAP15 lookup "PHUSTR_15"
{
	next = "PL_MAP16"
	secretnext = "PL_MAP31"
	sky1 = "PSKY2"
	cluster = 20
	par = 210
	music = "P_RUNNI2"
	ExitPic = "PLUINTER"
}

map PL_MAP16 lookup "PHUSTR_16"
{
	next = "PL_MAP17"
	secretnext = "PL_MAP17"
	sky1 = "PSKY2"
	cluster = 20
	par = 150
	music = "P_DEAD2"
	ExitPic = "PLUINTER"
}

map PL_MAP17 lookup "PHUSTR_17"
{
	next = "PL_MAP18"
	secretnext = "PL_MAP18"
	sky1 = "PSKY2"
	cluster = 20
	par = 420
	music = "P_STLKS3"
	ExitPic = "PLUINTER"
}

map PL_MAP18 lookup "PHUSTR_18"
{
	next = "PL_MAP19"
	secretnext = "PL_MAP19"
	sky1 = "PSKY2"
	cluster = 20
	par = 150
	music = "P_ROMERO"
	ExitPic = "PLUINTER"
}

map PL_MAP19 lookup "PHUSTR_19"
{
	next = "PL_MAP20"
	secretnext = "PL_MAP20"
	sky1 = "PSKY2"
	cluster = 20
	par = 210
	music = "P_SHAWN2"
	ExitPic = "PLUINTER"
}

map PL_MAP20 lookup "PHUSTR_20"
{
	next = "PL_MAP21"
	secretnext = "PL_MAP21"
	sky1 = "PSKY2"
	cluster = 20
	par = 150
	music = "P_MESSAG"
	ExitPic = "PLUINTER"
}

map PL_MAP21 lookup "PHUSTR_21"
{
	next = "PL_MAP22"
	secretnext = "PL_MAP22"
	sky1 = "PSKY3"
	cluster = 21
	par = 240
	music = "P_COUNT2"
	ExitPic = "PLUINTER"
}

map PL_MAP22 lookup "PHUSTR_22"
{
	next = "PL_MAP23"
	secretnext = "PL_MAP23"
	sky1 = "PSKY3"
	cluster = 21
	par = 150
	music = "P_DDTBL3"
	ExitPic = "PLUINTER"
}

map PL_MAP23 lookup "PHUSTR_23"
{
	next = "PL_MAP24"
	secretnext = "PL_MAP24"
	sky1 = "PSKY3"
	cluster = 21
	par = 180
	music = "P_AMPIE"
	ExitPic = "PLUINTER"
}

map PL_MAP24 lookup "PHUSTR_24"
{
	next = "PL_MAP25"
	secretnext = "PL_MAP25"
	sky1 = "PSKY3"
	cluster = 21
	par = 150
	music = "P_THEDA3"
	ExitPic = "PLUINTER"
}

map PL_MAP25 lookup "PHUSTR_25"
{
	next = "PL_MAP26"
	secretnext = "PL_MAP26"
	sky1 = "PSKY3"
	cluster = 21
	par = 150
	music = "P_ADRIAN"
	ExitPic = "PLUINTER"
}

map PL_MAP26 lookup "PHUSTR_26"
{
	next = "PL_MAP27"
	secretnext = "PL_MAP27"
	sky1 = "PSKY3"
	cluster = 21
	par = 300
	music = "P_MESSG2"
	ExitPic = "PLUINTER"
}

map PL_MAP27 lookup "PHUSTR_27"
{
	next = "PL_MAP28"
	secretnext = "PL_MAP28"
	sky1 = "PSKY3"
	cluster = 21
	par = 330
	music = "P_ROMER2"
	ExitPic = "PLUINTER"
}

map PL_MAP28 lookup "PHUSTR_28"
{
	next = "PL_MAP29"
	secretnext = "PL_MAP29"
	sky1 = "PSKY3"
	cluster = 21
	par = 420
	music = "P_TENSE"
	ExitPic = "PLUINTER"
}

map PL_MAP29 lookup "PHUSTR_29"
{
	next = "PL_MAP30"
	secretnext = "PL_MAP30"
	sky1 = "PSKY3"
	cluster = 21
	par = 300
	music = "P_SHAWN3"
	ExitPic = "PLUINTER"
}

map PL_MAP30 lookup "PHUSTR_30"
{
	sky1 = "PSKY3"
	cluster = 21
	par = 180
	allowmonstertelefrags
	music = "P_OPENIN"
	ExitPic = "PLUINTER"
	next = endgame {
		pic = "PLUBOSS"
		cast
	}
}

map PL_MAP31 lookup "PHUSTR_31"
{
	next = "PL_MAP16"
	secretnext = "PL_MAP32"
	sky1 = "PSKY3"
	cluster = 22
	par = 120
	music = "P_EVIL"
	ExitPic = "PLUINTER"
}

map PL_MAP32 lookup "PHUSTR_32"
{
	next = "PL_MAP16"
	secretnext = "PL_MAP16"
	sky1 = "PSKY3"
	cluster = 23
	par = 30
	music = "P_ULTIMA"
	ExitPic = "PLUINTER"
}

// Plutonia first cluster (up thru level 6)

cluster 18
{
	flat = "$BGFLAT06"
	music = "P_READ_M"
	exittext = lookup, "P1TEXT"
}

// Plutonia second cluster (up thru level 11)

cluster 19
{
	flat = "$BGFLAT11"
	music = "P_READ_M"
	exittext = lookup, "P2TEXT"
}

// Plutonia third cluster (up thru level 20)

cluster 20
{
	flat = "$BGFLAT20"
	music = "P_READ_M"
	exittext = lookup, "P3TEXT"
}

// Plutonia fourth cluster (up thru level 30)

cluster 21
{
	flat = "$BGFLAT30"
	music = "P_READ_M"
	exittext = lookup, "P4TEXT"
}

// Plutonia DOOM II fifth cluster (level 31)

cluster 22
{
	flat = "$BGFLAT15"
	music = "P_READ_M"
	entertext = lookup, "P5TEXT"
}

// Plutonia sixth cluster (level 32)

cluster 23
{
	flat = "$BGFLAT31"
	music = "P_READ_M"
	entertext = lookup, "P6TEXT"
}
