diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2021-01-03 14:59:26 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2021-01-03 14:59:26 +0100 |
| commit | 757d3fad52a1467b414e104b51d82c88ddd6a625 (patch) | |
| tree | 0e3062e05880a4f4c0c2870821e13155a4b24330 /scripts | |
| parent | 6df7d150975c76be139b1999d7809e6dd0ef4171 (diff) | |
| download | muhqs-game-757d3fad52a1467b414e104b51d82c88ddd6a625.tar.gz muhqs-game-757d3fad52a1467b414e104b51d82c88ddd6a625.zip | |
introduce seperate assets subdirectory
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/generate_latex.py | 4 | ||||
| -rwxr-xr-x | scripts/generate_map_img.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/generate_latex.py b/scripts/generate_latex.py index f2906308..3cdc5cbe 100755 --- a/scripts/generate_latex.py +++ b/scripts/generate_latex.py @@ -49,7 +49,7 @@ CARD_TEMPLATE = \ SET_SYMBOLS = {'base': 'base', 'magic': 'magic', 'equipments': 'equipments', 'nautics': 'nautics', 'misc': ''} LATEX_ROOT = pathlib.Path(os.getcwd()) -ASSETS_DIR = LATEX_ROOT / 'assets' +ASSETS_DIR = LATEX_ROOT / '../assets' CARDS_DIR = LATEX_ROOT / 'cards' def file_for_card(card_name: str) -> pathlib.Path: @@ -156,7 +156,7 @@ def main(): global CARDS_DIR CARDS_DIR = LATEX_ROOT / 'cards' global ASSETS_DIR - ASSETS_DIR = LATEX_ROOT / 'assets' + ASSETS_DIR = LATEX_ROOT / '../assets' data_files = [args.data] diff --git a/scripts/generate_map_img.py b/scripts/generate_map_img.py index bb6925bc..f4e29148 100755 --- a/scripts/generate_map_img.py +++ b/scripts/generate_map_img.py @@ -7,7 +7,7 @@ import os from typing import MutableMapping MAP_ROOT = pathlib.Path(os.getcwd()) -TILES_DIR = MAP_ROOT / 'tiles' +TILES_DIR = MAP_ROOT / '../assets/tiles' SHOW_MAP = False def get_tile_path(tile: str) -> pathlib.Path: @@ -131,7 +131,7 @@ def main(): global MAP_ROOT MAP_ROOT = pathlib.Path(args.latex_root) global TILES_DIR - TILES_DIR = MAP_ROOT / 'tiles' + TILES_DIR = MAP_ROOT / '../assets/tiles' if args.show_map: global SHOW_MAP |
