# File: projection.txt # Descriptions, colors, message types, and obvious can be edited without # bad effects. # Changing the name will affect links with any brands in brand.txt that used # the old name. # Changing the maximum damage, relation of damage to the breather's HP, # reductions due to resistance and whether the projection wakes will have # implications for balance. # Changing the codes or their ordering has to be done with care and in # conjunction with recompiling the game. The projections of type element # have to appear first in the same order and with the same codes as the # listing of elements in list-elements.h. The projections of other types # have to appear after those of type element and in the same order as they # are listed in list-projections.h. # === Understanding projection.txt === # Format: # code: code # name: name # type: element / environs / monster # desc: description # player-desc: player description # blind-desc: blind description # lash-desc: lash description # numerator: damage multiplier # denominator: damage divisor # divisor: HP divisor # damage-cap: max damage # msgt: message type # obvious: 0/1 # wake: 0/1 # color: color # 'code' is the computer code for this projection used by the game. For # projections of type element, the code must match the argument to one of the # ELEM() macros in list-elements.h, and those projections must appear first # and in the order they are listed in list-elements.h. For projections of # other types, the code must match the argument to one of the PROJ() # macros in list-projections.h, and those projections must appear in the # order they are listed in list-projections.h. # 'name' is the human readable name for this projection. A brand in brand.txt # is linked to a projection through the name. # 'type' can be 'element' for an elemental attack type, 'environs' for # something that affects terrain or dungeon features, or 'monster' for # direct effects on monsters. # 'desc' is the descriptive name for the projection, usually used in object # descriptions. # 'player-desc' is similar to desc and is used primarily when describing # ball, breath, arc, short beam, spot, or sphere effects. # 'blind-desc' is how the projection is described to the player when they # cannot see the monster using it. # 'lash-desc' is the description for the "lash" effect used for spitting or # whipping monsters. # 'numerator' and 'denominator' define the fraction of damage allowed through # player resistance to an element. The numerator is a simple non-negative # integer. The denominator is a dice expression (i.e. "3" or "5+1d4") without # a bonus. If the denominator evaluates to zero, there will be no reduction # of damage due to the player having a resistance. # 'divisor' is used to divide the attacking creature's hitpoints by to determine # breath damage. # 'damage-cap' is the maximum breath damage, regardless of monster hitpoints, # before resistance is applied. # 'msgt' is the message type code used by the message system. The type must # either match (case-insensitve) the first argument to one of the MSG() macros # in list-message.h or be an unsigned integer less than MSG_MAX which is the # index of the message type to use within list-message.h. For the textui # user interface, the message type affects the message color (configured # globally by lib/customize/message.prf; also configurable by preferences # in the user's files) and the sound played when the message is displayed # (configured globally by lib/customize/sound.prf; also configurable by # preferences in the user's files). # 'obvious' indicates whether the nature of the projection effect is obvious # to the player. Use 1 if it is; any other non-negative integer value (best # to use 0) indicates that it is not obvious. # 'wake' indicates whether the projection will automatically wake affected # monsters. Use 1 if it will wake; any other non-negative integer value (best # to use 0) indicates that the projection is not forced to wake an affected # monster. # 'color' is the colour of the projection. You may use the one letter code # for the color or the full color name (case insensitive). ########### damage-cap applied BEFORE resistances. code:ACID name:acid type:element desc:acid blind-desc:are hit by acid lash-desc:acid numerator:1 denominator:3 divisor:3 damage-cap:1600 msgt:BR_ACID obvious:1 wake:1 color:Slate pvp-flags:DAMAGE | NON_PHYS threat:always code:ELEC name:lightning type:element desc:lightning blind-desc:are hit by lightning lash-desc:lightning numerator:1 denominator:3 divisor:3 damage-cap:1600 msgt:BR_ELEC obvious:1 wake:1 color:Blue pvp-flags:DAMAGE | NON_PHYS threat:always code:FIRE name:fire type:element desc:fire blind-desc:are hit by fire lash-desc:fire numerator:1 denominator:3 divisor:3 damage-cap:1600 msgt:BR_FIRE obvious:1 wake:1 color:Red pvp-flags:DAMAGE | NON_PHYS threat:always code:COLD name:cold type:element desc:frost blind-desc:are hit by cold lash-desc:frost numerator:1 denominator:3 divisor:3 damage-cap:1600 msgt:BR_FROST obvious:1 wake:1 color:White pvp-flags:DAMAGE | NON_PHYS threat:always code:POIS name:poison type:element desc:poison blind-desc:are hit by poison lash-desc:venom numerator:1 denominator:3 divisor:3 damage-cap:800 msgt:BR_GAS obvious:1 wake:1 color:Green pvp-flags:DAMAGE | NON_PHYS threat:always code:LIGHT name:light type:element desc:light blind-desc:are hit by something lash-desc:brightness numerator:5 denominator:8+1d8 divisor:6 damage-cap:425 msgt:BR_LIGHT obvious:1 wake:1 color:Orange pvp-flags:DAMAGE | NON_PHYS threat:always code:DARK name:dark type:element desc:darkness blind-desc:are hit by something lash-desc:blackness numerator:5 denominator:8+1d8 divisor:6 damage-cap:425 msgt:BR_DARK obvious:1 wake:1 color:Light Dark pvp-flags:DAMAGE | NON_PHYS threat:always code:SOUND name:sound type:element desc:sound blind-desc:are hit by noise lash-desc:sound numerator:6 denominator:8+1d4 divisor:6 damage-cap:450 msgt:BR_SOUND obvious:1 wake:1 color:Yellow pvp-flags:DAMAGE | NON_PHYS threat:always code:SHARD name:shards type:element desc:shards blind-desc:are hit by something sharp lash-desc:razors numerator:6 denominator:8+1d4 divisor:6 damage-cap:450 msgt:BR_SHARDS obvious:1 wake:1 color:Umber pvp-flags:DAMAGE | NON_PHYS threat:always code:NEXUS name:nexus type:element desc:nexus blind-desc:are hit by something strange lash-desc:dislocation numerator:6 denominator:8+1d4 divisor:6 damage-cap:325 msgt:BR_NEXUS obvious:1 wake:1 color:Light Red pvp-flags:DAMAGE | NON_PHYS threat:always code:NETHER name:nether type:element desc:nether blind-desc:are hit by something cold lash-desc:withering numerator:6 denominator:8+1d4 divisor:6 damage-cap:550 msgt:BR_NETHER obvious:1 wake:1 color:Light Green pvp-flags:DAMAGE | NON_PHYS threat:immune threat-flag:UNDEAD code:CHAOS name:chaos type:element desc:chaos blind-desc:are hit by something strange lash-desc:confusion numerator:6 denominator:8+1d4 divisor:6 damage-cap:600 msgt:BR_CHAOS obvious:1 wake:1 color:White pvp-flags:DAMAGE | NON_PHYS threat:always code:DISEN name:disenchantment type:element desc:disenchantment blind-desc:are hit by something strange lash-desc:unmagic numerator:6 denominator:8+1d4 divisor:6 damage-cap:500 msgt:BR_DISEN obvious:1 wake:1 color:Violet pvp-flags:DAMAGE | NON_PHYS threat:always code:TIME name:time type:element desc:time blind-desc:are hit by something strange lash-desc:ruination numerator:6 denominator:8+1d4 divisor:3 damage-cap:150 msgt:BR_TIME obvious:1 wake:1 color:Light Blue pvp-flags:DAMAGE | NON_PHYS threat:always code:MANA name:mana type:element desc:mana blind-desc:are hit by something lash-desc:raw magic numerator:6 denominator:8+1d4 divisor:3 damage-cap:250 msgt:BR_ELEMENTS obvious:1 wake:1 color:Light dark pvp-flags:DAMAGE | NON_PHYS threat:always code:WATER name:water type:element desc:water blind-desc:are hit by water lash-desc:water divisor:3 damage-cap:300 msgt:GENERIC obvious:1 wake:1 color:Slate pvp-flags:DAMAGE | NON_PHYS threat:immune threat-flag:IM_WATER code:ICE name:ice type:element desc:ice blind-desc:are hit by something sharp lash-desc:icicles numerator:1 denominator:3 msgt:GENERIC obvious:1 wake:1 color:White pvp-flags:DAMAGE | NON_PHYS threat:always code:GRAVITY name:gravity type:element desc:gravity blind-desc:are hit by something strange lash-desc:gravity numerator:6 denominator:8+1d4 divisor:3 damage-cap:150 msgt:BR_GRAVITY obvious:1 wake:1 color:Light Slate pvp-flags:DAMAGE | NON_PHYS threat:always code:INERTIA name:inertia type:element desc:inertia blind-desc:are hit by something strange lash-desc:lassitude divisor:6 damage-cap:200 msgt:BR_INERTIA obvious:1 wake:1 color:Light Slate pvp-flags:DAMAGE | NON_PHYS threat:always code:FORCE name:force type:element desc:force blind-desc:are hit by something hard lash-desc:impact divisor:6 damage-cap:200 msgt:BR_FORCE obvious:1 wake:1 color:Umber pvp-flags:DAMAGE | NON_PHYS threat:always code:PLASMA name:plasma type:element desc:plasma blind-desc:are hit by something lash-desc:living fire divisor:6 damage-cap:150 msgt:BR_PLASMA obvious:1 wake:1 color:Red pvp-flags:DAMAGE | NON_PHYS threat:always code:METEOR name:a meteor type:element desc:meteor blind-desc:are hit by something lash-desc:meteoric iron msgt:GENERIC obvious:1 wake:1 color:Red pvp-flags:DAMAGE | NON_PHYS threat:always code:MISSILE name:a missile type:element desc:magical energy blind-desc:are hit by something lash-desc:magical energy msgt:GENERIC obvious:1 wake:1 color:White pvp-flags:DAMAGE | NON_PHYS threat:always code:HOLY_ORB name:a holy orb type:element desc:holy power blind-desc:are hit by something lash-desc:holy power msgt:GENERIC obvious:1 wake:1 color:Light Dark pvp-flags:DAMAGE | NON_PHYS threat:always code:SHOT name:a shot type:element desc:shots blind-desc:are hit by something sharp msgt:GENERIC obvious:1 wake:1 color:White pvp-flags:DAMAGE threat:always code:ARROW name:an arrow type:element desc:arrows blind-desc:are hit by something sharp msgt:GENERIC obvious:1 wake:1 color:White pvp-flags:DAMAGE threat:always code:BOLT name:a bolt type:element desc:bolts blind-desc:are hit by something sharp msgt:GENERIC obvious:1 wake:1 color:White pvp-flags:DAMAGE threat:always code:BOULDER name:a boulder type:element desc:boulders blind-desc:are hit by something sharp msgt:GENERIC obvious:1 wake:1 color:White pvp-flags:DAMAGE threat:always code:LIGHT_WEAK type:environs desc:light blind-desc:are hit by something obvious:1 wake:0 color:Orange pvp-flags:DAMAGE | NON_PHYS threat:vulnerable threat-flag:HURT_LIGHT code:DARK_WEAK type:environs desc:darkness obvious:0 wake:0 color:Light Dark threat:never code:KILL_WALL type:environs desc:rock remover obvious:1 wake:0 color:White pvp-flags:DAMAGE | NON_PHYS threat:vulnerable threat-flag:HURT_ROCK code:KILL_DOOR type:environs desc:destroys all doors obvious:0 wake:0 color:White threat:never code:KILL_TRAP type:environs desc:disables all traps, unlocks all locked doors and reveals all secret doors obvious:0 wake:0 color:White threat:never code:MAKE_DOOR type:environs desc:creates doors obvious:0 wake:0 color:White threat:never code:MAKE_TRAP type:environs desc:creates traps on all empty squares obvious:0 wake:0 color:White threat:never code:STONE_WALL type:environs desc:creates walls obvious:0 wake:0 color:White threat:never code:RAISE type:environs desc:raises the dead obvious:0 wake:0 color:White threat:never code:AWAY_EVIL type:monster desc:teleports evil monsters away obvious:0 wake:0 color:White threat:never code:AWAY_SPIRIT type:monster desc:teleports monsters with a spirit away obvious:0 wake:0 color:White threat:never code:AWAY_ALL type:monster desc:teleports up to {100} squares away blind-desc:feel you are somewhere else obvious:1 wake:1 color:White threat:never code:TURN_UNDEAD type:monster desc:turns undead obvious:0 wake:0 color:White pvp-flags:SAVE threat:never code:TURN_LIVING type:monster desc:scares living monsters obvious:0 wake:0 color:White pvp-flags:SAVE threat:never code:TURN_ALL type:monster desc:attempts to scare for %s turns all non-unique monsters blind-desc:hear scary noises obvious:0 wake:1 color:White pvp-flags:SAVE threat:never code:DISP_UNDEAD type:monster desc:inflicts %s points of damage on all undead creatures obvious:0 wake:0 color:White pvp-flags:DAMAGE | NON_PHYS threat:vulnerable threat-flag:UNDEAD code:DISP_EVIL type:monster desc:inflicts %s points of damage on all evil monsters obvious:0 wake:0 color:White pvp-flags:DAMAGE | NON_PHYS threat:vulnerable threat-flag:EVIL code:DISP_ALL type:monster desc:inflicts %s points of damage on obvious:1 wake:1 color:White pvp-flags:DAMAGE | NON_PHYS threat:always code:SLEEP_UNDEAD type:monster desc:attempts to put undead to sleep blind-desc:hear strange mumbling obvious:0 wake:0 color:White pvp-flags:SAVE threat:never code:SLEEP_EVIL type:monster desc:attempts to put evil monsters to sleep blind-desc:hear strange mumbling obvious:0 wake:0 color:White pvp-flags:SAVE threat:never code:SLEEP_ALL type:monster desc:attempts to put to sleep all monsters blind-desc:hear strange mumbling obvious:0 wake:0 color:White pvp-flags:SAVE threat:never code:MON_CLONE type:monster desc:hastes, heals and magically duplicates (if not unique) obvious:1 wake:0 color:White threat:never code:MON_POLY type:monster desc:attempts to polymorph all non-unique monsters blind-desc:feel bizarre obvious:0 wake:0 color:White threat:never code:MON_HEAL type:monster desc:cures for {4d6} points of damage obvious:1 wake:1 color:White threat:never code:MON_SPEED type:monster desc:hastes for %s turns obvious:1 wake:1 color:White threat:never code:MON_SLOW type:monster desc:attempts to slow down for %s turns all monsters blind-desc:feel something draining power from your muscles obvious:0 wake:1 color:White pvp-flags:SAVE threat:never code:MON_CONF type:monster desc:attempts to confuse for %s turns all monsters blind-desc:hear puzzling noises obvious:0 wake:0 color:White pvp-flags:SAVE threat:never code:MON_HOLD type:monster desc:attempts to hold for %s turns all monsters blind-desc:hear strange mumbling obvious:0 wake:0 color:White pvp-flags:SAVE threat:never code:MON_STUN type:monster desc:attempts to stun for %s turns all monsters blind-desc:hear strange mumbling obvious:0 wake:0 color:White pvp-flags:SAVE threat:never code:MON_DRAIN type:monster desc:damages living monsters obvious:1 wake:1 color:White pvp-flags:DAMAGE | NON_PHYS threat:living code:MON_CRUSH type:monster desc:kills monsters below a hitpoint threshold obvious:1 wake:0 color:White pvp-flags:DAMAGE | NON_PHYS threat:always code:PSI type:monster desc:mental blind-desc:are hit by psionic energy obvious:1 wake:1 color:White pvp-flags:SAVE | DAMAGE threat:immune threat-flag:EMPTY_MIND code:PSI_DRAIN type:monster obvious:1 wake:1 color:White pvp-flags:DAMAGE threat:living code:CURSE type:monster blind-desc:hear loud mumbling obvious:1 wake:1 color:White pvp-flags:SAVE | DAMAGE | NON_PHYS threat:always code:DRAIN type:monster obvious:1 wake:1 color:White threat:living code:COMMAND type:monster obvious:0 wake:0 color:White threat:never code:TELE_TO type:monster blind-desc:feel you are somewhere else obvious:1 wake:1 color:White threat:never code:TELE_LEVEL type:monster blind-desc:hear strange mumbling obvious:1 wake:1 color:White pvp-flags:SAVE threat:never code:MON_BLIND type:monster blind-desc:hear low mumbling obvious:0 wake:0 color:White pvp-flags:SAVE threat:never code:DRAIN_MANA type:monster blind-desc:feel your mana draining away obvious:1 wake:1 color:White threat:never code:FORGET type:monster blind-desc:feel something trying to blank your mind obvious:0 wake:0 color:White pvp-flags:SAVE threat:never code:BLAST type:monster blind-desc:are hit by psionic energy obvious:1 wake:1 color:White pvp-flags:SAVE | DAMAGE threat:immune threat-flag:EMPTY_MIND code:SMASH type:monster blind-desc:are hit by psionic energy obvious:1 wake:1 color:White pvp-flags:SAVE | DAMAGE threat:immune threat-flag:EMPTY_MIND code:CONTROL type:monster obvious:1 wake:0 color:White threat:never code:PROJECT type:monster blind-desc:are hit by something obvious:0 wake:0 color:White pvp-flags:RAW threat:never code:TREES type:environs desc:creates trees obvious:0 wake:0 color:White threat:never code:AWAY_ANIMAL type:monster desc:teleports animals away obvious:0 wake:0 color:White threat:never # TODO: add WEB_SPIDER