"""
configuration file for the game
feel free to edit it, it is currently the only possibility
to change the settings of the game
"""

from os import path

# the directory of the assets
DATA_DIR: str = path.normpath(
    path.join(path.dirname(__file__), "..", "assets")
)

from skyjump import translate

# the language of the game
LANGUAGE: translate.Language = translate.Language.DE

# if the game has sound or is muted
MUTED: bool = False

# the volume of the sounds
# 0.0 is minimal and 1.0 is maximal
SOUND_VOLUME: float = 0.3

# the volume of the music
# 0.0 is minimal and 1.0 is maximal
MUSIC_VOLUME: float = 0.5

# file which contains the levels and its highscores
# probably necessary to create a setting for that
# if you install the package in a directory without write permissions
LEVEL_FILE: str = path.join(DATA_DIR, "levels.json")
