Debian Codegraph @

lib/gamedata/terrain.txt

raw
1 # File: terrain.txt
2
3
4 # This file is used to initialize the "terrain feature" information for
5 # the Angband game.
6
7 # Do not modify this file unless you know exactly what you are doing,
8 # unless you wish to risk possible system crashes and broken savefiles.
9
10 # Note that, unlike other edit files, modifying this file casually is likely
11 # to be a BAD IDEA (unless you intend to make actual programming changes)
12 # for two reasons:
13
14 # 1. Terrain features do not appear unless there is specific code in the
15 # level generation algorithms to include them, so adding new terrain
16 # features to this file will by itself have no effect.
17
18 # 2. Changing the properties (especially flags but also mimicry, digging,
19 # and resist flag) can significantly change game behavior, and any changes
20 # will likely mess up a game which was started before the changes took place
21 # and is reloaded when the changes are in effect.
22
23 # You may more freely alter the graphics, names, messages, and descriptions.
24 # There is an implicit linkage between the symbols for the stores and the
25 # shortcut keys in the main knowledge menu to display a store's contents
26 # (those keys are set by the ordering of the stores within list-terrain.h).
27 # Note that terrain feature zero contains the "darkness" picture.
28
29 # === Understanding terrain.txt ===
30
31 # code : code name from list-terrain.h
32 # name : terrain printable name
33 # graphics : symbol : color
34 # mimic : code name for the feature to mimic
35 # priority : display priority on mini-map
36 # flags : terrain flags
37 # digging : digging index
38 # walk-msg: warning message - walking
39 # run-msg: warning message - running
40 # hurt-msg: damage message
41 # die-msg: death message
42 # confused-msg: message for confused monster move into non-passable terrain
43 # look-prefix: used before the name in the result from looking
44 # look-in-preposition: preposition used when looking at one's own position
45 # resist-flag: monster race flag for resist
46
47 # 'code' indicates the start of an entry. The value used for the code
48 # must match the argument to one of the FEAT() macros in list-terrain.h.
49
50 # 'name' specifies the printable name for the terrain. As this is displayed
51 # in the status bar and various menus, a short name is preferable.
52
53 # 'graphics' is for graphics - symbol and color. There are 27 colors:
54
55 # D - Dark Gray w - White s - Gray o - Orange
56 # r - Red g - Green b - Blue u - Umber
57 # W - Light Gray P - Light Purple y - Yellow R - Light Red
58 # G - Light Green B - Light Blue U - Light Umber p - Purple
59 # v - Violet t - Teal m - Mud Y - Light Yellow
60 # i - Magenta-Pink T - Light Teal V - Light Violet I - Light Pink
61 # M - Mustard z - Blue Slate Z - Deep Light Blue
62
63 # 'mimic' is the code name (one of the arguments to the FEAT() macros in
64 # list-terrain.h) of a feature to mimic; some features look like another
65 # feature until they are discovered by the player.
66
67 # 'priority' is for display priority on the minimap, where only a selection
68 # of grids are chosen. This enables the minimap to display the information
69 # most likely to be useful to the player.
70
71 # 'flags' is for terrain flags.
72
73 # 'digging' is to specify the difficulty of digging through the terrain. This
74 # is optional and, if the terrain, based on its flags, is not diggable, setting
75 # the index has no substantial effect besides error checking during parsing.
76 # The difficuly is specified as an integer from one to five (i.e. one plus one
77 # of the DIGGING_* constants from player.h) where one is like rubble, two is
78 # like a magma vein, three is like a quartz vein, four is like granite, and
79 # five is like a closed door.
80
81 # 'walk-msg' is the warning message for the player on stepping into damaging
82 # terrain
83
84 # 'run-msg' is the warning message for the player on running into damaging
85 # terrain
86
87 # 'hurt-msg' is the message the player gets when damaged by terrain
88
89 # 'die-msg' is the description if damaging terrain kills the player
90
91 # 'confused-msg' is the description of an attempt for a monster to move into
92 # non-passable terrain due to confusion
93
94 # 'look-prefix' is printed before the name in the result of looking at the
95 # terrain. If not set, the default is to use 'an' if the name starts with
96 # a vowel or 'a' if the name does not start with a vowel.
97
98 # 'look-in-preposition' is the preposition that will be used when printing
99 # the result for an observer looking at the observer's grid: 'You are
100 # <preposition> <prefix> <name>'. If not set, the default is to use 'on'.
101
102 # 'resist-flag' is the race flag a monster must have to be able to enter
103 # damaging terrain
104
105 # 'desc' is for description. As many desc: lines may be used as are needed
106 # to describe the terrain. Note that lines will need spaces at their
107 # ends or the beginning of the next line to prevent words from running
108 # together.
109
110 code:NONE
111 name:unknown grid
112 graphics: :w
113 priority:2
114
115
116 code:FLOOR
117 name:open floor
118 graphics:.:w
119 priority:5
120 flags:LOS | PROJECT | PASSABLE | FLOOR | OBJECT | EASY | TRAP | TORCH
121 desc:An open floor or bare ground. Can be walked across by anything, and can
122 desc: hold traps or items. Does not break line of sight.
123
124 code:CLOSED
125 name:closed door
126 graphics:+:U
127 priority:17
128 flags:DOOR_ANY | DOOR_CLOSED | INTERESTING
129 digging:5
130 confused-msg:bangs into a door
131 desc:Doors may be locked; getting through them may not be easy. Your
132 desc: disarming skill makes all the difference to your ability to handle locks,
133 desc: but you can also take a pickaxe to them, or blast them open
134 desc: with magic. Monsters are also slowed down by doors; you can earn yourself
135 desc: valuable time by locking them.
136
137 code:OPEN
138 name:open door
139 graphics:':U
140 priority:15
141 flags:LOS | PROJECT | PASSABLE | DOOR_ANY | INTERESTING | CLOSABLE | EASY
142 look-in-preposition:in
143 desc:A door that is already open. Player, monster, spell and missile can pass
144 desc: through as long as it stays open.
145
146 code:BROKEN
147 name:broken door
148 graphics:':u
149 priority:15
150 flags:LOS | PROJECT | PASSABLE | DOOR_ANY | INTERESTING | EASY
151 look-in-preposition:in
152 desc:A door so broken that it cannot be shut.
153
154 code:LESS
155 name:up staircase
156 graphics:<:w
157 priority:25
158 flags:LOS | PROJECT | PASSABLE | PERMANENT | INTERESTING | STAIR | UPSTAIR
159 flags:EASY | TORCH
160 desc:A staircase up to a shallower part of the dungeon.
161
162 code:MORE
163 name:down staircase
164 graphics:>:w
165 priority:25
166 flags:LOS | PROJECT | PASSABLE | PERMANENT | INTERESTING | STAIR | DOWNSTAIR
167 flags:EASY | TORCH
168 desc:A staircase down to a deeper part of the dungeon.
169
170 code:STORE_GENERAL
171 name:General Store
172 graphics:1:U
173 priority:20
174 flags:SHOP | LOS | PROJECT | PASSABLE | PERMANENT | INTERESTING | EASY
175 look-prefix:the entrance to the
176 look-in-preposition:at
177 desc:The General Store sells food, ammunition and lighting supplies.
178
179 code:STORE_ARMOR
180 name:Armoury
181 graphics:2:s
182 priority:20
183 flags:SHOP | LOS | PROJECT | PASSABLE | PERMANENT | INTERESTING | EASY
184 look-prefix:the entrance to the
185 look-in-preposition:at
186 desc:The armour sold here will give you some protection against the blows of
187 desc: your enemies.
188
189 code:STORE_WEAPON
190 name:Weapon Smiths
191 graphics:3:w
192 priority:20
193 flags:SHOP | LOS | PROJECT | PASSABLE | PERMANENT | INTERESTING | EASY
194 look-prefix:the entrance to the
195 look-in-preposition:at
196 desc:Weapons for hitting and shooting your enemies are forged in the hot, acrid
197 desc: backroom of this enticing shop.
198
199 code:STORE_BOOK
200 name:Bookseller
201 graphics:4:g
202 priority:20
203 flags:SHOP | LOS | PROJECT | PASSABLE | PERMANENT | INTERESTING | EASY
204 look-prefix:the entrance to the
205 look-in-preposition:at
206 desc:A quiet, reflective place of refuge, lined with shelves of
207 desc: mystical tomes.
208
209 code:STORE_ALCHEMY
210 name:Alchemy Shop
211 graphics:5:b
212 priority:20
213 flags:SHOP | LOS | PROJECT | PASSABLE | PERMANENT | INTERESTING | EASY
214 look-prefix:the entrance to the
215 look-in-preposition:at
216 desc:A dim, scented room where potions and scrolls are traded.
217
218 code:STORE_MAGIC
219 name:Magic Shop
220 graphics:6:r
221 priority:20
222 flags:SHOP | LOS | PROJECT | PASSABLE | PERMANENT | INTERESTING | EASY
223 look-prefix:the entrance to the
224 look-in-preposition:at
225 desc:A shop for devices and adornments with magic trapped within.
226
227 code:STORE_BLACK
228 name:Black Market
229 graphics:7:D
230 priority:20
231 flags:SHOP | LOS | PROJECT | PASSABLE | PERMANENT | INTERESTING | EASY
232 look-prefix:the entrance to the
233 look-in-preposition:at
234 desc:Watch your back and hold onto your purse as you enter this disreputable
235 desc: haunt - and do not expect friendly service or good bargains.
236
237 code:HOME
238 name:Home
239 graphics:8:y
240 priority:20
241 flags:SHOP | LOS | PROJECT | PASSABLE | PERMANENT | INTERESTING | EASY
242 look-prefix:the entrance to the
243 look-in-preposition:at
244 desc:Your safe piece of Middle Earth, and the only place you can store goods
245 desc: apart from on your person.
246
247 code:SECRET
248 name:secret door
249 graphics:#:w
250 priority:10
251 mimic:GRANITE
252 flags:WALL | ROCK | DOOR_ANY | GRANITE | TORCH
253 digging:5
254 confused-msg:bashes into a wall
255 desc:A door that appears like a granite wall to untrained eyes.
256
257 code:RUBBLE
258 name:pile of rubble
259 graphics:::W
260 priority:13
261 flags:ROCK | NO_SCENT | NO_FLOW | INTERESTING | TORCH
262 digging:1
263 confused-msg:bumps into some rocks
264 desc:Ends LOS, stops missiles, bolts, and beams. May dissolve or be tunnelled
265 desc: to normal floor.
266
267 code:MAGMA
268 name:magma vein
269 graphics:%:D
270 priority:12
271 flags:WALL | ROCK | NO_SCENT | NO_FLOW | MAGMA | TORCH
272 digging:2
273 confused-msg:bashes into a wall
274 desc:A seam of soft rock. It can be removed by digging or magic, and passed
275 desc: through by immaterial monsters. It stops any spells, missiles or line of
276 desc: sight.
277
278 code:QUARTZ
279 name:quartz vein
280 graphics:%:s
281 priority:11
282 flags:WALL | ROCK | NO_SCENT | NO_FLOW | QUARTZ | TORCH
283 digging:3
284 confused-msg:bashes into a wall
285 desc:A seam of hardish rock. It can be removed by digging or magic, and passed
286 desc: through by immaterial monsters. It stops any spells, missiles or line of
287 desc: sight.
288
289 code:MAGMA_K
290 name:magma vein with treasure
291 graphics:*:o
292 priority:19
293 flags:WALL | ROCK | INTERESTING | NO_SCENT | NO_FLOW | GOLD | MAGMA
294 digging:2
295 confused-msg:bashes into a wall
296 desc:A seam of soft rock. It can be removed by digging or magic, and passed
297 desc: through by immaterial monsters. It stops any spells, missiles or line of
298 desc: sight. It contains visible treasure.
299
300 code:QUARTZ_K
301 name:quartz vein with treasure
302 graphics:*:y
303 priority:19
304 flags:WALL | ROCK | INTERESTING | NO_SCENT | NO_FLOW | GOLD | QUARTZ
305 digging:3
306 confused-msg:bashes into a wall
307 desc:A seam of hardish rock. It can be removed by digging or magic, and passed
308 desc: through by immaterial monsters. It stops any spells, missiles or line of
309 desc: sight. It contains visible treasure.
310
311 code:GRANITE
312 name:granite wall
313 graphics:#:W
314 priority:10
315 flags:WALL | ROCK | GRANITE | NO_SCENT | NO_FLOW | TORCH
316 digging:4
317 confused-msg:bashes into a wall
318 desc:A seam of hard rock. It can be removed by digging or magic, and passed
319 desc: through by immaterial monsters. It stops any spells, missiles or line of
320 desc: sight.
321
322 code:PERM
323 name:permanent wall
324 graphics:#:z
325 priority:10
326 flags:WALL | ROCK | PERMANENT | NO_SCENT | NO_FLOW
327 confused-msg:bashes into a wall
328 desc:You can dig through most walls but these are impenetrable. The dungeon is
329 desc: surrounded by these kinds of walls and some special rooms are made of them.
330
331 ## New terrain
332
333 code:LAVA
334 name:lava
335 graphics:#:r
336 priority:10
337 flags:LOS | PROJECT | FIERY | PASSABLE | NO_SCENT | BRIGHT
338 look-prefix:some
339 desc:A fiery pool of glowing lava. Step in it at your peril!
340 walk-msg:The lava will scald you! Really step in?
341 run-msg:Lava blocks your path. Step into it?
342 hurt-msg:The lava burns you!
343 die-msg:burning to a cinder in lava
344 resist-flag:IM_FIRE
345
346 code:PASS_RUBBLE
347 name:pile of passable rubble
348 graphics:::u
349 priority:13
350 flags:ROCK | PASSABLE | INTERESTING | TORCH
351 digging:1
352 desc:Ends LOS, stops missiles, bolts, and beams, and reduces the radius of ball
353 desc: spells. May dissolve or be tunnelled to normal floor, and can be walked
354 desc: through by the player and monsters.
355