Latest version | 1.0.0 |
---|---|
Minimum Core | 12 |
Compatible Core | 12.331 |
Last updated | 3 months ago |
Created | 10 months ago |
Authors |
|
Languages |
English |
Systems | All systems |
Project source | Project URL |
Read-me | Readme URL |
License | License URL |
Easy Regions makes it easier to find the correct UUID when managing regions.
It also works for other UUID fields which require a field of a supported type (Macro
, Region
, RegionBehavior
, Scene
).
With suitably named Regions, on creation of a Teleport Behavior the UUID will be automatically set to the matching other region, and the other region will be linked to this region (creating a new Teleport Behavior if necessary, or overwriting an existing one).
Linking can be based on either the same Region name at both ends, or a pair of pattern matching strings for the name at each end (see the following example).
For example, using the default name mappings in the module settings:
Here is a video showing how simple the process is:
http://www.youtube.com/watch?v=2bDblk4W034
For users of the Foundry app, the presented dropdown list does not include a scrollbar, so you might want to enter some text to narrow down the list of available options.
Note: The module implements a custom field to allow the dropdown list to only display the LABEL of each UUID (since Chrome/Chromium prefers to display the UUID in large text and the label in small text). This behaviour can be disabled in the module settings (and is not required with the Firefox browser anyway.)
Provides an additional entry in the Region definition to specify an icon (along with its colour and size) which will appear in the centre of each Shape that is defined for a Polygon.
Changes the colour of the Config button in the Region list if the region has no behaviors configured on it.
Custom strings can be specified (separately for player and GMs) when using the "confirm" checkbox on Teleport Token region behaviors. Just like the base message strings, you can use the tags {token}
, {region}
, {scene}
within your message to get the name of the corresponding object.
const pattern = "up to";
const icon = "icons/svg/upgrade.svg";
for (const scene of game.scenes) {
for (const region of scene.regions) {
if (region.name.includes(pattern)) {
region.update({"flags.easy-regions.src": icon})
}
}
}
The colour of the icon can be set using the above macro by changing `tint` instead of `src`.
The size of the icon can be set using the above macro by changing `size` instead of `src`.
This module is licensed under the MIT License and Foundry's Limited License for Package Development
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: easy-regions 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.