From ad1e151d6830ab9255ae1ac6c357b708d024ec24 Mon Sep 17 00:00:00 2001 From: Jeremy Rimpo Date: Tue, 1 Oct 2024 02:39:48 -0500 Subject: [PATCH] Add some plugin types --- games/game_baldursgate3.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/games/game_baldursgate3.py b/games/game_baldursgate3.py index fd6df72..50ea20b 100644 --- a/games/game_baldursgate3.py +++ b/games/game_baldursgate3.py @@ -39,7 +39,7 @@ def __init__(self, organizer: mobase.IOrganizer): self._organizer = organizer -class BG3Game(BasicGame): +class BG3Game(BasicGame, mobase.IPluginFileMapper, mobase.IPluginTool): Name = "Baldur's Gate 3 Support Plugin" Author = "MO2 Team" @@ -84,3 +84,6 @@ def listSaves(self, folder: QDir) -> list[mobase.ISaveGame]: save_file = Path(save_directory.absolutePath()) / save_directory.entryList()[0] saves.append(BG3SaveGame(save_file)) return saves + + def mappings(self) -> list[mobase.Mapping]: + return [] \ No newline at end of file