satisfactory/describe.py

15 lines
280 B
Python
Raw Normal View History

#!/usr/bin/env python3
import satisfactory
2019-04-28 14:50:11 +10:00
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)