Skip to content

Commit

Permalink
Update explore_task_data_generator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pur1fying committed Jul 19, 2024
1 parent 47d651d commit 6b0db7d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions develop_tools/explore_task_data_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

input_record = ""


def get_input():
global input_record
temp = input()
Expand Down Expand Up @@ -161,12 +160,15 @@ def get_actions(team_cnt):
one_action["p"] = []
for i in range(p_cnt):
one_action["p"].append(get_one_position())

if one_action['t'] == 'end-turn':
print("current action : \n", one_action)
action.append(one_action)
continue
if team_cnt > 1 and one_action['t'] != 'choose_and_change':
print("Will formation number change after this action ? [y/n]")
if get_y_n():
one_action["ec"] = True
if one_action['t'] != 'choose_and_change':
if one_action['t'] != 'choose_and_change' :
print("Need wait-over after this action ? [y/n]")
if get_y_n():
one_action["wait-over"] = True
Expand Down

0 comments on commit 6b0db7d

Please sign in to comment.