When adding a token to a character sheet, it is possible to use the sheet worker setDefaultToken(values) be used like the example in the Sheet Worker script for a compendium drop on ( "sheet:compendium-drop" , function () {
var default_attr = {};
default_attr[ "width" ] = 70 ;
default_attr[ "height" ] = 70 ;
default_attr[ "bar1_value" ] = 10 ;
default_attr[ "bar1_max" ] = 15 ;
setDefaultToken (default_attr);
}); Since this was made for the compendium drop and Default Game Settings does not have the capability of assigning a value to say bar_1 in reference to a character sheet. What I am hoping to do is that when the GM assigns a Token to a player's character sheet, it assigns bar1_max to @{current_move}, bar2_max to @{fatigue_points}, etc. Is this possible? If so, what would be used for the trigger in the on("...? Thanks.