satisfactory/describe.py

15 lines
280 B
Python
Executable File

#!/usr/bin/env python3
import satisfactory
import os
if __name__ == '__main__':
root = os.path.dirname(__file__)
recipe_root = os.path.join(root, 'data', 'recipes')
cookbook = satisfactory.Cookbook(recipe_root)
for i in cookbook.resources():
print(i)