Skip to content

Commit

Permalink
Add some plugin types
Browse files Browse the repository at this point in the history
  • Loading branch information
Silarn committed Oct 1, 2024
1 parent 86b1a0d commit ad1e151
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion games/game_baldursgate3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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 []

0 comments on commit ad1e151

Please sign in to comment.