Hi,
I have mixed news.
It turns out I just needed to move SEND LOCATION below the SET GLOBAL PROPERTY trait for my cards and accessing BasicName and other markers is ok. However, it ONLY works for markers set above the SEND TO LOCATION trait.
It doesn’t work for the “Color” trait in the example I made in the other thread, as it is below the prototype - where the SEND TO LOCATION is - in the list of individual card traits. Alternatively, if I move the prototype below Color then Color is now masked because the MASK trait is at the top of the prototype. Then it would finally work only cutting the mask trait off the prototype and placing it at the top of each single card, which is tedious work (–> incidentally, feature request: improve multiple card edit to let people add a trait at once for all cards).
Alternatively I can just use triggers firing on the SEND TO LOCATION trait to read all markers after the card is sent, and be done with it (with a cost in terms of command keys necessary, though).
Either way, it doesn’t sound right that one is forced to add MASK traits on individual cards as opposed to just a prototype (first solution) or to add triggers consuming command keys (second solution) to achieve this, though.
Moreover, there is the case Robert hinted to: assume the program (i.e. an hidden engine or generator piece triggered by some event, like turn moving on or user clicking somewhere) wants to remove the cards “foo”, “bar” and “baz” from a masked deck, then there is now no way of doing that, except adding markers below the mask trait with the name of the card reiterated.
Wouldn’t it be simpler to let traits freely read masked properties as in 3.0? Where exactly is the security problem? Fear somebody could hack a module to read other people’s masked cards (properties)? If so, wouldn’t that be like a drop in the ocean and wouldn’t it be better to tackle the all hacking modules problem in a global way (encryption/hashing… whatever) like it was discussed elsewhere on the forum in the past?
Recapping: I can work around this change introduced with 3.1, but is it really a change for the best?
Thanks,
Stefano
Edit: actually rethinking about it it looks like any trait below the MASK trait on a masked card are never visible unless the card is first unmasked (which is what the SEND TO LOCATION placed to the bottom of the list does, I guess). If they were, then setting a global property to the value of the marker Color should work even if Color is defined below the SEND TO LOCATION trait, shouldn’t it? (It did work in 3.0)… confused Stefano