Check for ROMs at beginning of generation (#475)

This commit is contained in:
espeon65536
2022-04-29 20:37:28 -05:00
committed by GitHub
parent e8579771a5
commit 894a30b9bd
8 changed files with 37 additions and 0 deletions

View File

@@ -426,6 +426,9 @@ In addition, the following methods can be implemented and attributes can be set
* `required_client_version: Tuple(int, int, int)`
Client version as tuple of 3 ints to make sure the client is compatible to
this world (e.g. implements all required features) when connecting.
* `assert_generate(cls, world)` is a class method called at the start of
generation to check the existence of prerequisite files, usually a ROM for
games which require one.
#### generate_early