Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 7951bf8

Browse files
authored
Merge pull request #45 from facebookresearch/samvelyan/explore_maze
Turned autopickup off for ExploreMaze envs
2 parents f27be10 + f2bff50 commit 7951bf8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

minihack/envs/exploremaze.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class MiniHackExploreMaze(MiniHackNavigation):
2222
def __init__(self, *args, des_file, **kwargs):
2323
kwargs["max_episode_steps"] = kwargs.pop("max_episode_steps", 500)
2424
kwargs["actions"] = ACTIONS
25+
kwargs["autopickup"] = False
2526
kwargs["allow_all_yn_questions"] = True
2627
reward_manager = RewardManager()
2728
reward_manager.add_eat_event(

0 commit comments

Comments
 (0)