Source:NetHack 5.0.0/dat/Arc-loca.lua
Jump to navigation
Jump to search
Below is the full text to Arc-loca.lua from the source code of NetHack 5.0.0. To link to a particular line, write [[Source:NetHack 5.0.0/dat/Arc-loca.lua#line12]], for example.
The NetHack General Public License applies to screenshots, source code and other content from NetHack.
This content was modified from the original NetHack source code distribution (by splitting up NetHack content between wiki pages, and possibly further editing). See the page history for a list of who changed it, and on what dates.
1. -- NetHack Archeologist Arc-loca.lua $NHDT-Date: 1652195999 2022/05/10 15:19:59 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.2 $ 2. -- Copyright (c) 1989 by Jean-Christophe Collet 3. -- Copyright (c) 1991 by M. Stephenson 4. -- NetHack may be freely redistributed. See license for details. 5. -- 6. des.level_init({ style = "solidfill", fg = " " }); 7. 8. des.level_flags("mazelevel", "hardfloor") 9. 10. des.map([[ 11. ............................................................................ 12. ............................................................................ 13. ............................................................................ 14. ........................-------------------------------..................... 15. ........................|....|.S......................|..................... 16. ........................|....|.|.|+------------------.|..................... 17. ........................|....|.|.|.|.........|......|.|..................... 18. ........................|....|.|.|.|.........|......|.|..................... 19. ........................|---+-.|.|.|..---....+......|.|..................... 20. ........................|....|.|.|.---|.|....|......|.|..................... 21. ........................|....S.|.|.+..S.|--S-----S--|.|..................... 22. ........................|....|.|.|.---|.|....|......+.|..................... 23. ........................|---+-.|.|.|..---....|.------.|..................... 24. ........................|....|.|.|.|.........|.|....+.|..................... 25. ........................|....|.|.|.|.........|+|....|-|..................... 26. ........................|....|.|.|------------+------.S..................... 27. ........................|....|.S......................|..................... 28. ........................-------------------------------..................... 29. ............................................................................ 30. ............................................................................ 31. ]]); 32. -- Dungeon Description 33. des.region(selection.area(00,00,75,19), "lit") 34. des.region({ region={25,04, 28,07}, lit=1, type="temple", filled=2 }) 35. des.region({ region={25,09, 28,11}, lit=0, type="temple", filled=2 }) 36. des.region({ region={25,13, 28,16}, lit=1, type="temple", filled=2 }) 37. des.region(selection.area(30,04,30,16), "lit") 38. des.region(selection.area(32,04,32,16), "unlit") 39. des.region({ region={33,04, 53,04}, lit=0, type="ordinary", irregular=1 }) 40. des.region(selection.area(36,10,37,10), "unlit") 41. des.region(selection.area(39,09,39,11), "unlit") 42. des.region({ region={36,06, 42,08}, lit=0, type="ordinary", irregular=1 }) 43. des.region({ region={36,12, 42,14}, lit=0, type="ordinary", irregular=1 }) 44. des.region(selection.area(46,06,51,09), "unlit") 45. des.region({ region={46,11, 49,11}, lit=0, type="ordinary", irregular=1 }) 46. des.region(selection.area(48,13,51,14), "unlit") 47. -- Doors 48. des.door("closed",31,04) 49. des.door("closed",28,08) 50. des.door("locked",29,10) 51. des.door("closed",28,12) 52. des.door("closed",31,16) 53. des.door("locked",34,05) 54. des.door("locked",35,10) 55. des.door("locked",38,10) 56. des.door("closed",43,10) 57. des.door("closed",45,08) 58. des.door("locked",46,14) 59. des.door("locked",46,15) 60. des.door("locked",49,10) 61. des.door("locked",52,11) 62. des.door("closed",52,13) 63. des.door("closed",54,15) 64. -- Stairs 65. des.stair("up", 03,17) 66. des.stair("down", 39,10) 67. -- Altars - three types. All are unattended. 68. des.altar({ x=26,y=05,align=align[1], type="altar" }) 69. des.altar({ x=26,y=10,align=align[2], type="altar" }) 70. des.altar({ x=26,y=15,align=align[3], type="altar" }) 71. -- Non diggable walls 72. des.non_diggable(selection.area(00,00,75,19)) 73. -- Objects 74. des.object() 75. des.object() 76. des.object() 77. des.object() 78. des.object() 79. des.object() 80. des.object() 81. des.object() 82. des.object() 83. des.object() 84. des.object() 85. des.object() 86. des.object() 87. des.object() 88. des.object() 89. -- Treasure? 90. des.engraving({ type="engrave", text="X marks the spot." }) 91. des.engraving({ type="engrave", text="X marks the spot." }) 92. des.engraving({ type="engrave", text="X marks the spot." }) 93. des.engraving({ type="engrave", text="X marks the spot." }) 94. -- Random traps 95. des.trap("spiked pit",24,02) 96. des.trap("spiked pit",37,00) 97. des.trap("spiked pit",23,05) 98. des.trap("spiked pit",26,19) 99. des.trap("spiked pit",55,10) 100. des.trap("spiked pit",55,08) 101. des.trap("pit",51,01) 102. des.trap("pit",23,18) 103. des.trap("pit",31,18) 104. des.trap("pit",48,19) 105. des.trap("pit",55,15) 106. des.trap("magic",60,04) 107. des.trap("statue",72,07) 108. des.trap("statue") 109. des.trap("statue") 110. des.trap("anti magic",64,12) 111. des.trap("sleep gas") 112. des.trap("sleep gas") 113. des.trap("dart") 114. des.trap("dart") 115. des.trap("dart") 116. des.trap("rolling boulder",32,10) 117. des.trap("rolling boulder",40,16) 118. -- Random monsters. 119. des.monster("S") 120. des.monster("S") 121. des.monster("S") 122. des.monster("S") 123. des.monster("S") 124. des.monster("S") 125. des.monster("S") 126. des.monster("S") 127. des.monster("S") 128. des.monster("S") 129. des.monster("S") 130. des.monster("S") 131. des.monster("S") 132. des.monster("S") 133. des.monster("S") 134. des.monster("S") 135. des.monster("S") 136. des.monster("S") 137. des.monster("M") 138. des.monster("human mummy") 139. des.monster("human mummy") 140. des.monster("human mummy") 141. des.monster("human mummy") 142. des.monster("human mummy") 143. des.monster("human mummy") 144. des.monster("human mummy") 145. des.monster("M")