Skip to content

Update Placable.Token to match Foundry v13.351#3565

Open
henry-malinowski wants to merge 146 commits into
League-of-Foundry-Developers:mainfrom
henry-malinowski:pr/token-is-dragged
Open

Update Placable.Token to match Foundry v13.351#3565
henry-malinowski wants to merge 146 commits into
League-of-Foundry-Developers:mainfrom
henry-malinowski:pr/token-is-dragged

Conversation

@henry-malinowski
Copy link
Copy Markdown

Placable Token: update to match v13.351 source.

Context:

This started because I was working on improving instant-range's type usage (where I had been forced to use any due to incomplete types for >=v13). In particular isDragged being missing. Since I already needed to make changes in the Placeable.Token file, I decided to expand the scope of the change to reviewing and fixing the Token file as a whole, since I figured there were other points of drift that could use some updating for me in the future or other people.

The main changes are as follows:

  • Add isDragged, effects, targetArrows, targetPips, ruler, turnMarker
  • Deprecate target (split into targetArrows/targetPips since v13)
  • Add getDispositionColor(), createTerrainMovementPath()
  • Fix combatant, sourceElement nullability
  • Fix shape/getShape() to include Circle | Ellipse
  • Various namespace type improvements (AnimateOptions, ConstrainMovementPathWaypoint, PlannedMovement, etc.)
  • Fix typo TokenGEtTerrainMovementPathWaypoint

Note: I had to commit with --no-verify because the playwrite system was bugging out despite successfully logging into my Foundry instance.

@henry-malinowski henry-malinowski requested a review from a team as a code owner March 10, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants