Sheet Defaults FILE: My Repo (until 1-click release) DEPENDENCY SCRIPT: Messenger (one-click) ABSTRACT: When the Apply Defaults link doesn't work in your D&D 5E 2014 game (formerly D&D 5E by Roll20), it can be due to attribute duplication/corruption. Sheet Defaults searches for and corrects the three attributes typically involved in default settings (wtype, dtype, and rtype) and sets them according to the parameters you provide. Introduction Sometimes with the D&D 5E 2014 sheet (formerly the D&D 5E by Roll20 sheet, or, as I like to call it, the 5ExR20 sheet), certain attributes associated with the setting of default values can become duplicated or corrupted, leading to a situation where the game will not apply your chosen default settings to the game. Sheet Defaults will remove these duplicate attributes and apply your chosen default values. Command Line Usage The script's base handle is sheetdefaults . After that, include double-hyphen arguments in the form of --arg#value or --arg|value Accepted arg values: w wtype whisper --------------------
r
rtype roll --------------------
d dtype damage Accepted values for the whisper and roll set: always never toggle query Accepted valued for the damage argument: yes auto no (Where auto is the same as yes) You need not supply all three of the arguments with every command line. You only have to supply those for which you want to set a default value. However, chances are, if you are trying to set defaults, you will likely want to have all three attribute arguments in your command line. Example Command Line Here is an example that uses specific values for all three attributes: !sheetdefaults --w#always --r#never --d#yes However, you will likely find the following command line to be more useful to you. This version prompts for what values you want to use for each of the three attributes: !sheetdefaults --w#?{Whisper setting|always|never|toggle|query} --r#?{Roll setting|always|never|toggle|query} --d#?{Damage setting|yes/auto,yes|no}