//
// This is how new locks can be defined in this version
// The game specifier behind the lock definition is optional
// and there only to support defining all the default locks
// for all games
//
ClearLocks

// Unfortunately due to DEHACKED/language compatibility the remote 
// single key messages cannot be used by default. If you want them
// just uncomment them and include a modified version of this lump
// in your file.

Lock 1 Doom
{
	RedCard
	Message "$PD_REDC"
	//RemoteMessage "You need a red card to activate this object"
	Mapcolor 255 0 0
}


Lock 2 Doom
{
	BlueCard
	Message "$PD_BLUEC"
	//RemoteMessage "You need a blue card to activate this object"
	Mapcolor 0 0 255
}


Lock 3 Doom
{
	YellowCard
	Message "$PD_YELLOWC"
	//RemoteMessage "You need a yellow card to activate this object"
	Mapcolor 255 255 0
}


Lock 4 Doom
{
	RedSkull
	Message "$PD_REDS"
	//RemoteMessage "You need a red skull to activate this object"
	Mapcolor 255 0 0
}


Lock 5 Doom
{
	BlueSkull
	Message "$PD_BLUES"
	//RemoteMessage "You need a blue skull to activate this object"
	Mapcolor 0 0 255
}


Lock 6 Doom
{
	YellowSkull
	Message "$PD_YELLOWS"
	//RemoteMessage "You need a yellow skull to activate this object"
	Mapcolor 255 255 0
}


Lock 129 Doom
{
	Any { RedCard RedSkull KeyGreen }
	Message "$PD_REDK"
	RemoteMessage "$PD_REDO"
	Mapcolor 255 0 0
}


Lock 130 Doom
{
	Any { BlueCard BlueSkull KeyBlue }
	Message "$PD_BLUEK"
	RemoteMessage "$PD_BLUEO"
	Mapcolor 0 0 255
}


Lock 131 Doom
{
	Any { YellowCard YellowSkull KeyYellow }
	Message "$PD_YELLOWK"
	RemoteMessage "$PD_YELLOWO"
	Mapcolor 255 255 0
}


Lock 132 Doom
{
	Any { RedCard RedSkull }
	Message "$PD_REDK"
	RemoteMessage "$PD_REDO"
	Mapcolor 255 0 0
}


Lock 133 Doom
{
	Any { BlueCard BlueSkull }
	Message "$PD_BLUEK"
	RemoteMessage "$PD_BLUEO"
	Mapcolor 0 0 255
}


Lock 134 Doom
{
	Any { YellowCard YellowSkull }
	Message "$PD_YELLOWK"
	RemoteMessage "$PD_YELLOWO"
	Mapcolor 255 255 0
}

Lock 100
{
	Message "Any key will open this door"
	RemoteMessage "Any key will activate this object"
	Mapcolor 128 128 255
}

Lock 228
{
	Message "Any key will open this door"
	RemoteMessage "Any key will activate this object"
	Mapcolor 128 128 255
}

Lock 229 Doom
{
	Any { BlueCard BlueSkull KeyBlue}
	Any { YellowCard YellowSkull KeyYellow}
	Any { RedCard RedSkull KeyGreen}
	Message "$PD_ALL3"
	//RemoteMessage "You need all three keys to activate this object"
}

Lock 101 Doom
{
	BlueCard 
	BlueSkull
	YellowCard 
	YellowSkull
	RedCard 
	RedSkull
	KeyGreen 
	KeyYellow 
	KeyBlue
	Message "$PD_ALL6"
	//RemoteMessage "You need all six keys to activate this object"
}

//
// Heretic KeyDefs
//

Lock 1 Heretic
{
	KeyGreen
	Message "$TXT_NEEDGREENKEY"
	Mapcolor 0 255 0
}


Lock 2 Heretic
{
	KeyBlue 
	Message "$TXT_NEEDBLUEKEY"
	Mapcolor 0 0 255
}


Lock 3 Heretic
{
	KeyYellow
	Message "$TXT_NEEDYELLOWKEY"
	Mapcolor 255 255 0
}


Lock 129 Heretic
{
	KeyGreen
	Message "$TXT_NEEDGREENKEY"
	Mapcolor 0 255 0
}


Lock 130 Heretic
{
	KeyBlue 
	Message "$TXT_NEEDBLUEKEY"
	Mapcolor 0 0 255
}


Lock 131 Heretic
{
	KeyYellow
	Message "$TXT_NEEDYELLOWKEY"
	Mapcolor 255 255 0
}


Lock 229 Heretic
{
	KeyGreen 
	KeyYellow 
	KeyBlue
	Message "$PD_ALL3"
	RemoteMessage "You need all three keys to activate this object"
}

Lock 101 Heretic
{
	KeyGreen 
	KeyYellow 
	KeyBlue
	Message "$PD_ALL3"
	RemoteMessage "You need all three keys to activate this object"
}


//
// Hexen KeyDefs
//

Lock 1 Hexen
{
	KeySteel
	Message "You need the $TXT_KEY_STEEL"
	Mapcolor 150 150 150
}


Lock 2 Hexen
{
	KeyCave
	Message "You need the $TXT_KEY_CAVE"
	Mapcolor 255 218 0
}


Lock 3 Hexen
{
	KeyAxe
	Message "You need the $TXT_KEY_AXE"
	Mapcolor 64 64 255
}


