Skip to content

cardSetsInList - How to use? #74

Answered by Phuzzyhead
Phuzzyhead asked this question in Q&A
Discussion options

You must be logged in to vote

Hey there,

I finally got it right.
Here's a recap what I needed in case someone else comes looking:

  • Define sets together with cards like this: "set": [{"code":"crewT1","name":"Crew"}, {"code":"crewT2","name":"Crew"}, {"code":"crewT3","name":"Crew"}]}
  • GameName.json "cardSetsInList": true
  • GameName.json "cardSetsInList": true
  • GameName.json add an additional card property:
    { "name": "set", "display": "Set", "type": "objectList" }
  • GameName.json "cardSetIdentifier": "set"

I think there already is a default property named "set", but you can't use that because it doesn't have the right type. The assignment won't work and the set will be the default set.
Also, making "set" of type "stringList" s…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@Phuzzyhead
Comment options

@davidmfinol
Comment options

@Phuzzyhead
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Phuzzyhead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants