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