Skip to content

Commit 7eb7323

Browse files
authored
Merge pull request #22 from MarcCote/bf_doors
Disable automatic door creation
2 parents c25477a + 5b8d319 commit 7eb7323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

textworld/generator/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def make_game(world_size: int, nb_objects: int, quest_length: int,
180180
options.max_depth = quest_length
181181
options.create_variables = True
182182
options.rng = rngs['rng_quest']
183-
options.restricted_types = {"r"}
183+
options.restricted_types = {"r", "d"}
184184
chain = sample_quest(world.state, options)
185185
quest = Quest(chain.actions)
186186

0 commit comments

Comments
 (0)