Skip to content

Commit 69d49b0

Browse files
committed
reset defaults
1 parent a80dc91 commit 69d49b0

File tree

1 file changed

+9
-9
lines changed
  • balrog/environments/crafter

1 file changed

+9
-9
lines changed

balrog/environments/crafter/env.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ def get_edge_items(semantic, item_idx):
128128
def 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):
233233
def 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

0 commit comments

Comments
 (0)