The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

NetHack::Logfile::Entry::32 - a finished game of NetHack 3.2.0 or later

VERSION

version 1.00

DESCRIPTION

See the superclass NetHack::Logfile::Entry for some more information.

As this is the oldest version of NetHack supported by this module, all of the fields are in this module.

FIELDS

score

dungeon

This is a string representing the dungeon, such as "The Gnomish MineS". You may want "dungeon_number".

current_depth

deepest_depth

current_hp

maximum_hp

deaths

The number of times the character has died on the adventure. Usually this will be 1, but could be fewer if the game did not end in death. It could be more if the character was revived during the course of the adventure.

birth_date

A string (e.g. 20090517) representing the date that the game began.

end_date

A string (e.g. 20090517) representing the date that the game ended.

uid

The UNIX user ID of the game's human player.

role

The role of the character, e.g. archeologist.

You may want the role_one method which gives you the role's capital initial (e.g. A for archeologist).

gender

The gender of the character, male or female.

You may want the gender_one method which gives you the gender's capital initial (e.g. F for female).

player

The name of the player or character.

death

NetHack's description of how the game ended. Ideally it would be ascended.

METHODS

as_line

Renders this entry as a line in the logfile. This is constructed dynamically (instead of being cached from parse time).

dungeon_number

Provides the dungeon number instead of name. Useful for doing your own naming or other kind of indexing, I suppose.

role_one

The capital one-letter abbreviation of the character's role.

gender_one

The capital one-letter abbreviation of the character's role.