Lock 4 Hexen
{
	KeyFire
	Message "You need the $TXT_KEY_FIRE"
	Mapcolor 255 128 0
}


Lock 5 Hexen
{
	KeyEmerald
	Message "You need the $TXT_KEY_EMERALD"
	Mapcolor 0 255 0
}


Lock 6 Hexen
{
	KeyDungeon
	Message "You need the $TXT_KEY_DUNGEON"
	Mapcolor 47 151 255
}


Lock 7 Hexen
{
	KeySilver
	Message "You need the $TXT_KEY_SILVER"
	Mapcolor 154 152 188
}


Lock 8 Hexen
{
	KeyRusted
	Message "You need the $TXT_KEY_RUSTED"
	Mapcolor 156 76 0
}


Lock 9 Hexen
{
	KeyHorn
	Message "You need the $TXT_KEY_HORN"
	Mapcolor 255 218 0
}


Lock 10 Hexen
{
	KeySwamp
	Message "You need the $TXT_KEY_SWAMP"
	Mapcolor 64 255 64
}


Lock 11 Hexen
{
	KeyCastle
	Message "You need the $TXT_KEY_CASTLE"
	Mapcolor 255 64 64
}


Lock 101 Hexen
{
	KeySteel
	KeyCave
	KeyAxe
	KeyFire
	KeyEmerald
	KeyDungeon
	KeySilver
	KeyRusted
	KeyHorn
	KeySwamp
	KeyCastle
	Message "You need all the keys"
}

Lock 229 Hexen
{
	KeySteel
	KeyCave
	KeyAxe
	KeyFire
	KeyEmerald
	KeyDungeon
	KeySilver
	KeyRusted
	KeyHorn
	KeySwamp
	KeyCastle
	Message "You need all the keys"
}


// Strife KeyDefs

Lock 1 Strife
{
	BaseKey
	Message "You don't have the key"
	Mapcolor 150 150 150
}


Lock 2 Strife
{
	GovsKey
	Message "You don't have the key"
	Mapcolor 150 150 150
}


Lock 3 Strife
{
	Passcard
	RemoteMessage "You need a passcard"
	Message "You need a pass card key to open this door"
	Mapcolor 128 266 150
}


Lock 4 Strife
{
	IDBadge
	Message "You need an ID card"
	Mapcolor 255 128 0
}


Lock 5 Strife
{
	PrisonKey
	Message "You don't have the key to the prison"
	Mapcolor 0 255 0
}


Lock 6 Strife
{
	SeveredHand
	Message "Hand print not on file"
	Mapcolor 255 151 100
}


Lock 7 Strife
{
	Power1Key
	Message "You don't have the key"
	Mapcolor 150 150 150
}


Lock 8 Strife
{
	Power2Key
	Message "You don't have the key"
	Mapcolor 150 150 150
}


Lock 9 Strife
{
	Power3Key
	Message "You don't have the key"
	Mapcolor 150 150 150
}


Lock 10 Strife
{
	StrifeGoldKey
	Message "You need the Gold Key"
	Mapcolor 255 200 0
}


Lock 11 Strife
{
	IDCard
	RemoteMessage "You need an ID badge"
	Message "You need an ID badge to open this door"
	Mapcolor 200 0 0
}

Lock 12 Strife
{
	SilverKey
	Message "You don't have the key"
	Mapcolor 150 150 150
}

Lock 13 Strife
{
	OracleKey
	Message "You don't have the key"
	Mapcolor 150 150 150
}

Lock 14 Strife
{
	MilitaryID
	Message "You don't have the key"
	Mapcolor 150 150 150
}

Lock 15 Strife
{
	OrderKey
	Message "You don't have the key"
	Mapcolor 150 150 150
}

Lock 16 Strife
{
	WarehouseKey
	Message "You don't have the key"
	Mapcolor 150 150 150
}

Lock 17 Strife
{
	BrassKey
	Message "You need a brass key"
	Mapcolor 150 75 0
}

Lock 18 Strife
{
	RedCrystalKey
	Message "You don't have the key"
	Mapcolor 150 150 150
}

Lock 19 Strife
{
	BlueCrystalKey
	Message "You don't have the key"
	Mapcolor 150 150 150
}

Lock 20 Strife
{
	ChapelKey
	Message "You don't have the key"
	Mapcolor 150 150 150
}

Lock 21 Strife
{
	CatacombKey
	Message "You don't have the key"
	Mapcolor 150 150 150
}

Lock 22 Strife
{
	SecurityKey
	Message "You don't have the key"
	Mapcolor 150 150 150
}

Lock 23 Strife
{
	CoreKey
	Message "You don't have the key"
	Mapcolor 150 150 150
}

Lock 24 Strife
{
	MaulerKey
	Message "You don't have the key"
	Mapcolor 150 150 150
}

Lock 25 Strife
{
	FactoryKey
	Message "You don't have the key"
 	Mapcolor 150 150 150
}

Lock 26 Strife
{
	MineKey
	Message "You don't have the key"
	Mapcolor 150 150 150
}

Lock 27 Strife
{
	NewKey5
	Message "You don't have the key"
	Mapcolor 150 150 150
}

Lock 50 Strife
{
	PrisonPass
	Message "You don't have the key"
	Mapcolor 150 150 150
}

Lock 51 Strife
{
	OraclePass
	Message "You don't have the key"
	Mapcolor 150 150 150
}

