Difference between revisions of "Talk:Random vault (UnNetHack)"

From NetHackWiki
Jump to navigation Jump to search
(Created page with "==Intro== Sorry, I don't understand the third introduction paragraph at all. Does unnethack convert ordinary rooms to random special rooms with a 1/(2000+1) chance per room? -...")
 
Line 1: Line 1:
 
==Intro==
 
==Intro==
 
Sorry, I don't understand the third introduction paragraph at all. Does unnethack convert ordinary rooms to random special rooms with a 1/(2000+1) chance per room? --[[User:Tjr|Tjr]] ([[User talk:Tjr|talk]]) 18:55, 8 September 2013 (UTC)
 
Sorry, I don't understand the third introduction paragraph at all. Does unnethack convert ordinary rooms to random special rooms with a 1/(2000+1) chance per room? --[[User:Tjr|Tjr]] ([[User talk:Tjr|talk]]) 18:55, 8 September 2013 (UTC)
 +
 +
 +
Yeah, that wasn't super clear. What happens is that every room that is a random room is a random vault. The probability that any given random vault is vaultgen (that rndvault) / vaultgen (total for all rndvaults).
 +
 +
The random vault that is simply and ordinary room has vaultgen=2000. All other random vaults have vaultgen=1.
 +
 +
That is when vaults show up and what vault is selected. After that happens, some vaults are flagged with "ordinary" instead of "normal".
 +
 +
The vaults that are flagged with "ordinary", which includes the vault, "normal room", are eligible to be converted into a special room, according to the formula that determine special room selection.
 +
 +
In practice, what this means is that you can have random rooms shaped like "L-shaped room" or "4-leaf clover".
 +
The vaults that are already special (like "massacre" or "temple of the gods") are not eligible for further conversion into special rooms, because they are already "special".
 +
 +
I hope that clears it up.
 +
--[[User:Ozymandias|Ozymandias]] ([[User talk:Ozymandias|talk]]) 19:38, 8 September 2013 (UTC)

Revision as of 19:38, 8 September 2013

Intro

Sorry, I don't understand the third introduction paragraph at all. Does unnethack convert ordinary rooms to random special rooms with a 1/(2000+1) chance per room? --Tjr (talk) 18:55, 8 September 2013 (UTC)


Yeah, that wasn't super clear. What happens is that every room that is a random room is a random vault. The probability that any given random vault is vaultgen (that rndvault) / vaultgen (total for all rndvaults).

The random vault that is simply and ordinary room has vaultgen=2000. All other random vaults have vaultgen=1.

That is when vaults show up and what vault is selected. After that happens, some vaults are flagged with "ordinary" instead of "normal".

The vaults that are flagged with "ordinary", which includes the vault, "normal room", are eligible to be converted into a special room, according to the formula that determine special room selection.

In practice, what this means is that you can have random rooms shaped like "L-shaped room" or "4-leaf clover". The vaults that are already special (like "massacre" or "temple of the gods") are not eligible for further conversion into special rooms, because they are already "special".

I hope that clears it up. --Ozymandias (talk) 19:38, 8 September 2013 (UTC)