コード例 #1
0
#import sys
#sys.path.append('./Parts/')
import Main
print("\n")
Main.CharBuild().Build()
コード例 #2
0
    if clas == '?':
        CharClass.PrintOptions()
    elif clas == '':
        breaker = False
    elif CharClass.CheckInput(clas):
        breaker = False
    else:
        print('Input not accepted. Type ? for help with options.')

breaker = True
while breaker:
    back = input('Background: ')
    if back == '?':
        Backgrounds.PrintOptions()
    elif back == '':
        breaker = False
    elif Backgrounds.CheckInput(back):
        breaker = False
    else:
        print('Input not accepted. Type ? for help with options.')

breaker = True
while breaker:
    chaMod = input('Charisma Mod: ')
    if chaMod == '?':
        print('Your charisma modifier from your character\'s stats.')
        print('Leave blank if you don\'t have that information.')
    else:
        breaker = False
Main.CharBuild().BuildGiven(race, clas, back, chaMod)