[D&D 3.5] add User Option to configure default setting for the sheet:

- add configuration "spellmode"
This commit is contained in:
femapj
2021-08-09 23:06:07 +02:00
parent 601b3e5779
commit 11c8234d00
3 changed files with 19 additions and 4 deletions
+3 -3
View File
@@ -2861,8 +2861,8 @@
<div class="sheet-tab-content sheet-tab6 sheet-tab99">
<input type="checkbox" class="sheet-pc-spells-show sheet-arrow" title="spells-show" name="attr_spells-show" value="1" checked /><span style="text-align: left;" data-i18n="spells">Spells</span>&nbsp; &nbsp; &nbsp; &nbsp;
<input type="radio" class="sheet-switch-baseModeSpellSection-show sheet-switch" title="SpellMode" name="attr_SpellMode" value="1" /><span style="text-align: left;" data-i18n="spellBaseMode" >Base Mode</span><span> </span>
<input type="radio" class="sheet-switch-fullModeSpellSection-show sheet-switch" title="SpellMode" name="attr_SpellMode" value="2" @{defaultSpellMode} /><span style="text-align: left;" data-i18n="spellFullMode">Full Mode</span>
<input type="radio" class="sheet-switch-baseModeSpellSection-show sheet-switch" title="spellmode" name="attr_spellmode" value="1" /><span style="text-align: left;" data-i18n="spellBaseMode" >Base Mode</span>&nbsp; &nbsp;
<input type="radio" class="sheet-switch-fullModeSpellSection-show sheet-switch" title="spellmode" name="attr_spellmode" value="2" checked/><span style="text-align: left;" data-i18n="spellFullMode">Full Mode</span>
<!-- Spell -->
<div class="sheet-switch-fullModeSpellSection sheet-pc-spells">
@@ -5613,7 +5613,7 @@
<tr>
<!--spells-->
<td colspan="3">
<table style="width:100%;" class="sheet-table-row" cellpadding="0" cellspacing="0">
<table style="width:100%;" class="sheet-table-row" class="tableNoCellSpacingNoCellPadding">
<tr>
<td colspan="3" class="sheet-statlabel-big-gray" style="width: 790px; height: 35px; font-size: 1.5em;" data-i18n="spells">Spells</td>
</tr>
+14 -1
View File
@@ -5,5 +5,18 @@
"preview": "charsheet_3-5.jpg",
"roll20userid": "108188",
"instructions": "Roll templates now implemented; see descriptions and other information in new Roll Template section at bottom of sheet. Attack and full attack rolls modifiable in-sheet to allow inclusion of feat- or item-based additions to attacks. Full attack gives 'undefined' error for attacks one does not have a BAB defined for (remove that part of the macro if BAB is not high enough for 2, 3, or 4 attacks/rnd)",
"legacy": true
"legacy": true,
"useroptions": [
{
"attribute": "spellmode",
"displayname": "Spell mode? ",
"type": "select",
"options": [
"Base mode|1",
"Full mode|2"
],
"default": "",
"description": "spell mode This option can be be later changed on individual sheets from the 'Settings-page.'"
}
]
}
+2
View File
@@ -1,4 +1,6 @@
{
"whisp-skill-rolls-gm": "Whisper Skill Rolls to GM",
"whisp-skill-rolls-gm-info": "All skill rolls are sent to all players in chat by default. Query Whisper option gives you a prompt with each roll of whether or not the roll should be sent privately only to yourself and the GM. Always Whisper Skill Rolls will send all skill rolls only to yourself and the GM.",
"pc": "PC ",
"npc": "NPC",
"header": "Header",