Restrict adding Counters to Deck

I am trying to figure out what I am doing wrong with this option in the deck settings.

I have attached a test module that shows 2 decks, one with the option on and one with it off. I have a counter in the game piece pallette, and 1 card in each deck. I remove the cards from the deck and cannot return them with drag and drop to the deck that has the restriction. What is wrong with how I have set up my tokens?

The cards have a marker Type = Card
The counters have a marker Type = Counter

the deck that is supposed to restrict which piece can be added to the deck uses {Type==Card} which gets a green check mark in the expression builder.

Is this a bug, or am I just missing something?

Hi,

The expression {Type==Card} means find the value of the marker named Type and compare it to the value of the marker named Card and allow the piece if they are the same. I suspect that what you really want is {Type==“Card”} which checks if the marker named Type has a value of Card.

Regards,
Brent.

You would be correct… doh! Thanks. :slight_smile: