Debian Codegraph @

lib/gamedata/player_timed.txt

raw
1 # File: player_timed.txt
2
3 # Used in conjunction with list-player-timed.h
4 # Timed player properties
5
6 # Descriptions, messages and message types can be edited without bad effects.
7 # Changing fail may have unpredictable results.
8 # Changing the name or adding whole new entries will severely disrupt the game.
9 # It should only be done when list-player-timed.h (and other code) is also being
10 # changed, and the game recompiled.
11 # Changing a resist line will have to match to one of the hard-coded elements
12 # from list-elements.h; currently, those resist lines are used to filter out
13 # unnecessary messages when timed effects lapse and to affect selection of
14 # randart activations.
15 # Changing a brand or slay line will have to match to an entry in brand.txt or
16 # slay.txt, respectively; besides the effect on combat, those lines also
17 # affect selection of randart activations.
18 # Changing a flag-synonym line will have to match to an entry, of type flag, in
19 # object_property.txt; those lines are currently used to filter out unnecessary
20 # messages when timed effects lapse and to affect selection of randart
21 # activations.
22
23 # Fields:
24 # name - the effect name; the name must match the first argument to one of the
25 # TMD() macros in list-player-timed.h
26 # desc - the effect description
27 # grade - specify a grade for this effect; most effects only have two grades:
28 # off (implicit for all effects, maximum of 0, no transition messages)
29 # and on (the one grade specified for the effect in this file)
30 # param one: color used on the status line for this effect when in this
31 # grade; may be a one letter color code or the full color name
32 # (case insensitive)
33 # param two: is the maximum for this grade; to work properly must be
34 # greater than zero, less than 32768, and greater than the maximum
35 # for any previous grades specified for this effect
36 # param three: is the name of the grade and will be shown in the status
37 # line; use a one character long name for the grade to suppress
38 # showing the timed effect in the status line when in that grade
39 # param four: is the message to display when the effect enters this
40 # grade from a lower grade; no message will be displayed if the
41 # message is one character long
42 # param five (optional): is the message to display when the effect
43 # enters this grade from a higher grade; no message will be
44 # displayed if this parameter is omitted
45 # on-end - the message on ending the effect
46 # on-increase - the message on the effect increasing
47 # on-decrease - the message on the effect decreasing
48 # msgt - the message type to use for the change of grade, on-increase, and
49 # on-decrease messages for this effect; the type must either match
50 # (case-insensitive) the first argument to one of the MSG() macros in
51 # list-message.h or be an unsigned integer less than MSG_MAX which is
52 # the index of the message type to use within list-message.h; on-end
53 # messages always use the RECOVER message type; for the textui user
54 # interface, the message type affects the message color (configured
55 # globally by lib/customize/message.prf; also configurable by
56 # preferences in the user's files) and the sound played when the
57 # message is displayed (configured globally by lib/customize/sound.prf;
58 # also configurable by preferences in the user's files)
59 # fail - determines what makes the effect fail; may be specified more than
60 # once - the effect will fail if any of the conditions are met
61 # param one:
62 # 1 - object flag
63 # 2 - resist
64 # 3 - vulnerability
65 # 4 - player flag
66 # 5 - presence of timed effect
67 # param two:
68 # the actual flag that causes the failure; for an object flag, the
69 # flag must match the first argument to one of the OF() macros in
70 # list-object-flags.h; for a player flag, the flag must match the
71 # first argument to one of the PF() macros in list-player-flags.h; for
72 # a resist or vulnerability, the flag must match the argument to one
73 # of the ELEM() macros in list-elements.h; for a timed effect, the
74 # flag must match the argument to TMD() macros list-player-timed.h
75 # on-begin-effect - (optional) specifies an effect to be invoked when the
76 # timed effect starts; can be used more than once - the
77 # additional effects will be executed in the order in which
78 # they appear
79 # param one: name of the effect (argument to one of the
80 # EFFECT() macros in list-effects.h)
81 # param two: name of the subtype of the effect; can be
82 # omitted
83 # param three: radius of the effect; can be omitted and
84 # must be omitted if the subtype is omitted
85 # param four: the "other" parameter for the effect; can be
86 # omitted and must be omitted if the subtype or radius is
87 # omitted
88 # on-end-effect - (optional) specifies an effect to be invoked when the timed
89 # effect lapses; can be used more than once - the additional
90 # effects will be executed in the order in which they appear
91 # param one: name of the effect (argument to one of the
92 # EFFECT() macros in list-effects.h)
93 # param two: name of the subtype of the effect; can be omitted
94 # param three: radius of the effect; can be omitted and must
95 # be omitted if the subtype is omitted
96 # param four: the "other" parameter for the effect; can be
97 # omitted and must be omitted if the subtype or radius is
98 # omitted
99 # effect-yx - (optional) specifies the y and x parameters of the most recently
100 # set effect (i.e. from a prior on-begin-effect or on-end-effect
101 # directive)
102 # param one: is the value of the y parameter for the effect
103 # param two: is the value of hte x parameter for the effect
104 # effect-dice - (optional) specifies the dice string for the most recently
105 # set effect (i.e. from a prior on-begin-effect or on-end-effect
106 # directive)
107 # effect-expr - (optional) defines an expression for the dice string of the
108 # most recently set effect (i.e. from a prior on-begin-effect
109 # or on-end-effect directive); requires that the dice string has
110 # been set for the effect with a effect-dice directive
111 # param one: is the name of the variable to substitute with the
112 # value of the expression; variable names must be all
113 # capital letters and a reference to a variable in a dice
114 # string starts with a $; if the dice string does not contain
115 # a reference to the given variable, parsing of the game's
116 # data files will stop with an error
117 # param two: set the name of the base value to modify with the
118 # operations in the third parameter; the name can be one of
119 # those listed below; if it does not match any in the list,
120 # the base value will be zero
121 # PLAYER_LEVEL - the player's level
122 # DUNGEON_LEVEL - the dungeon's level
123 # MAX_SIGHT - the maximum sight range, in grids
124 # WEAPON_DAMAGE - a random roll for the base damage (only
125 # the weapon's dice and damage modifiers are included;
126 # no damage modifiers from the player or equipment
127 # other than the weapon are used) of the player's
128 # equipped weapon; if the player has no equipped
129 # weapon, the value of this is zero
130 # PLAYER_HP - the player's current number of hit points
131 # MONSTER_PERCENT_HP_GONE - ((maximum hit points for the
132 # player's target monster - current hit poinst for the
133 # player's target monster) * 100) / maximum hit points
134 # for the player's target monster or 0 if the player
135 # doesn't currently have a targeted monster
136 # param three: sets the operations to perform on the base value to
137 # get the value substituted into the dice expression; for
138 # instance, "* 2 / 3" would multiply the base value by 2 then
139 # divide that result by three, discarding any remainder;
140 # operators that are allowed are '+' (addition),
141 # '-' (subtraction), '*' (multiplication), '/' (integer
142 # division; discards remainder), and 'n' or 'N' (either negate
143 # the result from before the operator); integer constants
144 # in the operations must be between -32768 and 32767;
145 # operators and integer constants in the operations should be
146 # separated by single spaces
147 # effect-msg - (optional) appends to the message associated with the most
148 # recently set effect (i.e. from a prior on-begin-effect or
149 # on-end-effect directive); how that message is used depends on
150 # the effect - typically it may be printed during the effect or
151 # is used as a death message
152 # resist - (optional) when this timed property is active, the recipient gains
153 # a temporary resistance to the named element
154 # brand - (optional) when this timed property is active, the recipient gains
155 # the given brand (by its code in brand.txt) on equipped weapons; when
156 # there's no brand line, the timed property does not induce a brand
157 # slay - (optional) when this timed property is active, the recipient gains
158 # the given slay (by its code in slay.txt) on equipped weapons; when
159 # there's no slay line, the timed property does not induce a slay
160 # flag-synonym - (optional) indicate that this timed property is (largely)
161 # synonymous to the object property of type flag in
162 # object_property.txt with the code given by the first parameter;
163 # if the second parameter is not zero, this timed property is an
164 # exact synonym, except for duration; if the second parameter is
165 # zero, the timed property has other effects that are not
166 # implied by the named object property
167 # lower-bound - (optional) overrides the default lower bound of zero for the
168 # timed effect; the lower bound must be non-negative, less
169 # than 32768, and less than or equal to the maximum for any of
170 # the timed effect's grades; if the lower bound is greater than
171 # zero, the timed effect is always active (so a message set by
172 # on-end or an effect by on-begin-effect or on-end-effect will
173 # not be used)
174 # flags - (optional) specifies one or more flags for the timed effect; can
175 # appear more than once with all the flags specified accumulating;
176 # more than one flag can be specified each time it is used - the names
177 # of the flags must be separated by spaces or '|'; the flag names or
178 # that are understood are:
179 # NONSTACKING - any attempt to increase the timed effect while it is
180 # already active will not increase the duration; this is a stronger
181 # restriction than having the timed effect fail because of the
182 # timed effect itself, primarily because NONSTACKING also affects
183 # cases, like TIMED_INC_NO_RES effects, where the failure check is
184 # bypassed; NONSTACKING is also handled differently than failing
185 # for the timed effect itself in terms of lore checks (if a timed
186 # effect is NONSTACKING, lore for a monster won't show that a
187 # the monster's attack inflicting that status is resisted solely
188 # because the character is already subject to the timed effect)
189
190 name:FAST
191 desc:haste
192 grade:G:10000:Haste:You feel yourself moving faster!
193 on-end:You feel yourself slow down.
194 msgt:SPEED
195
196 name:SLOW
197 desc:slowness
198 grade:U:10000:Slow:You feel yourself moving slower!
199 on-end:You feel yourself speed up.
200 msgt:SLOW
201 fail:1:FREE_ACT
202
203 name:BLIND
204 desc:blindness
205 grade:o:10000:Blind:You are blind.
206 on-end:You blink and your eyes clear.
207 msgt:BLIND
208 fail:1:PROT_BLIND
209
210 name:PARALYZED
211 desc:paralysis
212 grade:r:10000:Paralyzed!:You are paralysed!
213 on-end:You can move again.
214 msgt:PARALYZED
215 fail:1:FREE_ACT
216 flags:NONSTACKING
217
218 name:CONFUSED
219 desc:confusion
220 grade:o:10000:Confused:You are confused!
221 on-end:You are no longer confused.
222 on-increase:You are more confused!
223 on-decrease:You feel a little less confused.
224 msgt:CONFUSED
225 fail:1:PROT_CONF
226
227 name:AFRAID
228 desc:fear
229 grade:o:10000:Afraid:You are terrified!
230 on-end:You feel bolder now.
231 on-increase:You are more scared!
232 msgt:AFRAID
233 fail:1:PROT_FEAR
234
235 name:IMAGE
236 desc:hallucination
237 grade:o:10000:Halluc:You feel drugged!
238 on-end:You can see clearly again.
239 on-increase:You feel more drugged!
240 msgt:DRUGGED
241 fail:2:CHAOS
242
243 name:POISONED
244 desc:poisoning
245 grade:o:10000:Poisoned:You are poisoned!
246 on-end:You are no longer poisoned.
247 on-increase:You are more poisoned!
248 on-decrease:You are less poisoned.
249 msgt:POISONED
250 fail:2:POIS
251 fail:5:OPP_POIS
252
253 name:CUT
254 desc:wounds
255 grade:y:10:Graze:You have been given a graze.
256 grade:y:25:Light Cut:You have been given a light cut.
257 grade:o:50:Bad Cut:You have been given a bad cut.
258 grade:o:100:Nasty Cut:You have been given a nasty cut.
259 grade:r:200:Severe Cut:You have been given a severe cut.
260 grade:r:1000:Deep Gash:You have been given a deep gash.
261 grade:R:10000:Mortal Wound:You have been given a mortal wound.
262 on-end:You are no longer bleeding.
263 msgt:CUT
264 fail:4:ROCK
265
266 name:STUN
267 desc:stunning
268 grade:o:50:Stun:You have been stunned.
269 grade:o:150:Heavy Stun:You have been heavily stunned.
270 grade:r:10000:Knocked Out:You have been knocked out.
271 on-end:You are no longer stunned.
272 msgt:STUN
273 fail:1:PROT_STUN
274
275 # Note food grades are in percantages here, and are translated on parsing
276 name:FOOD
277 desc:nourishment
278 grade:R:1:Starving: :You are starving!!
279 grade:r:4:Faint:You are still faint.:You are getting faint from hunger!
280 grade:o:8:Weak:You are still weak.:You are getting weak from hunger!
281 grade:y:15:Hungry:You are still hungry.:You are getting hungry.
282 grade:G:90:Fed:You are no longer hungry.:You are no longer full.
283 grade:g:100:Full:You are full!:
284 msgt:HUNGRY
285 lower-bound:1
286
287 name:PROTEVIL
288 desc:protection from evil
289 grade:G:10000:ProtEvil:You feel safe from evil!
290 on-end:You no longer feel safe from evil.
291 on-increase:You feel even safer from evil!
292 msgt:PROT_EVIL
293
294 name:INVULN
295 desc:invulnerability
296 grade:G:10000:Invuln:You feel invulnerable!
297 on-end:You feel vulnerable once more.
298 msgt:INVULN
299
300 name:HERO
301 desc:heroism
302 grade:G:10000:Hero:You feel like a hero!
303 on-end:You no longer feel heroic.
304 on-increase:You feel more like a hero!
305 msgt:HERO
306 flag-synonym:PROT_FEAR:0
307
308 name:SHERO
309 desc:berserk rage
310 grade:G:10000:Berserk:You feel like a killing machine!
311 on-end:You no longer feel berserk.
312 on-increase:You feel even more berserk!
313 msgt:BERSERK
314 flag-synonym:PROT_FEAR:0
315
316 name:SHIELD
317 desc:mystic shield
318 grade:G:10000:Shield:A mystic shield forms around your body!
319 on-end:Your mystic shield crumbles away.
320 on-increase:The mystic shield strengthens.
321 msgt:SHIELD
322
323 name:BLESSED
324 desc:your AC and to-hit bonus
325 grade:G:10000:Blssd:You feel righteous!
326 on-end:The prayer has expired.
327 on-increase:You feel more righteous!
328 msgt:BLESSED
329
330 name:SINVIS
331 desc:see invisible
332 grade:G:10000:SInvis:Your eyes feel very sensitive!
333 on-end:Your eyes no longer feel so sensitive.
334 on-increase:Your eyes feel more sensitive!
335 msgt:SEE_INVIS
336 flag-synonym:SEE_INVIS:1
337
338 name:SINFRA
339 desc:enhanced infravision
340 grade:G:10000:Infra:Your eyes begin to tingle!
341 on-end:Your eyes stop tingling.
342 on-increase:The tingling in your eyes intensifies.
343 msgt:INFRARED
344
345 name:OPP_ACID
346 desc:acid resistance
347 grade:s:10000:RAcid:You feel resistant to acid!
348 on-end:You are no longer resistant to acid.
349 on-increase:You feel more resistant to acid!
350 msgt:RES_ACID
351 fail:3:ACID
352 resist:ACID
353
354 name:OPP_ELEC
355 desc:electricity resistance
356 grade:b:10000:RElec:You feel resistant to electricity!
357 on-end:You are no longer resistant to electricity.
358 on-increase:You feel more resistant to electricity!
359 msgt:RES_ELEC
360 fail:3:ELEC
361 resist:ELEC
362
363 name:OPP_FIRE
364 desc:fire resistance
365 grade:r:10000:RFire:You feel resistant to fire!
366 on-end:You are no longer resistant to fire.
367 on-increase:You feel more resistant to fire!
368 msgt:RES_FIRE
369 fail:3:FIRE
370 resist:FIRE
371
372 name:OPP_COLD
373 desc:cold resistance
374 grade:w:10000:RCold:You feel resistant to cold!
375 on-end:You are no longer resistant to cold.
376 on-increase:You feel more resistant to cold!
377 msgt:RES_COLD
378 fail:3:COLD
379 resist:COLD
380
381 name:OPP_POIS
382 desc:poison resistance
383 grade:g:10000:RPois:You feel resistant to poison!
384 on-end:You are no longer resistant to poison.
385 on-increase:You feel more resistant to poison!
386 msgt:RES_POIS
387 fail:3:POIS
388 resist:POIS
389
390 name:OPP_CONF
391 desc:confusion resistance
392 grade:v:10000:RConf:You feel resistant to confusion!
393 on-end:You are no longer resistant to confusion.
394 on-increase:You feel more resistant to confusion!
395 flag-synonym:PROT_CONF:1
396
397 name:AMNESIA
398 desc:amnesia
399 grade:o:10000:Amnesiac:You feel your memories fade.
400 on-end:Your memories come flooding back.
401 msgt:GENERIC
402
403 name:TELEPATHY
404 desc:telepathy
405 grade:B:10000:ESP:Your mind expands.
406 on-end:Your horizons are once more limited.
407 on-increase:Your mind expands further.
408 msgt:GENERIC
409 flag-synonym:TELEPATHY:1
410
411 name:STONESKIN
412 desc:stone skin
413 grade:G:10000:Stone:Your skin turns to stone.
414 on-end:A fleshy shade returns to your skin.
415 msgt:GENERIC
416
417 name:TERROR
418 desc:terror
419 grade:r:10000:Terror:You feel the need to run away and fast!
420 on-end:The urge to run dissipates.
421 msgt:AFRAID
422
423 name:SPRINT
424 desc:sprinting
425 grade:G:10000:Sprint:You start sprinting.
426 on-end:You suddenly stop sprinting.
427 msgt:SPEED
428 on-end-effect:TIMED_INC_NO_RES:SLOW
429 effect-dice:100
430
431 name:BOLD
432 desc:fearlessness
433 grade:G:10000:Bold:You feel bold.
434 on-end:You no longer feel bold.
435 on-increase:You feel even bolder!
436 msgt:BOLD
437 flag-synonym:PROT_FEAR:1
438
439 name:SCRAMBLE
440 desc:scrambled
441 grade:v:10000:Scrambled:Your body starts to scramble...
442 on-end:Your body reasserts its true nature.
443 on-increase:You are more scrambled!
444 msgt:SCRAMBLE
445 fail:2:NEXUS
446 on-begin-effect:SCRAMBLE_STATS
447 on-end-effect:UNSCRAMBLE_STATS
448
449 name:TRAPSAFE
450 desc:safety from traps
451 grade:G:10000:TrapSafe:You feel safe from traps.
452 on-end:You feel vulnerable to traps again.
453 on-increase:You feel even safer from traps!
454 flag-synonym:TRAP_IMMUNE:1
455
456 name:FASTCAST
457 desc:mana channelling
458 grade:i:10000:FastCast:You feel your mind accelerate.
459 on-end:You feel your mind slow again.
460
461 name:ATT_ACID
462 desc:temporary acid brand
463 grade:s:10000:AttAcid:Your {kind} start{s} to drip with acid!
464 on-end:The acid disappears from your {kind}.
465 brand:ACID_3
466
467 name:ATT_ELEC
468 desc:temporary lightning brand
469 grade:b:10000:AttElec:Sparks gather around your {kind}!
470 on-end:The sparks fade from your {kind}.
471 brand:ELEC_3
472
473 name:ATT_FIRE
474 desc:temporary fire brand
475 grade:r:10000:AttFire:Flames surround your {kind}!
476 on-end:The flames on your {kind} subside.
477 brand:FIRE_3
478
479 name:ATT_COLD
480 desc:temporary cold brand
481 grade:w:10000:AttCold:Your {kind} {is} covered in frost!
482 on-end:The frost evaporates from your {kind}.
483 brand:COLD_3
484
485 name:ATT_POIS
486 desc:temporary poison brand
487 grade:g:10000:AttPois:Your {kind} drip{s} with poison!
488 on-end:The poison disappears from your {kind}.
489 brand:POIS_3
490
491 name:ATT_CONF
492 desc:temporary monster confusion
493 grade:U:10000:AttConf:Your hands begin to glow!
494 on-end:The glow fades from your hands.
495
496 name:ATT_EVIL
497 desc:temporary slay evil
498 grade:w:10000:AttEvil:Your {kind} {is} imbued with holy force!
499 on-end:Holy force fades from your {kind}.
500 slay:EVIL_2
501
502 name:ATT_DEMON
503 desc:temporary slay demon
504 grade:R:10000:AttDemon:Your {kind} become{s} a bane of demons!
505 on-end:Your {kind} return{s} to normal.
506 slay:DEMON_5
507
508 name:ATT_VAMP
509 desc:temporary hitpoint siphoning
510 grade:p:10000:AttVamp:Your can drain life from your victims!
511 on-end:Your life-draining power passes.
512
513 name:HEAL
514 desc:turn-by-turn healing through increased metabolism
515 grade:G:10000:Heal:Your metabolism speeds up!
516 on-end:Your metabolism return to normal.
517
518 name:COMMAND
519 desc:commanding a monster
520 grade:P:10000:Cmd:You focus on your target.
521 on-end:Your resume control of your own body.
522
523 name:ATT_RUN
524 desc:escape on attack
525 grade:m:10000:HitRun:You tense up ready to escape!
526 on-end:You relax again.
527
528 name:COVERTRACKS
529 desc:leave no scent trail, reduce visibility
530 grade:T:10000:NoTrack:You begin covering your tracks.
531 on-end:You stop covering your tracks.
532
533 name:POWERSHOT
534 desc:piercing shot
535 grade:i:10000:PShot:You prepare to shoot powerfully!
536 on-end:Your shooting power returns to normal.
537
538 name:TAUNT
539 desc:taunting
540 grade:i:10000:Taunt:You start aggravating your enemies!
541 on-end:You stop aggravating your enemies.
542
543 name:BLOODLUST
544 desc:desire to kill
545 grade:y:10:Bloodlust:A red mist descends over your eyes!
546 grade:I:18:Bloodlust:Your thirst for blood increases!
547 grade:o:26:Bloodlust:Your thirst for blood increases!
548 grade:r:34:Bloodlust:Your thirst for blood increases!
549 grade:R:45:Bloodlust:Your thirst for blood increases!
550 grade:P:50:Bloodlust:Your thirst for blood is insatiable!
551 on-end:The mist clears.
552
553 name:BLACKBREATH
554 desc:black breath
555 grade:D:10:BlkBrth:You are overcome by the Black Breath.
556 on-end:The Black Shadow lifts.
557
558 name:STEALTH
559 desc:stealth
560 grade:D:10000:Stealth:You feel silent!
561 on-end:You feel less stealthy.
562
563 name:FREE_ACT
564 desc:free action
565 grade:G:10000:FrAct:Your limbs fill with energy!
566 on-end:Your limbs return to normal.
567 on-increase:Your limbs feel more energetic!
568 flag-synonym:FREE_ACT:1