The document-level code for v14.0.0-beta version of MPMB's Character Record Sheet.
Note that this repository only includes the SRD content (D&D 5e, 2014) and that these files alone are not enough to create the PDF character sheet.
Important
For D&D 5e (2014).
Code changes
Changelog
New Features
- NEW FEATURE: Multi-line text fields now support Rich Text Formatting through formatting characters. This means that you can make parts of the text bold, italic, underlined, strikethrough, and “headers”. On Colourful sheets, the headers are bold and coloured the theme colour. On Printer Friendly sheets, the headers are bold and made 15% bigger than the rest of the text.
- Increased the space for feats on the Colourful sheets by one line, so that they mirror the space for a magic item.
Races
- Changed that the Species drop-down box is updated when selecting a racial variant that has the
nameattribute (e.g. the Drow lineage for the Elf species). - Changed that the
featuresattribute in theRaceSubListis now being merged with the one from theRaceListinstead of overwriting it, so you no longer have to duplicate features from a parentRaceListto all relatedRaceSubListentries, unless you want to overwrite that feature.
Attacks / Weapons
- Overhauled how the attack section determines which ability to select for cantrips/spells. Now it is easier to manipulate this with a
calcChanges. - Made it possible for the
useSpellModattribute ofWeaponsListobjects to be an array.
New Common Attributes / Common Attribute changes
- Added
featsAddattribute to allow adding a feat to the feats section. - Changed the
descriptionFullattribute (used byFeatsList,MagicItemsList, andSpellsListentries) to now also allow passing an array. - Made it possible to use the rich text formatting characters in the
descriptionFullattribute. However, the tooltips and pop-up dialogs are generated in Unicode, which doesn’t support (proper) underline and strikethrough, so those formatting characters are ignored.
Class Features
- Allow
submenuattribute for class feature choices to be an array (i.e. the choice appears in multiple submenus). - Improved handling of half casters that get spells at 1st level (i.e. Artificer).
- Made having an
attackattribute forClassListobjects optional.
Spells
- Improved handling of spell ranges so that the SpellsList entry no longer needs a qualifier whether it is the printer friendly sheet or not.
Bug Fixes
- Fixed incorrect pricing for the Bucket.
- Fixed attack entries not always updating when a
calcChanges.atkAddor.atkCalcis present that usesclasses.totallevel. - Fixed automated ammunition adding not correctly detecting if the type of ammo is already selected.
- Fixed spell page not showing a DC and attack modifier when setting it through
fixedSpAttackwhile not including thefixedDCattribute. - Fixed metric system not being applied to cantrips when showing only damage at the current level (i.e. using the
descriptionCantripDieattribute). - Fixed spell ranges not being properly truncated when using the sheet with the Metric system.
- Fixed bug where typo in
sourceattribute causes the sheet to produce an error instead of ignoring the entry (MBUG-138, thanks TrackAtNite for reporting). - Fix the entries in source selection sub-dialogs displaying empty boxes instead of text (i.e. non-working Unicode) where the source abbreviations should go when using the “New Acrobat” layout.
- Fixed removing add-on script added through the "Add material manually (copy-paste)" option not working when the dialog is fully cleared.
- Fixed error when changing colour scheme with the “all of the above” menu option in the pre-generated spell sheets per class.
- Fixed error when built-in FAQ.pdf is unavailable.
Licensing
- SRD update: url and WotC licensing text to reference the Creative Commons.
Other Changes
- Changed the welcome message to be more compact.
- Remove Twitter as a method of contacting MPMB and replace it with Bluesky.
- Allow pop-up radio button dialogs to contain more than 100 entries (1000 is the new maximum).
- Added a way to test a
calcChanges.spellAddentry so it takes all variations into account (e.g. metric system, and when "Apply character level and spellcasting ability to spell description (i.e. set cantrip damage)" is active). Use the functiontestSpellAdd(spellAddArray, useClass)from the console to test it in an empty sheet.