File: layout_cc.des

package info (click to toggle)
crawl 2%3A0.34.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 100,188 kB
  • sloc: cpp: 363,709; ansic: 27,765; javascript: 9,516; python: 8,463; perl: 3,293; java: 3,132; xml: 2,380; makefile: 1,835; sh: 611; objc: 250; cs: 15; sed: 9; lisp: 3
file content (101 lines) | stat: -rw-r--r-- 2,477 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
##############################################################
# layout_cc.des
#
# These layouts just call C++ functions that do all the work.
#



##############################################################
# layout_basic
#
# TODO: Fill disconnected areas as per [Mantis->9044].
#
NAME:   layout_basic
DEPTH:  D, Snake, Crypt, Depths, Zot, Pan
WEIGHT: 35 (D), 15 (Snake), 10 (Crypt), 20 (Depths), 20 (Zot), 15 (Pan)
ORIENT: encompass
TAGS:   overwritable layout allow_dup unrand layout_type_rooms
TAGS:   no_rotate no_vmirror no_hmirror
{{
    if not is_validating() then layout_basic() end
}}
MAP
ENDMAP

##############################################################
# layout_bigger_room
#
# Disabled until we can annoy the player less with water monsters.
#
NAME:   layout_bigger_room
DEPTH:  D:9-, Lair, !Lair:$
WEIGHT: 0
ORIENT: encompass
TAGS:   overwritable layout no_primary_vault allow_dup unrand layout_type_open
{{
    if not is_validating() then layout_bigger_room() end
}}
MAP
ENDMAP

##############################################################
# layout_chaotic_city
#
# This layout places many non-overlapping boxes, some hollow.
#
# TODO: Lair should have sometimes thicker walls, especially
#       on deeper depths so it can be used for the whole branch.
#
NAME:   layout_chaotic_city
DEPTH:  Lair:1-3, Crypt
WEIGHT: 10, 15 (Crypt)
ORIENT: encompass
TAGS:   overwritable layout allow_dup unrand layout_type_city
TAGS:   no_rotate no_vmirror no_hmirror
{{
    if not is_validating() then
      layout_chaotic_city(you.in_branch("Dis") and "metal_wall" or
      you.in_branch("Lair") and "rock_wall" or nil)
    end
}}
MAP
ENDMAP

##############################################################
# layout_shoals
#
NAME:   layout_shoals
DEPTH:  Shoals
WEIGHT: 10
ORIENT: encompass
TAGS:   overwritable layout allow_dup unrand layout_type_shoals
{{
    if not is_validating() then layout_shoals() end
}}
MAP
ENDMAP

##############################################################
# layout_basic_swamp
#
# Previously named "layout_swamp".
#
NAME:   layout_basic_swamp
DEPTH:  Swamp
WEIGHT: 20
ORIENT: encompass
TAGS:   overwritable layout allow_dup unrand layout_type_swamp
{{
    if is_validating() then return; end

    dgn.layout_swamp()

    -- Prevent tele closets
    -- TODO: there's also code in dungeon.cc (in _build_vault_impl) that does
    -- something very similar; do we really need both?
    zonify.grid_fill_water_zones(1,"tree")

}}
MAP
ENDMAP