Added settings control for the complete book of humanoids

This commit is contained in:
Peter Bjerg Lidegaard
2022-01-07 09:39:35 +01:00
parent 26b992d96b
commit cdfbc23a5d
4 changed files with 22 additions and 2 deletions
+7 -1
View File
@@ -18105,6 +18105,12 @@
<td>Weapons, Spells, Proficiencies</td>
<td><label><input type='checkbox' name='attr_book-tcboe' title="@{book-tcboe}" value="The Complete Book of Elves"/><span></span></label></td>
</tr>
<tr>
<td>The Complete Book of Humanoids</td>
<td>1993 April</td>
<td>Weapons, Proficiencies</td>
<td><label><input type='checkbox' name='attr_book-tcboh' title="@{book-tcboh}" value="The Complete Book of Humanoids"/><span></span></label></td>
</tr>
</table>
<br>
<label>Should rolls ask for a Miscellaneous modifier?</label>
@@ -39872,7 +39878,7 @@ const ERROR = 'error';
const BOOK_FIELDS = [
'book-phb', 'book-tcfhb', 'book-tcthb', 'book-tcprhb', 'book-tcwhb',
'book-tom', 'book-aaeg',
'book-tcbod', 'book-tcbhb', 'book-tcboe'];
'book-tcbod', 'book-tcbhb', 'book-tcboe', 'book-tcboh'];
//#region Helper function
const extractQueryResult = async function(query){//Sends a message to query the user for some behavior, returns the selected option.
+6
View File
@@ -12711,6 +12711,12 @@
<td>Weapons, Spells, Proficiencies</td>
<td><label><input type='checkbox' name='attr_book-tcboe' title="@{book-tcboe}" value="The Complete Book of Elves"/><span></span></label></td>
</tr>
<tr>
<td>The Complete Book of Humanoids</td>
<td>1993 April</td>
<td>Weapons, Proficiencies</td>
<td><label><input type='checkbox' name='attr_book-tcboh' title="@{book-tcboh}" value="The Complete Book of Humanoids"/><span></span></label></td>
</tr>
</table>
<br>
<label>Should rolls ask for a Miscellaneous modifier?</label>
+1 -1
View File
@@ -10,7 +10,7 @@ const ERROR = 'error';
const BOOK_FIELDS = [
'book-phb', 'book-tcfhb', 'book-tcthb', 'book-tcprhb', 'book-tcwhb',
'book-tom', 'book-aaeg',
'book-tcbod', 'book-tcbhb', 'book-tcboe'];
'book-tcbod', 'book-tcbhb', 'book-tcboe', 'book-tcboh'];
//#region Helper function
const extractQueryResult = async function(query){//Sends a message to query the user for some behavior, returns the selected option.
+8
View File
@@ -86,6 +86,14 @@
"checked": false,
"description": "Includes Weapons, Spells, and Proficiencies"
},
{
"attribute": "book-tcboh",
"displayname": "The Complete Book of Humanoids",
"type": "checkbox",
"value": "The Complete Book of Humanoids",
"checked": false,
"description": "Includes Weapons and Proficiencies"
},
{
"attribute": "misc-mod",
"displayname": "Miscellaneous modifier on Rolls",