mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
re-export spriteData
This commit is contained in:
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 |
@@ -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)
|
||||||
|
Reference in New Issue
Block a user