NAME

Games::SMTNocturne::Demons - look up information about demon fusion in Shin Megami Tensei: Nocturne

VERSION

version 0.02

SYNOPSIS

use Games::SMTNocturne::Demons qw(fuse fusions_for);

say fuse('Rangda', 'Barong');
# <Fury Shiva (95)>

say for fusions_for('Shiva');
# Fuse <Mitama Ara Mitama (25)> with <Fury Shiva (95)> resulting in <Fury Shiva (95)>
# Fuse <Mitama Nigi Mitama (29)> with <Fury Shiva (95)> resulting in <Fury Shiva (95)>
# Fuse <Mitama Kusi Mitama (32)> with <Fury Shiva (95)> resulting in <Fury Shiva (95)>
# Fuse <Mitama Saki Mitama (35)> with <Fury Shiva (95)> resulting in <Fury Shiva (95)>
# Fuse <Avatar Barong (60)> with <Femme Rangda (72)> resulting in <Fury Shiva (95)>

DESCRIPTION

This module implements various routines for modeling demon fusion in the PlayStation 2 game Shin Megami Tensei: Nocturne. Note that it also comes with a command line script called smt which implements some more useful commands on top of the basic functionality given here; see its documentation for more information. All of the functions listed below are exported on request.

FUNCTIONS

demon($name)

Returns an instance of Games::SMTNocturne::Demons::Demon for the named demon. Throws an exception if no such demon exists.

demons_of_type($name)

Returns a list of all demons of a given type. Throws an exception if no such type exists.

all_demons

Returns a list of all demons in the game.

fuse($demon1, $demon2, $options)

Returns the demon that will be created when fusing $demon1 with $demon2. Possible options (all optional) are:

sacrifice

A third demon to be sacrificed (at full Kagutsuchi).

max_level

The level of your main character (so fusions that would result in a demon of a higher level than this will be ignored).

bosses

An arrayref of boss demons which have been defeated. Any boss demon not listed here will be unavailable for fusion.

deathstone

Whether or not you own any deathstones.

kagutsuchi

The current Kagutsuchi phase.

fusions_for($demon, $options)

Returns a list of all possible demons fusions which can result in the given demon. Possible options (all optional) are:

max_level

The level of your main character (so fusions that would result in a demon of a higher level than this will be ignored).

bosses

An arrayref of boss demons which have been defeated. Any boss demon not listed here will be unavailable for fusion.

BUGS

Probably a lot, since I just wrote this on the fly as I was playing. It was reasonably accurate enough to get me through the game, but it probably needs a lot more cleaning around the edges. Failing tests welcome!

One notable omission (that I would be interested in fixing) is that this module does not handle cursed fusions (mostly since taking advantage of cursed fusions is so difficult in the game to begin with).

Please report any bugs to GitHub Issues at https://github.com/doy/games-smtnocturne-demons/issues.

SEE ALSO

http://megamitensei.wikia.com/wiki/Shin_Megami_Tensei_III:_Nocturne

http://www.gamefaqs.com/ps2/582958-shin-megami-tensei-nocturne/faqs/35110

SUPPORT

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

perldoc Games::SMTNocturne::Demons

You can also look for information at:

AUTHOR

Jesse Luehrs <doy@tozt.net>

COPYRIGHT AND LICENSE

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

This is free software, licensed under:

The MIT (X11) License