Skip to content

Commit 6646d27

Browse files
authored
Update Director.js
1 parent 85c41e2 commit 6646d27

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

Director/Director.js

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on('ready', () =>
2727
//1.0.5 Improved Backdrop user interface, Report Function, Improvements to Help Mode, fixed set bug on search and report
2828
//1.0.6 Added Captions, Report Count, Controls for .webm display. Settings which can be toggled show state.
2929
//1.0.7 bug fix on JB+ button, Corrected the captions-on test
30-
//1.0.8 Added search-again button on search results, improved backup handout selection, added move up/down/rename/redfine item buttons in edit mode, improved table rolling
30+
//1.0.8 Added search-again button on search results, improved backup handout selection, added move up/down/rename/redfine item buttons in edit mode, improved table rolling, Supernotes integration
3131

3232

3333
// == Director Script ==
@@ -1873,31 +1873,35 @@ const placeNextToken = () => {
18731873
</div>
18741874
18751875
<h4>Item Behavior</h4>
1876-
<ul style="list-style: none; padding-left: 0;">
1877-
<li style="position: relative; padding-left: 32px; margin-bottom: 6px;">
1876+
<ul style="list-style: none; padding-left: 0; margin-left: 10px;">
1877+
<li style="position: relative; padding-left: 30px; margin-bottom: 6px;">
18781878
<div style="${css.itemBadge} background:${getBadgeColor('handout')}; position: absolute; left: 0; top: 0;">H</div>
18791879
<b>Handouts</b>: Opens the handout
18801880
</li>
1881-
<li style="position: relative; padding-left: 32px; margin-bottom: 6px;">
1881+
<li style="position: relative; padding-left: 30px; margin-bottom: 6px;">
18821882
<div style="${css.itemBadge} background:${getBadgeColor('character')}; position: absolute; left: 0; top: 0;">C</div>
18831883
<b>Characters</b>: Opens the sheet if assigned; otherwise, prompts assignment
18841884
</li>
1885-
<li style="position: relative; padding-left: 32px; margin-bottom: 6px;">
1885+
<li style="position: relative; padding-left: 30px; margin-bottom: 6px;">
18861886
<div style="${css.itemBadge} background:${getBadgeColor('variant')}; position: absolute; left: 0; top: 0;">V</div>
18871887
<b>Variants</b>: Does not open — appears on scene set
18881888
</li>
1889-
<li style="position: relative; padding-left: 32px; margin-bottom: 6px;">
1889+
<li style="position: relative; padding-left: 30px; margin-bottom: 6px;">
18901890
<div style="${css.itemBadge} background:${getBadgeColor('track')}; position: absolute; left: 0; top: 0;">T</div>
18911891
<b>Tracks</b>: Toggles playback if assigned; otherwise assigns currently playing track
18921892
</li>
1893-
<li style="position: relative; padding-left: 32px; margin-bottom: 6px;">
1893+
<li style="position: relative; padding-left: 30px; margin-bottom: 6px;">
18941894
<div style="${css.itemBadge} background:${getBadgeColor('macro')}; position: absolute; left: 0; top: 0;">M</div>
18951895
<b>Macros</b>: Runs the macro if assigned; otherwise prompts to assign an existing macro
18961896
</li>
1897-
<li style="position: relative; padding-left: 32px; margin-bottom: 6px;">
1897+
<li style="position: relative; padding-left: 30px; margin-bottom: 6px;">
18981898
<div style="${css.itemBadge} background:${getBadgeColor('table')}; position: absolute; left: 0; top: 0;">R</div>
18991899
<b>Rollable Tables</b>: Rolls the assigned table; otherwise prompts to assign one. Results are whispered to the GM
19001900
</li>
1901+
<li style="position: relative; padding-left: 30px; margin-bottom: 6px; margin-top:12px;">
1902+
<div style="${css.itemAddBadge} position: absolute; left: 0; top: 0;">&#8711;</div>
1903+
<b>Filter</b>: Filter items by type. The filter button supersedes the Star Filter button
1904+
</li>
19011905
</ul>
19021906
19031907
@@ -1913,14 +1917,12 @@ const placeNextToken = () => {
19131917
<li><b>${Pictos('p')}</b> — Rename</li>
19141918
</ul>
19151919
1916-
<p><b>Filter:</b> Click the
1917-
<span style="${css.itemAddBadge}; float:none; position:relative;">&#8711;</span>
1918-
button to filter items by type. The filter button supersedes the Star Filter button
1919-
</p>
19201920
<p>
19211921
<b>Star system:</b> Use stars to link specific characters to a backdrop image. For instance, if a scene has several shops, you can star each proprietor for their shop image. When that image is the backdrop, the linked characters’ tokens are highlighted in gold in the token list. This feature is disabled in Grid mode.<br>
19221922
The Star Filter button in the header will filter to show only starred items. To temporarily show all characters without turning off the star filter, use the filter button to show all Characters.
19231923
</p>
1924+
<b>Supernotes Integration:</b> If you have installed the Supernotes Mod script, a small info button will appear on the same line as each Character or Variant in the Items listt. Clicking this will whisper the item's token notes to chat.
1925+
</p>
19241926
<br>
19251927
19261928
@@ -6035,4 +6037,4 @@ updateHandout();
60356037
{
60366038
API_Meta.Director.lineCount = (parseInt(e.stack.split(/\n/)[1].replace(/^.*:(\d+):.*$/, '$1'), 10) - API_Meta.Director.offset);
60376039
}
6038-
}
6040+
}

0 commit comments

Comments
 (0)