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