Files
roll20-character-sheets/D&D_OED/DnD_OED.html
T
2024-06-03 13:15:14 -04:00

492 lines
41 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!-- Original Edition Delta Character Record Sheet */ -->
<!-- Version 1.0 -->
<div class="buttons">
<button type="action" name="act_Character" data-i18n="characterButton-u">Character</button>
<button type="action" name="act_Equipment" data-i18n="equipmentButton-u">Equipment</button>
<button type="action" name="act_Spellbook" data-i18n="spellbookButton-u">Spellbook</button>
</div>
<div class="oed">
<input type="hidden" class="tabstoggle" name="attr_sheetTab" value="character" />
<!-- Character main page -->
<div class="character">
<h2 class="center name">Original Edition Delta Character Record Sheet</h2>
<div class="grid-16">
<!-- row 1 -->
<span class="grid-16-span-3"><label data-i18n="name-u">Character:</label></span>
<span class="grid-16-span-5"><input class="fill" name="attr_character_name" tabindex="1" title="@{character_name}" type="text" /></span>
<span class="grid-16-span-3"><label data-i18n="player-u">Player:</label></span>
<span class="grid-16-span-5"><input class="fill" name="attr_player_name" tabindex="2" title="@{player_name}" type="text" /></span>
<!-- row 2 -->
<span class="grid-16-span-3"><label data-i18n="raceClass-u">Class/Level:</label></span>
<span class="grid-16-span-5"><input class="fill" name="attr_class" tabindex="3" title="@{class}" type="text" /></span>
<input type="hidden" name="attr_top_level" value="0">
<span class="grid-16-span-3"><label data-i18n="alignment-u">Alignment:</label></span>
<span class="grid-16-span-5"><input class="fill" name="attr_alignment" tabindex="4" title="@{alignment}" type="text" /></span>
<!-- row 3 -->
<span class="grid-16-span-16" data-i18n="abilities-u">ABILITIES</span>
<!-- row 4 -->
<span class="grid-16-span-3"><input class="center fill box top" name="attr_str" tabindex="5" title="@{str}" type="text" /></span>
<span class="grid-16-span-2"><label class="line-height-20" data-i18n="str-u">STR</label><span class="attr-mod backed center fill" name="attr_str_mod" title="@{str_mod}" type="text">0</span></span>
<span class="grid-16-span-3"><div class="details font-size-sm">Melee Atks /<br />Damage</div></span>
<span class="grid-16-span-2"><label class="line-height-20" data-i18n="ac-u">AC</label><input class="center fill" name="attr_ac" tabindex="11" title="@{ac}" type="text" /></span>
<span class="grid-16-span-1">&nbsp;</span>
<span class="grid-16-span-2"><label class="line-height-20" data-i18n="hp-u">Hit Points</label><input class="center fill" name="attr_hp" tabindex="12" title="@{hp}" type="text" /></span>
<span class="grid-16-span-1">&nbsp;</span>
<span class="grid-16-span-2"><label class="line-height-20" data-i18n="moveRate-u">Move rate</label><input class="center fill" name="attr_move" tabindex="13" title="@{Move}" type="text" /></span>
<!-- row 5 -->
<span class="grid-16-span-3"><input class="center fill box" name="attr_int" tabindex="6" title="@{int}" type="text" /></span>
<span class="grid-16-span-2"><label class="line-height-20" data-i18n="int-u">INT</label><span class="attr-mod backed center fill" name="attr_int_mod" title="@{int_mod}" type="text">0</span></span>
<span class="grid-16-span-3"><div class="details font-size-sm">Find Traps /<br />Secrets</div></span>
<span class="grid-16-span-8">
<label class="line-height-20" data-i18n="specialAbilities-u">SPECIAL ABILITIES</label>
<input class="fill line-height-38" name="attr_special_abilities_1" tabindex="14" title="@{special_abilities_1}" type="text" />
</span>
<!-- row 6 -->
<span class="grid-16-span-3"><input class="center fill box" name="attr_wis" tabindex="7" title="@{wis}" type="text" /></span>
<span class="grid-16-span-2"><label class="line-height-20" data-i18n="wis-u">WIS</label><span class="attr-mod backed center fill" name="attr_wis_mod" title="@{wis_mod}" type="text">0</span></span>
<span class="grid-16-span-3"><div class="details font-size-sm">Mental Atk<br />Saves</div></span>
<span class="grid-16-span-8">
<input class="fill line-height-28" name="attr_special_abilities_2" tabindex="15" title="@{special_abilities_2}" type="text" />
<input class="fill line-height-28" name="attr_special_abilities_3" tabindex="16" title="@{special_abilities_3}" type="text" />
</span>
<!-- row 7 -->
<span class="grid-16-span-3"><input class="center fill box" name="attr_dex" tabindex="8" title="@{dex}" type="text" /></span>
<span class="grid-16-span-2"><label class="line-height-20" data-i18n="dex-u">DEX</label><span class="attr-mod backed center fill" name="attr_dex_mod" title="@{dex_mod}" type="text">0</span></span>
<span class="grid-16-span-3"><div class="details font-size-sm">Missile Atks /<br />Armor Class</div></span>
<span class="grid-16-span-8">
<input class="fill line-height-28" name="attr_special_abilities_4" tabindex="17" title="@{special_abilities_4}" type="text" />
<input class="fill line-height-28" name="attr_special_abilities_5" tabindex="18" title="@{special_abilities_5}" type="text" />
</span>
<!-- row 8 -->
<span class="grid-16-span-3"><input class="center fill box" name="attr_con" tabindex="9" title="@{con}" type="text" /></span>
<span class="grid-16-span-2"><label class="line-height-20" data-i18n="con-u">CON</label><span class="attr-mod backed center fill" name="attr_con_mod" title="@{con_mod}" type="text">0</span></span>
<span class="grid-16-span-3"><div class="details font-size-sm">Hit Die<br />Rolls</div></span>
<span class="grid-16-span-8">
<input class="fill line-height-28" name="attr_special_abilities_6" tabindex="19" title="@{special_abilities_6}" type="text" />
<input class="fill line-height-28" name="attr_special_abilities_7" tabindex="20" title="@{special_abilities_7}" type="text" />
</span>
<!-- row 9 -->
<span class="grid-16-span-3"><input class="center fill box bottom" name="attr_cha" tabindex="10" title="@{cha}" type="text" /></span>
<span class="grid-16-span-2"><label class="line-height-20" data-i18n="cha-u">CHA</label><span class="attr-mod backed center fill" name="attr_cha_mod" title="@{cha_mod}" type="text">0</span></span>
<span class="grid-16-span-3"><div class="details font-size-sm">Reaction<br />Rolls</div></span>
<span class="grid-16-span-8">
<input class="fill line-height-28" name="attr_special_abilities_8" tabindex="21" title="@{special_abilities_8}" type="text" />
<input class="fill line-height-28" name="attr_special_abilities_9" tabindex="22" title="@{special_abilities_9}" type="text" />
</span>
<!-- row 10 -->
<span class="grid-16-span-16">&nbsp;</span>
<!-- row 11 -->
<span class="grid-16-span-8"><label class="line-height-20" data-i18n="languages-u">LANGUAGES</label></span>
<span class="grid-16-span-4"><label class="line-height-20" data-i18n="experience-u">EXPERIENCE</label></span>
<span class="grid-16-span-2"><label class="line-height-20" data-i18n="saves-u">SAVES</label></span>
<span class="grid-16-span-2"><button type="roll" name="roll_saves" value="?{Choose:|Spells,@{character_name} saves vs. Spells: [[1d20 + @{top_level} + 0]] |Breath,@{character_name} saves vs. Breath: [[1d20 + @{top_level} + 1]]|Stone,@{character_name} saves vs. Stone: [[1d20 + @{top_level} + 2]]|Wands,@{character_name} saves vs. Wands: [[1d20 + @{top_level} + 3]]|Death,@{character_name} saves vs. Death: [[1d20 + @{top_level} + 4]]}"></button></span>
<!-- row 12 -->
<span class="grid-16-span-4"><input class="fill line-height-28" name="attr_languages_1" tabindex="23" title="@{languages_1}" type="text" /></span>
<span class="grid-16-span-4"><input class="fill line-height-28" name="attr_languages_2" tabindex="24" title="@{languages_2}" type="text" /></span>
<span class="grid-16-span-8 bdr-top"><div class="line-height-28">&nbsp;</div></span>
<!-- row 13 -->
<span class="grid-16-span-4"><input class="fill line-height-28" name="attr_languages_3" tabindex="25" title="@{languages_3}" type="text" /></span>
<span class="grid-16-span-4"><input class="fill line-height-28" name="attr_languages_4" tabindex="26" title="@{languages_4}" type="text" /></span>
<span class="grid-16-span-8 bdr-mid"><input class="fill line-height-28" name="attr_experience" tabindex="31" title="@{experience}" type="text" /></span>
<!-- row 14 -->
<span class="grid-16-span-4"><input class="fill line-height-28" name="attr_languages_5" tabindex="27" title="@{languages_5}" type="text" /></span>
<span class="grid-16-span-4"><input class="fill line-height-28" name="attr_languages_6" tabindex="28" title="@{languages_6}" type="text" /></span>
<span class="grid-16-span-3 bdr-mid lft"><label class="font-size-sm line-height-28 ml-10" data-i18n="nextLevel-u">Next Level:</label></span>
<span class="grid-16-span-5 bdr-mid rgt pr-10"><input class="fill line-height-28" name="attr_next_level" tabindex="32" title="@{next_level}" type="text" /></span>
<!-- row 15 -->
<span class="grid-16-span-4"><input class="fill line-height-28" name="attr_languages_7" tabindex="29" title="@{languages_7}" type="text" /></span>
<span class="grid-16-span-4"><input class="fill line-height-28" name="attr_languages_8" tabindex="30" title="@{languages_8}" type="text" /></span>
<span class="grid-16-span-3 bdr-mid lft"><label class="font-size-sm line-height-28 ml-10" data-i18n="hpPerClass-u">Max HP/Class:</label></span>
<span class="grid-16-span-5 bdr-mid rgt pr-10"><input class="fill line-height-28" name="attr_hp_per_class" tabindex="33" title="@{hp_per_class}" type="text" /></span>
<!-- row 16 -->
<span class="grid-16-span-8"><div class="line-height-10">&nbsp;</div></span>
<span class="grid-16-span-8 bdr-btm"><div class="line-height-10">&nbsp;</div></span>
<!-- row 17 -->
<span class="grid-16-span-16"><label class="line-height-28" data-i18n="attacks-u">ATTACKS</label></span>
<span class="grid-16-span-16 bdr-top"><div class="line-height-10">&nbsp;</div></span>
<!-- row 18 -->
<span class="grid-16-span-6 bdr-mid lft"><label class="font-size-sm line-height-28 ml-10" data-i18n="weapon-u">Weapon</label></span>
<span class="grid-16-span-2"><label class="font-size-sm line-height-28" data-i18n="attack-u">Attack</label></span>
<span class="grid-16-span-3"><label class="font-size-sm line-height-28" data-i18n="damage-u">Damage</label></span>
<span class="grid-16-span-5 bdr-mid rgt"><label class="font-size-sm line-height-28" data-i18n="special-u">Special</label></span>
<!-- row 19 -->
<span class="grid-16-span-6 bdr-mid lft pl-10"><input class="fill line-height-28" name="attr_weapon_1" tabindex="34" title="@{weapon_1}" type="text" /></span>
<span class="grid-16-span-2"><input class="center fill line-height-28" name="attr_attack_1" tabindex="35" title="@{attack_1}" type="text" /></span>
<span class="grid-16-span-3"><input class="center fill line-height-28" name="attr_damage_1" tabindex="36" title="@{damage_1}" type="text" /></span>
<span class="grid-16-span-3"><input class="center fill line-height-28" name="attr_special_1" tabindex="37" title="@{special_1}"type="text" /></span>
<span class="grid-16-span-2 bdr-mid rgt pr-10"><button type="roll" value="@{character_name} attacks with @{weapon_1}: %NEWLINE% [[1d20 + (@{attack_1})]] to hit and [[@{damage_1}+0]] damage." name="roll_attack1"></button></span>
<!-- row 20 -->
<span class="grid-16-span-6 bdr-mid lft pl-10"><input class="fill line-height-28" name="attr_weapon_2" tabindex="38" title="@{weapon_2}" type="text" /></span>
<span class="grid-16-span-2"><input class="center fill line-height-28" name="attr_attack_2" tabindex="39" title="@{attack_2}" type="text" /></span>
<span class="grid-16-span-3"><input class="center fill line-height-28" name="attr_damage_2" tabindex="40" title="@{damage_2}" type="text" /></span>
<span class="grid-16-span-3"><input class="center fill line-height-28" name="attr_special_2" tabindex="41" title="@{special_2}" type="text" /></span>
<span class="grid-16-span-2 bdr-mid rgt pr-10"><button type="roll" value="@{character_name} attacks with @{weapon_2}: %NEWLINE% [[1d20 + (@{attack_2})]] to hit and [[@{damage_2}+0]] damage." name="roll_attack2"></button></span>
<!-- row 21 -->
<span class="grid-16-span-6 bdr-mid lft pl-10"><input class="fill line-height-28" name="attr_weapon_3" tabindex="42" title="@{weapon_3}" type="text" /></span>
<span class="grid-16-span-2"><input class="center fill line-height-28" name="attr_attack_3" tabindex="43" title="@{attack_3}" type="text" /></span>
<span class="grid-16-span-3"><input class="center fill line-height-28" name="attr_damage_3" tabindex="44" title="@{damage_3}" type="text" /></span>
<span class="grid-16-span-3"><input class="center fill line-height-28" name="attr_special_3" tabindex="45" title="@{special_3}" type="text" /></span>
<span class="grid-16-span-2 bdr-mid rgt pr-10"><button type="roll" value="@{character_name} attacks with @{weapon_3}: %NEWLINE% [[1d20 + (@{attack_3})]] to hit and [[@{damage_3}+0]] damage." name="roll_attack3"></button></span>
<!-- row 22 -->
<span class="grid-16-span-16 bdr-btm"><div class="line-height-10">&nbsp;</div></span>
</div>
</div> <!-- end character page -->
<!-- Equipment page -->
<div class="equipment">
<div class="grid-16">
<!-- title -->
<span class="grid-16-span-16"><label class="line-height-28" data-i18n="equipment-u">EQUIPMENT</label></span>
<!-- column headers -->
<span class="grid-16-span-7"><label class="font-size-sm line-height-28" data-i18n="item-u">Item</label></span>
<span class="grid-16-span-1"><label class="font-size-sm line-height-28 center" data-i18n="enc-u">Enc.</label></span>
<span class="grid-16-span-7"><label class="font-size-sm line-height-28" data-i18n="item-u">Item</label></span>
<span class="grid-16-span-1"><label class="font-size-sm line-height-28 center" data-i18n="enc-u">Enc.</label></span>
<!-- Gear fields generated by program OED-Roll20-SheetGen (DRC) -->
<!-- gear row 1 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_1' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_1' type='text'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_2' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_2' type='text'></span>
<!-- gear row 2 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_3' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_3' type='text'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_4' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_4' type='text'></span>
<!-- gear row 3 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_5' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_5' type='text'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_6' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_6' type='text'></span>
<!-- gear row 4 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_7' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_7' type='text'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_8' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_8' type='text'></span>
<!-- gear row 5 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_9' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_9' type='text'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_10' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_10' type='text'></span>
<!-- gear row 6 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_11' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_11' type='text'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_12' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_12' type='text'></span>
<!-- gear row 7 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_13' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_13' type='text'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_14' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_14' type='text'></span>
<!-- gear row 8 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_15' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_15' type='text'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_16' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_16' type='text'></span>
<!-- gear row 9 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_17' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_17' type='text'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_18' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_18' type='text'></span>
<!-- gear row 10 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_19' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_19' type='text'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_20' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_20' type='text'></span>
<!-- gear row 11 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_21' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_21' type='text'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_22' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_22' type='text'></span>
<!-- gear row 12 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_23' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_23' type='text'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_24' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_24' type='text'></span>
<!-- gear row 13 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_25' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_25' type='text'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_26' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_26' type='text'></span>
<!-- gear row 14 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_27' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_27' type='text'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_28' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_28' type='text'></span>
<!-- gear row 15 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_29' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_29' type='text'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_30' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_30' type='text'></span>
<!-- gear row 16 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_31' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_31' type='text'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_32' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_32' type='text'></span>
<!-- gear row 17 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_33' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_33' type='text'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_34' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_34' type='text'></span>
<!-- gear row 18 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_35' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_35' type='text'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_36' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_36' type='text'></span>
<!-- gear row 19 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_37' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_37' type='text'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_38' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_38' type='text'></span>
<!-- gear row 20 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_39' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_39' type='text'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_item_40' type='text'></span>
<span class='grid-16-span-1'><input class='fill line-height-28 center' name='attr_enc_40' type='text'></span>
<!-- Bottom information -->
<!-- row 21 -->
<span class="grid-16-span-16">&nbsp;</span>
<!-- row 22 -->
<span class="grid-16-span-6"><div class="center font-size-sm line-height-28" data-i18n="totalEnc-u">Encumbrance in Stone</div></span>
<span class="grid-16-span-2"><div class="center font-size-sm line-height-28" data-i18n="moveRate-u">Move Rate</div></span>
<span class="grid-16-span-4">&nbsp;</span>
<span class="grid-16-span-2"><label class="font-size-sm line-height-28" data-i18n="total-u">Total:</label></span>
<span class="grid-16-span-2"><input class="center fill line-height-28" name="attr_total_enc" type="text" value="0.0"/></span>
<!-- row 23 -->
<span class="grid-16-span-6"><div class="center font-size-sm line-height-28" data-i18n="totalEnc1-u">0 to 1/3 Strength</div></span>
<span class="grid-16-span-2"><div class="center font-size-sm line-height-28">12</div></span>
<span class="grid-16-span-8">&nbsp;</span>
<!-- row 24 -->
<span class="grid-16-span-6"><div class="center font-size-sm line-height-28" data-i18n="totalEnc2-u">1/3 to 2/3 Strength</div></span>
<span class="grid-16-span-2"><div class="center font-size-sm line-height-28">9</div></span>
<span class="grid-16-span-8 bdr-top pl-10"><label class="font-size-sm line-height-28" data-i18n="money-u">Money</label></span>
<!-- row 25 -->
<span class="grid-16-span-6"><div class="center font-size-sm line-height-28" data-i18n="totalEnc3-u">2/3 to Strength</div></span>
<span class="grid-16-span-2"><div class="center font-size-sm line-height-28">6</div></span>
<span class="grid-16-span-8 bdr-mid"><input class="bdr-none fill line-height-28" name="attr_money_1" type="text" /></span>
<!-- row 26x -->
<span class="grid-16-span-1">&nbsp;</span>
<span class="grid-16-span-7"><div class="center font-size-sm line-height-28" data-i18n="scale-u">Scale 1" = 5'</div></span>
<span class="grid-16-span-8 bdr-btm"><input class="bdr-none fill line-height-28" name="attr_money_2" type="text" /></span>
</div>
</div> <!-- end equipment page-->
<!-- Spellbook page -->
<div class="spellbook">
<div class="grid-16">
<!-- title -->
<span class="grid-16-span-16"><label class="line-height-28" data-i18n="spellbook-u">SPELLBOOK</label></span>
<!-- column headers -->
<span class="grid-16-span-7"><label class="font-size-sm line-height-28" data-i18n="spell-u">Spell</label></span>
<span class="grid-16-span-1"><label class="center font-size-sm line-height-28" data-i18n="mem-u">Mem.</label></span>
<span class="grid-16-span-7"><label class="font-size-sm line-height-28" data-i18n="spell-u">Spell</label></span>
<span class="grid-16-span-1"><label class="center font-size-sm line-height-28" data-i18n="mem-u">Mem.</label></span>
<!-- Spells fields generated by program OED-Roll20-SheetGen (DRC) -->
<!-- spells row 1 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_1' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_1' value='1'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_2' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_2' value='1'></span>
<!-- spells row 2 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_3' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_3' value='1'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_4' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_4' value='1'></span>
<!-- spells row 3 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_5' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_5' value='1'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_6' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_6' value='1'></span>
<!-- spells row 4 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_7' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_7' value='1'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_8' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_8' value='1'></span>
<!-- spells row 5 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_9' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_9' value='1'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_10' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_10' value='1'></span>
<!-- spells row 6 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_11' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_11' value='1'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_12' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_12' value='1'></span>
<!-- spells row 7 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_13' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_13' value='1'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_14' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_14' value='1'></span>
<!-- spells row 8 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_15' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_15' value='1'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_16' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_16' value='1'></span>
<!-- spells row 9 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_17' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_17' value='1'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_18' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_18' value='1'></span>
<!-- spells row 10 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_19' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_19' value='1'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_20' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_20' value='1'></span>
<!-- spells row 11 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_21' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_21' value='1'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_22' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_22' value='1'></span>
<!-- spells row 12 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_23' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_23' value='1'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_24' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_24' value='1'></span>
<!-- spells row 13 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_25' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_25' value='1'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_26' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_26' value='1'></span>
<!-- spells row 14 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_27' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_27' value='1'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_28' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_28' value='1'></span>
<!-- spells row 15 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_29' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_29' value='1'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_30' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_30' value='1'></span>
<!-- spells row 16 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_31' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_31' value='1'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_32' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_32' value='1'></span>
<!-- spells row 17 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_33' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_33' value='1'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_34' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_34' value='1'></span>
<!-- spells row 18 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_35' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_35' value='1'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_36' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_36' value='1'></span>
<!-- spells row 19 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_37' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_37' value='1'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_38' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_38' value='1'></span>
<!-- spells row 20 -->
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_39' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_39' value='1'></span>
<span class='grid-16-span-7'><input class='fill line-height-28' name='attr_spell_name_40' type='text'></span>
<span class='grid-16-span-1 center'><input type='checkbox' name='attr_spell_check_40' value='1'></span>
</div>
</div> <!-- end spellbook page -->
</div> <!-- END charsheet oed -->
<script type="text/worker">
// Set side of sheet to view
const buttonlist = ['character','equipment','spellbook'];
buttonlist.forEach( button => {
on( `clicked:${button}`, function() {
setAttrs({
sheetTab: button
});
});
});
// Compute ability modifiers
const stats = ['str','int','wis','dex','con','cha'];
stats.forEach( stat => {
on( `change:${stat}`, () => {
getAttrs([stat], values => {
const stat_score = parseInt(values[stat], 10)||0;
const stat_mod = Math.floor( stat_score > 10 ? ( stat_score - 10 )/3 : ( stat_score - 9 )/3 );
if (stat_mod > 0) {
setAttrs({[`${stat}_mod`]: '+' + stat_mod});
}
else {
setAttrs({[`${stat}_mod`]: stat_mod});
}
});
});
});
// Gather encumbrance fields
const items = [];
for ( i = 1; i <= 40; i++ ) {
items.push( 'enc_' + i );
}
// Compute total encumbrance
items.forEach( item => {
on( `change:${item}`, () => {
var total = 0;
getAttrs( items, values => {
items.forEach( enc => {
total += (parseFloat( values[enc] ) || 0);
});
total = Math.round(total * 10) / 10;
var display = total.toFixed(1);
setAttrs({total_enc: display});
});
});
});
// Compute movement rate
on ("change:str change:total_enc", function() {
getAttrs(["str","total_enc"], function(vals) {
var moveRate = 0;
const strVal = parseInt(vals.str)||0;
const totalEnc = parseFloat(vals.total_enc)||0;
if (totalEnc <= strVal * 1 / 3.) {
moveRate = 12;
}
else if (totalEnc <= strVal * 2 / 3.) {
moveRate = 9;
}
else if (totalEnc <= strVal * 1) {
moveRate = 6;
}
else if (totalEnc <= strVal * 2) {
moveRate = 3;
}
else {
moveRate = 0;
}
setAttrs({move: moveRate});
});
});
// Parse out top level from class field
on ("change:class", function() {
getAttrs(["class"], function(val) {
const str = val.class;
    var num = 0, res = 0;
    for (i = 0; i < str.length; i++) {
var c = str.charAt(i);
        if ('0' <= c && c <= '9') {
            num = num * 10 +
            (c.charCodeAt(0)- '0'.charCodeAt(0));
   }
        else {
            res = Math.max(res, num);
            num = 0;
        }
    }
var finalVal = Math.max(res, num);
setAttrs({top_level: finalVal});
});
});
</script>