Quick Question on Markers

I couldn’t find a definitive answer to my question in the docs so I’ll ask here.

I have cards in my game that are of a certain type: Weapons, Armor, Arcane, etc.

Some of the cards may belong to more than one type …like it may be both arcane and a weapon.

What’s the proper syntex for a marker trait if I’m using it to identify this type of card.

Property Name = CardType
Property Value = Arcane, Weapon

or

Property Name = CardType, CardType
Property Value = Arcane, Weapon

or should I use two separate marker traits like

Property Name = CardType
Property Value = Arcane

Property Name = CardType
Property Value = Weapon

Dr. Nostromo,

Not that I know more than you do, but wouldn’t you have to determine the maximum number of possible markers for an item and then use something like CardType1, CardType2…CardTypeN (with N being the last possible marker)?

If you do either of your following suggestions:

Property Name = CardType, CardType
Property Value = Arcane, Weapon

Property Name = CardType
Property Value = Arcane
Property Name = CardType
Property Value = Weapon

wouldn’t CardType just reset to the last value supplied? I think I tried this at one point and that’s what happened. However, I am unable to find the code for what was going to be my example. :blush:

I agree, can anyone verify this behavior definitively?

You’re right–if you create multiple Markers with the same property name, only the last one processed will be honored.