grandseiken / foundryvtt-vehicles-and-mechanisms

11 stars 8 forks source link

Blacklist for capture sets #4

Open Lazytron opened 3 years ago

Lazytron commented 3 years ago

Being able to define a blacklist for auto-token capture would allow combination with token-attacher in useful ways to create things like mounts and vehicles that have their own tokens. Currently if a vehicle drawing is set with a token in its boundaries and is also attached to that drawing the interaction generates perpetual motion.

grandseiken commented 3 years ago

What exactly is the use case that you have? Can't you just not attach the drawing to the token, and/or make the token in question a controller token for the vehicle instead of using token attacher? (That seems kind of like what the feature is designed to do.)

Asking for clarification because trying to get these two modules, which do similar things but in pretty different ways, to play nice together, is a bit of a can of worms. Without knowing what you're trying to do exactly there might be other unforeseen interactions that just having a blacklist wouldn't help with.

Lazytron commented 3 years ago

The specific benefit I am trying to achieve is having the drawing automatically populate when the token is created and keep vehicle functionality. Token Attacher can be set on a prototype which is reproduced when the actor is bulled from the sidebar. This would be super useful for pre-fabbing things like basic carts, mounts, etc. which are somewhat regularly used but not necessarily unique or special to a scene, or for mapmakers that are doing other sorts of pre-fabs like Bailiwiki's ships.