Source:NetHack 5.0.0/dat/Arc-fila.lua

From NetHackWiki
Jump to navigation Jump to search

Below is the full text to Arc-fila.lua from the source code of NetHack 5.0.0. To link to a particular line, write [[Source:NetHack 5.0.0/dat/Arc-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 Archeologist Arc-fila.lua	$NHDT-Date: 1652195998 2022/05/10 15:19:58 $  $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.1 $
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. des.room({ type = "ordinary",
8.            contents = function()
9.               des.stair("up")
10.               des.object()
11.               des.monster("S")
12.            end
13. });
14. 
15. des.room({ type = "ordinary",
16.          contents = function()
17.             des.object()
18.             des.object()
19.             des.monster("S")
20.          end
21. })
22. 
23. des.room({ type = "ordinary",
24.            contents = function()
25.               des.object()
26.               des.trap()
27.               des.object()
28.               des.monster("S")
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("S")
38.               des.monster("human mummy")
39.            end
40. })
41. 
42. des.room({ type = "ordinary",
43.            contents = function()
44.               des.object()
45.               des.object()
46.               des.trap()
47.               des.monster("S")
48.            end
49. })
50. 
51. des.room({ type = "ordinary",
52.            contents = function()
53.               des.object()
54.               des.trap()
55.               des.monster("S")
56.            end
57. })
58. 
59. des.random_corridors()