Difference between revisions of "Talk:Gnomish Mines"
Jump to navigation
Jump to search
AileTheAlien (talk | contribs) (→Chance of Darkness: new section) |
(50% dark, I believe.) |
||
Line 7: | Line 7: | ||
Anybody have the chance of darkness for these levels? --[[User:AileTheAlien|AileTheAlien]] 20:13, 24 September 2011 (UTC) | Anybody have the chance of darkness for these levels? --[[User:AileTheAlien|AileTheAlien]] 20:13, 24 September 2011 (UTC) | ||
+ | |||
+ | : [[Mines.des#line13]] specifies the "lighted" attribute as "random". (Not only mines fillers, but also caveman, upper samurai, and tourist quest filler levels.) I guess this ends up in "init_lev.lit" as -1. Then {{sourcecode|sp_lev.c|1726}} assigns it 0 or 1 (50% chance) if it was <0. So if my guess is correct, the chance is flat 50%. | ||
+ | : Can anybody check whether my guess is correct? | ||
+ | : This is different from the chance for ordinary rooms in the Dungeons of Doom, or rooms marked as "ordinary" in mine town, the Oracle level, wizard quest fillers etc.: {{sourcecode|sp_lev.c|390}} means they have a 76/77*10/(1+depth) chance of being lit, with "depth" set to 9 if lower. I presume "depth" is 1 for the entry level etc. --[[User:Tjr|Tjr]] 22:33, 24 September 2011 (UTC) |
Revision as of 22:33, 24 September 2011
What about bones?
Are the Gnomish Mines eligible for bones files?— Preceding unsigned comment added by LoATS (talk • contribs)
- Yes, under the same conditions as any other part of the dungeon.--Ray Chason 15:42, 11 December 2007 (UTC)
Chance of Darkness
Anybody have the chance of darkness for these levels? --AileTheAlien 20:13, 24 September 2011 (UTC)
- Mines.des#line13 specifies the "lighted" attribute as "random". (Not only mines fillers, but also caveman, upper samurai, and tourist quest filler levels.) I guess this ends up in "init_lev.lit" as -1. Then sp_lev.c, line 1726 assigns it 0 or 1 (50% chance) if it was <0. So if my guess is correct, the chance is flat 50%.
- Can anybody check whether my guess is correct?
- This is different from the chance for ordinary rooms in the Dungeons of Doom, or rooms marked as "ordinary" in mine town, the Oracle level, wizard quest fillers etc.: sp_lev.c, line 390 means they have a 76/77*10/(1+depth) chance of being lit, with "depth" set to 9 if lower. I presume "depth" is 1 for the entry level etc. --Tjr 22:33, 24 September 2011 (UTC)