NAME
Games::Framework::RCP::Database::Result::Item - Every single item available in the game.
VERSION
0.22
DESCRIPTION
The items table contains every item that a Game Master can use. They can do anything from recovering health to protecting an ally to sending anyone away, or anything else.
DATABASE TABLE
Every single item available in the game.
id_item
This is the primary key of the table, using the traditional auto incrementing.
name
This accepts 64 characters to name the item. All items must have a unique name.
ammo
This integer shows how many uses of the item are generally available by default. Usually, one use is all one gets.
fkey_item_usage
This ID points to the Item Usages table in a one to one mapping. Each item can only be used in a specific way.
This field may be abstracted out in the future.
fkey_item_category
This ID points to the Item Categories table in a one to one mapping. Item can be categorized in various ways.
This field may be abstracted out in the future.
power
This indicates the item's power.
This field may be removed in the future.
description
This accepts 256 characters to add some flavortext to the item. Such text can be humurous, or it could indicate what the item will do when used.
cooldown
Some items have a cooldown period: once used, another copy of the same item can't be used for this many ticks. A value of 0 or NULL means no cooldown.
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-Item. 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::Item
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Games-Framework-RCP-Database-Result-Item
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Games-Framework-RCP-Database-Result-Item
CPAN Ratings
http://cpanratings.perl.org/d/Games-Framework-RCP-Database-Result-Item
Search CPAN
http://search.cpan.org/dist/Games-Framework-RCP-Database-Result-Item/
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.