Difference between revisions of "Town"

From NetHackWiki
Jump to navigation Jump to search
m (change heading level)
Line 1: Line 1:
The Town is a branch added to [[UnNetHack]]. It pays homage to the Town found at the top levels of [[Angband]].
+
The Town is a [[branch]] that appears in [[UnNetHack]] and [[SlashTHEM]]. It pays homage to the Town found at the top levels of [[Angband]].
  
Shopkeepers generated in town start with 1/4 the money of regular shopkeepers. A comment in the source-code notes "it's a poor town".
+
==Generation==
 +
The Town branch can be accessed via an up staircase, and always appears on the level below the entrance to [[Sokoban]].
  
The branch can be found from an upstairs from the level below the entrance to Sokoban. There is a filler level with three wide rivers so some way of crossing water is needed to reach the town.
+
[[Shopkeeper]]s generated in the town area start with 1/4 the money of regular shopkeepers, due to this particular town being on the poor side.<ref>[https://github.com/UnNetHack/UnNetHack/blob/6.0.3-20210525-e2dafd6/src/shknam.c#L599 UnNetHack shknam.c, line 599]; [https://github.com/Soviet5lo/SlashTHEM/blob/e55b2b522cea66b463dd8a81d74f9b8ad7fa7bb3/src/shknam.c#L569 SlashTHEM shknam.c, line 569]</ref>
  
== First version ==
+
==UnNetHack==
Only the general shop is guaranteed. The other shops each have a chance of 66%. There are three fountains and one sink.
+
In UnNetHack, the branch consists of only two floors:
<div class="ttymap"><replacecharsblock rules="ttymap">------------------------------------------------------------------------------
+
 
 +
* The first floor is a large, open filler level with three wide rivers, requiring a method of crossing water to reach the town.
 +
* The second floor is the actual town.
 +
 
 +
==SlashTHEM==
 +
In SlashTHEM, the branch has three floors:
 +
 
 +
* The first floor is a room-and-corridor filler level.
 +
* The second floor contains the actual town.
 +
* The third floor is a village-like area with a river running through it.
 +
 
 +
==Town map==
 +
The layout of the town and the generation of the shops within are the same across variants. The town also has its own [[watch]] patrolling the area.
 +
 
 +
===Town #1===
 +
On this map, only the general shop is guaranteed to appear - the other shops each have a {{frac|2|3}} chance to generate. There are three fountains and one sink.
 +
<div class="ttymap"><replacecharsblock rules="ttymap">
 +
------------------------------------------------------------------------------
 
|............................................................................|
 
|............................................................................|
 
|...........................................-----............................|
 
|...........................................-----............................|
Line 28: Line 46:
 
</replacecharsblock></div>
 
</replacecharsblock></div>
  
== Second version ==
+
===Town #2===
 
Only the tin shop is guaranteed. The other shops each have a chance of 66%. There are two fountains and one sink.
 
Only the tin shop is guaranteed. The other shops each have a chance of 66%. There are two fountains and one sink.
<div class="ttymap"><replacecharsblock rules="ttymap">------------------------------------------------------------------------------
+
<div class="ttymap"><replacecharsblock rules="ttymap">
 +
------------------------------------------------------------------------------
 
|............................................................................|
 
|............................................................................|
 
|............................................................................|
 
|............................................................................|
Line 50: Line 69:
 
------------------------------------------------------------------------------
 
------------------------------------------------------------------------------
 
</replacecharsblock></div>
 
</replacecharsblock></div>
 
[[Category:UnNetHack]]
 
 
[[Category:Dungeon branches]]
 
[[Category:Dungeon branches]]
 +
[[Category:UnNetHack branches]]
 +
[[Category:SlashTHEM branches]]

Revision as of 00:32, 17 September 2021

The Town is a branch that appears in UnNetHack and SlashTHEM. It pays homage to the Town found at the top levels of Angband.

Generation

The Town branch can be accessed via an up staircase, and always appears on the level below the entrance to Sokoban.

Shopkeepers generated in the town area start with 1/4 the money of regular shopkeepers, due to this particular town being on the poor side.[1]

UnNetHack

In UnNetHack, the branch consists of only two floors:

  • The first floor is a large, open filler level with three wide rivers, requiring a method of crossing water to reach the town.
  • The second floor is the actual town.

SlashTHEM

In SlashTHEM, the branch has three floors:

  • The first floor is a room-and-corridor filler level.
  • The second floor contains the actual town.
  • The third floor is a village-like area with a river running through it.

Town map

The layout of the town and the generation of the shops within are the same across variants. The town also has its own watch patrolling the area.

Town #1

On this map, only the general shop is guaranteed to appear - the other shops each have a 23 chance to generate. There are three fountains and one sink.


------------------------------------------------------------------------------
|............................................................................|
|...........................................-----............................|
|...........................................|...|............................|
|.........---+---.........--------..........|...|....................{.......|
|.........|.....|.........|......|........tool shop..........................|
|........armor shop.......|......|..........--+--..........----..............|
|.........-------.........pet shop.........................|..+..............|
|.........................-+------.......................light shop..........|
|..........................................................----..............|
|.......................................{....................................|
|.........................>.....................----.........................|
|...............-+---........................music shop....#.................|
|..{............|...|.........-----.............|..|.............------......|
|............general shop.....|...+.............|..|.............|....+......|
|...............-----......weapon shop..........--+-............tin shop.....|
|.............................-----..............................------......|
|............................................................................|
------------------------------------------------------------------------------

Town #2

Only the tin shop is guaranteed. The other shops each have a chance of 66%. There are two fountains and one sink.


------------------------------------------------------------------------------
|............................................................................|
|............................................................................|
|..................>........---+-............................................|
|...........................|...|............................................|
|......---+-----............|...|...........---+---.....#.....---------......|
|......|.......|..........weapon shop.......|.....|...........|pet shop......|
|.....armor shop............-----.........music shop..........+.......|......|
|......---------............................-------...........---------......|
|......................{.....................................................|
|.......................................................{....................|
|............-------...........--+---........................................|
|............|.....+...........|....|.........------........---+----.........|
|............|.....|...........|....|.........|....+........|......|.........|
|......... potion shop........tin shop.......ring shop......--------.........|
|............-------...........------.........------.........................|
|............................................................................|
|............................................................................|
------------------------------------------------------------------------------