Source:NetHack 5.0.0/dat/baalz.lua

From NetHackWiki
Jump to navigation Jump to search

Below is the full text to baalz.lua from the source code of NetHack 5.0.0. To link to a particular line, write [[Source:NetHack 5.0.0/dat/baalz.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 gehennom baalz.lua	$NHDT-Date: 1652196020 2022/05/10 15:20:20 $  $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.4 $
2. --	Copyright (c) 1989 by Jean-Christophe Collet
3. --	Copyright (c) 1992 by M. Stephenson and Izchak Miller
4. -- NetHack may be freely redistributed.  See license for details.
5. --
6. des.level_init({ style = "solidfill", fg = " ", lit = 0 });
7. 
8. -- TODO FIXME: see baalz_fixup - the legs get removed currently.
9. 
10. des.level_flags("mazelevel", "corrmaze")
11. -- the two pools are fakes used to mark spots which need special wall fixups
12. -- the two iron bars are eyes and spots to their left will be made diggable
13. des.map({ halign = "right", valign = "center", map = [[
14. -------------------------------------------------
15. |                   ----               ----      
16. |          ----     |     -----------  |         
17. | ------      |  ---------|.........|--P         
18. | F....|  -------|...........--------------      
19. ---....|--|..................S............|----  
20. +...--....S..----------------|............S...|  
21. ---....|--|..................|............|----  
22. | F....|  -------|...........-----S--------      
23. | ------      |  ---------|.........|--P         
24. |          ----     |     -----------  |         
25. |                   ----               ----      
26. -------------------------------------------------
27. ]] });
28. des.levregion({ region = {01,00,15,20}, region_islev=1, exclude={15,1,70,16}, exclude_islev=1, type="stair-up" })
29. des.levregion({ region = {01,00,15,20}, region_islev=1, exclude={15,1,70,16}, exclude_islev=1, type="branch" })
30. des.teleport_region({region = {01,00,15,20}, region_islev=1, exclude = {15,1,70,16}, exclude_islev=1 })
31. -- this actually leaves the farthest right column diggable
32. des.non_diggable(selection.area(00,00,47,12))
33. des.mazewalk(00,06,"west")
34. des.stair("down", 44,06)
35. des.door("locked",00,06)
36. -- The fellow in residence
37. des.monster("Baalzebub",35,06)
38. -- Some random weapons and armor.
39. des.object("[")
40. des.object("[")
41. des.object(")")
42. des.object(")")
43. des.object("*")
44. des.object("!")
45. des.object("!")
46. des.object("?")
47. des.object("?")
48. des.object("?")
49. -- Some traps.
50. des.trap("spiked pit")
51. des.trap("fire")
52. des.trap("sleep gas")
53. des.trap("anti magic")
54. des.trap("fire")
55. des.trap("magic")
56. des.trap("magic")
57. -- Random monsters.
58. des.monster("ghost",37,07)
59. des.monster("horned devil",32,05)
60. des.monster("barbed devil",38,07)
61. des.monster("L")
62. -- Some Vampires for good measure
63. des.monster("V")
64. des.monster("V")
65. des.monster("V")
66.