Skip to content

Latest commit

 

History

History
97 lines (72 loc) · 9.42 KB

readme.md

File metadata and controls

97 lines (72 loc) · 9.42 KB

Random generators

These modules are my random generators. They can generate random letters of the alphabet to random bodies of water, depending on the module being used.

Modules

All of these modules depend on Exporter. The modules that depend on Fancy::Rand and use fancy_rand will be in bold. The modules that do not depend on Fancy::Rand will be in italics. The others depend on other functions of Fancy::Rand.

General randomness

Random::Body

Random::Color

While these modules generate random colors, they are not dependent on Random::Color.

Random::Name

Random::Xanth

Random::RPG

All of Random::RPG modules are based on and are for Advanced Dungeons & Dragons, Second Edition. All of the modules listed below are used in the character mutation generator except the specific magic item generators. Please see the Random::RPG::World readme for more on those modules.

Random::RPG::MagicItem

Versioning

I came up with a version scheme for the modules using fancy_rand from Fancy::Rand.

  • The version will increment by 0.001 if I add an item to a list in the hash.
  • The version will increment by 0.010 if I add a list to the hash. This could lead to a new sub function.
  • The version will increment by 0.100 if I add a hash to the module. This would lead to a new function and maybe sub-functions of it.
  • The version will increment by 1.000 if the interface changes.

All the incrementation above is cumulative. I could get really creative one day and add items to lists, more lists to the hash, and a new hash all at the same time. So, the version could go from 1.000 to 1.124. That could mean I added 124 items to the various lists or added 4 items to lists, 2 new lists, and 1 new hash.

I have not come up with a solid versioning system for the rest of the modules.