Lament Configurum

Lament Configurum is an active item.

Effects

 * Upon use, spawns 3 to 5 enemies. If opened, it will spawn a gun or item. The Lament Configurum must be used a certain number of times before it is successfully opened, and each time it spawns a gun or item, the number of uses it takes to open increases by 1. It always spawns rewards on the 2nd, 5th, 9th, 14th, 20th, etc. uses.
 * There is a 25% chance that it will damage the player upon spawning a gun or item.
 * Damage starts at one heart and increases by half a heart each time the player is damaged by the item.
 * Items and guns spawned will increase curse by 1 when picked up.
 * Items and guns spawned will be, , or quality.
 * Increases curse by 1 while held.
 * Increases magnificence by 1, despite being a item.

Bugs
If the player triggers a challenge shrine, completes it, then uses Lament Configurum before leaving the room, upon completion, a new chest will spawn. This does not work if the player exits and re-enters the room.

Because the player is not immune to damage during transitions between boss fights, it is possible to take damage from spawned enemies during that transition, such as during the Lich boss fight.

Trivia

 * This item is a reference to the Lament Configuration from Hellraiser.
 * The synergy "Heart-Shaped Box" is a reference to the song of the same name by Nirvana.
 * If you take damage from Lament Configurum that kills you when a gun or item spawns while you have Clone in your inventory you get the gun or item put directly into your inventory after you revive, despite the fact that the guns and items spawn on the ground.