-f = emit graph of forest locations
-m = emit graph of maze all alike
-s = emit graph of non-forest surface locations
-v = include internal symbols in room labels
"""
-f = emit graph of forest locations
-m = emit graph of maze all alike
-s = emit graph of non-forest surface locations
-v = include internal symbols in room labels
"""
-# pylint: disable=consider-using-f-string
+# pylint: disable=consider-using-f-string,line-too-long,invalid-name,missing-function-docstring,multiple-imports,redefined-outer-name
def allalike(loc):
"Select out loci related to the Maze All Alike"
return location_lookup[loc]["conditions"].get("ALLALIKE")
def allalike(loc):
"Select out loci related to the Maze All Alike"
return location_lookup[loc]["conditions"].get("ALLALIKE")
def alldifferent(loc):
"Select out loci related to the Maze All Alike"
return location_lookup[loc]["conditions"].get("ALLDIFFERENT")
def alldifferent(loc):
"Select out loci related to the Maze All Alike"
return location_lookup[loc]["conditions"].get("ALLDIFFERENT")
# A forwarder has a zero-length array of notion verbs in its travel section.
#
# Here is an example forwarder declaration:
# A forwarder has a zero-length array of notion verbs in its travel section.
#
# Here is an example forwarder declaration:
# {verbs: [], action: [goto, LOC_NOWHERE]},
# ]
# {verbs: [], action: [goto, LOC_NOWHERE]},
# ]
- with open("adventure.yaml", "r", encoding='ascii', errors='surrogateescape') as f:
+ with open("adventure.yaml", "r", encoding="ascii", errors="surrogateescape") as f:
startlocs[location] = [objname]
# Compute reachability, using forwards.
startlocs[location] = [objname]
# Compute reachability, using forwards.
- # Dictionary ke6y is (from, to) iff its a valid link,
- # value is correspoinding motion verbs.
+ # Dictionary key is (from, to) iff its a valid link,
+ # value is corresponding motion verbs.