Jesse Luehrs
and 2 contributors

NAME

NetHack::Engravings - functions related to NetHack engravings

VERSION

version 0.02

SYNOPSIS

  use NetHack::Engravings 'is_degradation';

  is_degradation('Elbereth', 'F| ???'); # true

DESCRIPTION

This module implements some useful functions related to various aspects of engravings in NetHack. Currently, it only includes a predicate for checking whether an engraving can be worn away into another engraving, but more suggestions are welcome.

FUNCTIONS

is_degradation($orig, $cur)

Returns true if $orig could possibly degrade to $cur.

is_maybe_preengraved($engraving)

Returns true if an engraving may have been created during level generation. This can be used to detect bones levels by finding engravings left by the previous player (which will likely make this function return false).

BUGS

No known bugs.

Please report any bugs through RT: email bug-nethack-engravings at rt.cpan.org, or browse to http://rt.cpan.org/NoAuth/ReportBug.html?Queue=NetHack-Engravings.

SUPPORT

You can find this documentation for this module with the perldoc command.

    perldoc NetHack::Engravings

You can also look for information at:

AUTHORS

  • Jesse Luehrs <doy at cpan dot org>

  • Shawn M Moore <code@sartak.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013 by Jesse Luehrs.

This is free software, licensed under:

  The NetHack General Public License