Open
Conversation
…ture-statsheet-overlay
…avoid duplicate methods
switch generation of gui code from java to compiled classes
Fix for error when executing a token macro as a player with the current map not visible
New Crowdin updates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Identify the Bug or Feature request
I know it shouldn't be a two for one but they are quite connected.
Description of the Change
This change adds the ability for users to create pop up stat sheets that can be defined using HTML, CSS, JavaScript.
As part of this change the Campaign Dialog Token Properties has also been revamped an no longer requires several sanity roll checks when trying to update token properties.
Apologies in advance for anyone reviewing this as there are a lot of changes to make this all work.
Possible Drawbacks
I dread to think what people may not like about this :)
Documentation Notes
Stat sheets can be defined in an add-on.
See https://github.com/cwisniew/MT-test-stat-sheet for an example really simple stat sheet add on and more details on how to define stat sheets.
Update Campaign Property : Token Properties screen

Its now easier to add property types, delete property types and rename them (in the name text field when selected). There is also the ability to set any token property type as the default (needed as you can now delete or rename "Basic"). Note its not possible to delete the default token property type, you would have to make another property type the default before deleting it. There are also check boxes for all of the different options for stats appearing on the stat sheet, so it no longer a text input looks like you are swearing at your token properties.


Default values can be edited in the table if they are simple values, or if more complicated then the '...' button can be used to open an editor.
Look Ma... No Basic...

Setting at the token property type level

An example of the basic no frills stat sheet from the above example repo

Using a different theme

The new token dialog has been modified to include property type and stat sheet details

Edit Token Dialog

Stat Sheet pop up at top left

Release Notes
This change is