Page 1 of 1

lib:chosenOne, a Stat-sheet pop-up replacement with a Character sheet that includes macro buttons

Posted: Sun Sep 12, 2021 1:25 am
by bubblobill
Download --> lib:chosenOne Your awesome selected panel and Stat-Sheet replacement

Now split into two libraries; one for the Stat-Sheet and one for the Character Sheet.

* This is an alpha release. No guarantees provided. *

lib:chosenOne provides a replacement for the built-in pop-up stat-sheet. When the built-in stat-sheet doesn't measure up and behaves all weird, this allows you to control how things are displayed through the powers of CSS.

When you click on a token, the token portrait is displayed on the screen (can also be set up to work on mouse-over).

portrait.PNG (91.49 KiB) Viewed 138 times

Hovering your cursor over the token portrait will cause the stat-sheet replacement to be displayed.

portrait_hover.PNG (97.06 KiB) Viewed 138 times

As the GM you can control which token properties are displayed to which audience through the Props Config macro on the library token.

props_prefs.PNG (86.36 KiB) Viewed 138 times

You can elect for clicking on the token portrait to open a character sheet frame. The included lib:charSheet looks like this.

character_sheet.PNG (251.69 KiB) Viewed 138 times

lib:charSheet contains a configurable header block and a number of tabs.
There is a tab for displaying token properties, token macros, and token states.
You can edit token properties on the properties tab.

editingValues.PNG (49.43 KiB) Viewed 58 times

On the macros tab you can control which macros are displayed and their appearance.

macro_prefs.PNG (161.84 KiB) Viewed 138 times

Click on a macro button to run it.
Nb: Since you cannot run macros on a token from a frame, this uses a dodgy work-around. You will find some macros just choke whilst others run happily.

Got RPEdit in your campaign? Shift-Click on a macro button to edit it.

On the States page, you can click on the state to toggle it on or off.

On both the Macros and States pages the groups can be folded by clicking on the "group name".

If you have different Token Types, set the property type on lib:selected then click Props Config to update the settings for that type.

There are plenty of options for customisation too:
The character sheet has four properties displayed in the header. You can change these by editing the JSON declaration at the top of the charSheet macro. Set the values to blank to hide them.

If you really want to get carried away, the stat-sheet and character sheet load CSS and JavaScript from cs.css, ss.css, cs.js, and ss.js. You can use these to alter the presentation and add functionality.

The character sheet is also a form. If you add form buttons/inputs you will need to process related actions in charSheetProcessor.

Hosted on GitHub -->lib:chosenOne

Re: lib:selected, a Stat-sheet pop-up replacement with a Character sheet that includes macro buttons

Posted: Mon Sep 13, 2021 5:17 pm
by Azhrei
Just to let folks know, bubblobill has updated this a few times. The current release is 0.11a.

You can see all releases by linking to the directory that contains them ... r/Drop-ins