Releases: Aedif/TokenVariants
Releases · Aedif/TokenVariants
Release 1.5.3
- Exposing displayArtSelect function used to render the Art Select popup through game.TokenVariants.displayArtSelect
- async function displayArtSelect(name, callback, searchType)
- name: The actor name to be used as the search criteria
- callback function that will be called with the user selected art path as the argument
- searchType ("token"|"portrait"|"both") string indicating whether the window is being displayed for a token search, portrait search, or both
- async function displayArtSelect(name, callback, searchType)
Release 1.5.2
- Added 'profile-image' class as a potential target to attach Right-click listener to which opens the Art Select window. Makes the module slightly more compatible with MonsterBlocks.
Release 1.5.1
- Added a right-click listener to the Actor Sheet portrait to bring up the module's Art Select screen.
- New Configurations:
- Art Select screen can now also be brought up when dragging in actors from the Actor Directory if Ctrl or another key (set in Art Directory Popup key configuration) is held.
- Display Separate pop-ups for Portrait and Token art: If enabled the user will be prompted with 2 windows every time a new actor or token is created. One for selecting the portrait and another for selecting the art for the token.
- Portrait art filter: Pop-ups opened up for portrait selection will be filtered to only show files containing the text set here. e.g. if all of your portraits have an identifier such as '[Portrait]' or '.avatar.' it can be entered here to show only these files.
- Token art filter: Same as the previous configuration, but is used when pop-up is displayed to select token art.
Release 1.4.3
Removed a bug that caused multiple 'Art Select' screens to be displayed after switching between scenes
Release 1.4.2
Removed system limitation to dnd5e
Release 1.4.1
Added a search field to 'Art Select' screen to allow for custom name searches.
Release 1.3.2
Fixing an issue with 'Art Select' screen being shown to players.
Release 1.3.1
- Fixing an issue with the default search path on a fresh world not being read correctly and throwing up "TypeError: path.startsWith is not a function"
- Fixing an issue with entire 'Data' folder being read when invalid path is provided.
Release 1.3.0
- Adding support for AWS S3 buckets.
- Buckets configured as per the following PAGE can be defined in the Search Paths setting like so: s3:{bucket-name}:{path}
Release 1.2.0
Introducing 'Search by Keyword' and 'Excluded Keywords' configs:
- Search by Keyword: When enabled the art search will be done using both the Actor/Token full name as well as individual words within the name.
- Excluded Keywords: Words within this list will be excluded from the keywords search.