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

NAME

Games::Framework::RCP::Database::Result::Move - Every single move available in the game.

VERSION

0.22

DESCRIPTION

The moves table contains every single move that combatants and others can use during the battle.

DATABASE TABLE

Every single move available in the game.

id_move

This is the primary key of the table, using the traditional auto incrementing.

name

This accepts 64 characters to identify the move name. All move names are to be unique.

fkey_move_type

This ID points to the Move Types table in a one to one mapping. Each move has a specific way it can be used.

power

This accepts 8 characters to identify the power of the move. It is a varchar versus an integer to allow for variable power ratings. Not all moves use power: this is mainly for moves that do not attack/hurt anyone.

warmup

This indicates how long one must wait from declaring the move to actually using it.

  • 0 or NULL: immediately use.

  • greater than 0: charge up/telegraph the move.

  • less than 0: time travel issues.

cooldown

This indicates how long after the move is used a combatant must wait before using the same move again.

  • 0 or NULL: no cooldown: can use again next turn.

  • greater than 0: must wait a number of ticks before using.

  • less than 0: time travel issues.

description

This accepts 256 characters to add some flavortext to the move. Such text can be humurous, or it could indicate what the move does when used.

SUBROUTINES/METHODS

sqlt_deploy_hook()

sqlt_deploy_hook is used to define the table settings for the various databases.

AUTHOR

Jason Felds, <wolfman.ncsu2000 at gmail.com>

BUGS AND LIMITATIONS

Please report any bugs or feature requests to bug-Games-Framework-RCP at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Games-Framework-RCP-Database-Result-Move. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

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

    perldoc Games::Framework::RCP::Database::Result::Move

You can also look for information at:

ACKNOWLEDGEMENTS

See Games::Framework::RCP for all acknowledgements.

LICENSE AND COPYRIGHT

Copyright 2009 Jason Felds, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.