File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
balrog/environments/crafter Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -128,9 +128,9 @@ def get_edge_items(semantic, item_idx):
128128def describe_env (
129129 info ,
130130 unique_items = True ,
131- precise_location = True ,
132- skip_items = ["grass" , "sand" , "path" ],
133- edge_only_items = ["water" ],
131+ precise_location = False ,
132+ skip_items = [],
133+ edge_only_items = [],
134134):
135135 assert info ["semantic" ][info ["player_pos" ][0 ], info ["player_pos" ][1 ]] == player_idx
136136 semantic = info ["semantic" ][
@@ -233,9 +233,9 @@ def describe_status(info):
233233def describe_frame (
234234 info ,
235235 unique_items = True ,
236- precise_location = True ,
237- skip_items = ["grass" , "sand" , "path" ],
238- edge_only_items = ["water" ],
236+ precise_location = False ,
237+ skip_items = [],
238+ edge_only_items = [],
239239):
240240 try :
241241 result = ""
@@ -267,9 +267,9 @@ def __init__(
267267 task = "" ,
268268 max_episode_steps = 2 ,
269269 unique_items = True ,
270- precise_location = True ,
271- skip_items = ["grass" , "sand" , "path" ],
272- edge_only_items = ["water" ],
270+ precise_location = False ,
271+ skip_items = [],
272+ edge_only_items = [],
273273 ):
274274 super ().__init__ (env )
275275 self .score_tracker = 0
You can’t perform that action at this time.
0 commit comments