WIP: feature_genfix #9
@ -63,16 +63,23 @@ def generator_jezyka_nautalnego(frame, tactic, state, text):
|
|||||||
if len(beastMatch) > 0:
|
if len(beastMatch) > 0:
|
||||||
print(random.choice(other) + ', '.join(beastMatch))
|
print(random.choice(other) + ', '.join(beastMatch))
|
||||||
|
|
||||||
elif tactic[1] == 'help':
|
elif tactic[0] == False: #ASK
|
||||||
print(random.choice(help))
|
print(f'Proszę podaj {tactic[1][0]}')
|
||||||
print("Dostępne komendy: \n - " + '\n - '.join(commands))
|
|
||||||
|
|
||||||
elif tactic == 'bye':
|
|
||||||
print(random.choice(bye))
|
|
||||||
print()
|
print()
|
||||||
sys.exit(0)
|
elif tactic[0] == True:
|
||||||
|
_, act, req_args, opt_args = tactic
|
||||||
|
print('DEBUG: ', act, req_args, opt_args,sep = '\n')
|
||||||
|
if act == 'help':
|
||||||
|
print(random.choice(help))
|
||||||
|
print("Dostępne komendy: \n - " + '\n - '.join(commands))
|
||||||
|
|
||||||
|
elif act == 'bye':
|
||||||
|
print(random.choice(bye))
|
||||||
|
print()
|
||||||
|
sys.exit(0)
|
||||||
|
|
||||||
|
else:
|
||||||
|
print(tactic)
|
||||||
else:
|
else:
|
||||||
print(tactic)
|
print('ERROR')
|
||||||
|
|
||||||
print()
|
print()
|
||||||
|
Loading…
Reference in New Issue
Block a user