Scripts for LQ Pictures and Rarity
Alright guys, instead of manually inserting cards into 5 different files, we really should be automating as much as the process as possible.
So I'll start looking into the script sometime on Monday. And see if I can punch it out in a day or two.
Basically the script will sift through the cards.txt file and make a list of actual card names. Then, it'll go through each of the other files and insert in cards to the top of the file based on the current conventions. Nothing too complex, but just a way to automate a process that should be automated. Anyone adding cards and then running the script should still probably make a quick game to confirm the rarity and image worked out appropriately, but the less manual labor the better, right?
I figure for this we should probably move the basic land in the card-pictures.txt to the bottom, so new cards can appear on the top.
So which files should I be looking at for the script?
I was thinking:
[*]cards.txt
[*]cards-pictures.txt
[*]common.txt
[*]uncommon.txt
[*]rare.txt
[*]quest/common.txt
[*]quest/uncommon.txt
[*]quest/rare.txt
So I'll start looking into the script sometime on Monday. And see if I can punch it out in a day or two.
Basically the script will sift through the cards.txt file and make a list of actual card names. Then, it'll go through each of the other files and insert in cards to the top of the file based on the current conventions. Nothing too complex, but just a way to automate a process that should be automated. Anyone adding cards and then running the script should still probably make a quick game to confirm the rarity and image worked out appropriately, but the less manual labor the better, right?
I figure for this we should probably move the basic land in the card-pictures.txt to the bottom, so new cards can appear on the top.
So which files should I be looking at for the script?
I was thinking:
[*]cards.txt
[*]cards-pictures.txt
[*]common.txt
[*]uncommon.txt
[*]rare.txt
[*]quest/common.txt
[*]quest/uncommon.txt
[*]quest/rare.txt
