add ImageKey class - #7846
Conversation
|
What's the idea behind the The |
forge/forge-core/src/main/java/forge/ImageKeys.java Lines 157 to 180 in 7e6f772 The plan is to use the variations for for (String s : paths) {
file = findFile(dir, s);
if (file != null) {
cachedCards.put(filename, file);
return file;
}
}Also, the first path returned from the List should be used for the Downloader too |
i want to add these too: forge/forge-core/src/main/java/forge/ImageKeys.java Lines 16 to 22 in 7e6f772 but i don't know the FileStructure for them yet, nor can these be downloaded from Scryfall (yet) |
What's all that support for no-set and no-collector-number tokens used for? The Scryfall URL method won't work without those fields, so can anything new be downloaded to those paths? |
It's not just for download, it's for finding images too, like Custom Sets |
|
This PR has not been updated in a while nad has been marked on stale. Stale PRs will be auto closed |
|
@Eradev I need to add your new ⚡ Logic to the Download abilities of this class |
Closes #7771
still in work, but just commited this state