Advertisement
Guest User

Untitled

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