NAME

Games::Framework::RCP::Database::Result::CombatantCurrency - Every currency a combatant has in battle.

VERSION

0.22

DESCRIPTION

The combatant currency table contains all of the currency that that the characters have in their in battle inventory. This is separate from CharacterCurrency, which is generally meant for currency held outside of battle. However, some Game Masters may like using CharacterCurrency instead. The choice is theirs.

DATABASE TABLE

Every currency a combatant has in battle.

id_combatant_currency

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

fkey_combatant

This ID points to the Combatant table in a many to one mapping. Many currency can belong to a combatant.

fkey_currency

This ID points to the Currency table in a many to one mapping. Many combatants can have the same currency.

quantity

This real number shows how much of the given currency is available. In general, once this hits zero, the currency should be removed from the table.

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-CombatantCurrency. 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::CombatantCurrency

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.