Doors

Doors are the main obstacle of I Wanna Lockpick and are opened with Keys. Doors would continue to exist until their complex count goes to 0.

### Normal

Normal Colors behave normally. There is:

* White
* Orange
* Purple
* Red
* Green
* Blue
* Pink
* Cyan
* Black
* Brown (The doors themselves aren't special, though the keys are)

### Special

Special Colors change the Door's behavior a bit:

* Master (or Gold) Doors require Master Keys to open them. If a Door has any Golden component, they can't be opened with equipped Master Keys (by pressing X), only with your total Master Key count.
* Pure Doors can't be Cursed or opened with Master Keys.
* Glitch Doors mimic the color of the last Door you opened. However, if you opened it with an equipped Master Key, it wouldn't mimic it.

## Types

All doors have a type, which changes how they work:

### Normal

Normal Doors check if you have enough Keys of the Required Color and then apply it to the Spend Color.

### Blank

Blank Doors require exactly 0 Keys of the Door's color. They don't do anything to your key count.

### Blast

Blast Doors require atleast 1 Key, but when you open it, it removes all the keys of that color. Can be Real, Imaginary or ALL. Can also be Positive or Negative.

## Special

There are various special versions of doors, which affect how they work:

### Corrupted

Frozen, Eroded and Painted Doors require you to remove their corruption with an Aura:

* 1 Red Keys for Frozen Doors;
* 5 Green Keys for Eroded Doors;
* 3 Blue Keys for Painted Doors.

### Cursed

Cursed Doors can be Cursed with Brown Keys or Uncursed with Negative Brown Keys.

* Doors cannot be cursed from the start of the level, the Player has to Curse them with Brown Keys first.

### Bicolored

* Bicolored Doors have separate colors for their Required and Spend Colors. It calculates the cost for the Required Color and then applies it to the Spend Color.
	+ The color in the center is the required color and the outer color is the spent color.
	+ When cursed, both colors are turned brown.

### Copied

Copied Doors have multiple copies, which means that you need to open them as many times as it says on the top (marked with xCopies). They can't be copied from the start, they have to be copied with negative master keys by the player.

* They can also have Negative Copies and Imaginary Copies, as well as all of them at the same time (x-3-7i would have -3 Real Copies and -7 Imaginary Copies)
	+ Negative Copied Doors would have the cost inverted (a 3 Lock Door would become a -3 Lock Door)
	+ Positive Imaginary Copied Doors would multiply the amount of locks by i (which is equivalent to a 90° rotation on the imaginary plane).
		- A 6 Real Lock Door would become a 6 Imaginary Lock Door.
		- A 6 Imaginary Lock Door would become a -6 Real Lock Door.
	+ Negative Imaginary Copied Doors would multiply the amount of locks by -i (which is equivalent to a 270° / -90° rotation on the imaginary plane).
		- A 6 Real Lock Door would become a -6 Imaginary Lock Door.
		- A 6 Imaginary Lock Door would become a 6 Real Lock Door.
	+ You'll have to use the Lens of Truth to see Imaginary Copies of Doors.

### Combo

Combo Doors: these Doors have multiple Locks inside of them. When trying to open them, it checks if you have enough keys for each lock, and then applies the sum of their costs to the Spend Color. When they are cursed all colors are turned brown.

* Example: A Pink Combo Door with a 4 White Lock and a 5 Orange lock. You need 4 White and 5 Orange Keys to open it. 9 Pink Keys would be spent.

### Lockless

Lockless Doors: these Doors do not require any Keys to open them at all (while Blank Doors require exactly 0 of that color). They are usually used for Glitch Keys and Doors.

## Trivia

* The sprites and sounds for Doors were taken from I Wanna Keypick 100.
* Lockless Doors are just Combo Doors without any locks.
* Corruption does not show up on Doors larger than 2x2.
	+ However, the Frozen effect can still show up on 3x2 Doors.

## Gallery

A Glitch Door mimicking a White Door.A Frozen White Door.An Eroded White Door.A Painted White Door.A Frozen Painted White Door.A Frozen Eroded White Door.An Eroded Painted White Door.A Frozen Eroded Painted White Door.A Simple Door icon from KeyTool.A Combo Door icon from KeyTool.