From 2d3918fffb6b71bdda740e3ae1920b49b4b6c855 Mon Sep 17 00:00:00 2001 From: Peter Bjerg Lidegaard Date: Mon, 17 Jan 2022 15:46:44 +0100 Subject: [PATCH] Updated the variable names for the books for easier readability --- ADnD 2E Revised/2ESheet.html | 18 +++++++++--------- ADnD 2E Revised/html/2ESheet-base.html | 14 +++++++------- ADnD 2E Revised/javascript/sheetWorkers.js | 4 ++-- ADnD 2E Revised/sheet.json | 14 +++++++------- 4 files changed, 25 insertions(+), 25 deletions(-) diff --git a/ADnD 2E Revised/2ESheet.html b/ADnD 2E Revised/2ESheet.html index 567090803f..2d23c29d9a 100644 --- a/ADnD 2E Revised/2ESheet.html +++ b/ADnD 2E Revised/2ESheet.html @@ -18109,43 +18109,43 @@ The Complete Book of Dwarves 1991 October Weapons, Proficiencies - + The Complete Bard's Handbook 1992 March Spells, Proficiencies - + The Complete Book of Elves 1992 December Weapons, Spells, Proficiencies - + The Complete Book of Humanoids 1993 April Weapons, Proficiencies - + The Complete Ranger's Handbook 1993 December Weapons, Spells, Proficiencies - + The Complete Paladin's Handbook 1994 May Proficiencies - + The Complete Druid's Handbook 1994 August Spells - +
@@ -40849,8 +40849,8 @@ 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-tcboh', 'book-tcrhb', - 'book-tcpahb', 'book-tcdhb' + 'book-dwarves', 'book-bards', 'book-elves', 'book-humanoids', 'book-rangers', + 'book-paladins', 'book-druids' ]; //#region Helper function diff --git a/ADnD 2E Revised/html/2ESheet-base.html b/ADnD 2E Revised/html/2ESheet-base.html index e72ab42802..30123b1306 100644 --- a/ADnD 2E Revised/html/2ESheet-base.html +++ b/ADnD 2E Revised/html/2ESheet-base.html @@ -12715,43 +12715,43 @@ The Complete Book of Dwarves 1991 October Weapons, Proficiencies - + The Complete Bard's Handbook 1992 March Spells, Proficiencies - + The Complete Book of Elves 1992 December Weapons, Spells, Proficiencies - + The Complete Book of Humanoids 1993 April Weapons, Proficiencies - + The Complete Ranger's Handbook 1993 December Weapons, Spells, Proficiencies - + The Complete Paladin's Handbook 1994 May Proficiencies - + The Complete Druid's Handbook 1994 August Spells - +
diff --git a/ADnD 2E Revised/javascript/sheetWorkers.js b/ADnD 2E Revised/javascript/sheetWorkers.js index 3bf5995843..7c8a85a0b3 100644 --- a/ADnD 2E Revised/javascript/sheetWorkers.js +++ b/ADnD 2E Revised/javascript/sheetWorkers.js @@ -10,8 +10,8 @@ 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-tcboh', 'book-tcrhb', - 'book-tcpahb', 'book-tcdhb' + 'book-dwarves', 'book-bards', 'book-elves', 'book-humanoids', 'book-rangers', + 'book-paladins', 'book-druids' ]; //#region Helper function diff --git a/ADnD 2E Revised/sheet.json b/ADnD 2E Revised/sheet.json index d175fe2f2b..17cea7d112 100644 --- a/ADnD 2E Revised/sheet.json +++ b/ADnD 2E Revised/sheet.json @@ -63,7 +63,7 @@ "description": "Includes Weapons" }, { - "attribute": "book-tcbod", + "attribute": "book-dwarves", "displayname": "The Complete Book of Dwarves", "type": "checkbox", "value": "The Complete Book of Dwarves", @@ -71,7 +71,7 @@ "description": "Includes Weapons and Proficiencies" }, { - "attribute": "book-tcbhb", + "attribute": "book-bards", "displayname": "The Complete Bard's Handbook", "type": "checkbox", "value": "The Complete Bard's Handbook", @@ -79,7 +79,7 @@ "description": "Includes Spells and Proficiencies" }, { - "attribute": "book-tcboe", + "attribute": "book-elves", "displayname": "The Complete Book of Elves", "type": "checkbox", "value": "The Complete Book of Elves", @@ -87,7 +87,7 @@ "description": "Includes Weapons, Spells, and Proficiencies" }, { - "attribute": "book-tcboh", + "attribute": "book-humanoids", "displayname": "The Complete Book of Humanoids", "type": "checkbox", "value": "The Complete Book of Humanoids", @@ -95,7 +95,7 @@ "description": "Includes Weapons and Proficiencies" }, { - "attribute": "book-tcrhb", + "attribute": "book-rangers", "displayname": "The Complete Ranger's Handbook", "type": "checkbox", "value": "The Complete Ranger's Handbook", @@ -103,7 +103,7 @@ "description": "Includes Weapons, Spells, and Proficiencies" }, { - "attribute": "book-tcpahb", + "attribute": "book-paladins", "displayname": "The Complete Paladin's Handbook", "type": "checkbox", "value": "The Complete Paladin's Handbook", @@ -111,7 +111,7 @@ "description": "Includes Proficiencies" }, { - "attribute": "book-tcdhb", + "attribute": "book-druids", "displayname": "The Complete Druid's Handbook", "type": "checkbox", "value": "The Complete Druid's Handbook",