caewok / fvtt-terrain-mapper

Paint coded terrain values on Foundry maps
MIT License
4 stars 4 forks source link

Allow terrains to be marked as difficult terrain (which applies an active effect halving the speed) #11

Closed rapus95 closed 2 months ago

rapus95 commented 10 months ago

As Enhanced Terrain Layer won't be updated for v11 there's a hole to be filled. And this module seems to be just the right place for it.

GhostwheelX commented 9 months ago

Very much agree.

caewok commented 8 months ago

I have a PR for Drag Ruler so the ruler can tell when movement is limited by terrain.

I don't love the idea of simply marking terrain as "difficult" because that is very system-specific. You can already set up terrain to limit movement of the affected token.

GhostwheelX commented 8 months ago

How does terrain "limit" movement? It's not easy to see when dragging tokens without the guideline from Drag Ruler 🤔

caewok commented 8 months ago

You can limit any move attribute by setting the active effect to modify the relevant move attribute. For example, in dnd5e, this would make the terrain 2x difficulty, in that any affected token would have their movement cut in half:

Screenshot 2023-12-21 at 7 17 35 PM

This is admittedly more complicated than enabling a checkbox for "difficult" terrain, but comes with some significant advantages:

Ultimately, however, a few "easy buttons" might be nice for commonly used system defaults. Like half movement for walking in dnd5e.

rapus95 commented 8 months ago

does that interact correctly with only fractions of the path being difficult terrain? that is, correct upscaling of the remaining movement (*2) instead of regaining 100% of original movement - distance moved (which wouldn't account for difficult terrain at all)? Btw where can I even see the remaining movement? Seeing half the move speed in the char sheet won't really help here and instead feel misleading 🙈

rapus95 commented 8 months ago

Generally speaking, I support all of your points that active effects are the better fit for implementing it. In that case the proposal would need to be changed to "implement a toggle to automatically apply an active effect which halves the speed"

caewok commented 2 months ago

Try in v12. I added some default terrains, including difficult terrain, for dnd5e.