NetHack::Monster::Spoiler

Information on a type of monster
Download

NetHack::Monster::Spoiler Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Stefan O'Rear
  • Publisher web site:
  • http://search.cpan.org/~sorear/

NetHack::Monster::Spoiler Tags


NetHack::Monster::Spoiler Description

Information on a type of monster The NetHack::Monster::Spoiler module is a machine-readable database of information on the various monsters that inhabit the NetHack universe. It is a sort of metaclass of monsters; an instance of NetHack::Monster::Spoiler is associated with each type of monster, so there is one for Archons, one for black puddings, et cetera. The lookup class method allows one to find the correct instance for an observed monster, from which general information can be obtained using accessors.SYNOPSIS use NetHack::Monster::Spoiler; my $s = NetHack::Monster::Spoiler->lookup(glyph => 'A', color => 'magenta'); $s->is_spellcaster; # returns 'wizard' $s->name # 'Archon' $s->never_leaves_corpse # 1 $s->ignores_elbereth # 1 $s->resists('petrification') # 0 Requirements: · Perl


NetHack::Monster::Spoiler Related Software