re-export spriteData

This commit is contained in:
Fabian Dill 2020-12-06 17:12:41 +01:00
parent c6148ce6ad
commit 70f398ec73
5 changed files with 1610 additions and 2 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 541 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 541 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 541 B

View File

@ -32,4 +32,4 @@ for file in os.listdir(input_dir):
print(file, "dropped, as it has no valid sprite data.") print(file, "dropped, as it has no valid sprite data.")
spriteData.sort(key=lambda entry: entry["name"]) spriteData.sort(key=lambda entry: entry["name"])
with open(f'{output_dir}/spriteData.json', 'w') as file: with open(f'{output_dir}/spriteData.json', 'w') as file:
json.dump({"sprites": spriteData}, file) json.dump({"sprites": spriteData}, file, indent=1)