Core: add layer for patches that don't use Patch.py (#2889)

* Core: add layer for patches that don't use `Patch.py`

* bump container version

* APAutoPatchInterface name

* mystic quest change

* OoT and Adventure changes

* missed name in docstring

* container version compatibility
This commit is contained in:
Doug Hoskisson
2024-03-14 14:29:29 -07:00
committed by GitHub
parent fa233b2583
commit e534abeab0
6 changed files with 40 additions and 21 deletions

View File

@@ -4,7 +4,7 @@ import zipfile
from copy import deepcopy
from .Regions import object_id_table
from Utils import __version__
from worlds.Files import APContainer
from worlds.Files import APPatch
import pkgutil
settings_template = yaml.load(pkgutil.get_data(__name__, "data/settings.yaml"), yaml.Loader)
@@ -116,10 +116,10 @@ def generate_output(self, output_directory):
APMQ.write_contents(zf)
class APMQFile(APContainer):
class APMQFile(APPatch):
game = "Final Fantasy Mystic Quest"
def get_manifest(self):
manifest = super().get_manifest()
manifest["patch_file_ending"] = ".apmq"
return manifest
return manifest