Talk:Property

From NetHackWiki
Jump to: navigation, search

Hunger

How is hunger a property? I thought it is a number telling how hungry you are, not a boolean. Also, I believe that "walking through walls" is called phasing, although I cannot remember where I read that. --ZeroOne 10:36, 10 July 2006 (UTC)

Hunger can refer to both the normal state of needing nutrition, and also an intrinsic property given by the ring of hunger, which causes you to burn nutrition faster. I've always called walking through walls phasing too, although the word "phase" appears in this context only in a source comment (monflag.h#line77) and in an unimplemented feature (dig.c#line1530). In-game, this property is revealed to you via enlightenment as "You can walk through walls." --Jayt 12:53, 10 July 2006 (UTC)

Attribute/property/intrinsic

I've seen these terms used interchangably, and I'm still not entirely clear on the difference. I thought attributes were just the six status line stats (St Dx Co In Wi Ch), but the enlightenment list mixes up a lot of things, and calls them attributes!

Current Attributes:

You are fervently aligned.
You are fire resistant.
You are cold resistant.
You are petrification resistant.
You hunger rapidly.
You can jump.
You can survive without air.
You can walk through walls.
You are polymorphed into a xorn.
You are lucky.
You can not safely pray.

The term "property" is not widely used in the source (intrinsic seems preferred). Tell me if this is right: intrinsics and properties are the same thing, and attributes comprise all the properties plus various things recorded in the "u" object/struct, which don't have to be boolean (cmd.c#line830).

If this is correct, I would move this page to Intrinsic, or maybe Intrinsic property, as this term is more widely understood in RGRN and elsewhere. Actually I prefer the latter, as the term "extrinsic property" needs explaining too. --Jayt 12:53, 10 July 2006 (UTC)

I think that there are some properties that are not instrinsics. I feel that an intrinsic or Wiktionary:intrinsic is something internal to the hero or monster, inseparable from it. For example, I might obtain instrinsic poison resistance after eating a shrieker corpse, but it would not be intrinsic if I wore an amulet versus poison. Most of the properties can be intrinsics (of polymorph into something or eat a ring) but at least one, life saving, would never be. --Kernigh 23:55, 14 July 2006 (UTC)
Yes, those are what I mean by extrinsic properties. I've heard people call them "extrinsic intrinsics", but this is unnecessarily confusing. So, OK, this page can happily remain as Property, but perhaps you could split the list into sections like these:
  1. Properties available as intrinsics (e.g. resistances)
  2. Properties available as extrinsics only (e.g. water walking, life saving)
  3. Properties available by polymorphing only (e.g. swimming, phasing)
  4. Physical properties (wounded legs, strangulation, slippery fingers, nausea, invulnerability)
Those categories should be distinct. --Jayt 10:59, 15 July 2006 (UTC)

Integer/Constants

Wouldn't it be better to show foot notes instead of th constants ? Giz 09:42, 1 December 2006 (UTC)giz

Move the constants to footnotes, or to a separate section; or delete them and link to prop.h and youprop.h --Kernigh 00:00, 10 December 2007 (UTC)