p4535992 / foundryvtt-arms-reach

FoundryVTT Door little Utilities, Arms Reach for door
MIT License
3 stars 4 forks source link

Request: Enable distance logic to work with loot actors also #24

Closed fraserstanton closed 2 years ago

fraserstanton commented 3 years ago

I wonder how hard it would be to have this module work with loot actors also, so you could not open a loot actor unless you are in door opening range.

p4535992 commented 3 years ago

It shouldn't be complicated (i just don't have the time XD), at this point in the project anything on the canvas can be intercepted.

I ask you for more information on your use case though, because I imagined it so the distance analysis mechanism (if you are not GM) is triggered in these two cases (with some additional module setting for configuration):

the problem is that I can't prevent players from clicking on the loot actor in the actor tab (because I guess they have at least viewing permissions), but only on the canvas.

p4535992 commented 3 years ago

Add a first tentative for this feature on version 2.0.7