Latest version | 3.2.25 |
---|---|
Minimum Core | 9 |
Compatible Core | 9 |
Last updated | 2 years ago |
Created | 3 years ago |
Authors | |
Languages |
日本語 English |
Systems | All systems |
Dependencies |
libWrapper Token Attacher Token Z Library: Active Effect Manager (ARCHIVED) |
Project source | Project URL |
Report bugs | Bug tracker URL |
Read-me | Readme URL |
Changelog | Changelog URL |
Mount Up! is a module for Foundry VTT that allows tokens to carry or be carried by other tokens. This is completely system agnostic, and fully customizable to fit right into your game.
It's always better and easier to install modules through in in app browser. Just search for "Mount Up!"
To install this module manually:
https://raw.githubusercontent.com/p4535992/MountUp/master/src/module.json
This module uses the libWrapper library for wrapping core methods. It is a hard dependency and it is recommended for the best experience and compatibility with other modules.
This module uses the token-attacher library like a dependency. It is a hard dependency and it is recommended for the best experience and compatibility with other modules.
This module uses the token-z library like a dependency. It is a hard dependency and it is recommended for the best experience and compatibility with other modules.
This module uses the active-effect-manager-lib library like a dependency. It is a hard dependency and it is recommended for the best experience and compatibility with other modules.
To mount a token:
To dismount a token from a token:
Kneel before the genius of KayelGee author of Token Attacher and thank discord for this amazing feature.
If enabled thi setting will make sure to always sync the riders elevation with the mount elevation, it can be useful for scene with the levels module
Now when you mount some flying mount with the active effect ATMU.flying = true
a beauty shadow effect is apllie dwith the module Token Magic.
NOTE: You must enable the active effect management for this to work.
Every time you mount up or dismount on the mount token and/or rider token some active effect can be added or removed based on the changes configuration on both rider and mount
You can use any active effect where the name is founded from the following code of the module:
const effectNameToCheck = <EFFECT NAME>;
// For each active effects on the token/actor
let result = false;
for(const effect of effects){
// regex expression to match all non-alphanumeric characters in string
const regex = /[^A-Za-z0-9]/g;
// use replace() method to match and remove all the non-alphanumeric characters
result = effectNameToCheck.replace(regex, "").toLowerCase().startsWith(effectIdOfTheModule.replace(regex, "").toLowerCase());
if(result)break;
}
return result;
Every active effect data of this is module use any changes with the prefix ATMU
acronim for Active Token Mount Up .
There three type of these AE used and supported from this module:
Key Syntax | Type | Description | Examples Active Effect Data [Key = value] |
---|---|---|---|
ATMU.toMountOnMount |
boolean | Transfer this active effect from the rider to the mount when "Mount Up" | ATMU.toMountOnMount = true , ATMU.toMountOnMount = false |
ATMU.toMountOnDismount |
boolean | Transfer this active effect from the rider to the mount when "Dismount Up" | ATMU.toMountOnDismount = true , ATMU.toMountOnDismount = false |
ATMU.toRiderOnMount |
boolean | Transfer this active effect from the mount to the rider when "Mount Up" | ATMU.toRiderOnMount = true , ATMU.toRiderOnMount = false |
ATMU.toRiderOnDismount |
boolean | Transfer this active effect from the mount to the rider when "Dismount Up" | ATMU.toRiderOnDismount = true , ATMU.toRiderOnDismount = false |
ATMU.flying |
true | Check is the mount is a flying one. If tru we apply the token magic effect "flying" | ATMU.flying = true , ATMU.flying = false |
For now no automatic UI is prepared (and don't think we need one) just created a active effect and add this changes on it.
NOTE: by default all effect from this module are temporary, but you can customize like you want.
Some functionality is exposed to macros for repeatable usage. All macros will either accept a token ID or name (case insensitive).
You can mount a rider to a mount using the following syntax:
MountUp.mount('RiderNameOrId', 'MountNameOrId')
or you can use the module 'token-attacher'
You can have a rider dismount by passing it's token name or id:
MountUp.dismount('RiderNameOrId)
or you can use the module 'token-attacher'
You can have a mount drop its rider by passing the mount's name or id:
MountUp.dropRider('MountNameOrId')
You can have a mount drop its rider by passing the mount's name or id:
MountUp.toggleMount('RiderNameOrId', 'MountNameOrId')
To install this package, open your Foundry Setup screen and navigate to your Module tab and click the Install Module button.
From there, you can either search for the package unique name: foundryvtt-mountup or copy its manifest URL:
And paste it to the input box at the bottom of your window.
You can install this package directly to your Forge account.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Advertisement cookies are used to deliver visitors with customized advertisements based on the pages they visited before and analyze the effectiveness of the ad campaign.