Difference between revisions of "Random vault (UnNetHack)"
Jump to navigation
Jump to search
(update, convert list to table, fix rooms left in .des format) |
m (cat + var) |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | '''Random vaults''' are a part of the level generation formula | + | '''Random vaults''' are a part of the level generation formula used in [[UnNetHack]]. Despite the name, these are entirely unrelated to the hidden [[vault]]s filled with gold, and are used to create unique rooms that connect normally to the rest of the dungeon. |
− | + | In the UnNetHack source code, the random vaults are defined in <code>dat/vaults.des</code>. The upcoming release of [[NetHack 3.7.0]] will have a similar feature, called [[themed room]]s. | |
− | The "normal random room" has a 40 | + | ==Description== |
+ | Every room that is not a vault or part of a special level and not a vault is selected from the list of random vaults. The "normal random room" has a {{frac|40|41}} chance of being selected; all the others have a {{frac|2050}} chance of being selected. Some of these rooms can be further transformed into [[special room]]s. | ||
− | + | ==Possible vaults== | |
− | |||
− | |||
− | |||
− | == Possible | ||
{|class="prettytable" | {|class="prettytable" | ||
!Name | !Name | ||
− | !Can be | + | !Can be special |
!Size | !Size | ||
!Map | !Map | ||
!Notes | !Notes | ||
|- | |- | ||
− | | | + | |Normal random room |
− | |Yes | + | |style="background-color:lightgreen"|Yes |
| | | | ||
| | | | ||
Line 27: | Line 24: | ||
|- | |- | ||
|Fake Delphi | |Fake Delphi | ||
− | |Subroom only | + | |style="background-color:#FFF68F|Subroom only |
|11x9 | |11x9 | ||
| | | | ||
Line 37: | Line 34: | ||
|- | |- | ||
|room with a subroom | |room with a subroom | ||
− | |Subroom only | + | |style="background-color:#FFF68F|Subroom only |
| | | | ||
| | | | ||
Line 44: | Line 41: | ||
|- | |- | ||
|big room, 1 | |big room, 1 | ||
− | |No | + | |style="background-color:pink"|No |
|30x10 | |30x10 | ||
| | | | ||
Line 53: | Line 50: | ||
|- | |- | ||
|lava/ice/pool/tree/fountain room | |lava/ice/pool/tree/fountain room | ||
− | |No | + | |style="background-color:pink"|No |
|3x3 | |3x3 | ||
| | | | ||
Line 61: | Line 58: | ||
|- | |- | ||
|big room, 2 (max. vertical height) | |big room, 2 (max. vertical height) | ||
− | |No | + | |style="background-color:pink"|No |
|10x17 | |10x17 | ||
| | | | ||
− | + | | | |
− | * | + | * 2d3 random hostile monsters |
|- | |- | ||
|thin, long, horizontal room | |thin, long, horizontal room | ||
− | |No | + | |style="background-color:pink"|No |
|17x3 | |17x3 | ||
| | | | ||
+ | | | ||
+ | * 2d3 random hostile monsters | ||
|- | |- | ||
|thin, long, vertical room | |thin, long, vertical room | ||
− | |No | + | |style="background-color:pink"|No |
|3x17 | |3x17 | ||
| | | | ||
+ | | | ||
+ | * 2d3 random hostile monsters | ||
|- | |- | ||
|tiny cage, big monster | |tiny cage, big monster | ||
− | |No | + | |style="background-color:pink"|No |
|5x5 | |5x5 | ||
| | | | ||
Line 86: | Line 87: | ||
|- | |- | ||
|room with dangerous monster and loot | |room with dangerous monster and loot | ||
− | |No | + | |style="background-color:pink"|No |
| | | | ||
| | | | ||
Line 101: | Line 102: | ||
** 25% chance of a fourth object (this one will be cursed) | ** 25% chance of a fourth object (this one will be cursed) | ||
** 10% chance of a fifth object (this one will be blessed) | ** 10% chance of a fifth object (this one will be blessed) | ||
+ | |- | ||
+ | !Name | ||
+ | !Can be special | ||
+ | !Size | ||
+ | !Map | ||
+ | !Notes | ||
|- | |- | ||
|boulder room | |boulder room | ||
− | |No | + | |style="background-color:pink"|No |
| | | | ||
| | | | ||
Line 111: | Line 118: | ||
|- | |- | ||
|spider nest | |spider nest | ||
− | |No | + | |style="background-color:pink"|No |
| | | | ||
| | | | ||
Line 119: | Line 126: | ||
|- | |- | ||
|ice room | |ice room | ||
− | |No | + | |style="background-color:pink"|No |
| | | | ||
| | | | ||
Line 127: | Line 134: | ||
|- | |- | ||
|random cloud/lava/ice/pool/tree room | |random cloud/lava/ice/pool/tree room | ||
− | |No | + | |style="background-color:pink"|No |
| | | | ||
| | | | ||
Line 134: | Line 141: | ||
|- | |- | ||
|buried treasure | |buried treasure | ||
− | |Yes | + | |style="background-color:lightgreen"|Yes |
| | | | ||
| | | | ||
Line 141: | Line 148: | ||
|- | |- | ||
|massacre | |massacre | ||
− | |No | + | |style="background-color:pink"|No |
| | | | ||
| | | | ||
Line 150: | Line 157: | ||
|- | |- | ||
|statuary | |statuary | ||
− | |No | + | |style="background-color:pink"|No |
| | | | ||
| | | | ||
Line 158: | Line 165: | ||
|- | |- | ||
|light source | |light source | ||
− | |Yes | + | |style="background-color:lightgreen"|Yes |
| | | | ||
| | | | ||
Line 166: | Line 173: | ||
|- | |- | ||
|potentially spooky | |potentially spooky | ||
− | |Yes | + | |style="background-color:lightgreen"|Yes |
| | | | ||
| | | | ||
Line 177: | Line 184: | ||
|- | |- | ||
|temple of the gods | |temple of the gods | ||
− | |No | + | |style="background-color:pink"|No |
| | | | ||
| | | | ||
| | | | ||
− | * one | + | * one altar of each alignment |
+ | |- | ||
+ | !Name | ||
+ | !Can be special | ||
+ | !Size | ||
+ | !Map | ||
+ | !Notes | ||
|- | |- | ||
|mausoleum | |mausoleum | ||
− | |No | + | |style="background-color:pink"|No |
|5x5 | |5x5 | ||
| | | | ||
Line 196: | Line 209: | ||
|- | |- | ||
|big room, 1, random type | |big room, 1, random type | ||
− | |No | + | |style="background-color:pink"|No |
|17x10 | |17x10 | ||
| | | | ||
Line 203: | Line 216: | ||
|- | |- | ||
|big room, 2 (max. vertical height), filled with fog | |big room, 2 (max. vertical height), filled with fog | ||
− | |No | + | |style="background-color:pink"|No |
|10x17 | |10x17 | ||
| | | | ||
Line 211: | Line 224: | ||
|- | |- | ||
|very thin, long, horizontal room | |very thin, long, horizontal room | ||
− | |No | + | |style="background-color:pink"|No |
|50x5 | |50x5 | ||
| | | | ||
− | + | | | |
* 2d3 random hostile monsters | * 2d3 random hostile monsters | ||
|- | |- | ||
|very very thin, long, horizontal room | |very very thin, long, horizontal room | ||
− | |No | + | |style="background-color:pink"|No |
|70x3 | |70x3 | ||
| | | | ||
+ | | | ||
+ | * 2d3 random hostile monsters | ||
|- | |- | ||
|L-shaped | |L-shaped | ||
− | |Yes | + | |style="background-color:lightgreen"|Yes |
| | | | ||
| | | | ||
Line 236: | Line 251: | ||
-------- | -------- | ||
</replacecharsblock></div> | </replacecharsblock></div> | ||
− | + | | | |
* can exist in any of the 4 possible rotations | * can exist in any of the 4 possible rotations | ||
|- | |- | ||
|L-shaped, big | |L-shaped, big | ||
− | |No | + | |style="background-color:pink"|No |
| | | | ||
| | | | ||
Line 257: | Line 272: | ||
------------- | ------------- | ||
</replacecharsblock></div> | </replacecharsblock></div> | ||
+ | | | ||
+ | * can exist in any of the 4 possible rotations | ||
|- | |- | ||
|Blocked center | |Blocked center | ||
− | |Yes | + | |style="background-color:lightgreen"|Yes |
| | | | ||
| | | | ||
Line 282: | Line 299: | ||
|- | |- | ||
|Circular, small | |Circular, small | ||
− | |Yes | + | |style="background-color:lightgreen"|Yes |
| | | | ||
| | | | ||
Line 297: | Line 314: | ||
|- | |- | ||
|Circular, medium | |Circular, medium | ||
− | |Yes | + | |style="background-color:lightgreen"|Yes |
| | | | ||
| | | | ||
Line 312: | Line 329: | ||
</replacecharsblock></div> | </replacecharsblock></div> | ||
| | | | ||
+ | |- | ||
+ | !Name | ||
+ | !Can be special | ||
+ | !Size | ||
+ | !Map | ||
+ | !Notes | ||
|- | |- | ||
|Circular, big | |Circular, big | ||
− | |Yes | + | |style="background-color:lightgreen"|Yes |
| | | | ||
| | | | ||
Line 333: | Line 356: | ||
|- | |- | ||
|T-shaped | |T-shaped | ||
− | |Yes | + | |style="background-color:lightgreen"|Yes |
| | | | ||
| | | | ||
Line 350: | Line 373: | ||
|- | |- | ||
|S-shaped | |S-shaped | ||
− | |Yes | + | |style="background-color:lightgreen"|Yes |
| | | | ||
| | | | ||
Line 370: | Line 393: | ||
|- | |- | ||
|Z-shaped | |Z-shaped | ||
− | |Yes | + | |style="background-color:lightgreen"|Yes |
| | | | ||
| | | | ||
Line 390: | Line 413: | ||
|- | |- | ||
|U-shaped | |U-shaped | ||
− | |Yes | + | |style="background-color:lightgreen"|Yes |
| | | | ||
| | | | ||
Line 407: | Line 430: | ||
|- | |- | ||
|C-shaped | |C-shaped | ||
− | |Yes | + | |style="background-color:lightgreen"|Yes |
| | | | ||
| | | | ||
Line 426: | Line 449: | ||
|- | |- | ||
|Tetris L-shaped | |Tetris L-shaped | ||
− | |Yes | + | |style="background-color:lightgreen"|Yes |
| | | | ||
| | | | ||
Line 446: | Line 469: | ||
|- | |- | ||
|Tetris J-shaped | |Tetris J-shaped | ||
− | |Yes | + | |style="background-color:lightgreen"|Yes |
| | | | ||
| | | | ||
Line 466: | Line 489: | ||
|- | |- | ||
|Four-leaf clover | |Four-leaf clover | ||
− | |Yes | + | |style="background-color:lightgreen"|Yes |
| | | | ||
| | | | ||
Line 485: | Line 508: | ||
|- | |- | ||
|Cross | |Cross | ||
− | |Yes | + | |style="background-color:lightgreen"|Yes |
| | | | ||
| | | | ||
Line 502: | Line 525: | ||
</replacecharsblock></div> | </replacecharsblock></div> | ||
| | | | ||
+ | |- | ||
+ | !Name | ||
+ | !Can be special | ||
+ | !Size | ||
+ | !Map | ||
+ | !Notes | ||
|- | |- | ||
|watcher in the water | |watcher in the water | ||
− | |No | + | |style="background-color:pink"|No |
| | | | ||
| | | | ||
Line 513: | Line 542: | ||
|- | |- | ||
|room with sessile growths | |room with sessile growths | ||
− | |No | + | |style="background-color:pink"|No |
| | | | ||
| | | | ||
Line 520: | Line 549: | ||
|- | |- | ||
|Pillars | |Pillars | ||
− | |Yes | + | |style="background-color:lightgreen"|Yes |
|10x10 | |10x10 | ||
| | | | ||
Line 533: | Line 562: | ||
|- | |- | ||
|Small tightly-placed pillars | |Small tightly-placed pillars | ||
− | |Yes | + | |style="background-color:lightgreen"|Yes |
| | | | ||
| | | | ||
Line 549: | Line 578: | ||
|- | |- | ||
|Mirrored obstacles | |Mirrored obstacles | ||
− | |Yes | + | |style="background-color:lightgreen"|Yes |
| | | | ||
| | | | ||
Line 565: | Line 594: | ||
|- | |- | ||
|Trap Room | |Trap Room | ||
− | |No | + | |style="background-color:pink"|No |
| | | | ||
| | | | ||
Line 580: | Line 609: | ||
|- | |- | ||
|Underground rivers | |Underground rivers | ||
− | | | + | |style="background-color:pink"|No |
| | | | ||
| | | | ||
Line 588: | Line 617: | ||
|- | |- | ||
|Trapped rust monster, disenchanter, or disintegrator | |Trapped rust monster, disenchanter, or disintegrator | ||
− | |No | + | |style="background-color:pink"|No |
|5x5 | |5x5 | ||
| | | | ||
Line 596: | Line 625: | ||
|- | |- | ||
|Fern nursery | |Fern nursery | ||
− | |No | + | |style="background-color:pink"|No |
| | | | ||
| | | | ||
Line 604: | Line 633: | ||
** 50% chance of a [[fern|arctic fern]] | ** 50% chance of a [[fern|arctic fern]] | ||
** 50% chance of a [[fern|blazing fern]] | ** 50% chance of a [[fern|blazing fern]] | ||
− | ** 50% chance of an [[fern| | + | ** 50% chance of an [[fern|swamp fern]] |
|- | |- | ||
|Ozymandias' Tomb | |Ozymandias' Tomb | ||
− | |No | + | |style="background-color:pink"|No |
| | | | ||
| | | | ||
<div class="ttyscreen"><replacecharsblock rules="ttymap"> | <div class="ttyscreen"><replacecharsblock rules="ttymap"> | ||
+ | 1=[[engraving|{{brightred|1}}]] | ||
+ | 2=[[engraving|{{brightred|2}}]] | ||
+ | 3=[[hole|{{brown|^}}]] | ||
+ | 4=[[falling rock trap|{{lightgray|^}}]] | ||
+ | )=[[chest|{{brown|)}}]] | ||
+ | `=[[statue trap|{{white|`}}]] | ||
+ | |||
+ | |||
--------- | --------- | ||
+ | |4.....)| | ||
+ | |..3..3.| | ||
+ | |....3.`| | ||
+ | |....21\| | ||
|.......| | |.......| | ||
− | |..... | + | |4.....4| |
− | + | |......`| | |
− | |||
− | |...... | ||
− | |||
− | |||
--------- | --------- | ||
</replacecharsblock></div> | </replacecharsblock></div> | ||
| | | | ||
− | * | + | * The room is lit |
− | * | + | * [[engraving|{{brightred|1}}]], burned, reads "Look on my works, ye mighty, and despair" |
− | * | + | * [[engraving|{{brightred|2}}]], burned, 10% chance of existing, reads "My name is Ozymandias, king of kings" |
− | * | + | * Each hole has chance of existing, between 30% to 80% |
− | + | * Falling rock traps will be replaced by webs if DL >= 7 | |
− | + | * The falling rock tap/web nearest the throne is guaranteed, others have a 75% chance of existing | |
− | + | * The chest is trapped | |
− | * | + | * The statue trap near the throne has a statue of a werejackal |
− | + | * The statue trap near the corner has a statue of an Elvenking | |
− | + | |- | |
− | + | ||
− | + | !Name | |
− | + | !Can be special | |
− | + | !Size | |
− | * | + | !Map |
− | + | !Notes | |
− | * | ||
− | * | ||
− | |||
|- | |- | ||
|Pacman | |Pacman | ||
− | |No | + | |style="background-color:pink"|No |
| | | | ||
| | | | ||
Line 661: | Line 695: | ||
| | | | ||
* All of these are guaranteed at random positions: | * All of these are guaranteed at random positions: | ||
− | ** an apple | + | ** an [[apple]] |
− | ** a pear | + | ** a [[pear]] |
− | ** a banana | + | ** a [[banana]] |
− | ** an orange | + | ** an [[orange]] |
− | ** a melon | + | ** a [[melon]] |
− | ** a ghost named Inky | + | ** a [[ghost]] named Inky |
** a ghost named Blinky | ** a ghost named Blinky | ||
** a ghost named Pinky | ** a ghost named Pinky | ||
** a ghost named Clyde | ** a ghost named Clyde | ||
|} | |} | ||
− | + | {{variant-343}} | |
− | [[Category:UnNetHack | + | [[Category:UnNetHack special rooms]] |
Latest revision as of 02:07, 17 February 2024
Random vaults are a part of the level generation formula used in UnNetHack. Despite the name, these are entirely unrelated to the hidden vaults filled with gold, and are used to create unique rooms that connect normally to the rest of the dungeon.
In the UnNetHack source code, the random vaults are defined in dat/vaults.des
. The upcoming release of NetHack 3.7.0 will have a similar feature, called themed rooms.
Description
Every room that is not a vault or part of a special level and not a vault is selected from the list of random vaults. The "normal random room" has a 40⁄41 chance of being selected; all the others have a 1⁄2050 chance of being selected. Some of these rooms can be further transformed into special rooms.
Possible vaults
Name | Can be special | Size | Map | Notes |
---|---|---|---|---|
Normal random room | Yes |
| ||
Fake Delphi | Subroom only | 11x9 |
| |
room with a subroom | Subroom only |
| ||
big room, 1 | No | 30x10 |
| |
lava/ice/pool/tree/fountain room | No | 3x3 |
| |
big room, 2 (max. vertical height) | No | 10x17 |
| |
thin, long, horizontal room | No | 17x3 |
| |
thin, long, vertical room | No | 3x17 |
| |
tiny cage, big monster | No | 5x5 | ||
room with dangerous monster and loot | No |
| ||
Name | Can be special | Size | Map | Notes |
boulder room | No |
| ||
spider nest | No |
| ||
ice room | No |
| ||
random cloud/lava/ice/pool/tree room | No |
| ||
buried treasure | Yes |
| ||
massacre | No |
| ||
statuary | No |
| ||
light source | Yes |
| ||
potentially spooky | Yes |
| ||
temple of the gods | No |
| ||
Name | Can be special | Size | Map | Notes |
mausoleum | No | 5x5 | ||
big room, 1, random type | No | 17x10 |
| |
big room, 2 (max. vertical height), filled with fog | No | 10x17 |
| |
very thin, long, horizontal room | No | 50x5 |
| |
very very thin, long, horizontal room | No | 70x3 |
| |
L-shaped | Yes |
-----xxx |...|xxx |...|xxx |...---- |......| |......| |......| -------- |
| |
L-shaped, big | No |
-------xxxxxx |.....|xxxxxx |.....|xxxxxx |.....|xxxxxx |.....|xxxxxx |.....------- |...........| |...........| |...........| |...........| |...........| ------------- |
| |
Blocked center | Yes |
| ||
Circular, small | Yes |
xx---xx x--.--x |-...-| |.....| |-...-| x--.--x xx---xx |
||
Circular, medium | Yes |
xx-----xx x--...--x |-.....-| |.......| |.......| |.......| |-.....-| x--...--x xx-----xx |
||
Name | Can be special | Size | Map | Notes |
Circular, big | Yes |
xxx-----xxx x---...---x x-.......-x |-.......-| |.........| |.........| |.........| |-.......-| x-.......-x x---...---x xxx-----xxx |
||
T-shaped | Yes |
xxx-----xxx xxx|...|xxx xxx|...|xxx ----...---- |.........| |.........| |.........| ----------- |
| |
S-shaped | Yes |
-----xxx |...|xxx |...|xxx |...---- |......| |......| |......| ----...| xxx|...| xxx|...| xxx----- |
| |
Z-shaped | Yes |
xxx----- xxx|...| xxx|...| ----...| |......| |......| |......| |...---- |...|xxx |...|xxx -----xxx |
| |
U-shaped | Yes |
-----xxx----- |...|xxx|...| |...|xxx|...| |...-----...| |...........| |...........| |...........| ------------- |
| |
C-shaped | Yes |
-------- |......| |......| |...---- |...|xxx |...|xxx |...---- |......| |......| -------- |
| |
Tetris L-shaped | Yes |
-----xxx |...|xxx |...|xxx |...|xxx |...|xxx |...|xxx |...---- |......| |......| |......| -------- |
| |
Tetris J-shaped | Yes |
xxx----- xxx|...| xxx|...| xxx|...| xxx|...| xxx|...| ----...| |......| |......| |......| -------- |
| |
Four-leaf clover | Yes |
-----x----- |...|x|...| |...---...| |.........| ---.....--- xx|.....|xx ---.....--- |.........| |...---...| |...|x|...| -----x----- |
||
Cross | Yes |
xxx-----xxx xxx|...|xxx xxx|...|xxx ----...---- |.........| |.........| |.........| ----...---- xxx|...|xxx xxx|...|xxx xxx-----xxx |
||
Name | Can be special | Size | Map | Notes |
watcher in the water | No |
| ||
room with sessile growths | No |
| ||
Pillars | Yes | 10x10 |
| |
Small tightly-placed pillars | Yes |
| ||
Mirrored obstacles | Yes |
| ||
Trap Room | No |
| ||
Underground rivers | No |
| ||
Trapped rust monster, disenchanter, or disintegrator | No | 5x5 |
| |
Fern nursery | No |
| ||
Ozymandias' Tomb | No |
| ||
Name | Can be special | Size | Map | Notes |
Pacman | No |