Ejemplo n.º 1
0
def console():
    while True:
        enterSpam = 0
        stuff = raw_input("==> ")
        if stuff == "help":
            print "Available commands: help, aspect, bloodCalc, sweepCalc, playerData, and displayPlayerData"
            print "Enter help:<command> for information on \"command\"."
        elif stuff == "help:aspect":
            print "[u] Displays your Classpect (Class and Aspect)."
        elif stuff == "help:bloodCalc":
            print "Displays your blood color as if you were a troll."
        elif stuff == "help:sweepCalc":
            print "Converts Years to Alternian Sweeps and vice versa."
        elif stuff == "help:playerData":
            print "So far it does nothing."
        elif stuff == "help:displayPlayerData":
            print "It doesn't exist yet."
        elif stuff == "aspect":
            aspect.main(False)
        elif stuff == "bloodCalc":
            bloodCalc.main(False)
        elif stuff == "sweepCalc":
            sweepCalc.calc()
        elif stuff == "playerData":
            init.main(False)
        elif stuff == "displayPlayerData":
            dpd.main()
        else:
            print "'" + stuff + "' is not a valid command. Use \"help\" for information."
Ejemplo n.º 2
0
def console():
    while True:
        enterSpam = 0
        stuff = raw_input("==> ")
        if stuff == "help":
            print "Available commands: help, aspect, bloodCalc, sweepCalc, playerData, and displayPlayerData"
            print "Enter help:<command> for information on \"command\"."
        elif stuff == "help:aspect":
            print "[u] Displays your Classpect (Class and Aspect)."
        elif stuff == "aspect":
            unfin()
        elif stuff == "bloodCalc":
            bloodCalc.main(False)
        elif stuff == "sweepCalc":
            sweepCalc.calc()
        elif stuff == "playerData":
            unfin()
        elif stuff == "displayPlayerData":
            unfin()
        else:
            print "'" + stuff + "' is not a valid command. Use \"help\" for information."