Files
roll20-character-sheets-tester/Blades in the Dark

Blades in the Dark Character Sheet

This is the (compressed) source code for the Blades in the Dark character sheet on Roll20. The pug/sass code used to generate it can be found here. If you want to hack the sheet for your own Blades hack, a more hackable version and instructions for hacking can be found here.

Changelog

3.9

  • Option to rename attributes and actions
  • Internal refactoring of sheet worker code
  • CSS fixes for Portuguese translation

3.8

  • Minor bugfixes and removal of legacy code

3.7

  • Simplified the roll template code
  • Support for French translations added
  • Support for Spanish translations added

3.6

  • Simpler formula for dice rolls (with legacy transition stuff in the roll template)

3.5

  • Added notes for friends and contacts

3.4

  • Look up entered ability names and fill description automatically

3.3

  • New option to display a small character picture on all chat rolls
  • Number of dice rolled is now pre-calculated by sheet workers; this means that there's no more need for nested inline rolls in the roll buttons
  • Rename attributes corresponding to upgrades
  • Some tweaks around spirit playbook special abilities
  • Minor visual tweaks

3.2

  • Added proper vampire traumas (thanks Jeffrey Lamb)

3.1

  • Fixed font for the Korean localization
  • Alchemicals now have a renameable title, and bandoliers can be hidden
  • Restyled repeating section controls to use symbols instead of text
  • Use CSS grid for large-scale sheet layout, fixing some weird margins along the way

3.0

  • Large internal refactoring and cleanup: the sheet is now generated from pug code. There should be no functionality change from this, but it has probably introduced a few new bugs
  • Unofficial Iruvian playbooks by Johnstone Metzger added
  • Ancient upgrade code (pre-2.0) removed

2.6

  • Updates to the sheet to make the Korean translation work

2.5

  • Added option to use Kirsty font if installed
  • Small graphical changes

2.4

  • Several bugfixes
  • New clocks-only mode for the faction page for those who want a character sheet just to store clocks
  • Alchemicals repeating section

2.3

  • Added broadcast button for sending information to chat for special abilities, clocks, and harm.
  • Image clocks have been replaced by a CSS version that looks sharper, especially in the roll template.

2.2

  • It is now possible to add a cohort to the character sheet. Automatic for Hounds.
  • Various small bugfixes

2.1

  • New auto-expand technique allowing some fields to grow according to their contents
  • Sheet worker tweaks for better transition to spirit playbooks

2.0

  • Additions
    • The names for heat, wanted, and deity can now be changed
    • Settings are now filtered by sheet type
    • Buttons for adding playbook items and crew-specific upgrades
    • Option to make bonus dice a freeform input field
    • Option to ask for a consequence name when resisting
    • Fortune roll button added to factions sheet
    • Engagement roll button added to crew sheet
    • Added a clocks repeating section to the faction sheet, and a real notes field
    • Box-shadow effect to focused input fields (can be disabled in settings)
    • Button to reset items and load with one click
  • Changes
    • New model for action and tier dots that gets rid of the need for extra attributes
    • Refactored sheet workers and cleaned them up using new features
    • Adjusted the width of crew type and playbook input
    • Roll template header changed to have character name and text inline
    • Disabled spell checking on all input fields
    • Bypassed unnecessary extra padding around the sheet
    • Veteran special ability added to all playbooks for clarity
    • Frame features are now a repeating section, as they should be
    • Improved spacing for action dots when expanding the sheet

1.15

  • Added 10-clocks, courtesy of Chris McDonald
  • Fixed resistance bonuses erroneously applying to vice indulgence

1.14

  • Changed font to Georgia for unified look on all platforms, and better alignment
  • Quality-of-life changes in several places

1.13

  • Visual improvements
  • Labels now properly used to toggle some smaller checkboxes
  • Added option for vampires' Dark Gift and global resistance bonuses
  • The sheet now shows the options for heritage, background, and vice if they are empty

1.12

  • Calculate trauma automatically
  • Overhauled roll template internally, no more distinction between normal dice and bonus dice
  • Visual improvements to layout for some kinds of checkboxes
  • Overall transition eye-candy

1.11

  • Internal change to how checkbox attributes are stored
  • Change how default values are set so that only necessary attributes are changed

1.10

  • Revamped flexbox-based layout and CSS changes
  • New design for clocks area

1.9

  • Clock segments are now clickable
  • Moved the healing clock to the other column of the harm/armor/coin container
  • CSS cleanup
  • Added descriptions to upgrades and items
  • Added button to roll lifestyle, healing
  • Added more visible indicator that stuff happens when you fill in playbook or crew type

