Spelunky is © 2008, 2009 Derek Yu and Mossmouth, LLC, and is used under the [Spelunky User License v1.1b](https://spelunky.ai/LICENSE.txt). spelunky.ai is an unofficial fan project, not affiliated with or endorsed by Mossmouth. The game and its assets may not be sold.

Music by George Buzinkai and Jonathan Perry; sound effects made in SFXR. From Spelunky Classic 1.1, © 2008, 2009 Derek Yu and Mossmouth, LLC.

# Diamond

From the spelunky.ai wiki: <https://spelunky.ai/wiki/diamond>. Verified against the spelunky.ai port [v0.1.10](https://github.com/851-labs/spelunky/releases/tag/v0.1.10) on 28 October 2026.

The Diamond is a gem in Spelunky Classic worth $5,000 in the Mines and more deeper down, made when a Ghost touches a big gem, and found in the City of Gold.

![A faceted pale blue and white gem, cut in a diamond shape](https://spelunky.ai/wiki/media/06c990e56f8ec86f/sprites/sDiamond/frames/0%404x.png)

| Diamond    |                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Value      | $5,000[^1]                                                                                                                                                                                                                                                                                                                                                                                                                             |
| Object     | `oDiamond`                                                                                                                                                                                                                                                                                                                                                                                                                             |
| Found in   | [The Mines](https://spelunky.ai/wiki/mines) (From a big gem a Ghost touches)[^2], [The Jungle](https://spelunky.ai/wiki/jungle) (From a big gem a Ghost touches)[^2], [The Ice Caves](https://spelunky.ai/wiki/ice-caves) (From a big gem a Ghost touches)[^2], [The Temple](https://spelunky.ai/wiki/temple) (From a big gem a Ghost touches)[^2], [City of Gold](https://spelunky.ai/wiki/city-of-gold) (In the Lady Xoc statue)[^3] |
| Dropped by | [Ghost](https://spelunky.ai/wiki/ghost) (from a big gem it touches)[^4]                                                                                                                                                                                                                                                                                                                                                                |

It's the most valuable gem, worth more than three [Big Rubies](https://spelunky.ai/wiki/big-ruby), and in the Mines as much as a
[Golden Idol](https://spelunky.ai/wiki/golden-idol), without having to be carried out. Level generation's rolls never make one:
Diamonds come from the [Ghost](https://spelunky.ai/wiki/ghost), which turns every big gem it touches into one, and from the Lady Xoc
statue in the [City of Gold](https://spelunky.ai/wiki/city-of-gold). The player collects one by touching it.

## Value

A Diamond's base value is $5,000, and it's worth a quarter of that more for each area
past the Mines, the code counting [Olmec's Lair](https://spelunky.ai/wiki/olmecs-lair) as an area of its own[^5][^6]:

| Area                                                 | Value   |
| ---------------------------------------------------- | ------- |
| [The Mines](https://spelunky.ai/wiki/mines)          | $5,000  |
| [The Jungle](https://spelunky.ai/wiki/jungle)        | $6,250  |
| [The Ice Caves](https://spelunky.ai/wiki/ice-caves)  | $7,500  |
| [The Temple](https://spelunky.ai/wiki/temple)        | $8,750  |
| [Olmec's Lair](https://spelunky.ai/wiki/olmecs-lair) | $10,000 |

## Locations

A Diamond comes from three things only[^7]:

- **The [Ghost](https://spelunky.ai/wiki/ghost).** A [Big Emerald](https://spelunky.ai/wiki/big-emerald), [Big Sapphire](https://spelunky.ai/wiki/big-sapphire) or [Big Ruby](https://spelunky.ai/wiki/big-ruby)
  the Ghost touches is replaced, where it lies, by a Diamond[^8][^2][^4].
  The Ghost comes for a player who stays too long on a level, and drifts through walls toward him, so it
  changes the big gems it passes on the way, those still buried in the rock too: one buried gem becomes a
  buried Diamond[^9].
- **The Lady Xoc statue**, which stands in the [City of Gold](https://spelunky.ai/wiki/city-of-gold): the block at its brow
  drops two Diamonds when it's destroyed[^10][^11].
- **The level editor**'s `8` tile[^12].

**Clip: A big sapphire becomes a diamond.** A ghost appears at the edge of the screen and drifts toward the player. As it passes over a big sapphire lying in a nook, the sapphire turns into a diamond. ([video](https://spelunky.ai/wiki/media/06c990e56f8ec86f/clips/diamond/ghost/clip.mp4))

In the first clip, a Ghost appears at the edge of the screen and drifts toward the player; as it passes over a
Big Sapphire lying in a nook, the sapphire becomes a Diamond[^13].

**Clip: The Lady Xoc statue.** The player bombs the top of the Lady Xoc statue. Its blocks break into gold chunks and nuggets, and the one at its brow into two diamonds. ([video](https://spelunky.ai/wiki/media/06c990e56f8ec86f/clips/city-of-gold/xoc-statue/clip.mp4))

In the second, the player bombs the top of the Lady Xoc statue, and the block at its brow breaks into two
Diamonds[^14].

## Collecting

The player collects a Diamond by touching it while he isn't stunned or dead; the one he takes is the
treasure nearest him, one a step[^15]. It's made uncollectable,
and its own alarm, set to 20 steps (0.67 seconds)
when it's made, makes it collectable[^16][^17]: a big gem the Ghost has just turned into a Diamond can't be
picked up for that long, even if the gem could have been.

Its value shows under his money and is counted into it after a short pause; whatever is left is counted at
once when he leaves the level[^18][^19]. A gem plays its own sound, where gold plays the
coin's[^20], and the screen between levels shows each Diamond
collected on the level[^21].

A loose one falls and comes to rest like other treasure, moving only while it's on the screen; a [Web](https://spelunky.ai/wiki/web) it
falls into holds it, and lava it sinks into destroys it[^22][^23].

## FAQ

### How much is a Diamond worth in Spelunky Classic?

$5,000 in the Mines, $6,250 in the Jungle, $7,500 in the Ice Caves, $8,750 in the Temple and $10,000 in Olmec's Lair: more than any other gem.

### How do you get a Diamond in Spelunky Classic?

A [Ghost](https://spelunky.ai/wiki/ghost) that touches a [Big Emerald](https://spelunky.ai/wiki/big-emerald), a [Big Sapphire](https://spelunky.ai/wiki/big-sapphire) or a [Big Ruby](https://spelunky.ai/wiki/big-ruby) turns it into one. The only others are the two in the brow of the Lady Xoc statue, in the [City of Gold](https://spelunky.ai/wiki/city-of-gold), and the level editor's.

### Can you find a Diamond in rock or in a Chest in Spelunky Classic?

No. Level generation's rolls never make one, nor does any Chest, Jar or monster. A Diamond can be inside rock only when the Ghost has turned a big gem buried there into one.

### Does the Ghost turn small gems into Diamonds in Spelunky Classic?

No. Only the three big gems become Diamonds; the small [Emerald](https://spelunky.ai/wiki/emerald), [Sapphire](https://spelunky.ai/wiki/sapphire) and [Ruby](https://spelunky.ai/wiki/ruby) have no code for the Ghost's touch, and stay as they are.

## See also

- **Related:** [Big Emerald](https://spelunky.ai/wiki/big-emerald), [Big Sapphire](https://spelunky.ai/wiki/big-sapphire), [Big Ruby](https://spelunky.ai/wiki/big-ruby)

## References

[^1]: [`objects/oDiamond/create.gml:8`](https://spelunky.ai/wiki/source/objects/oDiamond/create#L8)

[^2]: [`objects/oSapphireBig/collision_oGhost.gml:1-2`](https://spelunky.ai/wiki/source/objects/oSapphireBig/collision_oGhost#L1-L2)

[^3]: [`scripts/scrRoomGen4.gml:385`](https://spelunky.ai/wiki/source/scripts/scrRoomGen4#L385)

[^4]: [`objects/oRubyBig/collision_oGhost.gml:1-2`](https://spelunky.ai/wiki/source/objects/oRubyBig/collision_oGhost#L1-L2)

[^5]: [`objects/oPlayer1/step.gml:1996`](https://spelunky.ai/wiki/source/objects/oPlayer1/step#L1996)

[^6]: [`scripts/scrInitLevel.gml:24-29`](https://spelunky.ai/wiki/source/scripts/scrInitLevel#L24-L29)

[^7]: Quirk 1 (docs/quirks.md)

[^8]: [`objects/oEmeraldBig/collision_oGhost.gml:1-2`](https://spelunky.ai/wiki/source/objects/oEmeraldBig/collision_oGhost#L1-L2)

[^9]: Replay `fidelity/replays/item-seed-2-diamond.txt`

[^10]: [`scripts/scrRoomGen4.gml:378-393`](https://spelunky.ai/wiki/source/scripts/scrRoomGen4#L378-L393)

[^11]: [`objects/oXocBlock/destroy.gml:24`](https://spelunky.ai/wiki/source/objects/oXocBlock/destroy#L24)

[^12]: [`scripts/scrCreateTileObj.gml:281-284`](https://spelunky.ai/wiki/source/scripts/scrCreateTileObj#L281-L284)

[^13]: Clip diamond/ghost

[^14]: Clip city-of-gold/xoc-statue

[^15]: [`objects/oPlayer1/step.gml:1990-2016`](https://spelunky.ai/wiki/source/objects/oPlayer1/step#L1990-L2016)

[^16]: [`objects/oDiamond/create.gml:6-7`](https://spelunky.ai/wiki/source/objects/oDiamond/create#L6-L7)

[^17]: [`objects/oDiamond/alarm_0.gml:1`](https://spelunky.ai/wiki/source/objects/oDiamond/alarm_0#L1)

[^18]: [`objects/oPlayer1/step.gml:1953-1971`](https://spelunky.ai/wiki/source/objects/oPlayer1/step#L1953-L1971)

[^19]: [`objects/oPlayer1/other_animation_end.gml:46-50`](https://spelunky.ai/wiki/source/objects/oPlayer1/other_animation_end#L46-L50)

[^20]: [`objects/oPlayer1/step.gml:2000-2014`](https://spelunky.ai/wiki/source/objects/oPlayer1/step#L2000-L2014)

[^21]: [`objects/oTransition/alarm_0.gml:83-88`](https://spelunky.ai/wiki/source/objects/oTransition/alarm_0#L83-L88)

[^22]: [`objects/oTreasure/step.gml:1-79`](https://spelunky.ai/wiki/source/objects/oTreasure/step#L1-L79)

[^23]: [`objects/oWeb/collision_oTreasure.gml:1-2`](https://spelunky.ai/wiki/source/objects/oWeb/collision_oTreasure#L1-L2)

### Source code

- [`objects/oDiamond/create.gml`](https://spelunky.ai/wiki/source/objects/oDiamond/create)
- [`objects/oDiamond/alarm_0.gml`](https://spelunky.ai/wiki/source/objects/oDiamond/alarm_0)
- [`objects/oEmeraldBig/collision_oGhost.gml`](https://spelunky.ai/wiki/source/objects/oEmeraldBig/collision_oGhost)
- [`objects/oSapphireBig/collision_oGhost.gml`](https://spelunky.ai/wiki/source/objects/oSapphireBig/collision_oGhost)
- [`objects/oRubyBig/collision_oGhost.gml`](https://spelunky.ai/wiki/source/objects/oRubyBig/collision_oGhost)
- [`objects/oXocBlock/destroy.gml`](https://spelunky.ai/wiki/source/objects/oXocBlock/destroy)
- [`objects/oTreasure/create.gml`](https://spelunky.ai/wiki/source/objects/oTreasure/create)
- [`objects/oTreasure/step.gml`](https://spelunky.ai/wiki/source/objects/oTreasure/step)
- [`objects/oPlayer1/step.gml`](https://spelunky.ai/wiki/source/objects/oPlayer1/step)
