Source:NetHack 5.0.0/dat/Cav-strt.lua
Jump to navigation
Jump to search
Below is the full text to Cav-strt.lua from the source code of NetHack 5.0.0. To link to a particular line, write [[Source:NetHack 5.0.0/dat/Cav-strt.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 Caveman Cav-strt.lua $NHDT-Date: 1652196002 2022/05/10 15:20:02 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.3 $ 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. -- 7. -- The "start" level for the quest. 8. -- 9. -- Here you meet your (besieged) class leader, Shaman Karnov 10. -- and receive your quest assignment. 11. -- 12. des.level_init({ style = "solidfill", fg = " " }); 13. 14. des.level_flags("mazelevel", "noteleport", "hardfloor") 15. 16. des.map([[ 17. 18. ...... .......................... ... .... ...... 19. ...... .......................... ........ .... ..... 20. ..BB ............................. ......... .... .. 21. .. ...................... ....... .. .... .. 22. .. .................... .. ....... .. ... 23. .. S BB ..... ....... .... .... 24. .. ... . .. ........ .. .. .. ... 25. .. ...... .. ............ .. ... 26. . .... .. ........ .. ........... 27. ... .. .. ............. ................... 28. ..... ..... ............................... ........... 29. .....B................ ... ... 30. ..... . .......... .... . ... .......... ... 31. ... .. ............. .. ................... .... 32. BB .. ......... BB ... .......... .. ... ... 33. ...... ..... B ........ .. .. .... ... 34. .......... .......... ..... ... ..... ........ 35. .. ... . ..... .... .. ... .. 36. 37. ]]); 38. -- Dungeon Description 39. des.region(selection.area(00,00,75,19), "unlit") 40. des.region({ region={13,01, 40,05}, lit=1, type="temple", filled=1, irregular=1 }) 41. -- The occupied rooms. 42. des.region({ region={02,01, 08,03}, lit=1, type="ordinary", irregular=1 }) 43. des.region({ region={01,11, 06,14}, lit=1, type="ordinary", irregular=1 }) 44. des.region({ region={13,08, 18,10}, lit=1, type="ordinary", irregular=1 }) 45. des.region({ region={05,17, 14,18}, lit=1, type="ordinary", irregular=1 }) 46. des.region({ region={17,16, 23,18}, lit=1, type="ordinary", irregular=1 }) 47. des.region({ region={35,16, 44,18}, lit=1, type="ordinary", irregular=1 }) 48. -- Stairs 49. des.stair("down", 02,03) 50. -- Portal arrival point 51. des.levregion({ region = {71,09,71,09}, type="branch" }) 52. -- Doors 53. des.door("locked",19,06) 54. -- The temple altar (this will force a priest(ess) to be created) 55. des.altar({ x=36,y=02, align="coaligned", type="shrine" }) 56. -- Shaman Karnov 57. des.monster({ id = "Shaman Karnov", coord = {35, 02}, inventory = function() 58. des.object({ id = "leather armor", spe = 5 }); 59. des.object({ id = "club", spe = 5 }); 60. end }) 61. -- The treasure of Shaman Karnov 62. des.object("chest", 34, 02) 63. -- neanderthal guards for the audience chamber 64. des.monster("neanderthal", 20, 03) 65. des.monster("neanderthal", 20, 02) 66. des.monster("neanderthal", 20, 01) 67. des.monster("neanderthal", 21, 03) 68. des.monster("neanderthal", 21, 02) 69. des.monster("neanderthal", 21, 01) 70. des.monster("neanderthal", 22, 01) 71. des.monster("neanderthal", 26, 09) 72. -- Non diggable walls 73. des.non_diggable(selection.area(00,00,75,19)) 74. -- Random traps 75. des.trap("pit",47,11) 76. des.trap("pit",57,10) 77. des.trap() 78. des.trap() 79. des.trap() 80. des.trap() 81. -- Monsters on siege duty (in the outer caves). 82. des.monster({ id ="bugbear", x=47, y=02, peaceful=0 }) 83. des.monster({ id ="bugbear", x=48, y=03, peaceful=0 }) 84. des.monster({ id ="bugbear", x=49, y=04, peaceful=0 }) 85. des.monster({ id ="bugbear", x=67, y=03, peaceful=0 }) 86. des.monster({ id ="bugbear", x=69, y=04, peaceful=0 }) 87. des.monster({ id ="bugbear", x=51, y=13, peaceful=0 }) 88. des.monster({ id ="bugbear", x=53, y=14, peaceful=0 }) 89. des.monster({ id ="bugbear", x=55, y=15, peaceful=0 }) 90. des.monster({ id ="bugbear", x=63, y=10, peaceful=0 }) 91. des.monster({ id ="bugbear", x=65, y=09, peaceful=0 }) 92. des.monster({ id ="bugbear", x=67, y=10, peaceful=0 }) 93. des.monster({ id ="bugbear", x=69, y=11, peaceful=0 }) 94. des.wallify()