-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path__init__.py
18 lines (16 loc) · 873 Bytes
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from pyfrotz.ovos import FrotzSkill
from pyfrotz.parsers import planetfall_intro_parser
class PlanetFallSkill(FrotzSkill):
def __init__(self, *args, **kwargs):
# game is english only, apply bidirectional translation
# TODO - dedicated icon, use pyfrotz icon for now
skill_icon = "https://raw.githubusercontent.com/TigreGotico/pyFrotz/refs/heads/dev/pyfrotz/gui/all/pyfrotz.png"
bg = "http://infocom.elsewhere.org/gallery/planetfall/planetfall1.jpg"
super().__init__(*args,
game_id="planetfall",
game_lang="en-us",
game_data=f'{self.root_dir}/res/{self.game_id}.z5',
intro_parser=planetfall_intro_parser,
skill_icon=skill_icon,
game_image=bg,
**kwargs)