Source:NetHack 5.0.0/dat/Mon-fila.lua
Jump to navigation
Jump to search
Below is the full text to Mon-fila.lua from the source code of NetHack 5.0.0. To link to a particular line, write [[Source:NetHack 5.0.0/dat/Mon-fila.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 Monk Mon-fila.lua $NHDT-Date: 1652196006 2022/05/10 15:20:06 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.1 $ 2. -- Copyright (c) 1989 by Jean-Christophe Collet 3. -- Copyright (c) 1991-2 by M. Stephenson 4. -- NetHack may be freely redistributed. See license for details. 5. -- 6. 7. -- 8. des.room({ type = "ordinary", 9. contents = function() 10. des.stair("up") 11. des.object() 12. des.monster({ class = "E", peaceful=0 }) 13. end 14. }) 15. 16. des.room({ type = "ordinary", 17. contents = function() 18. des.object() 19. des.object() 20. des.monster({ class = "E", peaceful=0 }) 21. end 22. }) 23. 24. des.room({ type = "ordinary", 25. contents = function() 26. des.object() 27. des.trap() 28. des.object() 29. des.monster("xorn") 30. des.monster("earth elemental") 31. end 32. }) 33. 34. des.room({ type = "ordinary", 35. contents = function() 36. des.stair("down") 37. des.object() 38. des.trap() 39. des.monster({ class = "E", peaceful=0 }) 40. des.monster("earth elemental") 41. end 42. }) 43. 44. des.room({ type = "ordinary", 45. contents = function() 46. des.object() 47. des.object() 48. des.trap() 49. des.monster({ class = "X", peaceful=0 }) 50. end 51. }) 52. 53. des.room({ type = "ordinary", 54. contents = function() 55. des.object() 56. des.trap() 57. des.monster("earth elemental") 58. end 59. }) 60. 61. des.random_corridors()