Difference between revisions of "NetHack units"

From NetHackWiki
Jump to navigation Jump to search
m (removed an accidentally inserted <math> formula O:))
(De-italicized units in math tags.)
Line 6: Line 6:
 
Assuming, then, that the hero hacks continuously, and that hacking is hard work, the hero's caloric consumption can be calculated. Averaging the energy spent during combat and the energy spent leisurely exploring, the estimated caloric consumption is likely equivalent to that of a brisk walk for a human of 80 kg, or around '''400 Cal/hour'''. (Note that the capital letter is significant here; 1 Calorie ('''1 Cal''') is equal to 1000 calories ('''1000 cal''') or 1 kilocalorie ('''1 kcal''')<ref>http://en.wikipedia.org/wiki/Calorie</ref>.)
 
Assuming, then, that the hero hacks continuously, and that hacking is hard work, the hero's caloric consumption can be calculated. Averaging the energy spent during combat and the energy spent leisurely exploring, the estimated caloric consumption is likely equivalent to that of a brisk walk for a human of 80 kg, or around '''400 Cal/hour'''. (Note that the capital letter is significant here; 1 Calorie ('''1 Cal''') is equal to 1000 calories ('''1000 cal''') or 1 kilocalorie ('''1 kcal''')<ref>http://en.wikipedia.org/wiki/Calorie</ref>.)
  
  Hero consumes <math>400\ Cal/h</math> continuously (no sleep).
+
  Hero consumes <math>400\text{ Cal}/\text{h}</math> continuously (no sleep).
  
 
Since [[food ration]]s are frequently in the hero's inventory from the start, it can be safely assumed that food rations are not magical products, but designed for normal mortal [[human (starting race)|human]]s to eat three times daily with a daily consumption of 2000 Cal / day.
 
Since [[food ration]]s are frequently in the hero's inventory from the start, it can be safely assumed that food rations are not magical products, but designed for normal mortal [[human (starting race)|human]]s to eat three times daily with a daily consumption of 2000 Cal / day.
  
  <math>\frac{2000\ Cal/day}{3\ rations/day} = 667\ Cal/ration</math>
+
  <math>\frac{2000\text{ Cal}/\text{day}}{3\text{ rations}/\text{day}} = 667\text{ Cal}/\text{ration}</math>
  
 
Because the hero burns through food rations faster than normal humans, each ration can sustain the hero for a much shorter time.
 
Because the hero burns through food rations faster than normal humans, each ration can sustain the hero for a much shorter time.
  
  <math>\frac{667\ Cal/ration}{400\ Cal/h} = 1.\overline{6}\ h/ration</math>
+
  <math>\frac{667\text{ Cal}/\text{ration}}{400\text{ Cal}/\text{h}} = 1.\overline{6}\ \text{h}/\text{ration}</math>
  
 
In NetHack, one ration supplies 800 nutritional points, which lasts 800 turns in standard hacking conditions. Therefore,
 
In NetHack, one ration supplies 800 nutritional points, which lasts 800 turns in standard hacking conditions. Therefore,
  <math>\frac{800\ turns/ration}{1.\overline{6}\ h/ration} = 480\ turns/h</math>
+
  <math>\frac{800\text{ turns}/\text{ration}}{1.\overline{6}\text{ h}/\text{ration}} = 480\text{ turns}/\text{h}</math>
  
  <math>\frac{3600\ s/h}{480\ turns/h} = 7.5\ s/turn</math>
+
  <math>\frac{3600\text{ s}/\text{h}}{480\text{ turns}/\text{h}} = 7.5\text{ s}/\text{turn}</math>
  
 
==Extrapolations==
 
==Extrapolations==
Line 25: Line 25:
  
 
An average ascension is 50000 turns, this means that:
 
An average ascension is 50000 turns, this means that:
  <math>(50000\ turns/ascension)(7.5\ s/turn)\left (\frac{1\ day}{86400\ s}\right ) \approx 4.34\ days/ascension </math>
+
  <math>(50000\text{ turns}/\text{ascension})(7.5\text{ s}/\text{turn})\left (\frac{1\text{ day}}{86400\text{ s}}\right ) \approx 4.34\text{ days}/\text{ascension} </math>
  
 
4 days and 8 hours of NetHack time seems reasonable for an ascension.
 
4 days and 8 hours of NetHack time seems reasonable for an ascension.
  
 
A human walks at approximately 5 km/hour. This means that one NetHack tile is:
 
A human walks at approximately 5 km/hour. This means that one NetHack tile is:
  <math>(5\ km/h) \left( \frac{5\ h\cdot m}{18\ km\cdot s} \right) (7.5\ s/tile) \approx 10.4\ m/tile</math>
+
  <math>(5\text{ km}/\text{h}) \left( \frac{5\text{ h}\cdot \text{m}}{18\text{ km}\cdot \text{s}} \right) (7.5\text{ s}/\text{tile}) \approx 10.4\text{ m}/\text{tile}</math>
  
 
This seems reasonable, as a [[dragon]] has to fit into one.  
 
This seems reasonable, as a [[dragon]] has to fit into one.  
Line 38: Line 38:
 
Assuming the stairs have an inclination of 45 degrees, the ceiling can be guessed to be about 7 meters high. This result can be found using the Pythagorean theorem <code>a^2&nbsp;+&nbsp;b^2&nbsp;=&nbsp;c^2</code>, setting <code>c&nbsp;=&nbsp;10.4&nbsp;m</code> and <code>a&nbsp;=&nbsp;b</code> and solving <code>a</code>:
 
Assuming the stairs have an inclination of 45 degrees, the ceiling can be guessed to be about 7 meters high. This result can be found using the Pythagorean theorem <code>a^2&nbsp;+&nbsp;b^2&nbsp;=&nbsp;c^2</code>, setting <code>c&nbsp;=&nbsp;10.4&nbsp;m</code> and <code>a&nbsp;=&nbsp;b</code> and solving <code>a</code>:
  
  <math>\lfloor \sqrt{\frac{(10.4\ m)^2}{2}} \rfloor = 7\ m</math>
+
  <math>\lfloor \sqrt{\frac{(10.4\text{ m})^2}{2}} \rfloor = 7\text{ m}</math>
  
 
==Results==
 
==Results==
Line 52: Line 52:
 
* Dungeon dimensions are approximately '''810 m &times; 210 m (1/2 mi. &times; 1/8 mi.)'''.
 
* Dungeon dimensions are approximately '''810 m &times; 210 m (1/2 mi. &times; 1/8 mi.)'''.
 
* The Plane of Water contains about '''1.18 billion liters (312 million gallons) of water''', weighing '''1.18 million metric tons'''.
 
* The Plane of Water contains about '''1.18 billion liters (312 million gallons) of water''', weighing '''1.18 million metric tons'''.
*[[You]] can throw a [[zorkmid]] up to 52m away.
+
*[[You]] can throw a [[zorkmid]] up to '''52 m''' away.
 +
*[[Moloch's Sanctum]] can be as deep as '''360 m''' below ground.
  
 +
{{featured}}
 
[[Category:Time]]
 
[[Category:Time]]
 
{{featured}}
 

Revision as of 17:18, 27 May 2009

Many have tried to convert NetHack units of measurement to a scale that would more or less correlate with real life. This attempt uses metabolism as the transition factor. The result was approximately 7.5 seconds per turn, which seems to be within proper degrees of magnitude. The translated NetHack time will be called Correlated NetHack Time, or CNT.

Calculation

According to the guidebook, divine intervention was certainly sufficient to influence sleep of the chosen hero ("Strange dreams... haunted you in your sleep"). Therefore, it can be extrapolated that whilst in the dungeon (or Gehennom), magical or divine influence allowed the hero to not require regular sleep. This explains why no occurrences of mandatory sleep occur through the game.

Assuming, then, that the hero hacks continuously, and that hacking is hard work, the hero's caloric consumption can be calculated. Averaging the energy spent during combat and the energy spent leisurely exploring, the estimated caloric consumption is likely equivalent to that of a brisk walk for a human of 80 kg, or around 400 Cal/hour. (Note that the capital letter is significant here; 1 Calorie (1 Cal) is equal to 1000 calories (1000 cal) or 1 kilocalorie (1 kcal)[1].)

Hero consumes 400\text{ Cal}/\text{h} continuously (no sleep).

Since food rations are frequently in the hero's inventory from the start, it can be safely assumed that food rations are not magical products, but designed for normal mortal humans to eat three times daily with a daily consumption of 2000 Cal / day.

\frac{2000\text{ Cal}/\text{day}}{3\text{ rations}/\text{day}} = 667\text{ Cal}/\text{ration}

Because the hero burns through food rations faster than normal humans, each ration can sustain the hero for a much shorter time.

\frac{667\text{ Cal}/\text{ration}}{400\text{ Cal}/\text{h}} = 1.\overline{6}\ \text{h}/\text{ration}

In NetHack, one ration supplies 800 nutritional points, which lasts 800 turns in standard hacking conditions. Therefore,

\frac{800\text{ turns}/\text{ration}}{1.\overline{6}\text{ h}/\text{ration}} = 480\text{ turns}/\text{h}
\frac{3600\text{ s}/\text{h}}{480\text{ turns}/\text{h}} = 7.5\text{ s}/\text{turn}

Extrapolations

With this core value of 7.5 seconds/turn in mind, one can calculate the scale of magnitude of other values in the NetHack world.

An average ascension is 50000 turns, this means that:

(50000\text{ turns}/\text{ascension})(7.5\text{ s}/\text{turn})\left (\frac{1\text{ day}}{86400\text{ s}}\right ) \approx 4.34\text{ days}/\text{ascension} 

4 days and 8 hours of NetHack time seems reasonable for an ascension.

A human walks at approximately 5 km/hour. This means that one NetHack tile is:

(5\text{ km}/\text{h}) \left( \frac{5\text{ h}\cdot \text{m}}{18\text{ km}\cdot \text{s}} \right) (7.5\text{ s}/\text{tile}) \approx 10.4\text{ m}/\text{tile}

This seems reasonable, as a dragon has to fit into one.

A dungeon level's dimension limits are roughly 78×20 varying a little between levels (80×25 minus borders and status lines). This means a dungeon is approximately 810 m by 210 m (roughly, 1/2 mi by 1/8 mi).

Assuming the stairs have an inclination of 45 degrees, the ceiling can be guessed to be about 7 meters high. This result can be found using the Pythagorean theorem a^2 + b^2 = c^2, setting c = 10.4 m and a = b and solving a:

\lfloor \sqrt{\frac{(10.4\text{ m})^2}{2}} \rfloor = 7\text{ m}

Results

The Hero:

  • ... consumes 400 Cal/hour continuously (no sleep).
  • ... takes 7.5 seconds to experience one NetHack turn.
  • ... ascends in 4 days and 8 hours of Correlated NetHack Time (CNT) on average.
    • rast's record fast ascension took 13.5 hours CNT.
  • ... eats a full meal every 1 hour 40 minutes CNT.
  • ... forgets spells about every 42 hours CNT. (no sleep, remember?)

Also:

  • A NetHack tile is approximately 10.4 m × 10.4 m × 7 m (34.1 ft. × 34.1 ft. × 23.0 ft.), or 760 m³ (26 740 ft.³).
  • Dungeon dimensions are approximately 810 m × 210 m (1/2 mi. × 1/8 mi.).
  • The Plane of Water contains about 1.18 billion liters (312 million gallons) of water, weighing 1.18 million metric tons.
  • You can throw a zorkmid up to 52 m away.
  • Moloch's Sanctum can be as deep as 360 m below ground.