How to add cards. - Alecyte/PartyLackeyCCGPlugin GitHub Wiki

First, if you don't already have it, download git. Github probably can help you with this. Then you'll want to check out this repo. Google if you need to. Its not too hard. I would personally suggest using SourceTree on windows as it gives you a good visual interface. And if you are annoyed at me for doing this in git, its good to learn this anyways for development. If you plan on doing anything when I make the digital version, then you'll need git anyways. I will also need to add you as a collaborator. Get me your email or username and I'll add you.

Now that you have git set up create a new branch. To do this, check out the the main branch (master) and then create a new branch. This way you can create a pull request at the end. You cannot use the master branch and push to that as I made it write protected.

As for adding cards, you will mainly want to change the CardImageURLsSet1.txt (or whatever set you want to add cads to) and the Set1.txt (again, whatever set you want to add cards to).

Open these files up. You should open the SetX.txt file in excel. This is a tab delimited sheet and should be kept as such. First you will want to add to this sheet. Now we just fill out the general details of whatever card you are wanting to add. In the name, you want to put the name of the card. Then you want to add what set this is. It should be whatever the name of the sheet is. Next, you want to put the image file. Just name this whatever the file is named on dropbox. Next is Type. Generally this will be Skill or Class. Next is the base class and top class. If the class is Chronomancer, the top class would be Chronomancer and the base class is Mage. This is to help with finding cards and sorting later on. Next is skill type, this should generally be Quick or Normal, but could also be something like Idol. Then we have Tier, this is either the class Tier or the Tier class required to cast the spell. Then comes health, this is only relevant on classes. Next is cost, this is only relevant on non-Class cards. Lastly, the text. Just copy the text from the text box in here.

Now we have the information for the card. We just need to tell the game where to find the images for the card. Open up the CardImageURLsSetX file. This is just space separated. First, put the Set name and then a "/". After that, copy the card image name from the SetX.txt file. THEY MUST MATCH. Then, put a space and put the link to the dropbox. To get the link to the image file, go to the card, then get the share link. Hit create link if needed and then copy it. Paste that link, but change the ?dl=0 to ?dl=1.

After you are all done, hit the commit button (or do a git commit) and push the branch. Now we get to do a pull request. This allows other people to see the changes before you commit and allows us to keep track of what cards are being added. To do this, go to the Pull Requests tab. Then create a new pull request. Use master as the base branch and your new branch to compare it. After that, just give a general small write up of what cards were added and what you changed and then add me (Garrett) to the review. I will mainly just approve and then merge it up. But, its a good way to keep track of various changes.

That's it. I will in the future make an article for adding additional sets, but for now this should suffice.