Rob Cashwalker wrote:Added an optional ability to specify a specific set for cards spawned through Setup Game State.
Check out how the loading and saving of decks handles the set code. (Gui_DeckEditor)
Each card is listed as {CardName}|{SetCode}
Yep, I saw that, but for some reason the Java parser I wrote does not want to recognize the "|" symbol when splitting the string (it just returns an empty string when splitting using the "|"), so I had to resort to using a different custom symbol in the state setup files. If I (or someone else) figure out how to make it work with the "|" symbol, I'll definitely make it consistent, but for the time being it'll have to work with the "@" symbol in the state setup files. Amazingly enough, just changing split("@") into split("|") makes the code fail to work, while the one with @ (or pretty much any other symbol) works OK... Does anyone have any ideas why this might be the case?
- Agetian