Skip to content

[#4060] Add teleport activity#6904

Open
Kapuzenjoe wants to merge 7 commits intofoundryvtt:5.3.xfrom
Kapuzenjoe:4060-teleport-activity
Open

[#4060] Add teleport activity#6904
Kapuzenjoe wants to merge 7 commits intofoundryvtt:5.3.xfrom
Kapuzenjoe:4060-teleport-activity

Conversation

@Kapuzenjoe
Copy link
Copy Markdown
Contributor

I used the opportunity to turn the new Foundry API from foundryvtt/foundryvtt#13935, specifically token.planMovement, into a dedicated activity type for #4060

Functionally, activating the activity lets the user drag the token to the desired destination. After the move is completed, the token returns to its default movement mode.

teleport
example_teleport.mov

Feel free to rate the implementation. I tried to stick as closely as possible to the standard system.

Comment thread module/documents/activity/teleport.mjs Outdated
Comment thread module/documents/activity/teleport.mjs Outdated
Comment thread module/documents/activity/teleport.mjs Outdated
Comment thread module/documents/activity/teleport.mjs Outdated
Comment thread module/data/activity/teleport-data.mjs Outdated
Comment thread lang/en.json Outdated
Comment thread icons/svg/activity/teleport.svg
Comment thread module/applications/activity/teleport-sheet.mjs Outdated
@arbron arbron linked an issue Apr 6, 2026 that may be closed by this pull request
Comment thread module/documents/activity/teleport.mjs Outdated
@Fyorl Fyorl added strategic Requires sign-off from a core Foundry VTT developer before merge. priority: medium labels Apr 7, 2026
@Kapuzenjoe Kapuzenjoe requested a review from arbron April 8, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: medium strategic Requires sign-off from a core Foundry VTT developer before merge. system: activities

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Activity Type: Teleport

3 participants