Inform 7¶
-
exception
textworld.generator.inform7.world2inform7.
CouldNotCompileGameError
[source]¶ Bases:
RuntimeError
-
exception
textworld.generator.inform7.world2inform7.
TextworldInform7Warning
[source]¶ Bases:
UserWarning
-
class
textworld.generator.inform7.world2inform7.
Inform7Game
(game)[source]¶ Bases:
object
-
gen_source_for_conditions
(conds)[source]¶ Generate Inform 7 source for winning/losing conditions.
- Return type
str
-
VERSION
= 1¶
-
-
textworld.generator.inform7.world2inform7.
compile_inform7_game
(source, output, verbose=False)[source]¶ - Return type
None