1.8

  • Extra rows of claims can now be added
  • Corrected minor typos
  • Internal changes to the sheet upgrade process to make it more robust for ancient sheets

1.7

  • Change to auto-generated abilities/items/friends: they will now be deleted if you change playbook/crew type, unless they have been changed at some point
  • Small CSS adjustments
  • Change stash gained by crew advance to printed version

1.6

  • Translation support for everything except fixed fields in roll templates
  • Crew-specific upgrades are now a repeating section, repeating upgrades moved to crew-specific upgrades, descriptions added to crew upgrades

1.5

  • All items are now repeating
  • Optional description field added for all items (via settings menu)

1.4

  • Changes for items; made playbook items a repeating section, and added options for non-playbook-items.
  • Entering a playbook or crew name will now automatically generate abilities and friends/contacts
  • Small fix for ghost/hull label for stress and trauma

1.3

  • Added Vigilantes data

1.2

  • Roll titles are moved to the roll template so they are no longer displayed as links
  • Fortune rolls will ask for bonus dice first to remedy confusion
  • Minor data fix for Bravos barracks claim
  • Fixed a bug where sometimes not all rows in a repeating section would be created

1.1

  • Some small visual changes, mostly around boxes for stress/rep/heat/coin/stash
  • Maximum number of stress boxes increased to 14
  • Image hosting moved to Github
  • Updated 6-segment clock to use correct image

1.0.2

  • Small styling tweaks

1.0.1

  • Corrected an issue with number inputs not saving their values in Firefox

1.0

  • Overly long character names will now be shortened in roll templates, instead of becoming an unreadable mess
  • Negative bonus dice (up to -3) can now be selected
  • Invisible dice will no longer be rolled; the sheet will now work properly with 3D dice
  • Unified roll templates (this should be invisible to the user)
  • Added setting for flexible sheet width
  • The Friends section now has the correct title based on playbook

0.9

  • Sheet-worker-based solution to displaying a row for abilities/friends/crew abilities/contacts by default

0.8.1

  • Added names for all roll buttons

0.8

  • Added buttons to generate special abilities and friends/contacts (in the settings menu)

0.7

  • Faction mode added (to Character Mode and Crew Mode)
  • Old "Factions & Status" section is removed, all the content added to a notes box
  • Standard Doskvol factions can be generated by pressing a button

0.6

  • Further improvements to cohort section

0.5

  • Added description field to Factions & Status section
  • Changed type choice for cohorts to a pseudo-select dropdown
  • Added button to roll cohort quality
  • Removed spirit playbook dots, since you're supposed to add them to existing dots
  • Disabled reset-to-zero feature when switching to a spirit playbook
  • Added Frame section under items to support the Hull playbook

0.4.2

  • Added Georgia to list of header fonts for a better look on Windows

0.4.1

  • Improved behaviour when sheet is popped-out
  • CSS cleanup

0.4

  • Added Factions section on crew sheet to record faction status

0.3.3

  • Fixed display issues on Firefox/Windows
  • Vampires now have an Indulge Vice button
  • When turf boxes are checked, they now turn a darker shade

0.3.2

  • Fixed several minor display issues
  • Try to fix some display issues in obscure configurations
  • The Entanglement/Wanted button now displays correctly

0.3.1

  • Added option to show longer xp bars (for vampires)
  • Added vampire strictures
  • fixed overflow error in traumata box

0.3

  • Full support for Ghost playbook
  • Partial support Hull and Vampire playbooks: different traumata and replacements for vice
  • Stress has now more room to breathe when you don't have extra boxes

0.2.4

  • Recovery clock is now a 4-tick clock
  • Added option to modify the names of Stress and Trauma via gear settings
  • Added the option of adding a 12th stress tooth (for vampires)
  • Added reset-to-zero applied before switching playbooks. This won't change any field that has been modified by the user.
  • Unused playbook item slots will be hidden automatically
  • Some minor styling changes

0.2.3

  • Added preliminary version of Wanted button (no correct title yet)
  • Fixed a bug with the repeating_crewclock and repeating_crewability sections
  • Removed Pet/Special upgrade
  • Starting Hold changed to Strong
  • Fix bug in resistance roll button color

0.2.2

  • Changed cohort section to conform to 8.1 - removed cohort button and added text field instead, since you now roll your crew tier
  • Removed deprecated special armor section
  • Internal change in how mutually exclusive checkboxes in Shady Friends and Load section are handled. Needs no sheet workers!

0.2.1

  • Added triangle next to contact name to mirror paper sheet
  • Made crew special ability and clock separate repeating sections in case they need to be distinguished
  • Added cohort description to output of cohort roll template

0.2 Initial Release