--- In [email protected], Joel Uckelman <[EMAIL PROTECTED]> wrote: > > Thus spake "stine020": > > --- In [email protected], Joel Uckelman <uckelman@> wrote: > > > > > > I'm trying to get stacks of pieces where the piece on top and size > > of the > > > stack are visible to opposing players, but opposing players can't > > examine > > > the contents of the stack. I think there's a simple way to do this, but > > > I haven't been able to figure it out. > > > > > > (I think this shows that I spend too much time coding on VASSAL and not > > > enough time *using* VASSAL :) > > > > > > -- > > > J. > > > > > > > Mask them like they were cards? > > Unless masking works differently than I think it does, that's kind of > suboptimal as a solution. Pieces are either masked or not independent of > how they're stacked, right? Since the piece on top of each stack shouldn't > be masked, a player would have to mask/unmask tokens by hand after doing > moves which left previous stack-toppers burried or previously burried > pieces on tops of stacks. That would be irritating and error-prone. > > If there really isn't a way to do this simply at present, then I'm going > to add it as a trait, called "Mask If Stacked Upon" or something like that. > > -- > J. >
Well, yes, the top one would be masked as well, I didn't read that other requirement in your problem, sorry. Yes, add new traits.. any kind, please ;) Better if with a restriction clause, so that one can dynamically change behaviour of stacks depending on some global variable.. (which generally speaking I think would be nice to have for other existing traits as well, like the DOES NOT STACK one..). Stefano
