Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alex@Clozure ~/D/D/p/RPGWorldGen> pwd
- /Users/alex/Documents/Dev/python/RPGWorldGen
- alex@Clozure ~/D/D/p/RPGWorldGen> python
- Python 2.7.5 (default, Aug 25 2013, 00:04:04)
- [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
- Type "help", "copyright", "credits" or "license" for more information.
- >>> from dnd_35 import dnd_35_stat_gen as d35
- >>> d35.roll_ability_scores()
- {'Consitution': 13, 'Dexterity': 10, 'Strength': 11, 'Intelligence': 9, 'Wisdom': 6, 'Charisma': 10}
- >>> ^D
- alex@Clozure ~/D/D/p/RPGWorldGen> clear
- alex@Clozure ~/D/D/p/RPGWorldGen> python
- Python 2.7.5 (default, Aug 25 2013, 00:04:04)
- [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
- Type "help", "copyright", "credits" or "license" for more information.
- >>> from lib import dice as d
- >>> dir(d)
- ['__builtins__', '__doc__', '__file__', '__name__', '__package__', 'discard', 'percentile_roll', 'random', 'roll', 'roll_die', 'sum_roll']
- >>> d.roll("3d6")
- [6, 2, 2]
- >>> ^D
- alex@Clozure ~/D/D/p/RPGWorldGen>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement