NAME
Games::Framework::RCP::Database::Result::HazardSet - The big list of hazard sets.
VERSION
0.22
DESCRIPTION
The hazard sets table contains a list of every unique hazard set. Hazards are random elements that can cause a battle to take a different turn. Not all battles will use hazards, but it is provided for convenience.
For those that have played Super Smash Bros, the items that drop at regular intervals are a form of hazard. The items that drop can change the face of the battle, depending on how useful the item is.
DATABASE TABLE
The big list of hazard sets.
id_hazard_set
This is the primary key of the table, using the traditional auto incrementing.
name
This accepts 64 characters to identify the name of the hazard set. Needless to say, this is unique.
description
This accepts 256 characters to add some flavortext to the hazard set. Such text can be humurous, or it could indicate what the hazard set is generally about.
fkey_color
This ID points to the Color table in a one to one mapping. A color given to a status effect may make it easier to identify.
weight
Every hazard set has a certain chance to be chosen. By default, all hazard sets have a weight of 1, showing equal chance. Game Masters can change the weight of hazard sets so that certain ones show up more than others.
SUBROUTINES/METHODS
sqlt_deploy_hook()
sqlt_deploy_hook is used to define the table settings for the various databases.
weight()
weight returns the row's weight times a random number. weight by itself is pointless.
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-HazardSet. 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::HazardSet
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-HazardSet
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Games-Framework-RCP-Database-Result-HazardSet
CPAN Ratings
http://cpanratings.perl.org/d/Games-Framework-RCP-Database-Result-HazardSet
Search CPAN
http://search.cpan.org/dist/Games-Framework-RCP-Database-Result-HazardSet/
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.