Difference between revisions of "Special room"
m (fix leprechaun hall source) |
m (Update sources) |
||
Line 4: | Line 4: | ||
NetHack attempts to generate most special rooms in the order they appear in the below table. Rooms lower on the table can only be generated if all rooms higher on the table failed to generate. For example, a temple is created with probability 1/5 from level 9 onwards in an ordinary rooms-and-corridors level in the main dungeon, provided the level does not already have a shop, a throne room, a leprechaun hall or a zoo.{{refsrc|src/mklev.c|770|version=NetHack 3.6.6}} | NetHack attempts to generate most special rooms in the order they appear in the below table. Rooms lower on the table can only be generated if all rooms higher on the table failed to generate. For example, a temple is created with probability 1/5 from level 9 onwards in an ordinary rooms-and-corridors level in the main dungeon, provided the level does not already have a shop, a throne room, a leprechaun hall or a zoo.{{refsrc|src/mklev.c|770|version=NetHack 3.6.6}} | ||
− | Vaults are an exception: they are generated independently of other special rooms.{{refsrc|src/mklev.c| | + | Vaults are an exception: they are generated independently of other special rooms.{{refsrc|src/mklev.c|735|version=NetHack 3.6.6}} |
{|class="prettytable" | {|class="prettytable" | ||
! Name !! Min [[dungeon level|DL]] !! Frequency !! Generation restrictions | ! Name !! Min [[dungeon level|DL]] !! Frequency !! Generation restrictions | ||
|- | |- | ||
− | | [[Shop]] || 2 || 3/DL || Must be above [[Medusa's Island]]{{refsrc|src/mklev.c| | + | | [[Shop]] || 2 || 3/DL || Must be above [[Medusa's Island]]{{refsrc|src/mklev.c|766|version=NetHack 3.6.6}}, room must have 1 door and no stairs |
|- | |- | ||
| [[Throne room]] || 5 || 1/6 || | | [[Throne room]] || 5 || 1/6 || | ||
Line 19: | Line 19: | ||
| [[Temple]] || 9 || 1/5 || | | [[Temple]] || 9 || 1/5 || | ||
|- | |- | ||
− | | [[Beehive]] || 10 || 1/5 || [[Killer bee]]s must not be genocided/extinct{{refsrc|src/mklev.c| | + | | [[Beehive]] || 10 || 1/5 || [[Killer bee]]s must not be genocided/extinct{{refsrc|src/mklev.c|778|version=NetHack 3.6.6}} |
|- | |- | ||
| [[Graveyard]] || 12 || 1/6 || | | [[Graveyard]] || 12 || 1/6 || | ||
|- | |- | ||
− | | [[Anthole]] || 13 || 1/8 || [[Ant]]s must not be genocided/extinct{{refsrc|src/mklev.c| | + | | [[Anthole]] || 13 || 1/8 || [[Ant]]s must not be genocided/extinct{{refsrc|src/mklev.c|773|version=NetHack 3.6.6}}{{refsrc|src/mkroom.c|484|version=NetHack 3.6.6}} |
|- | |- | ||
− | | [[Barracks]] || 15 || 1/4 || [[Soldier]]s must not be extinct{{refsrc|src/mklev.c| | + | | [[Barracks]] || 15 || 1/4 || [[Soldier]]s must not be extinct{{refsrc|src/mklev.c|786|version=NetHack 3.6.6}} |
|- | |- | ||
| [[Swamp]] || 16 || 1/6 || | | [[Swamp]] || 16 || 1/6 || | ||
|- | |- | ||
− | | [[Cockatrice nest]] || 17 || 1/8 || [[Cockatrice]]s must not be genocided/extinct{{refsrc|src/mklev.c| | + | | [[Cockatrice nest]] || 17 || 1/8 || [[Cockatrice]]s must not be genocided/extinct{{refsrc|src/mklev.c|791|version=NetHack 3.6.6}} |
|- | |- | ||
| [[Vault]] || 1 || || (Generated independently of other special rooms) | | [[Vault]] || 1 || || (Generated independently of other special rooms) |
Revision as of 23:33, 4 July 2020
- Not to be confused with themed room.
A special room is different from the normal rooms of the randomly-generated Dungeons of Doom. For example, it might contain a shop or a collection of monsters. They typically appear in random rooms-and-corridors levels in the Dungeons of Doom, never in mazes or cavern levels, although many special levels also contain special rooms.
NetHack attempts to generate most special rooms in the order they appear in the below table. Rooms lower on the table can only be generated if all rooms higher on the table failed to generate. For example, a temple is created with probability 1/5 from level 9 onwards in an ordinary rooms-and-corridors level in the main dungeon, provided the level does not already have a shop, a throne room, a leprechaun hall or a zoo.[1]
Vaults are an exception: they are generated independently of other special rooms.[2]
Name | Min DL | Frequency | Generation restrictions |
---|---|---|---|
Shop | 2 | 3/DL | Must be above Medusa's Island[3], room must have 1 door and no stairs |
Throne room | 5 | 1/6 | |
Leprechaun hall | 6 | 1/8 | Leprechauns must not be genocided/extinct[4] |
Zoo | 7 | 1/7 | |
Temple | 9 | 1/5 | |
Beehive | 10 | 1/5 | Killer bees must not be genocided/extinct[5] |
Graveyard | 12 | 1/6 | |
Anthole | 13 | 1/8 | Ants must not be genocided/extinct[6][7] |
Barracks | 15 | 1/4 | Soldiers must not be extinct[8] |
Swamp | 16 | 1/6 | |
Cockatrice nest | 17 | 1/8 | Cockatrices must not be genocided/extinct[9] |
Vault | 1 | (Generated independently of other special rooms) |
Variants
Many variants add new special rooms or change the behavior of these existing special rooms.
References
- ↑ src/mklev.c in NetHack 3.6.6, line 770
- ↑ src/mklev.c in NetHack 3.6.6, line 735
- ↑ src/mklev.c in NetHack 3.6.6, line 766
- ↑ src/mklev.c in NetHack 3.6.6, line 772
- ↑ src/mklev.c in NetHack 3.6.6, line 778
- ↑ src/mklev.c in NetHack 3.6.6, line 773
- ↑ src/mkroom.c in NetHack 3.6.6, line 484
- ↑ src/mklev.c in NetHack 3.6.6, line 786
- ↑ src/mklev.c in NetHack 3.6.6, line 791
External links
- More information at http://www.steelypips.org/nethack/343/room-343.html