CLEARLOCKS

Lock 1
{
	RedCardS2
	Message "$PD_REDC"
	RemoteMessage "$PD_REDCO"
	Mapcolor 255 0 0
	LockedSound "misc/keytry"
}

Lock 2 Doom
{
	BlueCardS2
	Message "$PD_BLUEC"
	RemoteMessage "$PD_BLUECO"
	Mapcolor 0 0 255
	LockedSound "misc/keytry"
}


Lock 3 Doom
{
	YellowCardS2
	Message "$PD_YELLOWC"
	RemoteMessage "$PD_YELLOWCO"
	Mapcolor 255 255 0
	LockedSound "misc/keytry"
}


Lock 4 Doom
{
	RedSkullS2
	Message "$PD_REDS"
	RemoteMessage "$PD_REDSO"
	Mapcolor 255 0 0
	LockedSound "misc/keytry"
}


Lock 5 Doom
{
	BlueSkullS2
	Message "$PD_BLUES"
	RemoteMessage "$PD_BLUESO"
	Mapcolor 0 0 255
	LockedSound "misc/keytry"
}


Lock 6 Doom
{
	YellowSkullS2
	Message "$PD_YELLOWS"
	RemoteMessage "$PD_YELLOWSO"
	Mapcolor 255 255 0
	LockedSound "misc/keytry"
}


Lock 129 Doom
{
	Any { RedCardS2 RedSkullS2 KeyGreen }
	Message "$PD_REDK"
	RemoteMessage "$PD_REDO"
	Mapcolor 255 0 0
	LockedSound "misc/keytry"
}


Lock 130 Doom
{
	Any { BlueCardS2 BlueSkullS2 KeyBlue }
	Message "$PD_BLUEK"
	RemoteMessage "$PD_BLUEO"
	Mapcolor 0 0 255
	LockedSound "misc/keytry"
}


Lock 131 Doom
{
	Any { YellowCardS2 YellowSkullS2 KeyYellow }
	Message "$PD_YELLOWK"
	RemoteMessage "$PD_YELLOWO"
	Mapcolor 255 255 0
	LockedSound "misc/keytry"
}


Lock 132 Doom
{
	Any { RedCardS2 RedSkullS2 }
	Message "$PD_REDK"
	RemoteMessage "$PD_REDO"
	Mapcolor 255 0 0
	LockedSound "misc/keytry"
}


Lock 133 Doom
{
	Any { BlueCardS2 BlueSkullS2 }
	Message "$PD_BLUEK"
	RemoteMessage "$PD_BLUEO"
	Mapcolor 0 0 255
	LockedSound "misc/keytry"
}


Lock 134 Doom
{
	Any { YellowCardS2 YellowSkullS2 }
	Message "$PD_YELLOWK"
	RemoteMessage "$PD_YELLOWO"
	Mapcolor 255 255 0
	LockedSound "misc/keytry"
}

Lock 100
{
	Message "$PD_ANY"
	RemoteMessage "$PD_ANYOBJ"
	Mapcolor 128 128 255
	LockedSound "misc/keytry"
}

Lock 228
{
	Message "$PD_ANY"
	RemoteMessage "$PD_ANYOBJ"
	LockedSound "misc/keytry"
	Mapcolor 128 128 255
}

Lock 229 Doom
{
	Any { BlueCardS2 BlueSkullS2 KeyBlue}
	Any { YellowCardS2 YellowSkullS2 KeyYellow}
	Any { RedCardS2 RedSkullS2 KeyGreen}
	Message "$PD_ALL3"
	RemoteMessage "$PD_ALL3O"
	LockedSound "misc/keytry"
}

Lock 101 Doom
{
	BlueCardS2
	BlueSkullS2
	YellowCardS2
	YellowSkullS2
	RedCardS2
	RedSkullS2
	Message "$PD_ALL6"
	RemoteMessage "$PD_ALL6O"
	LockedSound "misc/keytry"
}

//
// Heretic KeyDefs
//

Lock 1 Heretic
{
	//$Title "Green key"
	KeyGreen
	Message "$TXT_NEEDGREENKEY"
	Mapcolor 0 255 0
}


