| 1 |
# File: trap.txt |
| 2 |
|
| 3 |
# This file contains rune and trap definitions |
| 4 |
|
| 5 |
### Understanding trap.txt ### |
| 6 |
|
| 7 |
# name: name: short description |
| 8 |
# graphics: ASCII char used to represent the feature: color symbol |
| 9 |
# appear: rarity: minimum depth: maximum number on level |
| 10 |
# visibility: player trap visibility value |
| 11 |
# desc: description |
| 12 |
|
| 13 |
# flags: trap flags |
| 14 |
# These include: |
| 15 |
# - DOWN: after running effects, drops the player down a dungeon level |
| 16 |
# - ONEITME: after running effects, trap disappears |
| 17 |
# - MAGICAL: uses the magic disarm skill - other traps use physical disarm |
| 18 |
# - VISIBLE: trap will not be hidden when generated |
| 19 |
# - FLOOR: * can be set on the floor |
| 20 |
# - TRAP: * is a trap |
| 21 |
# - DELAY: activates as the player leaves its square rather than entering |
| 22 |
# |
| 23 |
# Flags marked '*' must be set for a trap to be generated as part of |
| 24 |
# normal dungeon generation. |
| 25 |
# |
| 26 |
# See list-trap-flags.h for a full list. |
| 27 |
|
| 28 |
# msg: activation message |
| 29 |
# This is shown to the user when the trap is triggered. |
| 30 |
|
| 31 |
# save: object flags that provide a saving throw |
| 32 |
# msg-good: save message |
| 33 |
# msg-bad: fail to save message |
| 34 |
# There are two ways to give the player a chance of avoiding the trap: |
| 35 |
# |
| 36 |
# 1. If the 'save' line is provided, then if player has the flags |
| 37 |
# specified on the 'save' line, the trap is avoided, and/or |
| 38 |
# 2. If the 'msg-bad' line is provided, then a roll is made against the |
| 39 |
# player's AC, which if successful avoids the trap. |
| 40 |
# |
| 41 |
# If the trap is avoided, the 'msg-good' line is printed instead. If it |
| 42 |
# isn't, 'msg-bad' is printed. |
| 43 |
|
| 44 |
# effect: trap effect : ? subtype : ? radius : ? extra parameter |
| 45 |
# dice: dice string for effect |
| 46 |
# expr: dice expression for effect |
| 47 |
# If there is no saving throw, or it fails, then these effects are |
| 48 |
# triggered. |
| 49 |
|
| 50 |
# msg-xtra: extra effect message |
| 51 |
# effect-xtra: extra effect : ? subtype : ? radius : ? extra parameter |
| 52 |
# dice-xtra: dice string for extra effect |
| 53 |
# expr-xtra: dice expression for extra effect |
| 54 |
# If there is no saving throw, or it fails, then these effects are |
| 55 |
# also triggered 50% of the time. If they are triggered, the 'msg-xtra' |
| 56 |
# line is printed, if present. |
| 57 |
|
| 58 |
name:no trap:no trap |
| 59 |
graphics: :w |
| 60 |
|
| 61 |
name:glyph of warding:glyph of warding |
| 62 |
graphics:;:y |
| 63 |
appear:0:0:0 |
| 64 |
flags:GLYPH | VISIBLE | FLOOR |
| 65 |
desc:A magical rune which monsters cannot pass without difficulty. |
| 66 |
|
| 67 |
name:decoy:decoy |
| 68 |
graphics:;:G |
| 69 |
appear:0:0:0 |
| 70 |
flags:GLYPH | VISIBLE | FLOOR |
| 71 |
desc:A magical decoy which sounds and looks like the player. |
| 72 |
|
| 73 |
name:door lock:door lock |
| 74 |
graphics: :w |
| 75 |
appear:0:0:0 |
| 76 |
flags:LOCK | INVISIBLE |
| 77 |
desc:A device which makes a closed door harder to open. |
| 78 |
|
| 79 |
name:web:web |
| 80 |
graphics:%:y |
| 81 |
appear:0:0:0 |
| 82 |
flags:WEB | VISIBLE |
| 83 |
desc:A tangle of sticky spider webs. |
| 84 |
|
| 85 |
## Player traps ## |
| 86 |
|
| 87 |
# trap door |
| 88 |
|
| 89 |
name:trap door:trap door |
| 90 |
graphics:^:w |
| 91 |
appear:1:2:0 |
| 92 |
visibility:2d10M50 |
| 93 |
flags:TRAP | FLOOR | DOWN |
| 94 |
effect:DAMAGE |
| 95 |
dice:2d8 |
| 96 |
save:FEATHER |
| 97 |
desc:It looks like floor, but step incautiously and you will fall through. |
| 98 |
msg:You fall through a trap door! |
| 99 |
msg-good:You float gently down to the next level. |
| 100 |
|
| 101 |
# open pit |
| 102 |
|
| 103 |
name:pit:pit |
| 104 |
graphics:^:s |
| 105 |
appear:1:2:0 |
| 106 |
visibility:90 |
| 107 |
flags:TRAP | FLOOR | PIT |
| 108 |
effect:DAMAGE |
| 109 |
dice:2d6 |
| 110 |
save:FEATHER |
| 111 |
desc:A hole dug to snare the unwary. |
| 112 |
msg:You fall into a pit! |
| 113 |
msg-good:You float gently to the bottom of the pit. |
| 114 |
|
| 115 |
# spiked pit |
| 116 |
|
| 117 |
name:pit:spiked pit |
| 118 |
graphics:^:s |
| 119 |
appear:1:2:0 |
| 120 |
visibility:80 |
| 121 |
flags:TRAP | FLOOR | PIT |
| 122 |
effect:DAMAGE |
| 123 |
dice:2d6 |
| 124 |
effect-xtra:DAMAGE |
| 125 |
dice-xtra:2d6 |
| 126 |
effect-xtra:TIMED_INC:CUT |
| 127 |
dice-xtra:4d6 |
| 128 |
save:FEATHER |
| 129 |
desc:A hole dug to snare the unwary, with spikes. |
| 130 |
msg:You fall into a spiked pit! |
| 131 |
msg-good:You float gently to the bottom of the pit, neatly avoiding the spikes. |
| 132 |
msg-xtra:You are impaled! |
| 133 |
|
| 134 |
# poison pit |
| 135 |
|
| 136 |
name:pit:poison pit |
| 137 |
graphics:^:s |
| 138 |
appear:1:2:0 |
| 139 |
visibility:70 |
| 140 |
flags:TRAP | FLOOR | PIT |
| 141 |
effect:DAMAGE |
| 142 |
dice:2d6 |
| 143 |
effect-xtra:TIMED_INC:CUT |
| 144 |
dice-xtra:4d6 |
| 145 |
effect-xtra:TIMED_INC:POISONED |
| 146 |
dice-xtra:8d6 |
| 147 |
save:FEATHER |
| 148 |
desc:A hole dug to snare the unwary, with poisoned spikes. |
| 149 |
msg:You fall into a spiked pit! |
| 150 |
msg-good:You float gently to the bottom of the pit, neatly avoiding the spikes. |
| 151 |
msg-xtra:You are impaled on poisonous spikes! |
| 152 |
|
| 153 |
### 14 |
| 154 |
|
| 155 |
# rune -- summon (OoD) monster |
| 156 |
|
| 157 |
name:strange rune:rune of summon foe |
| 158 |
graphics:^:B |
| 159 |
appear:1:3:0 |
| 160 |
visibility:0 |
| 161 |
flags:TRAP | FLOOR | ONETIME | MAGICAL |
| 162 |
effect:SUMMON:MONSTER:0:5 |
| 163 |
dice:1 |
| 164 |
desc:A magical rune which calls a monster to attack you. |
| 165 |
msg:A new foe appears from nowhere! |
| 166 |
|
| 167 |
# rune -- summon monsters |
| 168 |
|
| 169 |
name:strange rune:rune of summoning |
| 170 |
graphics:^:B |
| 171 |
appear:2:3:0 |
| 172 |
visibility:0 |
| 173 |
flags:TRAP | FLOOR | ONETIME | MAGICAL |
| 174 |
effect:SUMMON:ANY |
| 175 |
dice:2+1d3 |
| 176 |
desc:A magical rune which calls up monsters to attack you. |
| 177 |
msg:You are enveloped in a cloud of smoke! |
| 178 |
|
| 179 |
# rune -- summon undead |
| 180 |
|
| 181 |
name:strange rune:rune of necromancy |
| 182 |
graphics:^:B |
| 183 |
appear:1:20:0 |
| 184 |
visibility:0 |
| 185 |
flags:TRAP | FLOOR | ONETIME | MAGICAL |
| 186 |
effect:SUMMON:UNDEAD |
| 187 |
dice:1d3M2 |
| 188 |
desc:A magical rune which calls the undead to attack you. |
| 189 |
msg:A sense of dread washes over you... |
| 190 |
|
| 191 |
# rune -- summon dragons |
| 192 |
|
| 193 |
name:strange rune:rune of dragonsong |
| 194 |
graphics:^:B |
| 195 |
appear:1:20:0 |
| 196 |
visibility:0 |
| 197 |
flags:TRAP | FLOOR | ONETIME | MAGICAL |
| 198 |
effect:SUMMON:DRAGON |
| 199 |
dice:1d3 |
| 200 |
desc:A magical rune which calls dragons to attack you. |
| 201 |
msg:You hear a dragon's call! |
| 202 |
|
| 203 |
# rune -- summon demons |
| 204 |
|
| 205 |
name:strange rune:hellhole |
| 206 |
graphics:^:B |
| 207 |
appear:1:20:0 |
| 208 |
visibility:0 |
| 209 |
flags:TRAP | FLOOR | ONETIME | MAGICAL |
| 210 |
effect:SUMMON:DEMON |
| 211 |
dice:1+1d3 |
| 212 |
desc:A magical rune which calls demons to attack you. |
| 213 |
msg:Demons appear! |
| 214 |
|
| 215 |
### 20 |
| 216 |
|
| 217 |
# rune -- teleport |
| 218 |
|
| 219 |
name:strange rune:teleport rune |
| 220 |
graphics:^:o |
| 221 |
appear:1:1:0 |
| 222 |
visibility:30+d30 |
| 223 |
flags:TRAP | FLOOR | MAGICAL |
| 224 |
effect:TELEPORT |
| 225 |
dice:M80 |
| 226 |
desc:A magical rune which teleports you to a random location. |
| 227 |
msg:You hit a teleport trap! |
| 228 |
|
| 229 |
# spot -- fire |
| 230 |
|
| 231 |
name:discolored spot:fire trap |
| 232 |
graphics:^:u |
| 233 |
appear:1:2:0 |
| 234 |
visibility:20 |
| 235 |
flags:TRAP | FLOOR | MAGICAL |
| 236 |
effect:SPOT:FIRE:0 |
| 237 |
dice:4d$S |
| 238 |
expr:S:DUNGEON_LEVEL:/ 2 |
| 239 |
desc:A strange coloured spot on the ground - beware its fiery attack. |
| 240 |
msg:You are enveloped in flames! |
| 241 |
|
| 242 |
# spot -- acid |
| 243 |
|
| 244 |
name:discolored spot:acid trap |
| 245 |
graphics:^:u |
| 246 |
appear:1:2:0 |
| 247 |
visibility:0 |
| 248 |
flags:TRAP | FLOOR | MAGICAL |
| 249 |
effect:SPOT:ACID:0 |
| 250 |
dice:4d$S |
| 251 |
expr:S:DUNGEON_LEVEL:/ 2 |
| 252 |
desc:A strange coloured spot on the ground - beware its acidic attack. |
| 253 |
msg:You are splashed with acid! |
| 254 |
|
| 255 |
# dart -- slow |
| 256 |
|
| 257 |
name:dart trap:slow dart |
| 258 |
graphics:^:r |
| 259 |
appear:1:2:0 |
| 260 |
visibility:M50 |
| 261 |
flags:TRAP | FLOOR | SAVE_ARMOR |
| 262 |
effect:DAMAGE |
| 263 |
dice:1d4 |
| 264 |
effect:TIMED_INC_NO_RES:SLOW |
| 265 |
dice:20+1d20 |
| 266 |
desc:A trap which shoots slowing darts. |
| 267 |
msg-good:A small dart barely misses you. |
| 268 |
msg-bad:A small dart hits you! |
| 269 |
|
| 270 |
# dart -- lose str |
| 271 |
|
| 272 |
name:dart trap:strength loss dart |
| 273 |
graphics:^:r |
| 274 |
appear:2:6:0 |
| 275 |
visibility:30 |
| 276 |
flags:TRAP | FLOOR | SAVE_ARMOR |
| 277 |
effect:DAMAGE |
| 278 |
dice:1d4 |
| 279 |
effect:DRAIN_STAT:STR |
| 280 |
desc:A trap which shoots damaging darts. |
| 281 |
msg-good:A small dart barely misses you. |
| 282 |
msg-bad:A small dart hits you! |
| 283 |
|
| 284 |
# dart -- lose dex |
| 285 |
|
| 286 |
name:dart trap:dexterity loss dart |
| 287 |
graphics:^:r |
| 288 |
appear:2:6:0 |
| 289 |
visibility:30 |
| 290 |
flags:TRAP | FLOOR | SAVE_ARMOR |
| 291 |
effect:DAMAGE |
| 292 |
dice:1d4 |
| 293 |
effect:DRAIN_STAT:DEX |
| 294 |
desc:A trap which shoots damaging darts. |
| 295 |
msg-good:A small dart barely misses you. |
| 296 |
msg-bad:A small dart hits you! |
| 297 |
|
| 298 |
# dart -- lose con |
| 299 |
|
| 300 |
name:dart trap:constitution loss dart |
| 301 |
graphics:^:r |
| 302 |
appear:2:6:0 |
| 303 |
visibility:30 |
| 304 |
flags:TRAP | FLOOR | SAVE_ARMOR |
| 305 |
effect:DAMAGE |
| 306 |
dice:1d4 |
| 307 |
effect:DRAIN_STAT:CON |
| 308 |
desc:A trap which shoots damaging darts. |
| 309 |
msg-good:A small dart barely misses you. |
| 310 |
msg-bad:A small dart hits you! |
| 311 |
|
| 312 |
# gas -- blind |
| 313 |
|
| 314 |
name:gas trap:blinding gas trap |
| 315 |
graphics:^:g |
| 316 |
appear:1:2:0 |
| 317 |
visibility:20+d5 |
| 318 |
flags:TRAP | FLOOR |
| 319 |
effect:TIMED_INC:BLIND |
| 320 |
dice:25+1d50 |
| 321 |
desc:A trap that releases gas to blind you. |
| 322 |
msg:You are surrounded by a black gas! |
| 323 |
|
| 324 |
# gas -- confuse |
| 325 |
|
| 326 |
name:gas trap:confusion gas trap |
| 327 |
graphics:^:g |
| 328 |
appear:1:1:0 |
| 329 |
visibility:20+d5 |
| 330 |
flags:TRAP | FLOOR |
| 331 |
effect:TIMED_INC:CONFUSED |
| 332 |
dice:10+1d20 |
| 333 |
desc:A trap that releases gas to confuse you. |
| 334 |
msg:You are surrounded by a gas of scintillating colors! |
| 335 |
|
| 336 |
# gas -- poison |
| 337 |
|
| 338 |
name:gas trap:poison gas trap |
| 339 |
graphics:^:g |
| 340 |
appear:1:2:0 |
| 341 |
visibility:20+d5 |
| 342 |
flags:TRAP | FLOOR |
| 343 |
effect:TIMED_INC:POISONED |
| 344 |
dice:10+1d20 |
| 345 |
desc:A trap that releases gas to poison you. |
| 346 |
msg:You are surrounded by a pungent green gas! |
| 347 |
|
| 348 |
# gas -- sleep |
| 349 |
|
| 350 |
name:gas trap:sleep gas trap |
| 351 |
graphics:^:g |
| 352 |
appear:1:2:0 |
| 353 |
visibility:20+d5 |
| 354 |
flags:TRAP | FLOOR |
| 355 |
effect:TIMED_INC:PARALYZED |
| 356 |
dice:5+1d10 |
| 357 |
desc:A trap that releases gas to put you to sleep. |
| 358 |
msg:You are surrounded by a strange white mist! |
| 359 |
|
| 360 |
# alarm -- aggravation |
| 361 |
|
| 362 |
name:alarm:aggravation trap |
| 363 |
graphics:^:R |
| 364 |
appear:1:5:0 |
| 365 |
visibility:M50 |
| 366 |
flags:TRAP | FLOOR | MAGICAL |
| 367 |
effect:WAKE |
| 368 |
effect:PROJECT_LOS:MON_SPEED |
| 369 |
dice:25 |
| 370 |
desc:A trap that wakes nearby monsters and impels them toward you. |
| 371 |
msg:A high-pitched whistle blares through the dungeon! |
| 372 |
|
| 373 |
# alarm -- siren |
| 374 |
|
| 375 |
name:alarm:siren |
| 376 |
graphics:^:R |
| 377 |
appear:1:1:0 |
| 378 |
visibility:60+d10 |
| 379 |
flags:TRAP | FLOOR | MAGICAL |
| 380 |
effect:WAKE |
| 381 |
desc:A trap that wakes nearby monsters. |
| 382 |
msg:A horn blast sounds! |
| 383 |
|
| 384 |
# explosion -- mine |
| 385 |
|
| 386 |
name:explosion:mine trap |
| 387 |
graphics:^:M |
| 388 |
appear:1:15:0 |
| 389 |
visibility:10+d5 |
| 390 |
flags:TRAP | FLOOR | ONETIME |
| 391 |
effect:SPOT:SHARD:2 |
| 392 |
dice:$B |
| 393 |
expr:B:DUNGEON_LEVEL:* 2 |
| 394 |
desc:A trap that blows up the floor. |
| 395 |
msg:The floor explodes around you! |
| 396 |
|
| 397 |
# explosion -- blast |
| 398 |
|
| 399 |
name:explosion:blast trap |
| 400 |
graphics:^:M |
| 401 |
appear:2:25:0 |
| 402 |
visibility:0 |
| 403 |
flags:TRAP | FLOOR | ONETIME |
| 404 |
effect:SPOT:LIGHT:1 |
| 405 |
dice:2d6 |
| 406 |
effect:SPOT:SOUND:2 |
| 407 |
dice:$B |
| 408 |
expr:B:DUNGEON_LEVEL:/ 2 |
| 409 |
effect:SPOT:FIRE:2 |
| 410 |
dice:$B |
| 411 |
expr:B:DUNGEON_LEVEL:+ 0 |
| 412 |
effect:SPOT:FORCE:2 |
| 413 |
dice:$B |
| 414 |
expr:B:DUNGEON_LEVEL:+ 0 |
| 415 |
desc:A trap that creates an explosion. |
| 416 |
msg:The air seems to catch fire! |
| 417 |
|
| 418 |
# mental assault -- mind blast |
| 419 |
|
| 420 |
name:mind blast trap:mind blasting trap |
| 421 |
graphics:^:G |
| 422 |
appear:1:20:0 |
| 423 |
visibility:30+d10 |
| 424 |
flags:TRAP | FLOOR | MAGICAL | SAVE_THROW |
| 425 |
effect:DAMAGE |
| 426 |
dice:8d$S |
| 427 |
expr:S:DUNGEON_LEVEL:/ 10 |
| 428 |
effect:TIMED_INC:CONFUSED |
| 429 |
dice:3+1d4 |
| 430 |
desc:A trap that blasts your senses. |
| 431 |
msg:You feel pressure on your mind. |
| 432 |
msg-good:You shake your head and are back to normal. |
| 433 |
msg-bad:Your mind is blasted by psionic energy! |
| 434 |
|
| 435 |
# mental assault -- brain smash |
| 436 |
|
| 437 |
name:mind blast trap:brain smashing trap |
| 438 |
graphics:^:G |
| 439 |
appear:2:40:0 |
| 440 |
visibility:30+d10 |
| 441 |
flags:TRAP | FLOOR | MAGICAL | SAVE_THROW |
| 442 |
effect:DAMAGE |
| 443 |
dice:10d$S |
| 444 |
expr:S:DUNGEON_LEVEL:/ 5 |
| 445 |
effect:TIMED_INC:SLOW |
| 446 |
dice:3+1d4 |
| 447 |
effect:TIMED_INC:CONFUSED |
| 448 |
dice:3+1d4 |
| 449 |
effect:TIMED_INC:PARALYZED |
| 450 |
dice:3+1d4 |
| 451 |
effect:TIMED_INC:BLIND |
| 452 |
dice:7+1d8 |
| 453 |
desc:A trap that blasts your senses. |
| 454 |
msg:You feel pressure on your mind. |
| 455 |
msg-good:You shake your head and are back to normal. |
| 456 |
msg-bad:Your mind is blasted by psionic energy! |
| 457 |
|
| 458 |
# dungeon alter -- rock fall |
| 459 |
|
| 460 |
name:ancient mechanism:rock fall trap |
| 461 |
graphics:^:U |
| 462 |
appear:1:4:0 |
| 463 |
visibility:40+d5 |
| 464 |
flags:TRAP | FLOOR | ONETIME |
| 465 |
effect:DAMAGE |
| 466 |
dice:$Dd5 |
| 467 |
expr:D:DUNGEON_LEVEL:/ 10 + 1 |
| 468 |
effect:TIMED_INC_NO_RES:STUN |
| 469 |
dice:2d20 |
| 470 |
effect:RUBBLE |
| 471 |
desc:A trap that drops a boulder on you. |
| 472 |
msg:A rock falls on your head! |
| 473 |
|
| 474 |
# dungeon alter -- earthquake |
| 475 |
|
| 476 |
name:ancient mechanism:earthquake trap |
| 477 |
graphics:^:U |
| 478 |
appear:1:30:0 |
| 479 |
visibility:30+d5 |
| 480 |
flags:TRAP | FLOOR |
| 481 |
effect:DAMAGE |
| 482 |
dice:$Dd5 |
| 483 |
expr:D:DUNGEON_LEVEL:/ 10 + 1 |
| 484 |
effect:EARTHQUAKE:NONE:5 |
| 485 |
desc:A trap that causes an earthquake. |
| 486 |
msg:The ground shakes. |
| 487 |
|
| 488 |
name:ancient mechanism:block fall trap |
| 489 |
graphics:^:U |
| 490 |
appear:1:4:0 |
| 491 |
visibility:40+d5 |
| 492 |
flags:TRAP | FLOOR | ONETIME | DELAY |
| 493 |
effect:GRANITE |
| 494 |
desc:A pressure plate that drops a stone block behind you. |
| 495 |
msg:A section of the ceiling falls in behind you! |
| 496 |
|
| 497 |
# dungeon alter - stone to mud |
| 498 |
# XXX this currently prints loads of annoying messages |
| 499 |
|
| 500 |
name:ancient mechanism:area blast trap |
| 501 |
graphics:^:U |
| 502 |
appear:2:40:0 |
| 503 |
visibility:20+d5 |
| 504 |
flags:TRAP | FLOOR | ONETIME |
| 505 |
effect:BALL:KILL_WALL:2 |
| 506 |
dice:20 |
| 507 |
effect:BALL:FORCE:2 |
| 508 |
dice:$B |
| 509 |
expr:B:DUNGEON_LEVEL:+ 0 |
| 510 |
effect:RUBBLE |
| 511 |
desc:A trap that clears the surrounding area. |
| 512 |
msg:The trap explodes, blasting the area clear! |
| 513 |
|
| 514 |
# blinding flash |
| 515 |
|
| 516 |
name:trap:blinding flash trap |
| 517 |
graphics:^:light yellow |
| 518 |
appear:1:5:0 |
| 519 |
visibility:30+d5 |
| 520 |
flags:TRAP | FLOOR | MAGICAL | ONETIME |
| 521 |
effect:BALL:LIGHT:4 |
| 522 |
dice:$Dd8 |
| 523 |
expr:D:DUNGEON_LEVEL:/ 10 + 2 |
| 524 |
desc:A trap that creates a ball of light. |
| 525 |
msg:A blazing light descends on you! |
| 526 |
|
| 527 |
# blinding trap |
| 528 |
|
| 529 |
name:trap:blinding trap |
| 530 |
graphics:^:light slate |
| 531 |
appear:1:5:0 |
| 532 |
visibility:20+d5 |
| 533 |
flags:TRAP | FLOOR | MAGICAL | ONETIME |
| 534 |
effect:BALL:DARK:4 |
| 535 |
dice:$Dd8 |
| 536 |
expr:D:DUNGEON_LEVEL:/ 10 + 2 |
| 537 |
effect:DRAIN_LIGHT |
| 538 |
dice:100+1d100 |
| 539 |
desc:A trap that envelops you in darkness. |
| 540 |
msg:Everything starts to fade... |
| 541 |
|
| 542 |
# mana drain |
| 543 |
|
| 544 |
name:trap:mana drain trap |
| 545 |
graphics:^:light purple |
| 546 |
appear:1:5:0 |
| 547 |
visibility:50+d10 |
| 548 |
flags:TRAP | FLOOR | MAGICAL |
| 549 |
effect:DRAIN_MANA |
| 550 |
dice:1d$D |
| 551 |
expr:D:DUNGEON_LEVEL:/ 2 + 1 |
| 552 |
msg:You feel your energies sap away. |
| 553 |
desc:A trap that drains your mana. |
| 554 |
|
| 555 |
# whirling knives |
| 556 |
# XXX ideally this would have an effect that wasn't cured in one turn |
| 557 |
# - maybe make CSW only heal 100 points of cuts? |
| 558 |
|
| 559 |
name:trap:knife trap |
| 560 |
graphics:^:yellow |
| 561 |
appear:1:20:0 |
| 562 |
visibility:20+d5 |
| 563 |
flags:TRAP | FLOOR |
| 564 |
effect:TIMED_INC:CUT |
| 565 |
dice:150 |
| 566 |
effect:DAMAGE |
| 567 |
dice:$D |
| 568 |
expr:D:DUNGEON_LEVEL:/ 2 |
| 569 |
msg:Blades whirl around you, slicing your skin! |
| 570 |
desc:A trap designed to bleed you to death. |
| 571 |
|
| 572 |
# petrifier |
| 573 |
|
| 574 |
name:trap:petrifying trap |
| 575 |
graphics:^:blue |
| 576 |
appear:1:5:0 |
| 577 |
visibility:20+d5 |
| 578 |
flags:TRAP | FLOOR | MAGICAL |
| 579 |
effect:TIMED_INC:STONESKIN |
| 580 |
dice:20+1d20 |
| 581 |
effect:TIMED_INC:STUN |
| 582 |
dice:20+1d20 |
| 583 |
msg:You feel yourself turning to stone! |
| 584 |
desc:A trap that stuns you and gives you stoneskin. |