TheNewtInTheSuit/RPGWorldGen — pull request #3 by muscar (2013-11-14 08:06:08+00:00)
Title: Refactored code to uniformly treat RPG systems. Added utils to list and load systems. Added base class to unify stat generators. Added module for S&W.

I refactored the code to allow uniformly adding, listing and loading RPG systems.

Here's an example:

>>> import systems as s
>>> s.list_systems()
['dnd35', 'sw']
>>> sw = s.load_system('sw')
>>> sw.gen_stats()
{'Consitution': 9, 'Dexterity': 10, 'Strength': 9, 'Intelligence': 8, 'Wisdom': 13, 'Charisma': 4}