Property

From NetHackWiki
Revision as of 04:05, 16 July 2006 by Kernigh (talk | contribs) (Full list: Hunger is from ring of hunger.)
Jump to navigation Jump to search

A property is one of several traits which the hero or a monster either has or does not have. Properties vary widely; some properties correspond to particular rings. The hero can expose many properties through enlightenment. A property is "boolean", you either have it or you do not. Thus luck and the prayer timeout are not properties in this sense; there is no hero for whom luck and prayer timeout does not apply.

Properties include:

In the source code, prop.h#line8 lists most of the properties and artifact.h#line53 lists the special powers. Each property has a representative integer constant. Particularily in objects.c and artilist.h, the integer constants assign the properties granted by using certain items.

Full list

This page is a stub. Should you wish to do so, you can contribute by expanding this page.

A user has suggested improving this page or section as follows:

"Please add more monflag.h flags, artifact.h flags, and notable sources to the below table!"

Property Integer from prop.h#line8 Flag from monflag.h#line53 or artifact.h#line8 Notable sources
fire resistance FIRE_RES MR_FIRE
cold resistance COLD_RES MR_COLD
sleep resistance SLEEP_RES MR_SLEEP Elf at level 4
disintegration resistance DISINT_RES MR_DISINT
shock resistance SHOCK_RES MR_ELEC
poison resistance POISON_RES MR_POISON
acid resistance ACID_RES MR_ACID
stone resistance STONE_RES MR_STONE
adornment ADORNED
regeneration REGENERATION M1_REGEN
searching SEARCHING SPFX_SEARCH
see invisible SEE_INVIS
invisible INVIS
teleportation/teleportitis TELEPORT M1_TPORT (sometimes) eat a leprechaun, nymph, or tengu
teleport control TELEPORT_CONTROL M1_TPORT_CNTRL, SPFX_TCTRL ring of teleport control, (sometimes) eat a tengu
polymorph POLYMORPH
polymorph control POLYMORPH_CONTROL
levitation LEVITATION
stealth STEALTH
aggravate monster AGGRAVATE_MONSTER
conflict CONFLICT
protection PROTECTION
protection from shape changers PROT_FROM_SHAPE_CHANGERS
warning WARNING
telepathy TELEPAT
speed FAST
stun STUNNED
confusion CONFUSION
sickness SICK
blindness BLINDED
sleep SLEEPING
wounded legs WOUNDED_LEGS
stoning STONED
strangulation STRANGLED
hallucination HALLUC
hallucination resistance HALLUC_RES
fumbling FUMBLING
jumping JUMPING
water walking WWALKING
hunger HUNGER - ring of hunger
slippery fingers GLIB
reflection REFLECTING
life saving LIFESAVED - amulet of life saving
magic resistance ANTIMAGIC - cloak of magic resistance, gray dragon scale mail
displacement DISPLACED
clairvoyance CLAIRVOYANT - Wizard wearing cornuthaum
nausea/vomiting VOMITING -
energy regeneration ENERGY_REGENERATION
magical breathing MAGICAL_BREATHING MR2_MAGBREATH amulet of magical breathing
half spell damage HALF_SPDAM SPFX_HSPDAM carry The Orb of Detection, The Platinum Yendorian Express Card, The Orb of Fate or The Eye of the Aethiopica
half physical damage HALF_PHDAM SPFX_HPHDAM carry The Master Key of Thievery or The Orb of Fate
sickness resistance SICK_RES
draining resistance DRAIN_RES
undead warning WARN_UNDEAD
invulnerability INVULNERABLE
free action FREE_ACTION
swimming SWIMMING
slime SLIMED
sustain ability FIXED_ABIL
flying FLYING M1_FLY
unchanging UNCHANGING
phasing PASSES_WALLS
slow digestion SLOW_DIGESTION
infravision INFRAVISION M3_INFRAVISION play as an elf, dwarf, gnome or orc
warning WARN_OF_MON
monster detection DETECT_MONSTERS

Special powers

Special power is an invocation property. You must #invoke an artifact to use it; you do not obtain the property simply by carrying or wielding the artifact.

Property Integer from artifact.h#line53 Source
healing HEALING The Staff of Aesculapius
gain energy ENERGY_BOOST The Mitre of Holiness
untrap UNTRAP The Master Key of Thievery
charging CHARGE_OBJ The Platinum Yendorian Express Card
level teleport LEVEL_TELE The Orb of Fate
branchport CREATE_PORTAL The Eye of the Aethiopica
enlightenment ENLIGHTENING The Eyes of the Overworld
arrow creation CREATE_AMMO The Longbow of Diana