Lock 2 Heretic
{
	//$Title "Blue key"
	KeyBlue 
	Message "$TXT_NEEDBLUEKEY"
	Mapcolor 0 0 255
}


Lock 3 Heretic
{
	//$Title "Yellow key"
	KeyYellow
	Message "$TXT_NEEDYELLOWKEY"
	Mapcolor 255 255 0
}


Lock 129 Heretic
{
	//$Title "Green key"
	KeyGreen
	Message "$TXT_NEEDGREENKEY"
	Mapcolor 0 255 0
}


Lock 130 Heretic
{
	//$Title "Blue key"
	KeyBlue 
	Message "$TXT_NEEDBLUEKEY"
	Mapcolor 0 0 255
}


Lock 131 Heretic
{
	//$Title "Yellow key"
	KeyYellow
	Message "$TXT_NEEDYELLOWKEY"
	Mapcolor 255 255 0
}


Lock 229 Heretic
{
	//$Title "All keys"
	KeyGreen 
	KeyYellow 
	KeyBlue
	Message "$PD_ALL3"
	RemoteMessage "$PD_ALL3O"
}

Lock 101 Heretic
{
	//$Title "All keys"
	KeyGreen 
	KeyYellow 
	KeyBlue
	Message "$PD_ALL3"
	RemoteMessage "$PD_ALL3O"
}


//
// Hexen KeyDefs
//

Lock 1 Hexen
{
	//$Title "Steel key"
	KeySteel
	Message "$TXT_NEED_KEY_STEEL"
	Mapcolor 150 150 150
}


Lock 2 Hexen
{
	//$Title "Cave key"
	KeyCave
	Message "$TXT_NEED_KEY_CAVE"
	Mapcolor 255 218 0
}


Lock 3 Hexen
{
	//$Title "Axe key"
	KeyAxe
	Message "$TXT_NEED_KEY_AXE"
	Mapcolor 64 64 255
}


Lock 4 Hexen
{
	//$Title "Fire key"
	KeyFire
	Message "$TXT_NEED_KEY_FIRE"
	Mapcolor 255 128 0
}


Lock 5 Hexen
{
	//$Title "Emerald key"
	KeyEmerald
	Message "$TXT_NEED_KEY_EMERALD"
	Mapcolor 0 255 0
}


Lock 6 Hexen
{
	//$Title "Dungeon key"
	KeyDungeon
	Message "$TXT_NEED_KEY_DUNGEON"
	Mapcolor 47 151 255
}


Lock 7 Hexen
{
	//$Title "Silver key"
	KeySilver
	Message "$TXT_NEED_KEY_SILVER"
	Mapcolor 154 152 188
}


Lock 8 Hexen
{
	//$Title "Rusted key"
	KeyRusted
	Message "$TXT_NEED_KEY_RUSTED"
	Mapcolor 156 76 0
}


Lock 9 Hexen
{
	//$Title "Horn key"
	KeyHorn
	Message "$TXT_NEED_KEY_HORN"
	Mapcolor 255 218 0
}


Lock 10 Hexen
{
	//$Title "Swamp key"
	KeySwamp
	Message "$TXT_NEED_KEY_SWAMP"
	Mapcolor 64 255 64
}


Lock 11 Hexen
{
	//$Title "Castle key"
	KeyCastle
	Message "$TXT_NEED_KEY_CASTLE"
	Mapcolor 255 64 64
}


Lock 101 Hexen
{
	//$Title "All keys"
	KeySteel
	KeyCave
	KeyAxe
	KeyFire
	KeyEmerald
	KeyDungeon
	KeySilver
	KeyRusted
	KeyHorn
	KeySwamp
	KeyCastle
	Message "$PD_ALLKEYS"
}

Lock 229 Hexen
{
	//$Title "All keys"
	KeySteel
	KeyCave
	KeyAxe
	KeyFire
	KeyEmerald
	KeyDungeon
	KeySilver
	KeyRusted
	KeyHorn
	KeySwamp
	KeyCastle
	Message "$PD_ALLKEYS"
}

