Talk:Property

From NetHackWiki
Revision as of 12:53, 10 July 2006 by Jayt (talk | contribs) (answer; Attribute/property/intrinsic difference)
Jump to navigation Jump to 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)