Skip to content

Commit

Permalink
frotz
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Dec 18, 2024
1 parent b55be80 commit ef46dae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyfrotz/ovos.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@


class FrotzSkill(ConversationalGameSkill):
def __init__(self, game_id: str,
def __init__(self, skill_voc_filename: str,
game_id: str,
game_data: str = None,
game_lang="en-us",
intro_parser=None,
Expand All @@ -19,7 +20,7 @@ def __init__(self, game_id: str,
# TODO use path from gui cache path to ensure docker compat
game_image = game_image or os.path.join(os.path.dirname(__file__), "gui", "all", "bg.png")
skill_icon = skill_icon or os.path.join(os.path.dirname(__file__), "gui", "all", "bg.png") # TODO
super().__init__(skill_voc_filename="MoonGameKeyword",
super().__init__(skill_voc_filename=skill_voc_filename,
skill_icon=skill_icon, game_image=game_image,
*args, **kwargs)
self.game_lang = standardize_lang_tag(game_lang).split("-")[0]
Expand Down

0 comments on commit ef46dae

Please sign in to comment.