This commit is contained in:
parent
d0b488b863
commit
847994826d
1 changed files with 2 additions and 2 deletions
|
@ -540,7 +540,7 @@ while True:
|
||||||
happiness = 10
|
happiness = 10
|
||||||
elif len(command) == 1:
|
elif len(command) == 1:
|
||||||
happiness += (1 if happiness != 10 else 0)
|
happiness += (1 if happiness != 10 else 0)
|
||||||
if len(command) == 2 and int(command[1]) < 50:
|
if len(command) != 2 or int(command[1]) < 50:
|
||||||
multiline(choice(pats) + " (Emotion: Upset " +
|
multiline(choice(pats) + " (Emotion: Upset " +
|
||||||
("#" * int(happiness)) +
|
("#" * int(happiness)) +
|
||||||
("-" * int(10-happiness)) + " Happy)",
|
("-" * int(10-happiness)) + " Happy)",
|
||||||
|
@ -565,7 +565,7 @@ while True:
|
||||||
happiness = 0
|
happiness = 0
|
||||||
elif len(command) == 1:
|
elif len(command) == 1:
|
||||||
happiness -= (1 if happiness != 0 else 0)
|
happiness -= (1 if happiness != 0 else 0)
|
||||||
if len(command) == 2 and int(command[1]) < 50:
|
if len(command) != 2 or int(command[1]) < 50:
|
||||||
multiline(choice(baps) + " (Emotion: Upset " +
|
multiline(choice(baps) + " (Emotion: Upset " +
|
||||||
("#" * int(happiness)) +
|
("#" * int(happiness)) +
|
||||||
("-" * int(10-happiness)) + " Happy)",
|
("-" * int(10-happiness)) + " Happy)",
|
||||||
|
|
Loading…
Reference in a new issue