From cdfbc23a5df266bb80616a5ff1cdd3e43fdfe6a4 Mon Sep 17 00:00:00 2001 From: Peter Bjerg Lidegaard Date: Fri, 7 Jan 2022 09:39:35 +0100 Subject: [PATCH] Added settings control for the complete book of humanoids --- ADnD 2E Revised/2ESheet.html | 8 +++++++- ADnD 2E Revised/html/2ESheet-base.html | 6 ++++++ ADnD 2E Revised/javascript/sheetWorkers.js | 2 +- ADnD 2E Revised/sheet.json | 8 ++++++++ 4 files changed, 22 insertions(+), 2 deletions(-) diff --git a/ADnD 2E Revised/2ESheet.html b/ADnD 2E Revised/2ESheet.html index 5ad5f0c171..fb65b82ff1 100644 --- a/ADnD 2E Revised/2ESheet.html +++ b/ADnD 2E Revised/2ESheet.html @@ -18105,6 +18105,12 @@ Weapons, Spells, Proficiencies + + The Complete Book of Humanoids + 1993 April + Weapons, Proficiencies + +
@@ -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. diff --git a/ADnD 2E Revised/html/2ESheet-base.html b/ADnD 2E Revised/html/2ESheet-base.html index 538c88febe..7f6299c1f1 100644 --- a/ADnD 2E Revised/html/2ESheet-base.html +++ b/ADnD 2E Revised/html/2ESheet-base.html @@ -12711,6 +12711,12 @@ Weapons, Spells, Proficiencies + + The Complete Book of Humanoids + 1993 April + Weapons, Proficiencies + +
diff --git a/ADnD 2E Revised/javascript/sheetWorkers.js b/ADnD 2E Revised/javascript/sheetWorkers.js index 3bd9201104..31a8aa7490 100644 --- a/ADnD 2E Revised/javascript/sheetWorkers.js +++ b/ADnD 2E Revised/javascript/sheetWorkers.js @@ -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. diff --git a/ADnD 2E Revised/sheet.json b/ADnD 2E Revised/sheet.json index abc542d186..33a792ec0f 100644 --- a/ADnD 2E Revised/sheet.json +++ b/ADnD 2E Revised/sheet.json @@ -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",