/
sbluh.py
48 lines (44 loc) · 1.5 KB
/
sbluh.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import json
import aspect
import bloodCalc
import dpd
import init
import sweepCalc
print "SBLUH CONSOLE v1.0.0"
print "Python Edition"
print
init.main(True)
print "run 'help' for commands."
def unfin():
print "I need to code this!"
print "github.com/Nutzchannel/SBLUH-py/issues"
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."
console()