from pathlib import Path
import yaml


def load_game_reource(game_tag: str, filename: str) -> dict:
    """Return specific game resource from `{filename}.yml` file."""
    path = Path(f"incarn/resources/games/{game_tag}/{filename}.yml").read_text("utf8")
    return yaml.load(path, Loader=yaml.FullLoader)