Move Factorio data from /data/factorio to /worlds/factorio/data, to contain it in its world folder

This commit is contained in:
Fabian Dill
2021-07-31 15:13:55 +02:00
parent 7f8617d639
commit abf4e82737
18 changed files with 5 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ import functools
from . import Options
factorio_id = 2 ** 17
source_folder = Utils.local_path("data", "factorio")
source_folder = os.path.join(os.path.dirname(__file__), "data")
with open(os.path.join(source_folder, "techs.json")) as f:
raw = json.load(f)