Skip to content

Releases: caewok/fvtt-elevation-ruler

Minor checks

20 Jul 13:50
Compare
Choose a tag to compare

Minor update with additional checks on presence of elevation increment flag. Additional logging.

Math is hard; grids are harder

17 Jul 21:41
Compare
Choose a tag to compare

Fix #3. When a grid is present, snap the projected destination point to the center of the grid. This keeps the distances consistent for different cardinalities. Rounding still occurs with grid measurements such that adjacent squares may have the same measured 3-D distance despite appearing to be closer/further from the origin point.

Fix dependency self-reference

16 Jul 18:57
Compare
Choose a tag to compare

Update manifest for libruler dependency to point to correct JSON URL. Fixes #2.

Avoid unnecessary Levels floor labels

10 Jul 22:48
Compare
Choose a tag to compare

Catch when no Levels tiles are present under the ruler position, so that Levels floor labels do not appear unnecessarily.

Levels compatibility

10 Jul 22:29
Compare
Choose a tag to compare

Add levels measurement function

  • When over a levels tile, default to the bottom elevation of that tile.
  • When over a levels hole, default to the bottom elevation of that hole.
  • When starting at a token, stay at the floor level for that token unless over a hole or other token.
  • Optional label for the current floor level.

Switch to using canvas.terrain.terrainsFromPixels (requires Enhanced Terrain Layer 1.0.30+).

Update module id

05 Jul 16:04
cccb383
Compare
Choose a tag to compare

Update Module ID in code to match that of the module.json. Move dependency check to ready hook. Fix isGM console error.

Preparation for Foundry release

02 Jul 23:12
Compare
Choose a tag to compare

Updated the module.json to use a name without special characters to conform to Foundry requirements. Update Foundry compatibility to 0.8.8.

Negative Elevation Display Fix.

17 Jun 13:57
Compare
Choose a tag to compare

Correct display of negative current elevation in ruler.

Terrain Elevation Measurement

17 Jun 13:45
Compare
Choose a tag to compare

Add terrain measurement feature.

  • Use destination token elevation to automatically change ruler elevation.
  • Use Enhanced Terrain Layer to automatically change ruler elevation.
  • Change ruler display to show elevation change and current elevation at each waypoint.
  • Updated readme.

libRuler 0.0.5 compatibility

12 Jun 05:04
Compare
Choose a tag to compare

Add compatibility for libRuler 0.0.5.

  • Address the change to physical path (Object instead of Array).