<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nethackwiki.com/index.php?action=history&amp;feed=atom&amp;title=Talk%3ADungeon.def_format</id>
	<title>Talk:Dungeon.def format - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nethackwiki.com/index.php?action=history&amp;feed=atom&amp;title=Talk%3ADungeon.def_format"/>
	<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Talk:Dungeon.def_format&amp;action=history"/>
	<updated>2026-06-03T21:57:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.5</generator>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Talk:Dungeon.def_format&amp;diff=22786&amp;oldid=prev</id>
		<title>Kernigh: Question about dungeon.def: (10, 0) is the same range as (10, 1) when placing a level?</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Talk:Dungeon.def_format&amp;diff=22786&amp;oldid=prev"/>
		<updated>2007-10-13T15:39:20Z</updated>

		<summary type="html">&lt;p&gt;Question about dungeon.def: (10, 0) is the same range as (10, 1) when placing a level?&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Does (10, 0) mean the same as (10, 1)? I think that (10, 0) is always 10. However, the code at [[dungeon.c#line728]] seems to read: given (base, rand), put the level at rn1(base, rand), which I understand is base plus a random number from 0 to rand-1, so (10, 5) would be the range from 10 to 14, but (10, 1) would be the range from 10 to 10. It seems counterintuitive if (10, 1) is not a larger range than (10, 0) during random level placement. --[[User:Kernigh|Kernigh]] 15:39, 13 October 2007 (UTC)&lt;/div&gt;</summary>
		<author><name>Kernigh</name></author>
		
	</entry>
</feed>