Files
roll20-character-sheets-tester/Black_Crusade/BlackCrusade.html
T
John D 8ca5a8713b Update BlackCrusade.html
Fixing a few bugs for Daemon Weapon
2018-02-12 20:36:48 +07:00

4148 lines
228 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!-- This area is for sheet worker scripts -->
<script type="text/worker">
on("change:repeating_rangedweapons", function() {
getSectionIDs("repeating_rangedweapons", function(idarray) {
let setOps={};
for(var i=0; i < idarray.length; i++) {
setOps['repeating_rangedweapons_'+idarray[i]+'_my_hidden_row_id']=idarray[i];
}
setAttrs(setOps);
});
});
</script>
<!-- This is the main tab set up -->
<input type="radio" class="sheet-tab sheet-tab1" name="attr_core-tab" value="1" title="Player Sheet" checked="checked"/>
<span data-i18n="player-sheet-u" class="sheet-tab sheet-tab1" style='line-height: 40px;'>Player Sheet</span>
<input type="radio" class="sheet-tab sheet-tab2" name="attr_core-tab" value="2" title="Gear" />
<span data-i18n="gear-u" class="sheet-tab sheet-tab2" style='line-height: 40px;'>Gear</span>
<input type="radio" class="sheet-tab sheet-tab3" name="attr_core-tab" value="3" title="Advancements" />
<span data-i18n="advancements-u" class="sheet-tab sheet-tab3" style='line-height: 40px;'>Advancements</span>
<input type="radio" class="sheet-tab sheet-tab4" name="attr_core-tab" value="4" title="NPCS and Minions" />
<span data-i18n="npcs-u" class="sheet-tab sheet-tab4" style='line-height: 40px;'>NPCS</span>
<input type="radio" class="sheet-tab sheet-tab5" name="attr_core-tab" value="5" title="Personal Journal" />
<span data-i18n="journal-u" class="sheet-tab sheet-tab5" style='line-height: 40px;'>Journal</span>
<input type="radio" class="sheet-tab sheet-tab6" name="attr_core-tab" value="6" title="Vehicles" />
<span data-i18n="vehicles-u" class="sheet-tab sheet-tab6" style='line-height: 40px;'>Vehicles</span>
<input type="radio" class="sheet-tab sheet-tab7" name="attr_core-tab" value="7" title="Psykana" />
<span data-i18n="psykana-u" class="sheet-tab sheet-tab7" style='line-height: 40px;'>Psykana</span>
<input type="radio" class="sheet-tab sheet-tab8" name="attr_core-tab" value="8" title="Social" />
<span data-i18n="social-u" class="sheet-tab sheet-tab8" style='line-height: 40px;'>Social</span>
<br><br>
<!-- End Main Tab setup -->
<div class="sheet-section-core"><!-- Core Tab -->
<div class="sheet-wrapper">
<!-- This is the base character information, narrative bits and mechanical stats -->
<div class="sheet-3colrow">
<!-- Left Column, Top Row -->
<div class="sheet-col">
<div class="sheet-row">
<div class="sheet-item sheet-span2" style="width:40%"><span data-i18n="character-name-u">Character Name:</span></div>
<div class="sheet-item" style="width:55%"><input name="attr_character_name" type="text"></div>
</div>
<div class="sheet-row">
<div class="sheet-item sheet-span2" style="width:25%"><span data-i18n="archetype-u">Archetype:</span></div>
<div class="sheet-item" style="width:70%"><input name="attr_Archetype" type="text"></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:15%"><span data-i18n="race-u">Race: </span></div>
<div class="sheet-item" style="width:80%"><input name="attr_Race" type="text"></div>
</div>
<div class="sheet-row">
<div class="sheet-item sheet-span2" style="width:35%"><span data-i18n="warband-name-u">Warband Name:</span></div>
<div class="sheet-item" style="width:60%"><input name="attr_Warband" type="text"></div>
</div>
<div class="sheet-row">
<div class="sheet-item sheet-span2" style="width:15%"><span data-i18n="pride-u">Pride:</span></div>
<div class="sheet-item" style="width:80%"><input name="attr_Pride" type="text"></div>
</div>
</div>
<!-- Mid Column (Logo), Top Row -->
<div class="sheet-col sheet-tcenter">
<img src="http://i.imgur.com/QVivUij.png">
</div>
<!-- Right Column, Top Row -->
<div class="sheet-col">
<div class="sheet-row">
<div class="sheet-item sheet-span2" style="width:30%"><span data-i18n="player-name-u">Player Name:</span></div>
<div class="sheet-item" style="width:65%"><input name="attr_Player" type="text"></div>
</div>
<div class="sheet-row" style="display:inline;">
<div class="sheet-item sheet-span2" style="width:18%"><span data-i18n="gender-u">Gender:</span></div>
<div class="sheet-item" style="width:35%"><input name="attr_Gender" type="text"></div>
</div>
<div class="sheet-item sheet-span2" style="width:12%"><span data-i18n="eyes-u">Eyes:</span></div>
<div class="sheet-item" style="width:30%"><input name="attr_Eyes" type="text"></div>
<div class="sheet-row">
<div class="sheet-item sheet-span2" style="width:10%"><span data-i18n="age-u">Age:</span></div>
<div class="sheet-item" style="width:40%"><input name="attr_attr_Age" type="text"></div>
<div class="sheet-item sheet-span2" style="width:14%"><span data-i18n="build-u">Build:</span></div>
<div class="sheet-item" style="width:31%"><input name="attr_Build" type="text"></div>
</div>
<div class="sheet-row">
<div class="sheet-item sheet-span2" style="width:25%"><span data-i18n="complexion-u">Complexion:</span></div>
<div class="sheet-item" style="width:28%"><input name="attr_Complexion" type="text"></div>
<div class="sheet-item sheet-span2" style="width:12%"><span data-i18n="hair-u">Hair:</span></div>
<div class="sheet-item" style="width:30%"><input name="attr_Hair" type="text"></div>
</div>
<div class="sheet-row">
<div class="sheet-item sheet-span2" style="width:21%"><span data-i18n="disgrace-u">Disgrace:</span></div>
<div class="sheet-item" style="width:74%"><input name="attr_Disgrace" type="text"></div>
</div>
</div>
</div>
<!-- Second Row is for player quotes, motivations, etc. Just narrative stuff here -->
<img src="http://i.imgur.com/TKfHnQ9.png"><!-- Divider -->
<div class="sheet-charmotive sheet-tcenter">
<input class="sheet-charmotive1" name="attr_Motivation" type="text" placeholder="Motivation">
<textarea class="sheet-charmotive2" name="attr_Notes" placeholder="Description"></textarea>
</div>
<img src="http://i.imgur.com/TKfHnQ9.png"><!-- Divider -->
<!-- Third row is for mechanics such as Skills, Talents, Characteristics, Armor and Defense, etc -->
<div class="sheet-2colrow">
<!-- Left Side -->
<div class="sheet-col">
<div class="sheet-characteristics">
<h3 data-i18n="characteristics-u">Characteristics</h3>
<div class="sheet-2colrow">
<!-- Left Column (Characteristics) -->
<div class="sheet-col">
<!-- WeaponSkill (WS) -->
<div class="sheet-2colrow">
<div class="sheet-col">
<button name="roll_WS" type="roll" value="&{template:darkheresy2} {{name=Weapon Skill}} {{dhdescription=@{character_name} rolls Weapon Skill: [[1d100]] Target: [[@{WeaponSkill}+ ?{Modifier|0}]].}}"><span data-i18n="weapon-skill-(ws)-u">Weapon Skill (WS)</span></button>
</div>
<div class="sheet-col">
<div class="sheet-unnatural_box">
<input name="attr_WeaponSkill" class="sheet-unnaturaltext" type="text" value="0">
<input name="attr_UnWS" title="Unnatural Weapon Skill" class="sheet-unnatural" type="number" step="0.01" value="0" />
</div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:10%"></div>
<div class="sheet-item" style="width:80%">
<select class="advanceselect" name="attr_advanceWS">
<option value="0" data-i18n="none-(0)-u">None (0)</option>
<option value="5" data-i18n="simple-(+5)-u">Simple (+5)</option>
<option value="10" data-i18n="intermediate-(+10)-u">Intermediate (+10)</option>
<option value="15" data-i18n="trained-(+15)-u">Trained (+15)</option>
<option value="20" data-i18n="proficient-(+20)-u">Proficient (+20)</option>
<option value="25" data-i18n="expert-(+25)-u">Expert (+25)</option>
</select>
</div>
</div>
<!-- BallisticSkill (BS) -->
<div class="sheet-2colrow">
<div class="sheet-col">
<button name="roll_BS" type="roll" value="&{template:darkheresy2} {{name=Ballistic Skill}} {{dhdescription=@{character_name} rolls Ballistic Skill: [[1d100]] Target: [[@{BallisticSkill}+ ?{Modifier|0}]].}}"><span data-i18n="ballistic-skill-(bs)-u">Ballistic Skill (BS)</span></button>
</div>
<div class="sheet-col">
<div class="sheet-unnatural_box">
<input name="attr_BallisticSkill" class="sheet-unnaturaltext" type="text" value="0">
<input name="attr_UnBS" Title="Unnatural Ballistic Skill" class="sheet-unnatural" type="number" step="0.01" value="0" />
</div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:10%"></div>
<div class="sheet-item" style="width:80%">
<select class="advanceselect" name="attr_advanceBS">
<option value="0" data-i18n="none-(0)-u">None (0)</option>
<option value="5" data-i18n="simple-(+5)-u">Simple (+5)</option>
<option value="10" data-i18n="intermediate-(+10)-u">Intermediate (+10)</option>
<option value="15" data-i18n="trained-(+15)-u">Trained (+15)</option>
<option value="20" data-i18n="proficient-(+20)-u">Proficient (+20)</option>
<option value="25" data-i18n="expert-(+25)-u">Expert (+25)</option>
</select>
</div>
</div>
<!-- Strength (S) -->
<div class="sheet-2colrow">
<div class="sheet-col">
<button name="roll_S" type="roll" value="&{template:darkheresy2} {{name=Strength}} {{dhdescription=@{character_name} rolls Strength: [[1d100]] Target: [[@{Strength}+ ?{Modifier|0}]].}}"><span data-i18n="strength-(s)-u">Strength (S)</span></button>
</div>
<div class="sheet-col">
<div class="sheet-unnatural_box">
<input name="attr_Strength" class="sheet-unnaturaltext" type="text" value="0">
<input name="attr_UnS" Title="Unnatural Strength" class="sheet-unnatural" type="number" step="0.01" value="0" />
</div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:10%"></div>
<div class="sheet-item" style="width:80%">
<select class="advanceselect" name="attr_advanceS">
<option value="0" data-i18n="none-(0)-u">None (0)</option>
<option value="5" data-i18n="simple-(+5)-u">Simple (+5)</option>
<option value="10" data-i18n="intermediate-(+10)-u">Intermediate (+10)</option>
<option value="15" data-i18n="trained-(+15)-u">Trained (+15)</option>
<option value="20" data-i18n="proficient-(+20)-u">Proficient (+20)</option>
<option value="25" data-i18n="expert-(+25)-u">Expert (+25)</option>
</select>
</div>
</div>
<!-- Toughness (T) -->
<div class="sheet-2colrow">
<div class="sheet-col">
<button name="roll_T" type="roll" value="&{template:darkheresy2} {{name=Toughness}} {{dhdescription=@{character_name} rolls Toughness: [[1d100]] Target: [[@{Toughness}+ ?{Modifier|0}]].}}"><span data-i18n="toughness-(t)-u">Toughness (T)</span></button>
</div>
<div class="sheet-col">
<div class="sheet-unnatural_box">
<input name="attr_Toughness" class="sheet-unnaturaltext" type="text" value="0">
<input name="attr_UnT" Title="Unnatural Toughness" class="sheet-unnatural" type="number" step="0.01" value="0" />
</div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:10%"></div>
<div class="sheet-item" style="width:80%">
<select class="advanceselect" name="attr_advanceT">
<option value="0" data-i18n="none-(0)-u">None (0)</option>
<option value="5" data-i18n="simple-(+5)-u">Simple (+5)</option>
<option value="10" data-i18n="intermediate-(+10)-u">Intermediate (+10)</option>
<option value="15" data-i18n="trained-(+15)-u">Trained (+15)</option>
<option value="20" data-i18n="proficient-(+20)-u">Proficient (+20)</option>
<option value="25" data-i18n="expert-(+25)-u">Expert (+25)</option>
</select>
</div>
</div>
<!-- Agility (Ag) -->
<div class="sheet-2colrow">
<div class="sheet-col">
<button name="roll_Ag" type="roll" value="&{template:darkheresy2} {{name=Agility}} {{dhdescription=@{character_name} rolls Agility: [[1d100]] Target: [[@{Agility}+ ?{Modifier|0}]].}}"><span data-i18n="agility-(ag)-u">Agility (Ag)</span></button>
</div>
<div class="sheet-col">
<div class="sheet-unnatural_box">
<input name="attr_Agility" class="sheet-unnaturaltext" type="text" value="0">
<input name="attr_UnAg" Title="Unnatural Agility" class="sheet-unnatural" type="number" step="0.01" value="0" />
</div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:10%"></div>
<div class="sheet-item" style="width:80%">
<select class="advanceselect" name="attr_advanceAg">
<option value="0" data-i18n="none-(0)-u">None (0)</option>
<option value="5" data-i18n="simple-(+5)-u">Simple (+5)</option>
<option value="10" data-i18n="intermediate-(+10)-u">Intermediate (+10)</option>
<option value="15" data-i18n="trained-(+15)-u">Trained (+15)</option>
<option value="20" data-i18n="proficient-(+20)-u">Proficient (+20)</option>
<option value="25" data-i18n="expert-(+25)-u">Expert (+25)</option>
</select>
</div>
</div>
</div>
<!-- Characteristics (Right Column) -->
<div class="sheet-col">
<!-- Intelligence (Int) -->
<div class="sheet-2colrow">
<div class="sheet-col">
<button name="roll_Int" type="roll" value="&{template:darkheresy2} {{name=Intelligence}} {{dhdescription=@{character_name} rolls Intelligence: [[1d100]] Target: [[@{Intelligence}+ ?{Modifier|0}]].}}"><span data-i18n="intelligence-(int)-u">Intelligence (Int)</span></button>
</div>
<div class="sheet-col">
<div class="sheet-unnatural_box">
<input name="attr_Intelligence" class="sheet-unnaturaltext" type="text" value="0">
<input name="attr_UnInt" Title="Unnatural Intelligence" class="sheet-unnatural" type="number" step="0.01" value="0" />
</div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:10%"></div>
<div class="sheet-item" style="width:80%">
<select class="advanceselect" name="attr_advanceInt">
<option value="0" data-i18n="none-(0)-u">None (0)</option>
<option value="5" data-i18n="simple-(+5)-u">Simple (+5)</option>
<option value="10" data-i18n="intermediate-(+10)-u">Intermediate (+10)</option>
<option value="15" data-i18n="trained-(+15)-u">Trained (+15)</option>
<option value="20" data-i18n="proficient-(+20)-u">Proficient (+20)</option>
<option value="25" data-i18n="expert-(+25)-u">Expert (+25)</option>
</select>
</div>
</div>
<!-- Perception (Per) -->
<div class="sheet-2colrow">
<div class="sheet-col">
<button name="roll_Per" type="roll" value="&{template:darkheresy2} {{name=Perception}} {{dhdescription=@{character_name} rolls Perception: [[1d100]] Target: [[@{Perception}+ ?{Modifier|0}]].}}"><span data-i18n="perception-(per)-u">Perception (Per)</span></button>
</div>
<div class="sheet-col">
<div class="sheet-unnatural_box">
<input name="attr_Perception" class="sheet-unnaturaltext" type="text" value="0">
<input name="attr_UnPer" Title="Unnatural Perception" class="sheet-unnatural" type="number" step="0.01" value="0" />
</div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:10%"></div>
<div class="sheet-item" style="width:80%">
<select class="advanceselect" name="attr_advancePer">
<option value="0" data-i18n="none-(0)-u">None (0)</option>
<option value="5" data-i18n="simple-(+5)-u">Simple (+5)</option>
<option value="10" data-i18n="intermediate-(+10)-u">Intermediate (+10)</option>
<option value="15" data-i18n="trained-(+15)-u">Trained (+15)</option>
<option value="20" data-i18n="proficient-(+20)-u">Proficient (+20)</option>
<option value="25" data-i18n="expert-(+25)-u">Expert (+25)</option>
</select>
</div>
</div>
<!-- Willpower (WP) -->
<div class="sheet-2colrow">
<div class="sheet-col">
<button name="roll_WP" type="roll" value="&{template:darkheresy2} {{name=Willpower}} {{dhdescription=@{character_name} rolls Willpower: [[1d100]] Target: [[@{Willpower}+ ?{Modifier|0}]].}}"><span data-i18n="willpower-(wp)-u">Willpower (WP)</span></button>
</div>
<div class="sheet-col">
<div class="sheet-unnatural_box">
<input name="attr_Willpower" class="sheet-unnaturaltext" type="text" value="0">
<input name="attr_UnWP" Title="Unnatural Willpower" class="sheet-unnatural" type="number" step="0.01" value="0" />
</div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:10%"></div>
<div class="sheet-item" style="width:80%">
<select class="advanceselect" name="attr_advanceWP">
<option value="0" data-i18n="none-(0)-u">None (0)</option>
<option value="5" data-i18n="simple-(+5)-u">Simple (+5)</option>
<option value="10" data-i18n="intermediate-(+10)-u">Intermediate (+10)</option>
<option value="15" data-i18n="trained-(+15)-u">Trained (+15)</option>
<option value="20" data-i18n="proficient-(+20)-u">Proficient (+20)</option>
<option value="25" data-i18n="expert-(+25)-u">Expert (+25)</option>
</select>
</div>
</div>
<!-- Fellowship (Fel) -->
<div class="sheet-2colrow">
<div class="sheet-col">
<button name="roll_Fel" type="roll" value="&{template:darkheresy2} {{name=Fellowship}} {{dhdescription=@{character_name} rolls Fellowship: [[1d100]] Target: [[@{Fellowship}+ ?{Modifier|0}]].}}"><span data-i18n="fellowship-(fel)-u">Fellowship (Fel)</span></button>
</div>
<div class="sheet-col">
<div class="sheet-unnatural_box">
<input name="attr_Fellowship" class="sheet-unnaturaltext" type="text" value="0">
<input name="attr_UnFel" Title="Unnatural Fellowship" class="sheet-unnatural" type="number" step="0.01" value="0" />
</div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:10%"></div>
<div class="sheet-item" style="width:80%">
<select class="advanceselect" name="attr_advanceFel">
<option value="0" data-i18n="none-(0)-u">None (0)</option>
<option value="5" data-i18n="simple-(+5)-u">Simple (+5)</option>
<option value="10" data-i18n="intermediate-(+10)-u">Intermediate (+10)</option>
<option value="15" data-i18n="trained-(+15)-u">Trained (+15)</option>
<option value="20" data-i18n="proficient-(+20)-u">Proficient (+20)</option>
<option value="25" data-i18n="expert-(+25)-u">Expert (+25)</option>
</select>
</div>
</div>
<!-- Infamy (Ifl) -->
<div class="sheet-2colrow">
<div class="sheet-col">
<button name="roll_Inf" type="roll" value="&{template:darkheresy2} {{name=Infamy}} {{dhdescription=@{character_name} rolls Infamy: [[1d100]] Target: [[@{Infamy}+ ?{Modifier|0}]].}}"><span data-i18n="infamy-(inf)-u">Infamy (Inf)</span></button>
</div>
<div class="sheet-col">
<div class="sheet-unnatural_box">
<input name="attr_Infamy" class="sheet-unnaturaltext" type="text" value="0">
<input name="attr_UnInf" Title="Unnatural Infamy" class="sheet-unnatural" type="number" step="0.01" value="0" />
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<!-- Infamy Points Points and Initiative -->
<img src="http://i.imgur.com/TKfHnQ9.png"><!-- Divider -->
<div class="sheet-2colrow">
<div class="sheet-col">
<h3 data-i18n="infamy-points-u">Infamy Points</h3>
<div class="sheet-row">
<div class="sheet-item" style="width:40%">
<span data-i18n="threshold-u">Threshold</span>
</div>
<div class="sheet-item" style="width:12%">
<input name="attr_Infamy_max" type="number" step="0.01" style="text-align: center;">
</div>
<div class="sheet-item" style="width:32%">
<span data-i18n="current-u">Current</span>
</div>
<div class="sheet-item" style="width:12%">
<input name="attr_Infamy_current" type="number" step="0.01" style="text-align: center;">
</div>
</div>
</div>
<div class="sheet-col">
<h3 data-i18n="initiative-u">Initiative</h3>
<div class="sheet-row">
<div class="sheet-item sheet-redbgns" style="width:30%">
<button name="roll_Initiative" title="Select your token first!" type="roll" value="/em rolls Initiative and gets [[1d10+floor(@{selected|Agility} /10) + @{selected|UnAg} &{tracker}]]."><span data-i18n="agility-u">Agility</span></button>
</div>
<div class="sheet-item" style="width:1%">
</div>
<div class="sheet-item sheet-redbgns" style="width:35%">
<button name="roll_CInitiative" title="Select your token first!" type="roll" value="/em rolls Custom Initiative and gets [[@{selected|CInitiativeInput} &{tracker}]]."><span data-i18n="custom-u">Custom</span></button>
</div>
<div class="sheet-item" style="width:34%">
<input name="attr_CInitiativeInput" type="text" value="1d10">
</div>
</div>
</div>
</div>
<br><br>
<!-- Movement -->
<div class="sheet-quickborder">
<h3 data-i18n="movement-u">Movement</h3>
<div class="sheet-row">
<div class="sheet-item" style="width: 20%;"><span data-i18n="half-move-u">Half Move: </span></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_HalfMove" type="number" step="0.01" style="text-align: center;" value="@{HalfMod}+floor(@{Agility}/10)+@{UnAg}+@{Size}" disabled="disabled"/></div>
<div class="sheet-item" style="width: 20%;"><span data-i18n="full-move-u">Full Move: </span></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_FullMove" type="number" step="0.01" style="text-align: center;" value="@{FullMod}+2*(floor(@{Agility}/10)+@{UnAg}+@{Size})" disabled="disabled"/></div>
<div class="sheet-item" style="width: 16%;"><span data-i18n="charge-u">Charge: </span></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_ChargeMove" type="number" step="0.01" style="text-align: center;" value="@{ChargeMod}+3*(floor(@{Agility}/10)+@{UnAg}+@{Size})" disabled="disabled"/></div>
<div class="sheet-item" style="width: 10%;"><span data-i18n="run-u">Run: </span></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_RunMove" type="number" step="0.01" style="text-align: center;" value="@{RunMod}+6*(floor(@{Agility}/10)+@{UnAg}+@{Size})" disabled="disabled"/></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 20%;"><span data-i18n="modifier-u">Modifiers: </span></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_HalfMod" type="number" step="0.01" placeholder="0" style="text-align: center;" /></div>
<div class="sheet-item" style="width: 20%;"></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_FullMod" type="number" step="0.01" placeholder="0" style="text-align: center;"/></div>
<div class="sheet-item" style="width: 16%;"></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_ChargeMod" type="number" step="0.01" placeholder="0" style="text-align: center;"/></div>
<div class="sheet-item" style="width: 10%;"></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_RunMod" type="number" step="0.01" placeholder="0" style="text-align: center;"/></div>
</div>
<!-- Fatigue --><br>
<div class="sheet-2colrow">
<div class="sheet-col">
<h3 data-i18n="fatigue-u">Fatigue</h3>
<div class="sheet-row">
<div class="sheet-item" style="width: 40%;"><span data-i18n="threshold-u">Threshold:</span></div>
<div class="sheet-item" style="width: 13%;"><input name="attr_FatigueThreshold" type="number" step="0.01" style="text-align: center;" value="floor(@{Willpower}/10)+floor(@{Toughness}/10)+@{UnT}+@{UnWp}" disabled="disabled"/></div>
<div class="sheet-item" style="width: 30%;"><span data-i18n="current-u">Current: </span></div>
<div class="sheet-item" style="width: 13%;"><input name="attr_Fatigue" type="number" step="0.01" style="text-align: center;" value="0"/></div>
</div>
</div>
<!-- Size -->
<div class="sheet-col">
<h3 data-i18n="size-u">Size</h3>
<div class="sheet-row">
<div class="sheet-item" style="width: 92%;"><select class="sizeselect" name="attr_Size">
<option value="0" data-i18n="average-(4)-u">Average (4)</option>
<option value="-3" data-i18n="miniscule-(1)-u">Miniscule (1)</option>
<option value="-2" data-i18n="puny-(2)-u">Puny (2)</option>
<option value="-1" data-i18n="weedy-(3)-u">Weedy (3)</option>
<option value="1" data-i18n="hulking-(5)-u">Hulking (5)</option>
<option value="2" data-i18n="enormous-(6)-u">Enormous (6)</option>
<option value="3" data-i18n="massive-(7)-u">Massive (7)</option>
<option value="4" data-i18n="immense-(8)-u">Immense (8)</option>
<option value="5" data-i18n="monumental-(9)-u">Monumental (9)</option>
<option value="6" data-i18n="titanic-(10)-u">Titanic (10)</option>
</select>
</div>
</div>
</div>
</div>
<br>
</div>
<!-- Armor and Defense -->
<div class="sheet-quickborder2">
<h3 data-i18n="armour-and-defence-u">Armour &amp; Defence</h3>
<br>
<div class="sheet-2colrow">
<div class="sheet-col sheet-sildh">
<div class="sheet-armourblock">&nbsp;</div>
<div class="sheet-quickborder sheet-armourblock">
<span data-i18n="head-u">Head</span>
<input name="attr_HArmour" type="number" step="0.01" data-i18n-placeholder="armor-value-u" placeholder="Ar" />
<span>(1-10)</span>
<input name="attr_HTotal" type="number" step="0.01" value="@{HArmour}+@{UnT}+floor(@{Toughness}/10)+@{mactrait}" disabled="disabled"/>
</div>
<br>
<div class="sheet-quickborder sheet-armourblock">
<span data-i18n="ar-u">AR</span>
<input name="attr_ArArmour" type="number" step="0.01" data-i18n-placeholder="armor-value-u" placeholder="Ar"/>
<span>(11-20)</span>
<input name="attr_ArTotal" type="number" step="0.01" value="@{ArArmour}+@{UnT}+floor(@{Toughness}/10)+@{rabionic}+@{mactrait}" disabled="disabled"/>
</div>
<div class="sheet-quickborder sheet-armourblock">
<span data-i18n="body-u">Body</span>
<input name="attr_BArmour" type="number" step="0.01" data-i18n-placeholder="armor-value-u" placeholder="Ar"/>
<span>(31-70)</span> <input name="attr_BTotal" type="number" step="0.01" value="@{BArmour}+@{UnT}+floor(@{Toughness}/10)+@{mactrait}" disabled="disabled"/>
</div>
<div class="sheet-quickborder sheet-armourblock">
<span data-i18n="al-u">AL</span>
<input name="attr_AlArmour" type="number" step="0.01" data-i18n-placeholder="armor-value-u" placeholder="Ar"/>
<span>(21-30)</span>
<input name="attr_AlTotal" type="number" step="0.01" value="@{AlArmour}+@{UnT}+floor(@{Toughness}/10)+@{labionic}+@{mactrait}" disabled="disabled"/>
</div>
<div class="sheet-quickborder sheet-armourblock" style="margin: 20px auto auto 11%;">
<span data-i18n="lr-u">LR</span>
<input name="attr_LrArmour" type="number" step="0.01" data-i18n-placeholder="armor-value-u" placeholder="Ar"/>
<span>(71-85)</span>
<input name="attr_LrTotal" type="number" step="0.01" value="@{LrArmour}+@{UnT}+floor(@{Toughness}/10)+@{lrbionic}+@{mactrait}" disabled="disabled"/></div>
<div class="sheet-quickborder sheet-armourblock" style="margin: 20px auto auto 11%;">
<span data-i18n="ll-u">LL</span>
<input name="attr_LlArmour" type="number" step="0.01" data-i18n-placeholder="armor-value-u" placeholder="Ar"/>
<span>(86-00)</span>
<input name="attr_LlTotal" type="number" step="0.01" value="@{LlArmour}+@{UnT}+floor(@{Toughness}/10)+@{llbionic}+@{mactrait}" disabled="disabled"/>
</div>
</div>
<div class="sheet-col sheet-fate">
<!-- Wounds -->
<h3 data-i18n="wounds-u">Wounds</h3>
<div class="sheet-row">
<div class="sheet-item" style="width:65%">
<span data-i18n="total-u">Total: </span>
</div>
<div class="sheet-item" style="width:20%">
<input name="attr_Wounds_max" type="number" step="0.01" style="text-align: center;">
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:65%">
<span data-i18n="current-u">Current: </span>
</div>
<div class="sheet-item" style="width:20%">
<input name="attr_Wounds" type="number" step="0.01" style="text-align: center;">
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:65%">
<span data-i18n="critical-damage-u">Critical Damage: </span>
</div>
<div class="sheet-item" style="width:20%">
<input name="attr_Critical" type="number" step="0.01" style="text-align: center;">
</div>
</div>
<div class="Sheet-row">
<div class="sheet-item" style="width:24%">
<span data-i18n="status-u">Status: </span>
</div>
<div class="sheet-item" style="width:75%">
<select class="advanceselect" name="attr_statuscondition">
<option data-i18n="unharmed-u">Unharmed</option>
<option data-i18n="lightly-damaged-u">Lightly Damaged</option>
<option data-i18n="heavily-damaged-u">Heavily Damaged</option>
<option data-i18n="critically-damaged-u">Critically Damaged</option>
</select>
</div>
</div>
<br>
<!-- Conditions -->
<h3 data-i18n="conditions-u">Conditions</h3>
<div class="sheet-row">
<div class="sheet-item" style="width:100%">
<select class="advanceselect" name="attr_1stCondition">
<option selected data-i18n="none-u">None</option>
<option data-i18n="recently-healed-u">Recently Healed</option>
<option data-i18n="blinded-u">Blinded</option>
<option data-i18n="blood-loss-u">Blood Loss</option>
<option data-i18n="deafened-u">Deafened</option>
<option data-i18n="falling-u">Falling</option>
<option data-i18n="fire-u">Fire</option>
<option data-i18n="stunned-u">Stunned</option>
<option data-i18n="suffocation-u">Suffocation</option>
<option data-i18n="unconsciousness-u">Unconsciousness</option>
<option data-i18n="useless-limbs-u">Useless Limbs</option>
<option data-i18n="vacuum-u">Vacuum</option>
<option disabled data-i18n="amputated-limb-u">Amputated Limb</option>
<option data-i18n="lost-hand-u">Lost Hand</option>
<option data-i18n="lost-arm-u">Lost Arm</option>
<option data-i18n="lost-eye-u">Lost Eye</option>
<option data-i18n="lost-foot-u">Lost Foot</option>
<option data-i18n="lost-leg-u">Lost Leg</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:100%">
<select class="advanceselect" name="attr_2ndCondition">
<option selected data-i18n="none-u">None</option>
<option disabled data-i18n="amputated-limb-u">Amputated Limb</option>
<option data-i18n="lost-hand-u">Lost Hand</option>
<option data-i18n="lost-arm-u">Lost Arm</option>
<option data-i18n="lost-eye-u">Lost Eye</option>
<option data-i18n="lost-foot-u">Lost Foot</option>
<option data-i18n="lost-leg-u">Lost Leg</option>
<option data-i18n="blinded-u">Blinded</option>
<option data-i18n="blood-loss-u">Blood Loss</option>
<option data-i18n="deafened-u">Deafened</option>
<option data-i18n="falling-u">Falling</option>
<option data-i18n="fire-u">Fire</option>
<option data-i18n="stunned-u">Stunned</option>
<option data-i18n="suffocation-u">Suffocation</option>
<option data-i18n="unconsciousness-u">Unconsciousness</option>
<option data-i18n="useless-limbs-u">Useless Limbs</option>
<option data-i18n="vacuum-u">Vacuum</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:100%">
<select class="advanceselect" name="attr_3rdCondition">
<option selected data-i18n="none-u">None</option>
<option disabled data-i18n="amputated-limb-u">Amputated Limb</option>
<option data-i18n="lost-hand-u">Lost Hand</option>
<option data-i18n="lost-arm-u">Lost Arm</option>
<option data-i18n="lost-eye-u">Lost Eye</option>
<option data-i18n="lost-foot-u">Lost Foot</option>
<option data-i18n="lost-leg-u">Lost Leg</option>
<option data-i18n="blinded-u">Blinded</option>
<option data-i18n="blood-loss-u">Blood Loss</option>
<option data-i18n="deafened-u">Deafened</option>
<option data-i18n="falling-u">Falling</option>
<option data-i18n="fire-u">Fire</option>
<option data-i18n="stunned-u">Stunned</option>
<option data-i18n="suffocation-u">Suffocation</option>
<option data-i18n="unconsciousness-u">Unconsciousness</option>
<option data-i18n="useless-limbs-u">Useless Limbs</option>
<option data-i18n="vacuum-u">Vacuum</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:100%">
<select class="advanceselect" name="attr_4thCondition">
<option selected data-i18n="none-u">None</option>
<option disabled data-i18n="amputated-limb-u">Amputated Limb</option>
<option data-i18n="lost-hand-u">Lost Hand</option>
<option data-i18n="lost-arm-u">Lost Arm</option>
<option data-i18n="lost-eye-u">Lost Eye</option>
<option data-i18n="lost-foot-u">Lost Foot</option>
<option data-i18n="lost-leg-u">Lost Leg</option>
<option data-i18n="blinded-u">Blinded</option>
<option data-i18n="blood-loss-u">Blood Loss</option>
<option data-i18n="deafened-u">Deafened</option>
<option data-i18n="falling-u">Falling</option>
<option data-i18n="fire-u">Fire</option>
<option data-i18n="stunned-u">Stunned</option>
<option data-i18n="suffocation-u">Suffocation</option>
<option data-i18n="unconsciousness-u">Unconsciousness</option>
<option data-i18n="useless-limbs-u">Useless Limbs</option>
<option data-i18n="vacuum-u">Vacuum</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:100%">
<select class="advanceselect" name="attr_5thCondition">
<option selected data-i18n="none-u">None</option>
<option disabled data-i18n="amputated-limb-u">Amputated Limb</option>
<option data-i18n="lost-hand-u">Lost Hand</option>
<option data-i18n="lost-arm-u">Lost Arm</option>
<option data-i18n="lost-eye-u">Lost Eye</option>
<option data-i18n="lost-foot-u">Lost Foot</option>
<option data-i18n="lost-leg-u">Lost Leg</option>
<option data-i18n="blinded-u">Blinded</option>
<option data-i18n="blood-loss-u">Blood Loss</option>
<option data-i18n="deafened-u">Deafened</option>
<option data-i18n="falling-u">Falling</option>
<option data-i18n="fire-u">Fire</option>
<option data-i18n="stunned-u">Stunned</option>
<option data-i18n="suffocation-u">Suffocation</option>
<option data-i18n="unconsciousness-u">Unconsciousness</option>
<option data-i18n="useless-limbs-u">Useless Limbs</option>
<option data-i18n="vacuum-u">Vacuum</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:100%">
<select class="advanceselect" name="attr_6thCondition">
<option selected data-i18n="none-u">None</option>
<option disabled data-i18n="amputated-limb-u">Amputated Limb</option>
<option data-i18n="lost-hand-u">Lost Hand</option>
<option data-i18n="lost-arm-u">Lost Arm</option>
<option data-i18n="lost-eye-u">Lost Eye</option>
<option data-i18n="lost-foot-u">Lost Foot</option>
<option data-i18n="lost-leg-u">Lost Leg</option>
<option data-i18n="blinded-u">Blinded</option>
<option data-i18n="blood-loss-u">Blood Loss</option>
<option data-i18n="deafened-u">Deafened</option>
<option data-i18n="falling-u">Falling</option>
<option data-i18n="fire-u">Fire</option>
<option data-i18n="stunned-u">Stunned</option>
<option data-i18n="suffocation-u">Suffocation</option>
<option data-i18n="unconsciousness-u">Unconsciousness</option>
<option data-i18n="useless-limbs-u">Useless Limbs</option>
<option data-i18n="vacuum-u">Vacuum</option>
</select>
</div>
</div>
</div>
</div>
<br>
<h3 data-i18n="cybernetic-modifiers-u">Cybernetics Modifiers</h3>
<div class="sheet-2colrow">
<div class="sheet-col">
<div class="sheet-item" style="width:86%">
<span data-i18n="bionic-left-arm-u">Bionic Arm (left): </span>
</div>
<div class="sheet-item" style="width: 13%;text-align: center;padding: 5px;">
<input name="attr_labionic" type="checkbox" style="text-align:center;" value="2"/>
</div>
<div class="sheet-item" style="width:86%">
<span data-i18n="bionic-right-arm-u">Bionic Arm (Right): </span>
</div>
<div class="sheet-item" style="width: 13%;text-align: center;padding: 5px;">
<input name="attr_rabionic" type="checkbox" style="text-align:center;" value="2"/>
</div>
<div class="sheet-item" style="width:86%">
<span data-i18n="machine-trait-u">Machine Trait: </span>
</div>
<div class="sheet-item" style="width:13%">
<input name="attr_mactrait" type="number" step="0.01" style="text-align:center;" value="0"/>
</div>
</div>
<div class="sheet-col">
<div class="sheet-item" style="width:86%">
<span data-i18n="left-leg-bionic-u">Bionic Leg (left): </span>
</div>
<div class="sheet-item" style="width: 13%;text-align: center;padding: 5px;">
<input name="attr_llbionic" type="checkbox" style="text-align:center;" value="2"/>
</div>
<div class="sheet-item" style="width:86%">
<span data-i18n="right-leg-bionic-u">Bionic Leg (Right): </span>
</div>
<div class="sheet-item" style="width: 13%;text-align: center;padding: 5px;%">
<input name="attr_lrbionic" type="checkbox" style="text-align:center;" value="2"/>
</div>
</div>
</div>
</div>
<br>
<!-- Special Abilities -->
<img src="http://i.imgur.com/TKfHnQ9.png"><!-- Divider -->
<h3 data-i18n="special-abilities-u">Special Abilities</h3>
<div><input style="font-size: 14pt; height: 35px;" align="middle" name="attr_SpecialTitle" type="text" value="Space Marine Abilities"></div>
<textarea name="attr_othernotes">Secondary Heart/Ossmodula/Biscopea/
Haemastamen: You gain the Unnatural Strength and Toughness (+4) Traits.
Larraman’s Organ: Only 5% chance of dying from Blood Loss.
Catalepsean Node: You suffer no penalties to Perception-based Tests when awake for long periods of time.
Preomnor: You gain +20 to Toughness Tests against ingested poisons.
Omophagea: You may gain a Skill or Skill Group by devouring a portion of an enemy.
Multi-Lung: You may re-roll any failed Toughness Test for drowning or asphyxiation. In addition, you gain a +30 to Toughness Tests made to resist gases and may re-roll failed results.
Occulube and Lyman’s Ear: You gain the Heightened Senses (Sight and Hearing) Talents, +10 to relevant Awareness Tests.
Sus-an Membrane: You may enter suspended animation.
Oolotic Kidney: You may re-roll any failed Toughness Test ro resist poisons and toxins, including attacks with the Toxic Quality.
Neuroglottis: You may detect any poison or toxin by taste with a successful Awareness Test. You gain a +10 to Tracking Tests against a target you have tasted.
Mucranoid: You may re-roll any failed Toughness Tests caused by temperature extremes.
Betcher’s Gland: You may spit acid as a ranged weapon with the following profile: Range: 3m; Damage: 1d5; Pen 4; Toxic. If you hit your target by 3 or more degrees of success, you have blinded him for 1d5 Rounds.
Progenoids: These may be retrieved with a successful Medicae Test.
Black Carapace: While wearing Power Armour, enemies do not gain a bonus to hit you due to your size.
</textarea>
<fieldset class="repeating_SAbilities">
<div><input style="font-size: 14pt; height: 35px;" align="middle" name="attr_SpecialTitleRe" type="text"></div>
<textarea name="attr_othernotesRe"></textarea>
</fieldset>
</div>
<!-- Right Side -->
<div class="sheet-col">
<!-- Right Column (Skills) -->
<h3 data-i18n="skills-u">Skills</h3>
<div class="sheet-2colrow">
<div class="sheet-col sheet-skills">
<table>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:55%">
<button name="roll_Acrobatics" type="roll"
value="&{template:darkheresy2} {{name=Acrobatics}} {{dhdescription=@{character_name} rolls Acrobatics [[1d100]] Target [[@{AcrobaticsCharacteristic} + (-20 + @{Acrobatics1} + @{Acrobatics2} + @{Acrobatics3} + @{Acrobatics4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="acrobatics-u">Acrobatics</span>
</button>
</div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_AcrobaticsCharacteristic">
<option value="@{Agility}" data-i18n="ag-u">(Ag)</option>
<option value="@{Strength}" data-i18n="s-u">(S)</option>
</select>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Acrobatics1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Acrobatics2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Acrobatics3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Acrobatics4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:55%">
<button name="roll_Athletics" type="roll"
value="&{template:darkheresy2} {{name=Athletics}} {{dhdescription=@{character_name} rolls Athletics [[1d100]] Target [[@{AthleticsCharacteristic} + (-20 + @{Athletics1} + @{Athletics2} + @{Athletics3} + @{Athletics4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="athletics-u">Athletics</span>
</button>
</div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_AthleticsCharacteristic">
<option value="@{Strength}" data-i18n="s-u">(S)</option>
<option value="@{Toughness}" data-i18n="t-u">(T)</option>
</select>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Athletics1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Athletics2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Athletics3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Athletics4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:55%">
<button name="roll_Awareness" type="roll"
value="&{template:darkheresy2} {{name=Awareness}} {{dhdescription=@{character_name} rolls Awareness [[1d100]] Target [[@{AwarenessCharacteristic} + (-20 + @{Awareness1} + @{Awareness2} + @{Awareness3} + @{Awareness4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="awareness-u">Awareness</span>
</button>
</div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_AwarenessCharacteristic">
<option value="@{Perception}" data-i18n="per-u">(Per)</option>
<option value="@{Fellowship}" data-i18n="fel-u">(Fel)</option>
<option value="@{Intelligence}" data-i18n="int-u">(Int)</option>
</select>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Awareness1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Awareness2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Awareness3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Awareness4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:55%">
<button name="roll_Charm" type="roll"
value="&{template:darkheresy2} {{name=Charm}} {{dhdescription=@{character_name} rolls Charm [[1d100]] Target [[@{CharmCharacteristic} + (-20 + @{Charm1} + @{Charm2} + @{Charm3} + @{Charm4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="charm-u">Charm</span>
</button>
</div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_CharmCharacteristic">
<option value="@{Fellowship}" data-i18n="fel-u">(Fel)</option>
<option value="@{Infamy}" data-i18n="inf-u">(Inf)</option>
</select>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Charm1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Charm2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Charm3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Charm4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:55%">
<button name="roll_Command" type="roll"
value="&{template:darkheresy2} {{name=Command}} {{dhdescription=@{character_name} rolls Command [[1d100]] Target [[@{CommandCharacteristic} + (-20 + @{Command1} + @{Command2} + @{Command3} + @{Command4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="command-u">Command</span>
</button>
</div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_CommandCharacteristic">
<option value="@{Fellowship}" data-i18n="fel-u">(Fel)</option>
<option value="@{Intelligence}" data-i18n="int-u">(Int)</option>
<option value="@{Strength}" data-i18n="s-u">(S)</option>
<option value="@{Willpower}" data-i18n="wp-u">(WP)</option>
</select>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Command1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Command2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Command3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Command4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:55%">
<button name="roll_Commerce" type="roll"
value="&{template:darkheresy2} {{name=Commerce}} {{dhdescription=@{character_name} rolls Commerce [[1d100]] Target [[@{CommerceCharacteristic} + (-20 + @{Commerce1} + @{Commerce2} + @{Commerce3} + @{Commerce4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="commerce-u">Commerce</span>
</button>
</div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_CommerceCharacteristic">
<option value="@{Intelligence}" data-i18n="int-u">(Int)</option>
<option value="@{Fellowship}" data-i18n="fel-u">(Fel)</option>
</select>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Commerce1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Commerce2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Commerce3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Commerce4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:55%">
<button name="roll_Deceive" type="roll"
value="&{template:darkheresy2} {{name=Deceive}} {{dhdescription=@{character_name} rolls Deceive [[1d100]] Target [[@{DeceiveCharacteristic} + (-20 + @{Deceive1} + @{Deceive2} + @{Deceive3} + @{Deceive4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="deceive-u">Deceive</span>
</button>
</div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_DeceiveCharacteristic">
<option value="@{Fellowship}" data-i18n="fel-u">(Fel)</option>
<option value="@{Intelligence}" data-i18n="int-u">(Int)</option>
</select>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Deceive1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Deceive2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Deceive3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Deceive4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:55%">
<button name="roll_Dodge" type="roll"
value="&{template:darkheresy2} {{name=Dodge}} {{dhdescription=@{character_name} rolls Dodge [[1d100]] Target [[@{DodgeCharacteristic} + (-20 + @{Dodge1} + @{Dodge2} + @{Dodge3} + @{Dodge4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="dodge-u">Dodge</span>
</button>
</div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_DodgeCharacteristic">
<option value="@{Agility}" data-i18n="ag-u">(Ag)</option>
</select>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Dodge1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Dodge2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Dodge3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Dodge4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:55%">
<button name="roll_Inquiry" type="roll"
value="&{template:darkheresy2} {{name=Inquiry}} {{dhdescription=@{character_name} rolls Inquiry [[1d100]] Target [[@{InquiryCharacteristic} + (-20 + @{Inquiry1} + @{Inquiry2} + @{Inquiry3} + @{Inquiry4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="inquiry-u">Inquiry</span>
</button>
</div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_InquiryCharacteristic">
<option value="@{Fellowship}" data-i18n="fel-u">(Fel)</option>
<option value="@{Intelligence}" data-i18n="int-u">(Int)</option>
<option value="@{Perception}" data-i18n="per-u">(Per)</option>
</select>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Inquiry1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Inquiry2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Inquiry3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Inquiry4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:55%">
<button name="roll_Interrogation" type="roll"
value="&{template:darkheresy2} {{name=Inquiry}} {{dhdescription=@{character_name} rolls Interrogation [[1d100]] Target [[@{InterrogationCharacteristic} + (-20 + @{Interrogation1} + @{Interrogation2} + @{Interrogation3} + @{Interrogation4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="interrogation-u">Interrogation</span>
</button>
</div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_InterrogationCharacteristic">
<option value="@{Willpower}" data-i18n="wp-u">(WP)</option>
<option value="@{Fellowship}" data-i18n="fel-u">(Fel)</option>
</select>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Interrogation1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Interrogation2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Interrogation3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Interrogation4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:55%">
<button name="roll_Intimidate" type="roll"
value="&{template:darkheresy2} {{name=Intimidate}} {{dhdescription=@{character_name} rolls Intimidate [[1d100]] Target [[@{IntimidateCharacteristic} + (-20 + @{Intimidate1} + @{Intimidate2} + @{Intimidate3} + @{Intimidate4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="intimidate-u">Intimidate</span>
</button>
</div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_IntimidateCharacteristic">
<option value="@{Strength}" data-i18n="s-u">(S)</option>
<option value="@{Willpower}" data-i18n="wp-u">(WP)</option>
</select>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Intimidate1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Intimidate2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Intimidate3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Intimidate4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:55%">
<button name="roll_Logic" type="roll"
value="&{template:darkheresy2} {{name=Logic}} {{dhdescription=@{character_name} rolls Logic [[1d100]] Target [[@{LogicCharacteristic} + (-20 + @{Logic1} + @{Logic2} + @{Logic3} + @{Logic4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="logic-u">Logic</span>
</button>
</div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_LogicCharacteristic">
<option value="@{Intelligence}" data-i18n="int-u">(Int)</option>
<option value="@{Agility}" data-i18n="g-u">(Ag)</option>
</select>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Logic1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Logic2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Logic3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Logic4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:55%">
<button name="roll_Medicae" type="roll"
value="&{template:darkheresy2} {{name=Medicae}} {{dhdescription=@{character_name} rolls Medicae [[1d100]] Target [[@{MedicaeCharacteristic} + (-20 + @{Medicae1} + @{Medicae2} + @{Medicae3} + @{Medicae4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="medicae-u">Medicae</span>
</button>
</div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_MedicaeCharacteristic">
<option value="@{Intelligence}" data-i18n="int-u">(Int)</option>
<option value="@{Agility}" data-i18n="ag-u">(Ag)</option>
<option value="@{Perception}" data-i18n="per-u">(Per)</option>
</select>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Medicae1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Medicae2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Medicae3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Medicae4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-span2" style="width:55%"><span data-i18n="navigate-u">Navigate</span></div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_NavigateCharacteristic">
<option value="@{Intelligence}" data-i18n="int-u">(Int)</option>
<option value="@{Perception}" data-i18n="per-u">(Per)</option>
</select>
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:100%">
<button name="roll_Surface" type="roll"
value="&{template:darkheresy2} {{name=Navigate (Surface)}} {{dhdescription=@{character_name} rolls Navigate (Surface) [[1d100]] Target [[@{NavigateCharacteristic} + (-20 + @{Surface1} + @{Surface2} + @{Surface3} + @{Surface4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="surface-u">Surface</span>
</button>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Surface1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Surface2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Surface3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Surface4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:100%">
<button name="roll_Stellar" type="roll"
value="&{template:darkheresy2} {{name= Navigate (Stellar)}} {{dhdescription=@{character_name} rolls Navigate (Stellar) [[1d100]] Target [[@{NavigateCharacteristic} + (-20 + @{Stellar1} + @{Stellar2} + @{Stellar3} + @{Stellar4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="stellar-u">Stellar</span>
</button>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Stellar1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Stellar2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Stellar3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Stellar4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:100%">
<button name="roll_Warp" type="roll"
value="&{template:darkheresy2} {{name= Navigate (Warp)}} {{dhdescription=@{character_name} rolls Navigate (Warp) [[1d100]] Target [[@{NavigateCharacteristic} + (-20 + @{Warp1} + @{Warp2} + @{Warp3} + @{Warp4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="warp-u">Warp</span>
</button>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Warp1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Warp2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Warp3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Warp4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-span2" style="width:55%"><span data-i18n="operate-u">Operate</span></div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_OperateCharacteristic">
<option value="@{Agility}" data-i18n="g-u">(Ag)</option>
<option value="@{Intelligence}" data-i18n="int-u">(Int)</option>
</select>
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:100%">
<button name="roll_Aeronautica" type="roll"
value="&{template:darkheresy2} {{name= Operate (Aeronautica)}} {{dhdescription=@{character_name} rolls Operate (Aeronautica) [[1d100]] Target [[@{OperateCharacteristic} + (-20 + @{Aeronautica1} + @{Aeronautica2} + @{Aeronautica3} + @{Aeronautica4}) + ?{Target Modifier|0}]].}}"><span data-i18n="aeronautica-u">Aeronautica</span>
</button>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Aeronautica1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Aeronautica2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Aeronautica3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Aeronautica4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:100%">
<button name="roll_OSurface" type="roll"
value="&{template:darkheresy2} {{name= Operate (Surface)}} {{dhdescription=@{character_name} rolls Operate (Surface) [[1d100]] Target [[@{OperateCharacteristic} + (-20 + @{OSurface1} + @{OSurface2} + @{OSurface3} + @{OSurface4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="surface-u">Surface</span>
</button>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_OSurface1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_OSurface2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_OSurface3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_OSurface4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:100%">
<button name="roll_Voidship" type="roll"
value="&{template:darkheresy2} {{name= Operate (Voidship)}} {{dhdescription=@{character_name} rolls Operate (Voidship) [[1d100]] Target [[@{OperateCharacteristic} + (-20 + @{Voidship1} + @{Voidship2} + @{Voidship3} + @{Voidship4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="voidship-u">Voidship</span>
</button>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Voidship1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Voidship2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Voidship3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Voidship4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:55%">
<button name="roll_Parry" type="roll"
value="&{template:darkheresy2} {{name= Parry}} {{dhdescription=@{character_name} rolls Parry [[1d100]] Target [[@{ParryCharacteristic} + (-20 + @{Parry1} + @{Parry2} + @{Parry3} + @{Parry4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="parry-u">Parry</span>
</button>
</div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_ParryCharacteristic">
<option value="@{WeaponSkill}" data-i18n="ws-u">(WS)</option>
</select>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Parry1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Parry2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Parry3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Parry4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:55%">
<button name="roll_Psyniscience" type="roll"
value="&{template:darkheresy2} {{name= Psyniscience}} {{dhdescription=@{character_name} rolls Psyniscience [[1d100]] Target [[@{PsyniscienceCharacteristic} + (-20 + @{Psyniscience1} + @{Psyniscience2} + @{Psyniscience3} + @{Psyniscience4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="psyniscience-u">Psyniscience</span>
</button>
</div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_PsyniscienceCharacteristic">
<option value="@{Perception}" data-i18n="per-u">(Per)</option>
<option value="@{Willpower}" data-i18n="wp-u">(WP)</option>
</select>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Psyniscience1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Psyniscience2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Psyniscience3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Psyniscience4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:55%">
<button name="roll_Scrutiny" type="roll"
value="&{template:darkheresy2} {{name= Scrutiny}} {{dhdescription=@{character_name} rolls Scrutiny [[1d100]] Target [[@{ScrutinyCharacteristic} + (-20 + @{Scrutiny1} + @{Scrutiny2} + @{Scrutiny3} + @{Scrutiny4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="scrutiny-u">Scrutiny</span>
</button>
</div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_ScrutinyCharacteristic">
<option value="@{Perception}" data-i18n="per-u">(Per)</option>
<option value="@{Fellowship}" data-i18n="fel-u">(Fel)</option>
</select>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Scrutiny1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Scrutiny2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Scrutiny3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Scrutiny4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:55%">
<button name="roll_Security" type="roll"
value="&{template:darkheresy2} {{name= Security}} {{dhdescription=@{character_name} rolls Security [[1d100]] Target [[@{SecurityCharacteristic} + (-20 + @{Security1} + @{Security2} + @{Security3} + @{Security4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="security-u">Security</span>
</button>
</div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_SecurityCharacteristic">
<option value="@{Intelligence}" data-i18n="int-u">(Int)</option>
<option value="@{Agility}" data-i18n="ag-u">(Ag)</option>
</select>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Security1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Security2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Security3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Security4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:55%">
<button name="roll_SleightOfHand" type="roll"
value="&{template:darkheresy2} {{name= Sleight of Hand}} {{dhdescription=@{character_name} rolls Sleight of Hand [[1d100]] Target [[@{SleightOfHandCharacteristic} + (-20 + @{SleightOfHand1} + @{SleightOfHand2} + @{SleightOfHand3} + @{SleightOfHand4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="sleight-of-hand-u">Sleight Of Hand</span>
</button>
</div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_SleightOfHandCharacteristic">
<option value="@{Agility}" data-i18n="ag-u">(Ag)</option>
<option value="@{Intelligence}" data-i18n="int-u">(Int)</option>
</select>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_SleightOfHand1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_SleightOfHand2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_SleightOfHand3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_SleightOfHand4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:55%">
<button name="roll_Stealth" type="roll" value="&{template:darkheresy2} {{name= Stealth}} {{dhdescription=@{character_name} rolls Stealth [[1d100]] Target [[@{StealthCharacteristic} + (-20 + @{Stealth1} + @{Stealth2} + @{Stealth3} + @{Stealth4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="stealth-u">Stealth</span>
</button>
</div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_StealthCharacteristic">
<option value="@{Agility}" data-i18n="ag-u">(Ag)</option>
<option value="@{Perception}" data-i18n="per-u">(Per)</option>
</select>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Stealth1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Stealth2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Stealth3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Stealth4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:55%">
<button name="roll_Survival" type="roll"
value="&{template:darkheresy2} {{name= Survival}} {{dhdescription=@{character_name} rolls Survival [[1d100]] Target [[@{SurvivalCharacteristic} + (-20 + @{Survival1} + @{Survival2} + @{Survival3} + @{Survival4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="survival-u">Survival</span>
</button>
</div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_SurvivalCharacteristic">
<option value="@{Perception}" data-i18n="per-u">(Per)</option>
<option value="@{Agility}" data-i18n="ag-u">(Ag)</option>
<option value="@{Intelligence}" data-i18n="int-u">(Int)</option>
</select>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_Survival1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_Survival2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Survival3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_Survival4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn2" style="width:55%">
<button name="roll_TechUse" type="roll"
value="&{template:darkheresy2} {{name= Tech-Use}} {{dhdescription=@{character_name} rolls Tech-Use [[1d100]] Target [[@{TechUseCharacteristic} + (-20 + @{TechUse1} + @{TechUse2} + @{TechUse3} + @{TechUse4}) + ?{Target Modifier|0}]].}}">
<span data-i18n="tech-use-u">Tech-Use</span>
</button>
</div>
<div class="sheet-item" style="width:45%">
<select class="charaselect" name="attr_TechUseCharacteristic">
<option value="@{Intelligence}" data-i18n="int-u">(Int)</option>
<option value="@{Agility}" data-i18n="ag-u">(Ag)</option>
</select>
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_TechUse1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_TechUse2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_TechUse3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_TechUse4" type="checkbox" value="10"></td>
</tr>
</table>
</div>
<div class="sheet-col sheet-skills">
<table>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-span2" style="width:60%"><span data-i18n="linguistics-u">Linguistics</span></div>
<div class="sheet-item" style="width:40%">
<select class="charaselect" name="attr_LinguisticsCharacteristic">
<option value="@{Intelligence}" data-i18n="int-u">(Int)</option>
<option value="@{Fellowship}" data-i18n="fel-u">(Fel)</option>
</select>
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_1stLanguage" type="roll"
value="&{template:darkheresy2} {{name= Linguistics:@{1stLanguage}}} {{dhdescription=@{character_name} rolls Linguistics:@{1stLanguage} [[1d100]] Target [[@{LinguisticsCharacteristic} + (-20 + @{1stLanguage1} + @{1stLanguage2} + @{1stLanguage3} + @{1stLanguage4}) + ?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_1stLanguage" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_1stLanguage1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_1stLanguage2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_1stLanguage3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_1stLanguage4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_2ndLanguage" type="roll"
value="&{template:darkheresy2} {{name= Linguistics:@{2ndLanguage}}} {{dhdescription=@{character_name} rolls Linguistics:@{2ndLanguage} [[1d100]] Target [[@{LinguisticsCharacteristic} + (-20 + @{2ndLanguage1} + @{2ndLanguage2} + @{2ndLanguage3} + @{2ndLanguage4}) + ?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_2ndLanguage" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_2ndLanguage1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_2ndLanguage2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_2ndLanguage3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_2ndLanguage4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_3rdLanguage" type="roll"
value="&{template:darkheresy2} {{name= Linguistics:@{3rdLanguage}}} {{dhdescription=@{character_name} rolls Linguistics:@{3rdLanguage} [[1d100]] Target [[@{LinguisticsCharacteristic} + (-20 + @{3rdLanguage1} + @{3rdLanguage2} + @{3rdLanguage3} + @{3rdLanguage4}) + ?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_3rdLanguage" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_3rdLanguage1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_3rdLanguage2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_3rdLanguage3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_3rdLanguage4" type="checkbox" value="10"></td>
</tr>
<!-- ====================== Trade ====================== -->
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-span2" style="width:60%"><span data-i18n="trade-u">Trade</span></div>
<div class="sheet-item" style="width:40%">
<select class="charaselect" name="attr_TradeCharacteristic">
<option value="@{Intelligence}" data-i18n="int-u">(Int)</option>
<option value="@{Agility}" data-i18n="ag-u">(Ag)</option>
<option value="@{Fellowship}" data-i18n="fel-u">(Fel)</option>
</select>
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_1stTrade" type="roll"
value="&{template:darkheresy2} {{name= Trade:@{1stTrade}}} {{dhdescription=@{character_name} rolls Trade:@{1stTrade} [[1d100]] Target [[@{TradeCharacteristic} + (-20 + @{1stTrade1} + @{1stTrade2} + @{1stTrade3} + @{1stTrade4}) + ?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_1stTrade" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_1stTrade1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_1stTrade2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_1stTrade3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_1stTrade4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_2ndTrade" type="roll"
value="&{template:darkheresy2} {{name= Trade:@{2ndTrade}}} {{dhdescription=@{character_name} rolls Trade:@{2ndTrade} [[1d100]] Target [[@{TradeCharacteristic} + (-20 + @{2ndTrade1} + @{2ndTrade2} + @{2ndTrade3} + @{2ndTrade4}) + ?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_2ndTrade" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_2ndTrade1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_2ndTrade2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_2ndTrade3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_2ndTrade4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_3rdTrade" type="roll"
value="&{template:darkheresy2} {{name= Trade:@{3rdTrade}}} {{dhdescription=@{character_name} rolls Trade:@{3rdTrade} [[1d100]] Target [[@{TradeCharacteristic} + (-20 + @{3rdTrade1} + @{3rdTrade2} + @{3rdTrade3} + @{3rdTrade4}) + ?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_3rdTrade" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_3rdTrade1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_3rdTrade2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_3rdTrade3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_3rdTrade4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_4thTrade" type="roll"
value="&{template:darkheresy2} {{name= Trade:@{4thTrade}}} {{dhdescription=@{character_name} rolls Trade:@{4thTrade} [[1d100]] Target [[@{TradeCharacteristic} + (-20 + @{4thTrade1} + @{4thTrade2} + @{4thTrade3} + @{4thTrade4}) + ?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_4thTrade" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_4thTrade1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_4thTrade2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_4thTrade3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_4thTrade4" type="checkbox" value="10"></td>
</tr>
<!-- ====================== Lore ====================== -->
<tr><td class="sheet-span2"><span data-i18n="lore-u">Lore</span></td></tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-span2" style="width:60%"><span data-i18n="common-u">Common</span></div>
<div class="sheet-item" style="width:40%">
<select class="charaselect" name="attr_CommonLoreCharacteristic">
<option value="@{Intelligence}" data-i18n="int-u">(Int)</option>
<option value="@{Fellowship}" data-i18n="fel-u">(Fel)</option>
</select>
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_1stCommon" type="roll"
value="&{template:darkheresy2} {{name= Common Lore:@{1stCommon}}} {{dhdescription=@{character_name} rolls Common Lore:@{1stCommon} [[1d100]] Target [[@{CommonLoreCharacteristic} + (-20 + @{1stCommon1} + @{1stCommon2} + @{1stCommon3} + @{1stCommon4}) + ?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_1stCommon" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_1stCommon1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_1stCommon2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_1stCommon3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_1stCommon4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_2ndCommon" type="roll"
value="&{template:darkheresy2} {{name= Common Lore:@{2ndCommon}}} {{dhdescription=@{character_name} rolls Common Lore:@{2ndCommon} [[1d100]] Target [[@{CommonLoreCharacteristic} + (-20 + @{2ndCommon1} + @{2ndCommon2} + @{2ndCommon3} + @{2ndCommon4}) + ?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_2ndCommon" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_2ndCommon1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_2ndCommon2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_2ndCommon3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_2ndCommon4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_3rdCommon" type="roll"
value="&{template:darkheresy2} {{name= Common Lore:@{3rdCommon}}} {{dhdescription=@{character_name} rolls Common Lore:@{3rdCommon} [[1d100]] Target [[@{CommonLoreCharacteristic} + (-20 + @{3rdCommon1} + @{3rdCommon2} + @{3rdCommon3} + @{3rdCommon4}) + ?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_3rdCommon" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_3rdCommon1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_3rdCommon2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_3rdCommon3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_3rdCommon4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_4thCommon" type="roll"
value="&{template:darkheresy2} {{name= Common Lore:@{4thCommon}}} {{dhdescription=@{character_name} rolls Common Lore:@{4thCommon} [[1d100]] Target [[@{CommonLoreCharacteristic} + (-20 + @{4thCommon1} + @{4thCommon2} + @{4thCommon3} + @{4thCommon4}) + ?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_4thCommon" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_4thCommon1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_4thCommon2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_4thCommon3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_4thCommon4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-span2" style="width:60%"><span data-i18n="scholastic-u">Scholastic</span></div>
<div class="sheet-item" style="width:40%">
<select class="charaselect" name="attr_ScholasticLoreCharacteristic">
<option value="@{Intelligence}" data-i18n="int-u">(Int)</option>
<option value="@{Fellowship}" data-i18n="fel-u">(Fel)</option>
</select>
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_1stScholastic" type="roll"
value="&{template:darkheresy2} {{name= Scholastic Lore:@{1stScholastic}}} {{dhdescription=@{character_name} rolls Scholastic Lore:@{1stScholastic} [[1d100]] Target [[@{ScholasticLoreCharacteristic} + (-20 + @{1stScholastic1} + @{1stScholastic2} + @{1stScholastic3} + @{1stScholastic4}) + ?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_1stScholastic" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_1stScholastic1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_1stScholastic2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_1stScholastic3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_1stScholastic4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_2ndScholastic" type="roll"
value="&{template:darkheresy2} {{name= Scholastic Lore:@{2ndScholastic}}} {{dhdescription=@{character_name} rolls Scholastic Lore:@{2ndScholastic} [[1d100]] Target [[@{ScholasticLoreCharacteristic} + (-20 + @{2ndScholastic1} + @{2ndScholastic2} + @{2ndScholastic3} + @{2ndScholastic4}) + ?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_2ndScholastic" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_2ndScholastic1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_2ndScholastic2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_2ndScholastic3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_2ndScholastic4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_3rdScholastic" type="roll"
value="&{template:darkheresy2} {{name= Scholastic Lore:@{3rdScholastic}}} {{dhdescription=@{character_name} rolls Scholastic Lore:@{3rdScholastic} [[1d100]] Target [[@{ScholasticLoreCharacteristic} + (-20 + @{3rdScholastic1} + @{3rdScholastic2} + @{3rdScholastic3} + @{3rdScholastic4}) + ?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_3rdScholastic" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_3rdScholastic1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_3rdScholastic2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_3rdScholastic3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_3rdScholastic4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_4thScholastic" type="roll"
value="&{template:darkheresy2} {{name= Scholastic Lore:@{4thScholastic}}} {{dhdescription=@{character_name} rolls Scholastic Lore:@{4thScholastic} [[1d100]] Target [[@{ScholasticLoreCharacteristic} + (-20 + @{4thScholastic1} + @{4thScholastic2} + @{4thScholastic3} + @{4thScholastic4}) + ?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_4thScholastic" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_4thScholastic1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_4thScholastic2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_4thScholastic3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_4thScholastic4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_5thScholastic" type="roll"
value="&{template:darkheresy2} {{name= Scholastic Lore:@{5thScholastic}}} {{dhdescription=@{character_name} rolls Scholastic Lore:@{5thScholastic} [[1d100]] Target [[@{ScholasticLoreCharacteristic} + (-20 + @{5thScholastic1} + @{5thScholastic2} + @{5thScholastic3} + @{5thScholastic4}) + ?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_5thScholastic" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_5thScholastic1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_5thScholastic2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_5thScholastic3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_5thScholastic4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_6thScholastic" type="roll"
value="&{template:darkheresy2} {{name= Scholastic Lore:@{6thScholastic}}} {{dhdescription=@{character_name} rolls Scholastic Lore:@{6thScholastic} [[1d100]] Target [[@{ScholasticLoreCharacteristic} + (-20 + @{6thScholastic1} + @{6thScholastic2} + @{6thScholastic3} + @{6thScholastic4}) + ?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_6thScholastic" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_6thScholastic1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_6thScholastic2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_6thScholastic3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_6thScholastic4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-span2" style="width:60%"><span data-i18n="forbidden-u">Forbidden</span></div>
<div class="sheet-item" style="width:40%">
<select class="charaselect" name="attr_ForbiddenLoreCharacteristic">
<option value="@{Intelligence}" data-i18n="int-u">(Int)</option>
<option value="@{Fellowship}" data-i18n="fel-u">(Fel)</option>
</select>
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_1stForbidden" type="roll"
value="&{template:darkheresy2} {{name= Forbidden Lore:@{1stForbidden}}} {{dhdescription=@{character_name} rolls Forbidden Lore:@{1stForbidden} [[1d100]] Target [[@{ForbiddenLoreCharacteristic} + (-20 + @{1stForbidden1} + @{1stForbidden2} + @{1stForbidden3} + @{1stForbidden4}) + ?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_1stForbidden" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_1stForbidden1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_1stForbidden2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_1stForbidden3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_1stForbidden4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_2ndForbidden" type="roll"
value="&{template:darkheresy2} {{name= Forbidden Lore:@{2ndForbidden}}} {{dhdescription=@{character_name} rolls Forbidden Lore:@{2ndForbidden} [[1d100]] Target [[@{ForbiddenLoreCharacteristic} + (-20 + @{2ndForbidden1} + @{2ndForbidden2} + @{2ndForbidden3} + @{2ndForbidden4}) +?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_2ndForbidden" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_2ndForbidden1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_2ndForbidden2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_2ndForbidden3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_2ndForbidden4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_3rdForbidden" type="roll"
value="&{template:darkheresy2} {{name= Forbidden Lore:@{3rdForbidden}}} {{dhdescription=@{character_name} rolls Forbidden Lore:@{3rdForbidden} [[1d100]] Target [[@{ForbiddenLoreCharacteristic} + (-20 + @{3rdForbidden1} + @{3rdForbidden2} + @{3rdForbidden3} + @{3rdForbidden4}) +?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_3rdForbidden" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_3rdForbidden1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_3rdForbidden2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_3rdForbidden3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_3rdForbidden4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_4thForbidden" type="roll"
value="&{template:darkheresy2} {{name= Forbidden Lore:@{4thForbidden}}} {{dhdescription=@{character_name} rolls Forbidden Lore:@{4thForbidden} [[1d100]] Target [[@{ForbiddenLoreCharacteristic} + (-20 + @{4thForbidden1} + @{4thForbidden2} + @{4thForbidden3} + @{4thForbidden4}) +?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_4thForbidden" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_4thForbidden1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_4thForbidden2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_4thForbidden3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_4thForbidden4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_5thForbidden" type="roll"
value="&{template:darkheresy2} {{name= Forbidden Lore:@{5thForbidden}}} {{dhdescription=@{character_name} rolls Forbidden Lore:@{5thForbidden} [[1d100]] Target [[@{ForbiddenLoreCharacteristic} + (-20 + @{5thForbidden1} + @{5thForbidden2} + @{5thForbidden3} + @{5thForbidden4}) +?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_5thForbidden" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_5thForbidden1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_5thForbidden2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_5thForbidden3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_5thForbidden4" type="checkbox" value="10"></td>
</tr>
<tr>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-Impskull" style="width:20%">
<button name="roll_6thForbidden" type="roll"
value="&{template:darkheresy2} {{name= Forbidden Lore:@{6thForbidden}}} {{dhdescription=@{character_name} rolls Forbidden Lore:@{6thForbidden} [[1d100]] Target [[@{ForbiddenLoreCharacteristic} + (-20 + @{6thForbidden1} + @{6thForbidden2} + @{6thForbidden3} + @{6thForbidden4}) +?{Target Modifier|0}]].}}">
</button>
</div>
<div class="sheet-item" style="width:80%">
<input name="attr_6thForbidden" type="text">
</div>
</div>
</td>
<td class="sheet-grayborders"><input name="attr_6thForbidden1" type="checkbox" value="20"></td>
<td class="sheet-grayborders"><input name="attr_6thForbidden2" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_6thForbidden3" type="checkbox" value="10"></td>
<td class="sheet-grayborders"><input name="attr_6thForbidden4" type="checkbox" value="10"></td>
</tr>
</table>
</div>
</div>
<!-- ====================== Variable skill for house rule or overflow of existing Trade or Lore skills ====================== -->
<h3 data-i18n="other-skills-u">Other Skills</h3>
<fieldset class="repeating_advancedskills">
<table style="width:100%;">
<tr>
<td class="roll_advancedskill sheet-Impskull">
<button name="roll_advancedskill" type="roll" value="&{template:darkheresy2} {{name= @{advancedskillname}}} {{dhdescription=@{character_name} rolls @{advancedskillname} [[1d100]] Target [[@{advancedskill}+?{Modifier|0}]].}}">
<input disabled="true" name="attr_advancedskill" type="number" step="0.01" value=" -20 +(@{advancedskillbox1})+@{advancedskillcharacteristic}+@{advancedskillbox2}+@{advancedskillbox3} +@{advancedskillbox4}">
</button>
</td>
<td>
<div class="sheet-row">
<div class="sheet-item sheet-bigger" style="margin-left: 5px;">
<input class="sheet-baseinfo" name="attr_advancedskillname" type="text">
</div>
<div class="sheet-item sheet-med" style="margin:0;">
<select class="charaselect" name="attr_advancedskillcharacteristic">
<option value="@{WeaponSkill}" data-i18n="weapon-skill-u">(WS)</option>
<option value="@{BallisticSkill}" data-i18n="ballistic-skill-u">(BS)</option>
<option value="@{Strength}" data-i18n="strength-u">(S)</option>
<option value="@{Toughness}" data-i18n="toughness-u">(T)</option>
<option value="@{Agility}" data-i18n="agility-u">(Ag)</option>
<option value="@{Intelligence}" data-i18n="intelligence-u">(Int)</option>
<option value="@{Perception}" data-i18n="perception-u">(Per)</option>
<option value="@{Willpower}" data-i18n="willpower-u">(Wp)</option>
<option value="@{Fellowship}" data-i18n="fellowship-u">(Fel)</option>
<option value="@{Infamy}" data-i18n="infamy-u">(Inf)</option>
<option value="@{Corruption}" data-i18n="corruption-u">(Cor)</option>
<option value="@{Insanity}" data-i18n="insanity-u">(Ins)</option>
</select>
</div>
</div>
</td>
<td class="sheet-tdother sheet-grayborders"><input name="attr_advancedskillbox1" type="checkbox" value="20"></td>
<td class="sheet-tdother sheet-grayborders"><input name="attr_advancedskillbox2" type="checkbox" value="10"></td>
<td class="sheet-tdother sheet-grayborders"><input name="attr_advancedskillbox3" type="checkbox" value="10"></td>
<td class="sheet-tdother sheet-grayborders"><input name="attr_advancedskillbox4" type="checkbox" value="10"></td>
</tr>
</table>
</fieldset>
<br>
<!-- Talents Section -->
<img src="http://i.imgur.com/TKfHnQ9.png"><!-- Divider -->
<h3 data-i18n="talents-u">Talents</h3>
<div class="sheet-row">
<div class="sheet-item" style="width:90%">
<input name="attr_Talent" type="text" value="Heightened Senses (Sight and Hearing)">
</div>
<div class="sheet-item" style="width:10%">
<input name="attr_TalentPage" type="text" data-i18n-placeholder="page-number-#-u" placeholder="pg#" style="text-align: center;">
</div>
</div>
<fieldset class="repeating_Talents">
<div class="sheet-item" style="width:90%">
<input name="attr_Talents" type="text">
</div>
<div class="sheet-item" style="width:10%">
<input name="attr_TalentsPage" type="text" data-i18n-placeholder="page-number-#-u" placeholder="pg#" style="text-align: center;">
</div>
</fieldset>
<br>
<!-- Traits Section -->
<img src="http://i.imgur.com/TKfHnQ9.png"><!-- Divider -->
<h3 data-i18n="traits-u">Traits</h3>
<div class="sheet-item" style="width:90%">
<input name="attr_Ability" type="text" value="Unnatural Strength and Toughness (+4)">
</div>
<div class="sheet-item" style="width:10%">
<input name="attr_TraitsPage" type="text" data-i18n-placeholder="page-number-#-u" placeholder="pg#" style="text-align: center;">
</div>
<fieldset class="repeating_Abilities">
<div class="sheet-item" style="width:90%">
<input name="attr_Abilities" type="text" >
</div>
<div class="sheet-item" style="width:10%">
<input name="attr_TraitsPages" type="text" data-i18n-placeholder="page-number-#-u" placeholder="pg#" style="text-align: center;">
</div>
</fieldset>
</div>
</div>
</div>
</div>
<div class="sheet-section-advancements sheet-watermark"><!-- Advancements Tab -->
<div class="sheet-wrapper">
<h3>Alignment</h3>
<div class="sheet-2colrow">
<div class="sheet-col">
<div class="sheet-row">
<div class="sheet-item" style="width:50%"><h3 data-i18n="khorne-u" style="text-align:right">Khorne: </h3></div>
<div class="sheet-item sheet-brackets" style="width:20%"><input name="attr_Khorne_ali" type="text" style="font-size: 14pt; height: 35px;text-align:center"></div>
</div>
</div>
<div class="sheet-col">
<div class="sheet-row">
<div class="sheet-item" style="width:50%"><h3 data-i18n="slaanesh-u" style="text-align:right">Slaanesh: </h3></div>
<div class="sheet-item sheet-brackets" style="width:20%"><input name="attr_Slaanesh_ali" type="text" style="font-size: 14pt; height: 35px;text-align:center"></div>
</div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:50%"><h3 data-i18n="unaligned-u" style="text-align:right">Unaligned: </h3></div>
<div class="sheet-item sheet-brackets" style="width:10%"><input name="attr_Unaligned_ali" type="text" style="font-size: 14pt; height: 35px;text-align:center"></div>
</div>
<div class="sheet-2colrow">
<div class="sheet-col">
<div class="sheet-row">
<div class="sheet-item" style="width:50%"><h3 data-i18n="nurgle-u" style="text-align:right">Nurgle: </h3></div>
<div class="sheet-item sheet-brackets" style="width:20%"><input name="attr_Nurgle_ali" type="text" style="font-size: 14pt; height: 35px;text-align:center"></div>
</div>
</div>
<div class="sheet-col">
<div class="sheet-row">
<div class="sheet-item" style="width:50%"><h3 data-i18n="tzeentch-u" style="text-align:right">Tzeentch: </h3></div>
<div class="sheet-item sheet-brackets" style="width:20%"><input name="attr_Tzeentch_ali" type="text" style="font-size: 14pt; height: 35px;text-align:center"></div>
</div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:100%"><h3 data-i18n="current-alignment-u" style="text-align:center">Current Alignment: </h3></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:100%;text-align:center"><input name="attr_Alignment" type="text" style="width:10%;text-align:center"></div>
</div>
<br></br>
<img src="http://i.imgur.com/TKfHnQ9.png"><!-- Divider -->
<div class="sheet-2colrow">
<div class="sheet-fate"> <!-- Experience Totals -->
<br>
<h3 data-i18n="experience-u">Experience</h3>
<div class="sheet-row">
<div class="sheet-item" style="width:12%">
<span data-i18n="xp-to-spend-u">XP to Spend:</span>
</div>
<div class="sheet-item" style="width:22%">
<input disabled="true" name="attr_XPtoSpend" type="number" step="0.01" value="@{XPTotal} - @{XPSpent}">
</div>
<div class="sheet-item" style="width:1%"></div>
<div class="sheet-item" style="width:15%">
<span data-i18n="total-spent-u">Total XP Spent:</span>
</div>
<div class="sheet-item" style="width:19%">
<input name="attr_XPSpent" type="number" step="0.01" value="0">
</div>
<div class="sheet-item" style="width:1%"></div>
<div class="sheet-item" style="width:8%">
<span data-i18n="total-xp-u">Total XP:</span>
</div>
<div class="sheet-item" style="width:17%">
<input name="attr_XPTotal" type="number" step="0.01">
</div>
</div>
</div>
</div>
<!-- Experience tracker to keep record of all experience purchases -->
<span data-i18n="advancements-taken-u">Advancements Taken:</span>
<div class="sheet-row">
<span data-i18n="advancement-u" style="width:26%;text-align:center">Advancement</span>
<span data-i18n="cost-u" style="width:8%;text-align:center">Cost</span>
<span data-i18n="alignment-u" style="width:10%;text-align:center">Alignment</span>
<span style="width:4%;"></span>
<span data-i18n="advancement-u" style="width:26%;text-align:center">Advancement</span>
<span data-i18n="cost-u" style="width:8%;text-align:center">Cost</span>
<span data-i18n="alignment-u" style="width:10%;text-align:center">Alignment</span>
</div>
<fieldset class="repeating_advancements">
<div class="sheet-row">
<div class="sheet-item" style="width:27%;">
<input name="attr_advancementRe1" type="text">
</div>
<div class="sheet-item sheet-puny sheet-center sheet-brackets sheet-armourblock">
<input name="attr_advancementRe1xp" type="number" step="0.01" value="0">
</div>
<div class="sheet-item" style="width:13%;">
<input name="attr_AlignmentRe1" type="text" style="text-align: center;">
</div>
<span style="width:3%;"></span>
<div class="sheet-item" style="width:27%;">
<input name="attr_advancementRe2" type="text">
</div>
<div class="sheet-item sheet-puny sheet-center sheet-brackets sheet-armourblock">
<input name="attr_advancementRe2xp" type="number" step="0.01" value="0">
</div>
<div class="sheet-item" style="width:13%;">
<input name="attr_AlignmentRe2" type="text" style="text-align: center;">
</div>
</div>
</fieldset>
<br></br>
<img src="http://i.imgur.com/TKfHnQ9.png"><!-- Divider -->
<div class="sheet-2colrow">
<!-- Left Column (Insanity and Corruption) -->
<div class="sheet-col sheet-fate">
<div class="sheet-quickborder">
<h3 data-i18n="insanity-u">Insanity (Is)</h3>
<div class="sheet-row" >
<div class="sheet-item" style="width:40%"></div>
<div class="sheet-item" style="width:20%">
<input name="attr_Insanity" type="number" step="0.01" value="100" style="text-align: center;">
</div>
</div>
<div class="sheet-row">
<span data-i18n="mental-disorders-u" style="text-align:center;">Mental Disorders</span>
</div>
<textarea name="attr_1stDisorder"></textarea>
<fieldset class="repeating_Disorders">
<textarea name="attr_DisorderRe"></textarea>
</fieldset>
</div>
</div>
<!-- Right Column (Corruption) -->
<div class="sheet-col sheet-fate">
<div class="sheet-quickborder">
<h3 data-i18n="corruption-u">Corruption (C)</h3>
<div class="sheet-row">
<div class="sheet-item" style="width:40%"></div>
<div class="sheet-item" style="width:20%">
<input name="attr_Corruption" type="number" step="0.01" data-i18n-placeholder="zero-u" placeholder="0" style="text-align: center;">
</div>
</div>
<div class="sheet-row">
<span data-i18n="gifts-of-the-gods-u" style="text-align:center;">Gifts of the Gods</span>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:100%">
<input name="attr_1stMutation" type="text">
</div>
</div>
<fieldset class="repeating_Gifts">
<div class="sheet-row">
<div class="sheet-item" style="width:100%;">
<input name="attr_MutationRe" type="text">
</div>
</div>
</fieldset>
<div class="sheet-row">
<!--Right Column (Mutations) -->
<span data-i18n="rewards-of-the-dark-gods-u" style="text-align:center;">Rewards of the Dark Gods</span>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:100%">
<input name="attr_1stReward" type="text">
</div>
</div>
<fieldset class="repeating_Rewards">
<div class="sheet-row">
<div class="sheet-item" style="width:100%;">
<input name="attr_RewardRe" type="text">
</div>
</div>
</fieldset>
</div>
</div>
</div>
</div>
</div>
<div class="sheet-section-npcsandminions "><!-- Npcs and Minions Tab -->
<div class="sheet-wrapper">
<fieldset class="repeating_NPC sheet-watermark">
<input type="checkbox" class="arrow" /> <!-- This is the selector that enables hiding a grouped area -->
<div class="hbody"><!-- This is the start of the hidden div -->
<!-- NPC Narrative lines -->
<div class="sheet-quickborder sheet-watermark">
<div class="sheet-row">
<div class="sheet-item" style="width:10%"><span data-i18n="name-u">Name:</span></div>
<div class="sheet-item" style="width:30%"><input name="attr_NPCName" type="text"></div>
<div class="sheet-item" style="width:10%"><span data-i18n="type-u">Type:</span></div>
<div class="sheet-item" style="width:50%"><input name="attr_NPCType" type="text"></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:10%"><span data-i18n="homeworld-u">Homeworld</span></div>
<div class="sheet-item" style="width:30%"><input name="attr_NPChomeworld" type="text"></div>
<div class="sheet-item" style="width:10%"><span data-i18n="background-u">Background:</span></div>
<div class="sheet-item" style="width:50%"><input name="attr_NPCbackground" type="text"></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:10%"><span data-i18n="appearance-u">Appearance:</span></div>
<div class="sheet-item" style="width:30%"><input name="attr_NPCApperance" type="text"></div>
<div class="sheet-item" style="width:10%"><span data-i18n="personality-u">Personality:</span></div>
<div class="sheet-item" style="width:50%"><input name="attr_NPCPersonality" type="text"></div>
</div>
<img src="http://i.imgur.com/TKfHnQ9.png"><!-- Divider -->
<div class="sheet-2colrow">
<div class="sheet-col"><!--Left Column for individual NPC Profile-->
<br>
<!-- Characteristics bar for NPCS -->
<h3 data-i18n="characteristics-u">Characteristics</h3>
<div class="sheet-row">
<div class="sheet-item sheet-redbgns" style="width: 8%;">
<button name="roll_NPCWSR" type="roll" value="&{template:darkheresy2} {{name= @{NPCName}'s Weapon Skill}} {{dhdescription=@{NPCName} rolls Weapon Skill: [[1d100]] Target: [[@{NPCWS}+ ?{Modifier|0}]].}}"><span data-i18n="weaponskill-u">WS</span></button>
</div>
<div class="sheet-item" style="width: 12%;"><input name="attr_NPCWS" type="number" step="0.01" value="0" style="text-align: center;"/></div>
<div class="sheet-item sheet-redbgns" style="width: 8%;">
<button name="roll_NPCBSR" type="roll" value="&{template:darkheresy2} {{name= @{NPCName}'s Ballistic Skill}} {{dhdescription=@{NPCName} rolls Ballistic Skill: [[1d100]] Target: [[@{NPCBS}+ ?{Modifier|0}]].}}"><span data-i18n="ballistic-skill-u">BS</span></button>
</div>
<div class="sheet-item" style="width: 12%;"><input name="attr_NPCBS" type="number" step="0.01" value="0" style="text-align: center;"/></div>
<div class="sheet-item sheet-redbgns" style="width: 8%;">
<button name="roll_NPCSR" type="roll" value="&{template:darkheresy2} {{name= @{NPCName}'s Strength}} {{dhdescription=@{NPCName} rolls Strength: [[1d100]] Target: [[@{NPCS}+ ?{Modifier|0}]].}}"><span data-i18n="strength-u">S</span></button>
</div>
<div class="sheet-item" style="width: 12%;"><input name="attr_NPCS" type="number" step="0.01" value="0" style="text-align: center;"/></div>
<div class="sheet-item sheet-redbgns" style="width: 8%;">
<button name="roll_NPCTR" type="roll" value="&{template:darkheresy2} {{name= @{NPCName}'s Toughness}} {{dhdescription=@{NPCName} rolls Toughness: [[1d100]] Target: [[@{NPCT}+ ?{Modifier|0}]].}}"><span data-i18n="toughness-u">T</span></button>
</div>
<div class="sheet-item" style="width: 12%;"><input name="attr_NPCT" type="number" step="0.01" value="0" style="text-align: center;"/></div>
<div class="sheet-item sheet-redbgns" style="width: 8%;">
<button name="roll_NPCAcR" type="roll" value="&{template:darkheresy2} {{name= @{NPCName}'s Agility}} {{dhdescription=@{NPCName} rolls Agility: [[1d100]] Target: [[@{NPCAc}+ ?{Modifier|0}]].}}"><span data-i18n="agility-u">Ag</span></button>
</div>
<div class="sheet-item" style="width: 12%;"><input name="attr_NPCAc" type="number" step="0.01" value="0" style="text-align: center;"/></div>
</div>
<div class="sheet-row">
<div class="sheet-item sheet-redbgns" style="width: 8%;">
<button name="roll_NPCIntR" type="roll" value="&{template:darkheresy2} {{name= @{NPCName}'s Intelligence}} {{dhdescription=@{NPCName} rolls Intelligence: [[1d100]] Target: [[@{NPCInt}+ ?{Modifier|0}]].}}"><span data-i18n="intelligence-u">Int</span></button>
</div>
<div class="sheet-item" style="width: 12%;"><input name="attr_NPCInt" type="number" step="0.01" value="0" style="text-align: center;"/></div>
<div class="sheet-item sheet-redbgns" style="width: 8%;">
<button name="roll_NPCPerR" type="roll" value="&{template:darkheresy2} {{name= @{NPCName}'s Perception}} {{dhdescription=@{NPCName} rolls Perception: [[1d100]] Target: [[@{NPCPer}+ ?{Modifier|0}]].}}"><span data-i18n="perception-u">Per</span></button>
</div>
<div class="sheet-item" style="width: 12%;"><input name="attr_NPCPer" type="number" step="0.01" value="0" style="text-align: center;"/></div>
<div class="sheet-item sheet-redbgns" style="width: 8%;">
<button name="roll_NPCWPR" type="roll" value="&{template:darkheresy2} {{name= @{NPCName}'s Willpower}} {{dhdescription=@{NPCName} rolls Willpower: [[1d100]] Target: [[@{NPCWP}+ ?{Modifier|0}]].}}"><span data-i18n="willpower-u">WP</span></button>
</div>
<div class="sheet-item" style="width: 12%;"><input name="attr_NPCWP" type="number" step="0.01" value="0" style="text-align: center;"/></div>
<div class="sheet-item sheet-redbgns" style="width: 8%;">
<button name="roll_NPCFelR" type="roll" value="&{template:darkheresy2} {{name= @{NPCName}'s Fellowship}} {{dhdescription=@{NPCName} rolls Fellowship: [[1d100]] Target: [[@{NPCFel}+ ?{Modifier|0}]].}}"><span data-i18n="fellowship-u">Fel</span></button>
</div>
<div class="sheet-item" style="width: 12%;"><input name="attr_NPCFel" type="number" step="0.01" value="0" style="text-align: center;"/></div>
<div class="sheet-item sheet-redbgns" style="width: 8%;">
<button name="roll_NPCPerR" type="roll" value="&{template:darkheresy2} {{name= @{NPCName}'s Infamy}} {{dhdescription=@{NPCName} rolls Infamy: [[1d100]] Target: [[@{NPCInf}+ ?{Modifier|0}]].}}"><span data-i18n="infamy-u">Inf</span></button>
</div>
<div class="sheet-item" style="width: 12%;"><input name="attr_NPCInf" type="number" step="0.01" value="0" style="text-align: center;"/></div>
</div>
<br>
<!-- Unnatural Characteristics Row for NPCS-->
<h3 data-i18n="unnatural-characteristics-u">Unnatural Characteristics</h3>
<div class="sheet-row">
<div class="sheet-item" style="width: 5%;"><span data-i18n="weapon-skill-u">WS</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPCUnWS" type="number" step="0.01" value="0" style="text-align: center;"/></div>
<div class="sheet-item" style="width: 5%;"><span data-i18n="ballistic-skill-u">BS</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPCUnBS" type="number" step="0.01" value="0" style="text-align: center;"/></div>
<div class="sheet-item" style="width: 5%;"><span data-i18n="strength-u">S</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPCUnS" type="number" step="0.01" value="0" style="text-align: center;"/></div>
<div class="sheet-item" style="width: 5%;"><span data-i18n="toughness-u">T</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPCUnT" type="number" step="0.01" value="0" style="text-align: center;"/></div>
<div class="sheet-item" style="width: 5%;"><span data-i18n="agility-u">Ag</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPCUnAg" type="number" step="0.01" value="0" style="text-align: center;"/></div>
<div class="sheet-item" style="width: 5%;"><span data-i18n="intelligence-u">Int</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPCUnInt" type="number" step="0.01" value="0" style="text-align: center;" /></div>
<div class="sheet-item" style="width: 5%;"><span data-i18n="perception-u">Per</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPCUnPer" type="number" step="0.01" value="0" style="text-align: center;"/></div>
<div class="sheet-item" style="width: 5%;"><span data-i18n="willpower-u">WP</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPCUnWP" type="number" step="0.01" value="0" style="text-align: center;"/></div>
<div class="sheet-item" style="width: 5%;"><span data-i18n="fellowship-u">Fel</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPCUnFel" type="number" step="0.01" value="0" style="text-align: center;"/></div>
</div>
<br>
<!-- Movement Section for NPCS-->
<h3 data-i18n="movement-u">Movement</h3>
<div class="sheet-row">
<div class="sheet-item" style="width: 20%;"><span data-i18n="half-move-u">Half Move: </span></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_NPCHalfMove" type="number" step="0.01" value="0" data-i18n-placeholder="armor-bonus-u" placeholder="AB" style="text-align: center;"/></div>
<div class="sheet-item" style="width: 20%;"><span data-i18n="full-move-u">Full Move: </span></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_NPCFullMove" type="number" step="0.01" value="0" data-i18n-placeholder="multiplied-by-2-u" placeholder="x2" style="text-align: center;"/></div>
<div class="sheet-item" style="width: 16%;"><span data-i18n="charge-u">Charge: </span></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_NPCChargeMove" type="number" step="0.01" value="0" data-i18n-placeholder="multiplied-by-3-u" placeholder="x3" style="text-align: center;"/></div>
<div class="sheet-item" style="width: 10%;"><span data-i18n="run-u">Run: </span></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_NPCRunMove" type="number" step="0.01" value="0" data-i18n-placeholder="multiplied-by-6-u" placeholder="x6" style="text-align: center;"/></div>
</div>
<!-- Fatigue Section for NPCS -->
<div class="sheet-2colrow">
<div class="sheet-col">
<h3 data-i18n="fatigue-u">Fatigue</h3>
<div class="sheet-row">
<div class="sheet-item" style="width: 40%;"><span data-i18n="threshold-u">Threshold:</span></div>
<div class="sheet-item" style="width: 12%;"><input name="attr_NPCFatigueThreshold" type="number" step="0.01" style="text-align: center;"value="floor(@{NPCWP}/10)+floor(@{NPCT}/10)+@{NPCUnT}+@{NPCUnWP}" disabled="disabled"/></div>
<div class="sheet-item" style="width: 32%;"><span data-i18n="current-u">Current: </span></div>
<div class="sheet-item" style="width: 12%;"><input name="attr_NPCFatigue" type="number" step="0.01" style="text-align: center;"/></div>
</div>
</div>
<!-- Size select field for NPCS -->
<div class="sheet-col">
<h3 data-i18n="size-u">Size</h3>
<div class="sheet-item" style="width: 95%;">
<select class="NPCsizeselect" name="attr_NPCSize">
<option value="0" data-i18n="average-(4)-u">Average (4)</option>
<option value="-3" data-i18n="miniscule-(1)-u">Miniscule (1)</option>
<option value="-2" data-i18n="puny-(2)-u">Puny (2)</option>
<option value="-1" data-i18n="weedy-(3)-u">Weedy (3)</option>
<option value="1" data-i18n="hulking-(5)-u">Hulking (5)</option>
<option value="2" data-i18n="enormous-(6)-u">Enormous (6)</option>
<option value="3" data-i18n="massive-(7)-u">Massive (7)</option>
<option value="4" data-i18n="immense-(8)-u">Immense (8)</option>
<option value="5" data-i18n="monumental-(9)-u">Monumental (9)</option>
<option value="6" data-i18n="titanic-(10)-u">Titanic (10)</option>
</select>
</div>
</div>
</div>
<br>
<!-- Armor and Defence for NPCS -->
<h3 data-i18n="armour-and-defence-u">Armour &amp; Defence</h3>
<div class="sheet-2colrow">
<div class="sheet-col sheet-sildh ">
<div class="sheet-armourblock">&nbsp;</div>
<div class="sheet-quickborder sheet-armourblock"><span data-i18n="head-u">Head</span> <input name="attr_NPCHArmour" type="number" step="0.01" value="0" data-i18n-placeholder="armor-value-u" placeholder="Ar"/> <span>(1-10)</span> <input name="attr_NPCHTotal" type="number" step="0.01" data-i18n-placeholder="soak-u" placeholder="Soak"/></div>
<br />
<div class="sheet-quickborder sheet-armourblock"><span data-i18n="arm-right-u">AR</span> <input name="attr_NPCArArmour" type="number" step="0.01" value="0" data-i18n-placeholder="armor-value-u" placeholder="Ar"/> <span>(11-20)</span> <input name="attr_NPCArTotal" type="number" step="0.01" data-i18n-placeholder="soak-u" placeholder="Soak"/></div>
<div class="sheet-quickborder sheet-armourblock"><span data-i18n="body-u">Body</span> <input name="attr_NPCBArmour" type="number" step="0.01" value="0" data-i18n-placeholder="armor-value-u" placeholder="Ar"/> <span>(31-70)</span> <input name="attr_NPCBTotal" type="number" step="0.01" data-i18n-placeholder="soak-u" placeholder="Soak"/></div>
<div class="sheet-quickborder sheet-armourblock"><span data-i18n="arm-left-u">AL</span> <input name="attr_NPCAlArmour" type="number" step="0.01" value="0" data-i18n-placeholder="armor-value-u" placeholder="Ar"/> <span>(21-30)</span> <input name="attr_NPCAlTotal" type="number" step="0.01" data-i18n-placeholder="soak-u" placeholder="Soak"/></div>
<div class="sheet-quickborder sheet-armourblock" style="margin: 20px auto auto 11%;"><span data-i18n="leg-right-u">LR</span> <input name="attr_NPCLrArmour" type="number" step="0.01" value="0" data-i18n-placeholder="armor-value-u" placeholder="Ar"/> <span>(71-85)</span> <input name="attr_NPCLrTotal" type="number" step="0.01" data-i18n-placeholder="soak-u" placeholder="Soak"/></div>
<div class="sheet-quickborder sheet-armourblock" style="margin: 20px auto auto 11%;"><span data-i18n="leg-left-u">LL</span> <input name="attr_NPCLlArmour" type="number" step="0.01" value="0" data-i18n-placeholder="armor-value-u" placeholder="Ar"/> <span>(86-00)</span> <input name="attr_NPCLlTotal" type="number" step="0.01" data-i18n-placeholder="soak-u" placeholder="Soak"/></div>
</div>
<!-- Wounds tracker for NPCS-->
<div class="sheet-col sheet-fate">
<h3 data-i18n="wounds-u">Wounds</h3>
<div class="sheet-row">
<div class="sheet-item" style="width:65%">
<span data-i18n="total-u">Total: </span>
</div>
<div class="sheet-item" style="width:20%">
<input name="attr_NPCWounds_max" type="number" step="0.01" style="text-align: center;">
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:65%">
<span data-i18n="current-u">Current: </span>
</div>
<div class="sheet-item" style="width:20%">
<input name="attr_NPCWounds" type="number" step="0.01" style="text-align: center;">
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:65%">
<span data-i18n="critical-damage-u">Critical Damage: </span>
</div>
<div class="sheet-item" style="width:20%">
<input name="attr_NPCCritical" type="number" step="0.01" style="text-align: center;">
</div>
</div>
<!-- Battle Conditions for NPCS-->
<h3 data-i18n="conditions-u">Conditions</h3>
<div class="sheet-row">
<div class="sheet-item" style="width:100%">
<select class="advanceselect" name="attr_NPC1stCondition">
<option selected data-i18n="none-u">None</option>
<option disabled data-i18n="amputated-limb-u">Amputated Limb</option>
<option data-i18n="lost-hand-u">Lost Hand</option>
<option data-i18n="lost-arm-u">Lost Arm</option>
<option data-i18n="lost-eye-u">Lost Eye</option>
<option data-i18n="lost-foot-u">Lost Foot</option>
<option data-i18n="lost-leg-u">Lost Leg</option>
<option data-i18n="blinded-u">Blinded</option>
<option data-i18n="blood-loss-u">Blood Loss</option>
<option data-i18n="deafened-u">Deafened</option>
<option data-i18n="falling-u">Falling</option>
<option data-i18n="fire-u">Fire</option>
<option data-i18n="stunned-u">Stunned</option>
<option data-i18n="suffocation-u">Suffocation</option>
<option data-i18n="unconsciousness-u">Unconsciousness</option>
<option data-i18n="useless-limbs-u">Useless Limbs</option>
<option data-i18n="vacuum-u">Vacuum</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:100%">
<select class="advanceselect" name="attr_NPC2ndCondition">
<option selected data-i18n="none-u">None</option>
<option disabled data-i18n="amputated-limb-u">Amputated Limb</option>
<option data-i18n="lost-hand-u">Lost Hand</option>
<option data-i18n="lost-arm-u">Lost Arm</option>
<option data-i18n="lost-eye-u">Lost Eye</option>
<option data-i18n="lost-foot-u">Lost Foot</option>
<option data-i18n="lost-leg-u">Lost Leg</option>
<option data-i18n="blinded-u">Blinded</option>
<option data-i18n="blood-loss-u">Blood Loss</option>
<option data-i18n="deafened-u">Deafened</option>
<option data-i18n="falling-u">Falling</option>
<option data-i18n="fire-u">Fire</option>
<option data-i18n="stunned-u">Stunned</option>
<option data-i18n="suffocation-u">Suffocation</option>
<option data-i18n="unconsciousness-u">Unconsciousness</option>
<option data-i18n="useless-limbs-u">Useless Limbs</option>
<option data-i18n="vacuum-u">Vacuum</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:100%">
<select class="advanceselect" name="attr_NPC3rdCondition">
<option selected data-i18n="none-u">None</option>
<option disabled data-i18n="amputated-limb-u">Amputated Limb</option>
<option data-i18n="lost-hand-u">Lost Hand</option>
<option data-i18n="lost-arm-u">Lost Arm</option>
<option data-i18n="lost-eye-u">Lost Eye</option>
<option data-i18n="lost-foot-u">Lost Foot</option>
<option data-i18n="lost-leg-u">Lost Leg</option>
<option data-i18n="blinded-u">Blinded</option>
<option data-i18n="blood-loss-u">Blood Loss</option>
<option data-i18n="deafened-u">Deafened</option>
<option data-i18n="falling-u">Falling</option>
<option data-i18n="fire-u">Fire</option>
<option data-i18n="stunned-u">Stunned</option>
<option data-i18n="suffocation-u">Suffocation</option>
<option data-i18n="unconsciousness-u">Unconsciousness</option>
<option data-i18n="useless-limbs-u">Useless Limbs</option>
<option data-i18n="vacuum-u">Vacuum</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:100%">
<select class="advanceselect" name="attr_NPC4thCondition">
<option selected data-i18n="none-u">None</option>
<option disabled data-i18n="amputated-limb-u">Amputated Limb</option>
<option data-i18n="lost-hand-u">Lost Hand</option>
<option data-i18n="lost-arm-u">Lost Arm</option>
<option data-i18n="lost-eye-u">Lost Eye</option>
<option data-i18n="lost-foot-u">Lost Foot</option>
<option data-i18n="lost-leg-u">Lost Leg</option>
<option data-i18n="blinded-u">Blinded</option>
<option data-i18n="blood-loss-u">Blood Loss</option>
<option data-i18n="deafened-u">Deafened</option>
<option data-i18n="falling-u">Falling</option>
<option data-i18n="fire-u">Fire</option>
<option data-i18n="stunned-u">Stunned</option>
<option data-i18n="suffocation-u">Suffocation</option>
<option data-i18n="unconsciousness-u">Unconsciousness</option>
<option data-i18n="useless-limbs-u">Useless Limbs</option>
<option data-i18n="vacuum-u">Vacuum</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:100%">
<select class="advanceselect" name="attr_NPC5thCondition">
<option selected data-i18n="none-u">None</option>
<option disabled data-i18n="amputated-limb-u">Amputated Limb</option>
<option data-i18n="lost-hand-u">Lost Hand</option>
<option data-i18n="lost-arm-u">Lost Arm</option>
<option data-i18n="lost-eye-u">Lost Eye</option>
<option data-i18n="lost-foot-u">Lost Foot</option>
<option data-i18n="lost-leg-u">Lost Leg</option>
<option data-i18n="blinded-u">Blinded</option>
<option data-i18n="blood-loss-u">Blood Loss</option>
<option data-i18n="deafened-u">Deafened</option>
<option data-i18n="falling-u">Falling</option>
<option data-i18n="fire-u">Fire</option>
<option data-i18n="stunned-u">Stunned</option>
<option data-i18n="suffocation-u">Suffocation</option>
<option data-i18n="unconsciousness-u">Unconsciousness</option>
<option data-i18n="useless-limbs-u">Useless Limbs</option>
<option data-i18n="vacuum-u">Vacuum</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:100%">
<select class="advanceselect" name="attr_NPC6thCondition">
<option selected data-i18n="none-u">None</option>
<option disabled data-i18n="amputated-limb-u">Amputated Limb</option>
<option data-i18n="lost-hand-u">Lost Hand</option>
<option data-i18n="lost-arm-u">Lost Arm</option>
<option data-i18n="lost-eye-u">Lost Eye</option>
<option data-i18n="lost-foot-u">Lost Foot</option>
<option data-i18n="lost-leg-u">Lost Leg</option>
<option data-i18n="blinded-u">Blinded</option>
<option data-i18n="blood-loss-u">Blood Loss</option>
<option data-i18n="deafened-u">Deafened</option>
<option data-i18n="falling-u">Falling</option>
<option data-i18n="fire-u">Fire</option>
<option data-i18n="stunned-u">Stunned</option>
<option data-i18n="suffocation-u">Suffocation</option>
<option data-i18n="unconsciousness-u">Unconsciousness</option>
<option data-i18n="useless-limbs-u">Useless Limbs</option>
<option data-i18n="vacuum-u">Vacuum</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:100%">
<select class="advanceselect" name="attr_NPC7thCondition">
<option selected data-i18n="none-u">None</option>
<option disabled data-i18n="amputated-limb-u">Amputated Limb</option>
<option data-i18n="lost-hand-u">Lost Hand</option>
<option data-i18n="lost-arm-u">Lost Arm</option>
<option data-i18n="lost-eye-u">Lost Eye</option>
<option data-i18n="lost-foot-u">Lost Foot</option>
<option data-i18n="lost-leg-u">Lost Leg</option>
<option data-i18n="blinded-u">Blinded</option>
<option data-i18n="blood-loss-u">Blood Loss</option>
<option data-i18n="deafened-u">Deafened</option>
<option data-i18n="falling-u">Falling</option>
<option data-i18n="fire-u">Fire</option>
<option data-i18n="stunned-u">Stunned</option>
<option data-i18n="suffocation-u">Suffocation</option>
<option data-i18n="unconsciousness-u">Unconsciousness</option>
<option data-i18n="useless-limbs-u">Useless Limbs</option>
<option data-i18n="vacuum-u">Vacuum</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:100%">
<select class="advanceselect" name="attr_NPC8thCondition">
<option selected data-i18n="none-u">None</option>
<option disabled data-i18n="amputated-limb-u">Amputated Limb</option>
<option data-i18n="lost-hand-u">Lost Hand</option>
<option data-i18n="lost-arm-u">Lost Arm</option>
<option data-i18n="lost-eye-u">Lost Eye</option>
<option data-i18n="lost-foot-u">Lost Foot</option>
<option data-i18n="lost-leg-u">Lost Leg</option>
<option data-i18n="blinded-u">Blinded</option>
<option data-i18n="blood-loss-u">Blood Loss</option>
<option data-i18n="deafened-u">Deafened</option>
<option data-i18n="falling-u">Falling</option>
<option data-i18n="fire-u">Fire</option>
<option data-i18n="stunned-u">Stunned</option>
<option data-i18n="suffocation-u">Suffocation</option>
<option data-i18n="unconsciousness-u">Unconsciousness</option>
<option data-i18n="useless-limbs-u">Useless Limbs</option>
<option data-i18n="vacuum-u">Vacuum</option>
</select>
</div>
</div>
</div>
</div>
</div>
<!-- Right Column of NPC individualized profiles -->
<div class="sheet-col"><!--Right Column for individual NPC Profile-->
<br>
<!--Skills section for NPCS-->
<div>
<h3 data-i18n="skills-u">Skills</h3>
<textarea name="attr_NpcBaA" style="margin:auto; height:100px;"></textarea>
</div>
<!--Talents section for NPCS-->
<div>
<h3 data-i18n="talents-and-traits-u">Talents &amp; Traits</h3>
<textarea name="attr_NpcNotes" style="margin:auto; height:100px;"></textarea>
</div>
<!--Gear section for NPCS-->
<div>
<h3 data-i18n="gear-and-weapons-u">Gear &amp; Weapons</h3>
<textarea name="attr_NpcSkills" style="margin:auto; height:100px;"></textarea>
</div>
<!--Special Rules section for NPCS-->
<div>
<h3 data-i18n="special-rules-u">Special Rules</h3>
<textarea name="attr_NpcTaT" style=" margin:auto; height:100px;"></textarea>
</div>
<!--Miscellaneous notes section for NPCS-->
<div>
<h3 data-i18n="miscellaneous-and-notes-u">Miscellaneous &amp; Notes</h3>
<textarea name="attr_NpcWaG" style="margin:auto; height:100px;"></textarea>
</div>
</div>
</div>
<div class="sheet-2colrow">
<br>
<!--NPC Melee Weapon, Left Column-->
<div class="sheet-col">
<div class="sheet-quickborder">
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="name-u">Name:</span></div>
<div class="sheet-item" style="width: 38%;"><input name="attr_NPCmeleeweaponname" type="text" /></div>
<div class="sheet-item" style="width: 7%;"><span data-i18n="weight-u">Wt.:</span></div>
<div class="sheet-item" style="width: 11%;"><input name="attr_NPCmeleewwt" type="number" step="0.01" value="0" data-i18n-placeholder="kilograms-u" placeholder="kg" style="text-align:center;"/></div>
<div class="sheet-item" style="width: 12%;"><span data-i18n="class-u">Class:</span></div>
<div class="sheet-item" style="width: 18%;">
<span name="attr_NPCmeleeweaponclass" style="line-height: 24px;vertical-align: middle;" data-i18n="melee-u">Melee </span>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="damage-u">Damage:</span></div>
<div class="sheet-item" style="width: 15%;"><input name="attr_NPCmeleeweapondamage" type="text" /></div>
<div class="sheet-item" style="width: 12%;"><span data-i18n="type-u">Type:</span></div>
<div class="sheet-item" style="width: 24%;"><input name="attr_NPCmeleeweapontype" type="text" /></div>
<div class="sheet-item" style="width: 10%;"><span data-i18n="penetration-u">Pen:</span></div>
<div class="sheet-item" style="width: 10%;"><input name="attr_NPCmeleeweaponpen" type="text" value="0" style="text-align: center;"/></div>
<div class="sheet-item sheet-redbgns" style="width: 15%;"><button name="roll_NPCmeleedamage" type="roll" value="&{template:darkheresy2} {{name= @{NPCName}'s @{NPCmeleeweaponname}}} {{dhdescription=@{NPCName}'s @{NPCmeleeweaponname} does [[@{NPCmeleeweapondamage}+@{NPCUnS}+(floor(@{NPCS}/10))]] @{NPCmeleeweapontype} damage! (Pen: @{NPCmeleeweaponpen})}}"> <span data-i18n="damage-u">Damage</span> </button></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="special-u">Special:</span></div>
<div class="sheet-item" style="width: 76%;"><input name="attr_NPCmeleeweaponspecial" type="text" /></div>
<div class="sheet-item sheet-redbgns" style="width: 9%;"><button name="roll_NPCmeleehit" type="roll" value="&{template:darkheresy2} {{name= @{NPCName} attacks with @{NPCmeleeweaponname}!}} {{dhdescription=@{NPCName} uses @{NPCmeleeweaponname} rolls [[1d100]] Target [[@{NPCWS}+(?{Aim | Half aim (+10),+10 | No aim (+0),+0 | Full aim (+20),+20} + ?{Attack Type | All out (+30),+30| Charge (+20),+20 |Standard (+10),+10 | Swift Attack (+0),+0 | Lighting (-10),-10} + ?{Modifier|0})]].}}"> <span data-i18n="hit-u">Hit</span> </button></div>
</div>
</div>
<div class="sheet-quickborder">
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="name-u">Name:</span></div>
<div class="sheet-item" style="width: 38%;"><input name="attr_NPCmeleeweaponname2" type="text" /></div>
<div class="sheet-item" style="width: 7%;"><span data-i18n="weight-u">Wt.:</span></div>
<div class="sheet-item" style="width: 11%;"><input name="attr_NPCmeleewwt2" type="number" step="0.01" value="0" data-i18n-placeholder="kilograms-u" placeholder="kg" style="text-align:center;"/></div>
<div class="sheet-item" style="width: 12%;"><span data-i18n="class-u">Class:</span></div>
<div class="sheet-item" style="width: 18%;">
<span name="attr_NPCmeleeweaponclass2" style="line-height: 24px;vertical-align: middle;" data-i18n="melee-u">Melee </span>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="damage-u">Damage:</span></div>
<div class="sheet-item" style="width: 15%;"><input name="attr_NPCmeleeweapondamage2" type="text" /></div>
<div class="sheet-item" style="width: 12%;"><span data-i18n="type-u">Type:</span></div>
<div class="sheet-item" style="width: 24%;"><input name="attr_NPCmeleeweapontype2" type="text" /></div>
<div class="sheet-item" style="width: 10%;"><span data-i18n="penetration-u">Pen:</span></div>
<div class="sheet-item" style="width: 10%;"><input name="attr_NPCmeleeweaponpen2" type="text" value="0" style="text-align: center;"/></div>
<div class="sheet-item sheet-redbgns" style="width: 15%;"><button name="roll_NPCmeleedamage2" type="roll" value="&{template:darkheresy2} {{name= @{NPCName}'s @{NPCmeleeweaponname2}}} {{dhdescription=@{NPCName}'s @{NPCmeleeweaponname2} does [[@{NPCmeleeweapondamage2}+@{NPCUnS}+(floor(@{NPCS}/10))]] @{NPCmeleeweapontype2} damage! (Pen: @{NPCmeleeweaponpen2})}}"> <span data-i18n="damage-u">Damage</span> </button></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="special-u">Special:</span></div>
<div class="sheet-item" style="width: 76%;"><input name="attr_NPCmeleeweaponspecial2" type="text" /></div>
<div class="sheet-item sheet-redbgns" style="width: 9%;"><button name="roll_NPCmeleehit2" type="roll" value="&{template:darkheresy2} {{name= @{NPCName} attacks with @{NPCmeleeweaponname2}!}} {{dhdescription=@{NPCName} uses @{NPCmeleeweaponname2} rolls [[1d100]] Target [[@{NPCWS}+(?{Aim | Half aim (+10),+10 | No aim (+0),+0 | Full aim (+20),+20} + ?{Attack Type | All out (+30),+30| Charge (+20),+20 |Standard (+10),+10 | Swift Attack (+0),+0 | Lighting (-10),-10} + ?{Modifier|0})]].}}"> <span data-i18n="hit-u">Hit</span> </button></div>
</div>
</div>
<div class="sheet-quickborder">
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="name-u">Name:</span></div>
<div class="sheet-item" style="width: 38%;"><input name="attr_NPCmeleeweaponname3" type="text" /></div>
<div class="sheet-item" style="width: 7%;"><span data-i18n="weight-u">Wt.:</span></div>
<div class="sheet-item" style="width: 11%;"><input name="attr_NPCmeleewwt3" type="number" step="0.01" value="0" data-i18n-placeholder="kilograms-u" placeholder="kg" style="text-align:center;"/></div>
<div class="sheet-item" style="width: 12%;"><span data-i18n="class-u">Class:</span></div>
<div class="sheet-item" style="width: 18%;">
<span name="attr_NPCmeleeweaponclass3" style="line-height: 24px;vertical-align: middle;" data-i18n="melee-u">Melee </span>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="damage-u">Damage:</span></div>
<div class="sheet-item" style="width: 15%;"><input name="attr_NPCmeleeweapondamage3" type="text" /></div>
<div class="sheet-item" style="width: 12%;"><span data-i18n="type-u">Type:</span></div>
<div class="sheet-item" style="width: 24%;"><input name="attr_NPCmeleeweapontype3" type="text" /></div>
<div class="sheet-item" style="width: 10%;"><span data-i18n="penetration-u">Pen:</span></div>
<div class="sheet-item" style="width: 10%;"><input name="attr_NPCmeleeweaponpen3" type="text" value="0" style="text-align: center;"/></div>
<div class="sheet-item sheet-redbgns" style="width: 15%;"><button name="roll_NPCmeleedamage3" type="roll" value="&{template:darkheresy2} {{name= @{NPCName}'s @{NPCmeleeweaponname3}}} {{dhdescription=@{NPCName}'s @{NPCmeleeweaponname3} does [[@{NPCmeleeweapondamage3}+@{NPCUnS}+(floor(@{NPCS}/10))]] @{NPCmeleeweapontype3} damage! (Pen: @{NPCmeleeweaponpen3})}}"> <span data-i18n="damage-u">Damage</span> </button></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="special-u">Special:</span></div>
<div class="sheet-item" style="width: 76%;"><input name="attr_NPCmeleeweaponspecial3" type="text" /></div>
<div class="sheet-item sheet-redbgns" style="width: 9%;"><button name="roll_NPCmeleehit3" type="roll" value="&{template:darkheresy2} {{name= @{NPCName} attacks with @{NPCmeleeweaponname3}!}} {{dhdescription=@{NPCName} uses @{NPCmeleeweaponname3} rolls [[1d100]] Target [[@{NPCWS}+(?{Aim | Half aim (+10),+10 | No aim (+0),+0 | Full aim (+20),+20} + ?{Attack Type | All out (+30),+30| Charge (+20),+20 |Standard (+10),+10 | Swift Attack (+0),+0 | Lighting (-10),-10} + ?{Modifier|0})]].}}"> <span data-i18n="hit-u">Hit</span> </button></div>
</div>
</div>
<div class="sheet-quickborder">
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="name-u">Name:</span></div>
<div class="sheet-item" style="width: 38%;"><input name="attr_NPCmeleeweaponname4" type="text" /></div>
<div class="sheet-item" style="width: 7%;"><span data-i18n="weight-u">Wt.:</span></div>
<div class="sheet-item" style="width: 11%;"><input name="attr_NPCmeleewwt4" type="number" step="0.01" value="0" data-i18n-placeholder="kilograms-u" placeholder="kg" style="text-align:center;"/></div>
<div class="sheet-item" style="width: 12%;"><span data-i18n="class-u">Class:</span></div>
<div class="sheet-item" style="width: 18%;">
<span name="attr_NPCmeleeweaponclass4" style="line-height: 24px;vertical-align: middle;" data-i18n="melee-u">Melee </span>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="damage-u">Damage:</span></div>
<div class="sheet-item" style="width: 15%;"><input name="attr_NPCmeleeweapondamage4" type="text" /></div>
<div class="sheet-item" style="width: 12%;"><span data-i18n="type-u">Type:</span></div>
<div class="sheet-item" style="width: 24%;"><input name="attr_NPCmeleeweapontype4" type="text" /></div>
<div class="sheet-item" style="width: 10%;"><span data-i18n="penetration-u">Pen:</span></div>
<div class="sheet-item" style="width: 10%;"><input name="attr_NPCmeleeweaponpen4" type="text" value="0" style="text-align: center;"/></div>
<div class="sheet-item sheet-redbgns" style="width: 15%;"><button name="roll_NPCmeleedamage4" type="roll" value="&{template:darkheresy2} {{name= @{NPCName}'s @{NPCmeleeweaponname4}}} {{dhdescription=@{NPCName}'s @{NPCmeleeweaponname4} does [[@{NPCmeleeweapondamage4}+@{NPCUnS}+(floor(@{NPCS}/10))]] @{NPCmeleeweapontype4} damage! (Pen: @{NPCmeleeweaponpen4})}}"> <span data-i18n="damage-u">Damage</span> </button></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="special-u">Special:</span></div>
<div class="sheet-item" style="width: 76%;"><input name="attr_NPCmeleeweaponspecial4" type="text" /></div>
<div class="sheet-item sheet-redbgns" style="width: 9%;"><button name="roll_NPCmeleehit4" type="roll" value="&{template:darkheresy2} {{name= @{NPCName} attacks with @{NPCmeleeweaponname4}!}} {{dhdescription=@{NPCName} uses @{NPCmeleeweaponname4} rolls [[1d100]] Target [[@{NPCWS}+(?{Aim | Half aim (+10),+10 | No aim (+0),+0 | Full aim (+20),+20} + ?{Attack Type | All out (+30),+30| Charge (+20),+20 |Standard (+10),+10 | Swift Attack (+0),+0 | Lighting (-10),-10} + ?{Modifier|0})]].}}"> <span data-i18n="hit-u">Hit</span> </button></div>
</div>
</div>
</div>
<!--NPC Ranged Weapon, Right Column-->
<div class="sheet-col">
<div class="sheet-quickborder">
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="name-u">Name:</span></div>
<div class="sheet-item" style="width: 38%;"><input name="attr_NPC2Rangedweaponname" type="text" /></div>
<div class="sheet-item" style="width: 7%;"><span data-i18n="weight-u">Wt.:</span></div>
<div class="sheet-item" style="width: 11%;"><input name="attr_NPC2Rangedwwt" type="number" step="0.01" value="0" data-i18n-placeholder="kilograms-u" placeholder="kg" style="text-align:center;"/></div>
<div class="sheet-item" style="width: 12%;"><span data-i18n="class-u">Class:</span></div>
<div class="sheet-item" style="width: 18%;"><input name="attr_NPC2Rangedweaponclass" type="text" /></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 12%;"><span data-i18n="range-u">Range:</span></div>
<div class="sheet-item" style="width: 10%;"><input name="attr_NPC2Rangedweaponrange" type="text" /></div>
<div class="sheet-item" style="width: 15%;"><span data-i18n="damage-u">Damage:</span></div>
<div class="sheet-item" style="width: 15%;"><input name="attr_NPC2Rangedweapondamage" type="text" /></div>
<div class="sheet-item" style="width: 10%;"><span data-i18n="type-u">Type:</span></div>
<div class="sheet-item" style="width: 18%;"><input name="attr_NPC2Rangedweapontype" type="text" /></div>
<div class="sheet-item" style="width: 9%;"><span data-i18n="penetration-u">Pen:</span></div>
<div class="sheet-item" style="width: 9%;"><input name="attr_NPC2Rangedweaponpen" type="text" value="0" /></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 9%;"><span data-i18n="rate-of-fire-u">RoF:</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPC2Rangedweaponsingle" type="text" value="0" /></div>
<div class="sheet-item" style="width: 2%;"><span>/</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPC2Rangedweaponsemi" type="text" value="0" /></div>
<div class="sheet-item" style="width: 2%;"><span>/</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPC2Rangedweaponfull" type="text" value="0" /></div>
<div class="sheet-item" style="width: 9%;"><span data-i18n="clip-u">Clip:</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPC2Rangedweaponclip" type="text" value="0" /></div>
<div class="sheet-item" style="width: 2%;"><span>/</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPC2Rangedweaponclip_max" type="text" value="0" /></div>
<div class="sheet-item" style="width: 15%;"><span data-i18n="reload-u">Reload:</span></div>
<div class="sheet-item" style="width: 16%;"><input name="attr_NPC2Rangedweaponreload" type="text" /></div>
<div class="sheet-item sheet-redbgns" style="width: 16%;"><button name="roll_NPC2Rangeddamage" type="roll" value="&{template:darkheresy2} {{name= @{NPCName}'s @{NPC2Rangedweaponname}}} {{dhdescription=@{NPCName}'s @{NPC2Rangedweaponname} does [[@{NPC2Rangedweapondamage}]] @{NPC2Rangedweapontype} damage! (Pen: [[@{NPC2Rangedweaponpen}]])}}"> <span data-i18n="damage-u">Damage</span> </button></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="special-u">Special:</span></div>
<div class="sheet-item" style="width: 75%;"><input name="attr_NPC2Rangedweaponspecial" type="text" /></div>
<div class="sheet-item sheet-redbgns" style="width: 10%;"><button name="roll_NPC2Rangedhit" type="roll" value="&{template:darkheresy2} {{name= @{NPCName} fires @{NPC2Rangedweaponname}!}} {{dhdescription=@{NPCName} uses @{NPC2Rangedweaponname} rolls [[1d100]] Target [[@{NPCBS}+(?{Aim | Half aim (+10),+10| No aim (+0),+0 | Full aim (+20),+20} + ?{Range | Point Blank (+30),+30 | Short Range (+10),+10 | Standard range (+0),+0 | Long Range (-10),-10 | Extreme Range (-30),-30} + ?{Rate of Fire/Attack Type|Standard (+10),+10 | Semi auto (+0),+0 | Full Auto (-10),-10 | Called Shot (-20),-20 | Suppressing Fire (-20),-20} + ?{Modifier|0})]].}}"> <span data-i18n="hit-u">Hit</span> </button></div>
</div>
</div>
<div class="sheet-quickborder">
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="name-u">Name:</span></div>
<div class="sheet-item" style="width: 38%;"><input name="attr_NPC2Rangedweaponname2" type="text" /></div>
<div class="sheet-item" style="width: 7%;"><span data-i18n="weight-u">Wt.:</span></div>
<div class="sheet-item" style="width: 11%;"><input name="attr_NPC2Rangedwwt2" type="number" step="0.01" value="0" data-i18n-placeholder="kilograms-u" placeholder="kg" style="text-align:center;"/></div>
<div class="sheet-item" style="width: 12%;"><span data-i18n="class-u">Class:</span></div>
<div class="sheet-item" style="width: 18%;"><input name="attr_NPC2Rangedweaponclass2" type="text" /></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 12%;"><span data-i18n="range-u">Range:</span></div>
<div class="sheet-item" style="width: 10%;"><input name="attr_NPC2Rangedweaponrange2" type="text" /></div>
<div class="sheet-item" style="width: 15%;"><span data-i18n="damage-u">Damage:</span></div>
<div class="sheet-item" style="width: 15%;"><input name="attr_NPC2Rangedweapondamage2" type="text" /></div>
<div class="sheet-item" style="width: 10%;"><span data-i18n="type-u">Type:</span></div>
<div class="sheet-item" style="width: 18%;"><input name="attr_NPC2Rangedweapontype2" type="text" /></div>
<div class="sheet-item" style="width: 9%;"><span data-i18n="penetration-u">Pen:</span></div>
<div class="sheet-item" style="width: 9%;"><input name="attr_NPC2Rangedweaponpen2" type="text" value="0" /></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 9%;"><span data-i18n="rate-of-fire-u">RoF:</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPC2Rangedweaponsingle2" type="text" value="0" /></div>
<div class="sheet-item" style="width: 2%;"><span>/</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPC2Rangedweaponsemi2" type="text" value="0" /></div>
<div class="sheet-item" style="width: 2%;"><span>/</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPC2Rangedweaponfull2" type="text" value="0" /></div>
<div class="sheet-item" style="width: 9%;"><span data-i18n="clip-u">Clip:</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPC2Rangedweaponclip2" type="text" value="0" /></div>
<div class="sheet-item" style="width: 2%;"><span>/</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPC2Rangedweaponclip_max2" type="text" value="0" /></div>
<div class="sheet-item" style="width: 15%;"><span data-i18n="reload-u">Reload:</span></div>
<div class="sheet-item" style="width: 16%;"><input name="attr_NPC2Rangedweaponreload2" type="text" /></div>
<div class="sheet-item sheet-redbgns" style="width: 16%;"><button name="roll_NPC2Rangeddamage2" type="roll" value="&{template:darkheresy2} {{name= @{NPCName}'s @{NPC2Rangedweaponname2}}} {{dhdescription=@{NPCName}'s @{NPC2Rangedweaponname2} does [[@{NPC2Rangedweapondamage2}]] @{NPC2Rangedweapontype2} damage! (Pen: [[@{NPC2Rangedweaponpen2}]])}}"> <span data-i18n="damage-u">Damage</span> </button></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="special-u">Special:</span></div>
<div class="sheet-item" style="width: 75%;"><input name="attr_NPC2Rangedweaponspecial2" type="text" /></div>
<div class="sheet-item sheet-redbgns" style="width: 10%;"><button name="roll_NPC2Rangedhit2" type="roll" value="&{template:darkheresy2} {{name= @{NPCName} fires @{NPC2Rangedweaponname2}!}} {{dhdescription=@{NPCName} uses @{NPC2Rangedweaponname2} rolls [[1d100]] Target [[@{NPCBS}+(?{Aim | Half aim (+10),+10| No aim (+0),+0 | Full aim (+20),+20} + ?{Range | Point Blank (+30),+30 | Short Range (+10),+10 | Standard range (+0),+0 | Long Range (-10),-10 | Extreme Range (-30),-30} + ?{Rate of Fire/Attack Type|Standard (+10),+10 | Semi auto (+0),+0 | Full Auto (-10),-10 | Called Shot (-20),-20 | Suppressing Fire (-20),-20} + ?{Modifier|0})]].}}"> <span data-i18n="hit-u">Hit</span> </button></div>
</div>
</div>
<div class="sheet-quickborder">
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="name-u">Name:</span></div>
<div class="sheet-item" style="width: 38%;"><input name="attr_NPC2Rangedweaponname3" type="text" /></div>
<div class="sheet-item" style="width: 7%;"><span data-i18n="weight-u">Wt.:</span></div>
<div class="sheet-item" style="width: 11%;"><input name="attr_NPC2Rangedwwt3" type="number" step="0.01" value="0" data-i18n-placeholder="kilograms-u" placeholder="kg" style="text-align:center;"/></div>
<div class="sheet-item" style="width: 12%;"><span data-i18n="class-u">Class:</span></div>
<div class="sheet-item" style="width: 18%;"><input name="attr_NPC2Rangedweaponclass3" type="text" /></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 12%;"><span data-i18n="range-u">Range:</span></div>
<div class="sheet-item" style="width: 10%;"><input name="attr_NPC2Rangedweaponrange3" type="text" /></div>
<div class="sheet-item" style="width: 15%;"><span data-i18n="damage-u">Damage:</span></div>
<div class="sheet-item" style="width: 15%;"><input name="attr_NPC2Rangedweapondamage3" type="text" /></div>
<div class="sheet-item" style="width: 10%;"><span data-i18n="type-u">Type:</span></div>
<div class="sheet-item" style="width: 18%;"><input name="attr_NPC2Rangedweapontype3" type="text" /></div>
<div class="sheet-item" style="width: 9%;"><span data-i18n="penetration-u">Pen:</span></div>
<div class="sheet-item" style="width: 9%;"><input name="attr_NPC2Rangedweaponpen3" type="text" value="0" /></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 9%;"><span data-i18n="rate-of-fire-u">RoF:</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPC2Rangedweaponsingle3" type="text" value="0" /></div>
<div class="sheet-item" style="width: 2%;"><span>/</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPC2Rangedweaponsemi3" type="text" value="0" /></div>
<div class="sheet-item" style="width: 2%;"><span>/</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPC2Rangedweaponfull3" type="text" value="0" /></div>
<div class="sheet-item" style="width: 9%;"><span data-i18n="clip-u">Clip:</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPC2Rangedweaponclip3" type="text" value="0" /></div>
<div class="sheet-item" style="width: 2%;"><span>/</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_NPC2Rangedweaponclip_max3" type="text" value="0" /></div>
<div class="sheet-item" style="width: 15%;"><span data-i18n="reload-u">Reload:</span></div>
<div class="sheet-item" style="width: 16%;"><input name="attr_NPC2Rangedweaponreload3" type="text" /></div>
<div class="sheet-item sheet-redbgns" style="width: 16%;"><button name="roll_NPC2Rangeddamage3" type="roll" value="&{template:darkheresy2} {{name= @{NPCName}'s @{NPC2Rangedweaponname3}}} {{dhdescription=@{NPCName}'s @{NPC2Rangedweaponname3} does [[@{NPC2Rangedweapondamage3}]] @{NPC2Rangedweapontype3} damage! (Pen: [[@{NPC2Rangedweaponpen3}]])}}"> <span data-i18n="damage-u">Damage</span> </button></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="special-u">Special:</span></div>
<div class="sheet-item" style="width: 75%;"><input name="attr_NPC2Rangedweaponspecial3" type="text" /></div>
<div class="sheet-item sheet-redbgns" style="width: 10%;"><button name="roll_NPC2Rangedhit3" type="roll" value="&{template:darkheresy2} {{name= @{NPCName} fires @{NPC2Rangedweaponname3}!}} {{dhdescription=@{NPCName} uses @{NPC2Rangedweaponname3} rolls [[1d100]] Target [[@{NPCBS}+(?{Aim | Half aim (+10),+10| No aim (+0),+0 | Full aim (+20),+20} + ?{Range | Point Blank (+30),+30 | Short Range (+10),+10 | Standard range (+0),+0 | Long Range (-10),-10 | Extreme Range (-30),-30} + ?{Rate of Fire/Attack Type|Standard (+10),+10 | Semi auto (+0),+0 | Full Auto (-10),-10 | Called Shot (-20),-20 | Suppressing Fire (-20),-20} + ?{Modifier|0})]].}}"> <span data-i18n="hit-u">Hit</span> </button></div>
</div>
</div>
</div>
</div>
</div>
</div>
</fieldset>
</div> <!-- This is the closing div for the hidden grouping for NPC repeatable -->
</div>
<div class="sheet-section-journal sheet-watermark"><!-- Journal Tab-->
<div class="sheet-wrapper"><!--Main body for the Journal Tab-->
<div >
<div>
<table><!--Objectives-->
<tbody>
<tr>
<td class="sheet-halfcol" style="width: 40%;">
<div class="sheet-priobj">
<textarea align="middle" name="attr_priobjective" type="text" data-i18n-placeholder="mission-objective-pending-u" placeholder="Mission Objective Pending"></textarea>
</div>
</td>
<td class="sheet-halfcol sheet-tdalignt" style="vertical-align: top; width: 53%;">
<div class="sheet-misblock">
<span data-i18n="objective-u">Objective: </span>
<textarea style="width:84%" align="middle" name="attr_MInfo1" type="text" data-i18n-placeholder="primary-objective-pending" placeholder="Primary Objective Pending"></textarea>
<fieldset class="repeating_MissionObjectives">
<span data-i18n="objective-u">Objective: </span>
<textarea style="width: 84%; display: inline;" name="attr_MInfoRE" data-i18n-placeholder="pending-secondary-objective-u" Placeholder="Pending Secondary Objective"></textarea>
</fieldset>
</div>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</tbody>
</table>
</div>
</div>
<!--Player entry for basic notes and journal keeping-->
<img src="http://i.imgur.com/TKfHnQ9.png"> <!-- Divider -->
<h3 data-i18n="journal-entry-u">Journal Entry</h3>
<div>
<input style="font-size: 18pt; height: 35px;" align="middle" name="attr_JournalTitle" type="text">
</div>
<textarea name="attr_Journaltext"></textarea>
<fieldset class="repeating_journalnotes">
<div><input style="font-size: 18pt; height: 35px;" align="middle" name="attr_JournaltitleRe" type="text"></div>
<textarea name="attr_JournaltextRe"></textarea>
</fieldset>
</div>
</div>
<div class="sheet-section-vehicles sheet-watermark"><!-- Vehicles Tab -->
<div class="sheet-wrapper">
<h3 data-i18n="vehicles-u">Vehicles</h3>
<fieldset class="repeating_Vehicles">
<div class="sheet-quickborder">
<div class="sheet-row">
<div class="sheet-item" style="width: 8%;"><span data-i18n="name-u">Name:</span></div>
<div class="sheet-item" style="width: 27%;"><input name="attr_VehName" type="text" /></div>
<div class="sheet-item" style="width: 6%;"><span data-i18n="type-u">Type:</span></div>
<div class="sheet-item" style="width: 17%;"><input name="attr_VehType" type="text" /></div>
<div class="sheet-item" style="width: 6%;"><span data-i18n="front-u">Front:</span></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_VehFront" type="text" /></div>
<div class="sheet-item" style="width: 6%;"><span data-i18n="side-u">Side:</span></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_VehSide" type="text" /></div>
<div class="sheet-item" style="width: 6%;"><span data-i18n="rear-u">Rear:</span></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_VehRear" type="text" /></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 13%;"><span data-i18n="tactical-speed-u">Tactical Speed:</span></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_VehTacSpeed" type="text" /></div>
<div class="sheet-item" style="width: 13%;"><span data-i18n="cruising-speed-u">Cruising Speed:</span></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_VehCruSpeed" type="text" /></div>
<div class="sheet-item" style="width: 13%;"><span data-i18n="manoeuvrability-u">Manoeuvrability:</span></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_VehManoeuvrability" type="text" /></div>
<div class="sheet-item" style="width: 8%;"><span data-i18n="integrity-u">Integrity:</span></div>
<div class="sheet-item" style="width: 5%;"><input name="attr_VehIntegrity" type="text" /></div>
<div class="sheet-item" style="width: 6%;"><span data-i18n="size-u">Size:</span></div>
<div class="sheet-item" style="width: 18%;"><input name="attr_VehSize" type="text" /></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 8%;;"><span data-i18n="traits-u">Traits:</span></div>
<div class="sheet-item" style="width: 92%;"><input name="attr_VehTraits" type="text" /> </div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 8%;;"><span data-i18n="crew-u">Crew:</span></div>
<div class="sheet-item" style="width: 68%;"><input name="attr_VehCrew" type="text" /> </div>
<div class="sheet-item" style="width: 16%;"><span data-i18n="capacity-u">Carrying Capacity:</span></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_VehCapacity" type="text" /> </div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 8%;"><span data-i18n="weapons-u">Weapons:</span></div>
<div class="sheet-item" style="width: 92%;"><input name="attr_Weapons" type="text" /> </div>
</div>
<div>
<h3 data-i18n="specials-u">Special Traits</h3>
<textarea name="attr_VehSTraits" style=" margin:auto; height:100px;"></textarea>
</div>
</div>
</fieldset>
</div>
</div>
<div class="sheet-section-psykana sheet-watermark"><!-- Psykana Tab Tab -->
<!-- This section contains Psychic Powers, Focus Power Rolls, and other Psyker Specific characteristics -->
<div class="sheet-wrapper">
<h3 data-i18n="focus-power-test-u">Focus Power Test</h3>
<div class="sheet-row">
<div class="sheet-item sheet-DHBtn" style="width: 33%; text-align: center; "><button name="roll_Willpower" type="roll" value="&{template:darkheresy2} {{name= @{character_name}'s channelled Willpower}} {{dhdescription=@{character_name} roll Focus Power: Willpower [[1d100]] Target [[@{Willpower}+?{Modifier|+5 per PR}]]. Psychic Strength: ?{Psychic Strength?|Fettered, Fettered ([[ceil(@{PsyRating}/2)]] PR)|Unfettered,Unfettered ([[@{PsyRating}]] PR)|Push,Push ([[@{PsyRating}]]+1 to +3/+4 PR)}}}"> <span data-i18n="willpower">Willpower</span> </button></div>
<div class="sheet-item sheet-DHBtn" style="width: 33%; text-align: center;"><button name="roll_Perception" type="roll" value="&{template:darkheresy2} {{name= @{character_name}'s channelled Perception}} {{dhdescription=@{character_name} roll Focus Power: Perception [[1d100]] Target [[@{Perception}+?{Modifier|+5 per PR}]]. Psychic Strength: ?{Psychic Strength?|Fettered, Fettered ([[ceil(@{PsyRating}/2)]] PR)|Unfettered,Unfettered ([[@{PsyRating}]] PR)|Push,Push ([[@{PsyRating}]]+1 to +3/+4 PR)}}}"> <span data-i18n="perception-u">Perception</span> </button></div>
<div class="sheet-item sheet-DHBtn" style="width: 33%; text-align: center;"><button name="roll_PsyniscienceCharacteristic" type="roll" value="&{template:darkheresy2} {{name= @{character_name}'s channelled Psyniscience}} {{dhdescription=@{character_name} roll Focus Power: Psyniscience [[1d100]] Target [[@{PsyniscienceCharacteristic}+?{Modifier|+5 per PR}]]. Psychic Strength: ?{Psychic Strength?|Fettered, Fettered ([[ceil(@{PsyRating}/2)]] PR)|Unfettered,Unfettered ([[@{PsyRating}]] PR)|Push,Push ([[@{PsyRating}]]+1 to +3/+4 PR)}}}"> <span data-i18n="psyniscience-u">Psyniscience</span> </button></div>
</div>
<br>
<img src="http://i.imgur.com/TKfHnQ9.png"><!-- Divider -->
<h3 data-i18n="psychic-powers-u">Psychic Powers</h3>
<div class="sheet-2colrow">
<!-- Psychic Powers Left Column -->
<div class="sheet-col">
<div class="sheet-row">
<div class="sheet-item" style="width: 50px;"><span data-i18n="class-u">Class:</span></div>
<div class="sheet-item" style="width: 100px;">
<select class="charaselect" name="attr_PsykerClass">
<option value="@{Bound}" data-i18n="bound-u">Bound</option>
<option value="@{Unbound}" data-i18n="unbound-u">Unbound</option>
<option value="@{Daemonic}" data-i18n="daemonic-u">Daemonic</option>
</select>
</div>
<div class="sheet-item" style="width: 85px; margin-left: 20px"><span data-i18n="psy-rating-u">Psy Rating:</span></div>
<div class="sheet-item" style="width: 50px;"><input name="attr_PsyRating" type="number" step="0.01" data-i18n-placeholder="zero-u" placeholder="0" /></div>
</div>
<!-- Psychic Powers Left Column, repeating field -->
<fieldset class="repeating_PsyPowers">
<div class="sheet-quickborder">
<div class="sheet-row">
<div class="sheet-item" style="width: 11%;"><span data-i18n="name-u">Name:</span></div>
<div class="sheet-item" style="width: 89%;"><input name="attr_PsyName" type="text" /></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 12%;"><span data-i18n="action-u">Action:</span></div>
<div class="sheet-item" style="width: 28%;"><input name="attr_PsyAction" type="text" /></div>
<div class="sheet-item" style="width: 15%;"><span data-i18n="subtype-u">Subtype:</span></div>
<div class="sheet-item" style="width: 45%;"><input name="attr_PsySubtype" type="text" /></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 25%;"><span data-i18n="focus-power-u">Focus Power:</span></div>
<select class="charaselect" style="width: 30%;" name="attr_PsyFocusPower">
<option value="?{Custom|0}"><b>Custom</option>
<option value="@{Perception}"><b>Perception</option>
<option value="[[@{Willpower} + (-20 + @{Psyniscience1} + @{Psyniscience2} + @{Psyniscience3} + @{Psyniscience4})]]"><b>Psyniscience WP</option>
<option value="[[@{Perception} + (-20 + @{Psyniscience1} + @{Psyniscience2} + @{Psyniscience3} + @{Psyniscience4})]]"><b>Psyniscience Per</option>
<option value="@{Willpower}"><b>Willpower</option>
<option value="@{Corruption}"><b>Corruption</option>
</select>
<div class="sheet-item" style="width: 30%;"><span data-i18n="power-mod-u">Power Modifier:</span></div>
<div class="sheet-item" style="width: 15%;"><input name="attr_PsyPowerModifier" type="number" step="0.01" value="0" /></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 12%;"><span data-i18n="range-u">Range:</span></div>
<div class="sheet-item" style="width: 17%;"><input name="attr_PsyRange" type="text" /></div>
<div class="sheet-item" style="width: 17%;"><span data-i18n="sustained-u">Sustained:</span></div>
<div class="sheet-item" style="width: 10%;"><input name="attr_PsySustained" type="text" /></div>
<div class="sheet-item" style="width: 25%;"><span data-i18n="damage-type-u">Damage Type:</span></div>
<div class="sheet-item" style="width: 19%;"><input name="attr_PsyDamageType" type="text" /></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 16%;"><span data-i18n="damage-u">Damage:</span></div>
<div class="sheet-item" style="width: 21%;"><input name="attr_PsyDamage" type="text" /></div>
<div class="sheet-item" style="width: 8%;"><span data-i18n="penetration-u">Pen:</span></div>
<div class="sheet-item" style="width: 16%;"><input name="attr_PsyPen" type="text" /></div>
<div class="sheet-item sheet-redbgns" style="width: 12%;"><button name="roll_PsyHit" type="roll" value="&{template:darkheresy2} {{name=@{character_name} uses @{PsyName}}} {{dhdescription=@{character_name} roll @{PsyName} [[1d100]] Target [[@{PsyFocusPower}+@{PsyPowerModifier}+?{Modifier|+5 per PR}]]. Psychic Strength: ?{Psychic Strength?|Fettered, Fettered ([[ceil(@{PsyRating}/2)]] PR)|Unfettered,Unfettered ([[@{PsyRating}]] PR)|Push,Push ([[@{PsyRating}]]+1 to +3/+4 PR)}}}"> <span data-i18n="cast-u">Cast</span> </button></div>
<div class="sheet-item sheet-redbgns" style="width: 15%;"><button name="roll_PsyDamage" type="roll" value="&{template:darkheresy2} {{name=@{PsyName}}} {{dhdescription=@{character_name}'s @{PsyName} does [[?{Damage|1d10}]] @{PsyDamageType} damage! (Pen: [[?{Penetration|0}]]).}}"> <span data-i18n="damage-u">Damage</span> </button></div>
<div class="sheet-item sheet-redbgns" style="width: 12%;"><button name="roll_PsyInfo" type="roll" value="&{template:default} {{name=@{PsyName}}} {{Action=@{PsyAction}}} {{SubType(s)=@{PsySubtype}}} {{Range=@{PsyRange}}} {{Sustained?=@{PsySustained}}} {{Effect=@{PsyPowersEffectRe}}} "> <span data-i18n="info-u">Info</span> </button></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="special-u">Special:</span></div>
<div class="sheet-item" style="width: 85%;"><input name="attr_Psysp" type="text" /></div>
</div>
<div><textarea name="attr_PsyPowersEffectRe"></textarea></div>
</div>
</fieldset>
</div>
<!-- Break between Left and Right Secondary Columns -->
<!-- Psychic Powers Right Column -->
<div class="sheet-col">
<div class="sheet-row">
<div class="sheet-item" style="width: 20%;"><span data-i18n="max-push-u">Max Push:</span></div>
<div class="sheet-item" style="width: 15%;"><input name="attr_MaxPust" type="number" step="0.01" data-i18n-placeholder="+2/3/4-u" placeholder="+2/3/4"/></div>
<div class="sheet-item" style="width: 20%;"><span data-i18n="sustaining-u">Sustaining:</span></div>
<div class="sheet-item" style="width: 45%;"><input name="attr_Sustaining" type="text" data-i18n-placeholder="+10-psychic-phenomena-u" value="+10 PP / -1 PR"/></div>
</div>
<!-- Psychic Powers Right Column, repeating field -->
<fieldset class="repeating_PsyPowers">
<div class="sheet-quickborder">
<div class="sheet-row">
<div class="sheet-item" style="width: 11%;"><span data-i18n="name-u">Name:</span></div>
<div class="sheet-item" style="width: 89%;"><input name="attr_PsyNameRi" type="text" /></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 12%;"><span data-i18n="action-u">Action:</span></div>
<div class="sheet-item" style="width: 28%;"><input name="attr_PsyActionRi" type="text" /></div>
<div class="sheet-item" style="width: 15%;;"><span data-i18n="subtype-u">Subtype:</span></div>
<div class="sheet-item" style="width: 45%;"><input name="attr_PsySubtypeRi" type="text" /></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 25%;"><span data-i18n="focus-power-u">Focus Power:</span></div>
<select class="charaselect" style="width: 30%;" name="attr_PsyFocusPowerRi">
<option value="?{Custom|0}"><b>Custom</option>
<option value="@{Perception}"><b>Perception</option>
<option value="[[@{Willpower} + (-20 + @{Psyniscience1} + @{Psyniscience2} + @{Psyniscience3} + @{Psyniscience4})]]"><b>Psyniscience WP</option>
<option value="[[@{Perception} + (-20 + @{Psyniscience1} + @{Psyniscience2} + @{Psyniscience3} + @{Psyniscience4})]]"><b>Psyniscience Per</option>
<option value="@{Willpower}"><b>Willpower</option>
<option value="@{Corruption}"><b>Corruption</option>
</select>
<div class="sheet-item" style="width: 30%;"><span data-i18n="power-mod-u">Power Modifier:</span></div>
<div class="sheet-item" style="width: 15%;"><input name="attr_PsyPowerModifierRi" type="number" step="0.01" value="0" /></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 12%;"><span data-i18n="range-u">Range:</span></div>
<div class="sheet-item" style="width: 17%;"><input name="attr_PsyRangeRi" type="text" /></div>
<div class="sheet-item" style="width: 17%;;"><span data-i18n="sustained-u">Sustained:</span></div>
<div class="sheet-item" style="width: 10%;"><input name="attr_PsySustainedRi" type="text" /></div>
<div class="sheet-item" style="width: 25%;"><span data-i18n="damage-type-u">Damage Type:</span></div>
<div class="sheet-item" style="width: 19%;"><input name="attr_PsyDamageTypeRi" type="text"/></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 16%;"><span data-i18n="damage-u">Damage:</span></div>
<div class="sheet-item" style="width: 21%;"><input name="attr_PsyPowerDamageRi" type="text" /></div>
<div class="sheet-item" style="width: 8%;"><span data-i18n="penetration-u">Pen:</span></div>
<div class="sheet-item" style="width: 16%;"><input name="attr_PsyPenRi" type="text" /></div>
<div class="sheet-item sheet-redbgns" style="width: 12%;"><button name="roll_PsyHitRi" type="roll" value="&{template:darkheresy2} {{name=@{character_name} uses @{PsyNameRi}}} {{dhdescription=@{character_name} roll @{PsyNameRi} [[1d100]] Target [[@{PsyFocusPowerRi}+@{PsyPowerModifierRi}+?{Modifier|+5 per PR}]]. Psychic Strength: ?{Psychic Strength?|Fettered, Fettered ([[ceil(@{PsyRating}/2)]] PR)|Unfettered,Unfettered ([[@{PsyRating}]] PR)|Push,Push ([[@{PsyRating}]]+1 to +3/+4 PR)}}}"> <span data-i18n="cast-u">Cast</span> </button></div>
<div class="sheet-item sheet-redbgns" style="width: 15%;"><button name="roll_PsyDamageRi" type="roll" value="&{template:darkheresy2} {{name=@{PsyNameRi}}} {{dhdescription=@{character_name}'s @{PsyNameRi} does [[?{Damage|1d10}]] @{PsyDamageTypeRi} damage! (Pen: [[?{Penetration|0}]]).}}"> <span data-i18n="damage-u">Damage</span> </button></div>
<div class="sheet-item sheet-redbgns" style="width: 12%;"><button name="roll_PsyInfoRi" type="roll" value="&{template:default} {{name=@{PsyNameRi}}} {{Action=@{PsyActionRi}}} {{SubType(s)=@{PsySubtypeRi}}} {{Range=@{PsyRangeRi}}} {{Sustained?=@{PsySustainedRi}}} {{Effect=@{PsyPowersEffectRi}}} "> <span data-i18n="info-u">Info</span> </button></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="special-u">Special:</span></div>
<div class="sheet-item" style="width: 85%;"><input name="attr_PsyspRi" type="text" /></div>
</div>
<div>
<textarea name="attr_PsyPowersEffectRi"></textarea>
</div>
</div>
</fieldset>
</div>
</div>
</div>
</div>
<div class="sheet-section-gear sheet-watermark"><!-- Gear Tab -->
<div class="sheet-wrapper">
<div class="sheet-2colrow">
<!-- Left Side -->
<div class="sheet-col">
<h3 data-i18n="ranged-weapons-u">Ranged Weapons</h3>
<fieldset class="repeating_Rangedweapons">
<div class="sheet-quickborder">
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="name-u">Name:</span></div><input type="hidden" name="attr_my_hidden_row_id" />
<div class="sheet-item" style="width: 38%;"><input name="attr_Rangedweaponname" type="text" /></div>
<div class="sheet-item" style="width: 7%;"><span data-i18n="weight-u">Wt.:</span></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_rangedwwt" type="number" step="0.01" value="0" data-i18n-placeholder="kilograms-u" placeholder="kg" style="text-align:center;"/></div>
<div class="sheet-item" style="width: 11%;"><span data-i18n="class-u">Class:</span></div>
<div class="sheet-item" style="width: 21%;">
<select class="attr_Rangedweaponclass" name="attr_Rangedweaponclass">
<option data-i18n="pistol-u">Pistol</option>
<option data-i18n="basic-u">Basic</option>
<option data-i18n="heavy-u">Heavy</option>
<option data-i18n="thrown-u">Thrown</option>
<option data-i18n="vehicle-u">Vehicle</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 12%;"><span data-i18n="range-u">Range:</span></div>
<div class="sheet-item" style="width: 10%;"><input name="attr_Rangedweaponrange" type="text" /></div>
<div class="sheet-item" style="width: 15%;"><span data-i18n="damage-u">Damage:</span></div>
<div class="sheet-item" style="width: 15%;"><input name="attr_Rangedweapondamage" type="text" /></div>
<div class="sheet-item" style="width: 10%;"><span data-i18n="type-u">Type:</span></div>
<div class="sheet-item" style="width: 22%;"><input name="attr_Rangedweapontype" type="text" /></div>
<div class="sheet-item" style="width: 9%;"><span data-i18n="penetration-u">Pen:</span></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_Rangedweaponpen" type="text" value="0" style="text-align: center;"/></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 9%;"><span data-i18n="rate-of-fire-u">RoF:</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_Rangedweaponsingle" type="text" value="0" /></div>
<div class="sheet-item" style="width: 2%;"><span>/</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_Rangedweaponsemi" type="text" value="0" /></div>
<div class="sheet-item" style="width: 2%;"><span>/</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_Rangedweaponfull" type="text" value="0" /></div>
<div class="sheet-item" style="width: 9%;"><span data-i18n="clip-u">Clip:</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_Rangedweaponclip" type="text" value="0" /></div>
<div class="sheet-item" style="width: 2%;"><span>/</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_Rangedweaponclip_max" type="text" value="0" /></div>
<div class="sheet-item" style="width: 15%;"><span data-i18n="reload-u">Reload:</span></div>
<div class="sheet-item" style="width: 18%;"><input name="attr_Rangedweaponreload" type="text" /></div>
<div class="sheet-item sheet-redbgns" style="width: 15%;"><button name="roll_Rangeddamage" type="roll" value="&{template:darkheresy2} {{name=@{character_name}'s @{Rangedweaponname}}} {{dhdescription=@{character_name}'s @{Rangedweaponname} does [[@{Rangedweapondamage}]] @{Rangedweapontype} damage! (Pen: @{Rangedweaponpen}).}}"> <span data-i18n="damage-u">Damage</span> </button></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="special-u">Special:</span></div>
<div class="sheet-item" style="width: 76%;"><input name="attr_Rangedweaponspecial" type="text" /></div>
<div class="sheet-item sheet-redbgns" style="width: 9%;"><button name="roll_Rangedhit" type="roll" value="&{template:darkheresy2} {{name= @{character_name} fires @{rangedweaponname}!}} {{dhdescription=@{character_name} uses @{Rangedweaponname} rolls [[1d100]] Target [[@{BallisticSkill}+(?{Aim | Half aim (+10),+10| No aim (+0),+0 | Full aim (+20),+20} + ?{Range | Point Blank (+30),+30 | Short Range (+10),+10 | Standard range (+0),+0 | Long Range (-10),-10 | Extreme Range (-30),-30} + ?{Rate of Fire/Attack Type|Standard (+10),+10 | Semi auto (+0),+0 | Full Auto (-10),-10 | Called Shot (-20),-20 | Suppressing Fire (-20),-20} + ?{Modifier|0})]].}}"> <span data-i18n="hit-u">Hit</span> </button></div>
</div>
</div>
</fieldset>
<!-- Break between Ranged and Melee -->
<h3 data-i18n="melee-weapons-u">Melee Weapons</h3>
<fieldset class="repeating_meleeweapons">
<div class="sheet-quickborder">
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="name-u">Name:</span></div>
<div class="sheet-item" style="width: 38%;"><input name="attr_meleeweaponname" type="text" /></div>
<div class="sheet-item" style="width: 7%;"><span data-i18n="weight-u">Wt.:</span></div>
<div class="sheet-item" style="width: 11%;"><input name="attr_meleewwt" type="number" step="0.01" value="0" data-i18n-placeholder="kilograms-u" placeholder="kg" style="text-align:center;"/></div>
<div class="sheet-item" style="width: 12%;"><span data-i18n="class-u">Class:</span></div>
<div class="sheet-item" style="width: 18%;">
<span name="attr_meleeweaponclass" style="line-height: 24px;vertical-align: middle;" data-i18n="melee-u">Melee </span>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="damage-u">Damage:</span></div>
<div class="sheet-item" style="width: 15%;"><input name="attr_meleeweapondamage" type="text" /></div>
<div class="sheet-item" style="width: 12%;"><span data-i18n="type-u">Type:</span></div>
<div class="sheet-item" style="width: 24%;"><input name="attr_meleeweapontype" type="text" /></div>
<div class="sheet-item" style="width: 10%;"><span data-i18n="penetration-u">Pen:</span></div>
<div class="sheet-item" style="width: 10%;"><input name="attr_meleeweaponpen" type="text" value="0" style="text-align: center;"/></div>
<div class="sheet-item sheet-redbgns" style="width: 15%;"><button name="roll_meleedamage" type="roll" value="&{template:darkheresy2} {{name= @{character_name}'s @{meleeweaponname}}} {{dhdescription=@{character_name}'s @{meleeweaponname} does [[@{meleeweapondamage}+@{UnS}+(floor(@{strength}/10))]] @{meleeweapontype} damage! (Pen: @{meleeweaponpen})}}"> <span data-i18n="damage-u">Damage</span> </button></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="special-u">Special:</span></div>
<div class="sheet-item" style="width: 76%;"><input name="attr_meleeweaponspecial" type="text" /></div>
<div class="sheet-item sheet-redbgns" style="width: 9%;"><button name="roll_meleehit" type="roll" value="&{template:darkheresy2} {{name= @{character_name} attacks with @{meleeweaponname}!}} {{dhdescription=@{character_name} uses @{meleeweaponname} rolls [[1d100]] Target [[@{WeaponSkill}+(?{Aim | Half aim (+10),+10 | No aim (+0),+0 | Full aim (+20),+20} + ?{Attack Type | All out (+30),+30| Charge (+20),+20 |Standard (+10),+10 | Swift Attack (+0),+0 | Lighting (-10),-10} + ?{Modifier|0})]]}}"> <span data-i18n="hit-u">Hit</span> </button></div>
</div>
</div>
</fieldset>
<!-- Break between Melee and Daemon Weapons -->
<h3 data-i18n="daemon-weapons-u">Daemon Weapons</h3>
<fieldset class="repeating_Daemonweapons">
<div class="sheet-quickborder">
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="name-u">Name:</span></div>
<div class="sheet-item" style="width: 55%;"><input name="attr_Daemonweaponname" type="text" /></div>
<div class="sheet-item" style="width: 12%;"><span data-i18n="class-u">Class:</span></div>
<div class="sheet-item" style="width: 18%;">
<select class="attr_Daemonweaponclass" name="attr_Rangedweaponclass">
<option data-i18n="melee-u">Melee</option>
<option data-i18n="pistol-u">Pistol</option>
<option data-i18n="basic-u">Basic</option>
<option data-i18n="heavy-u">Heavy</option>
<option data-i18n="thrown-u">Thrown</option>
<option data-i18n="vehicle-u">Vehicle</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 36%;"><span data-i18n="daemons-willpower-u">Daemon's Willpower:</span></div>
<div class="sheet-item" style="width: 10%;"><input name="attr_daemonswillpower" type="number" step="0.01" data-i18n-placeholder="zero-zero-u" Placeholder="00" style="text-align:center;"/></div>
<div class="sheet-item" style="width: 30%;"><span data-i18n="binding-strength-u">Binding Strength:</span></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_daemonbindstr" type="number" step="0.01" value="0" style="text-align:center;"/></div>
<div class="sheet-item" style="width: 7%;"><span data-i18n="weight-u">Wt.:</span></div>
<div class="sheet-item" style="width: 11%;"><input name="attr_daemonwwt" type="number" step="0.01" value="0" data-i18n-placeholder="kilograms-u" placeholder="kg" style="text-align:center;"/></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 20%;"><span data-i18n="alignment-u">Alignment:</span></div>
<div class="sheet-item" style="width: 25%;">
<select class="attr_DWAlign">
<option data-i18n="undivided-u">Undivided</option>
<option data-i18n="khorne-u">Khorne</option>
<option data-i18n="nurgle-u">Nurgle</option>
<option data-i18n="slaanesh-u">Slaanesh</option>
<option data-i18n="tzeentch-u">Tzeentch</option>
</select>
</div>
<div class="sheet-item" style="width: 22%;"><span data-i18n="personality-u">Personality:</span></div>
<div class="sheet-item" style="width: 34%;">
<select class="sizeselect" name="attr_DWPersonality">
<option selected data-i18n="unique-u">Unique</option>
<option data-i18n="vulgar-u">Vulgar</option>
<option data-i18n="jealous-u">Jealous</option>
<option data-i18n="prideful-u">Prideful</option>
<option data-i18n="vindicative-u">Vindictive</option>
<option data-i18n="overbearing-u">Overbearing</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 12%;"><span data-i18n="ranged-u">Range:</span></div>
<div class="sheet-item" style="width: 10%;"><input name="attr_Daemonweaponrange" type="text" /></div>
<div class="sheet-item" style="width: 15%;"><span data-i18n="damage-u">Damage:</span></div>
<div class="sheet-item" style="width: 15%;"><input name="attr_Daemonweapondamage" type="text" /></div>
<div class="sheet-item" style="width: 10%;"><span data-i18n="type-u">Type:</span></div>
<div class="sheet-item" style="width: 22%;"><input name="attr_Daemonweapontype" type="text" /></div>
<div class="sheet-item" style="width: 9%;"><span data-i18n="penetration-u">Pen:</span></div>
<div class="sheet-item" style="width: 8%;"><input name="attr_Deamonweaponpen" type="text" style="text-align: center;"/></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 9%;"><span data-i18n="rate-of-fire-u">RoF:</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_Daemonweaponsingle" type="text" value="0" /></div>
<div class="sheet-item" style="width: 2%;"><span >/</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_Daemonweaponsemi" type="text" value="0" /></div>
<div class="sheet-item" style="width: 2%;"><span>/</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_Daemonweaponfull" type="text" value="0" /></div>
<div class="sheet-item" style="width: 9%;"><span data-i18n="clip-u">Clip:</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_Daemonweaponclip" type="text" value="0" /></div>
<div class="sheet-item" style="width: 2%;"><span>/</span></div>
<div class="sheet-item" style="width: 6%;"><input name="attr_Daemonweaponclip_max" type="text" value="0" /></div>
<div class="sheet-item" style="width: 15%;"><span data-i18n="reload-u">Reload:</span></div>
<div class="sheet-item" style="width: 18%;"><input name="attr_Daemonweaponreload" type="text" /></div>
<div class="sheet-item sheet-redbgns" style="width: 15%;"><button name="roll_Daemondamage" type="roll" value="&{template:darkheresy2} {{name= @{character_name}'s @{Daemonweaponname}}} {{dhdescription=@{character_name}'s @{Daemonweaponname} does [[@{Daemonweapondamage}]] @{Daemonweapontype} damage! (Pen: @{Deamonweaponpen})}}"> <span data-i18n="damage-u">Damage</span> </button></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 15%;"><span data-i18n="special-u">Special:</span></div>
<div class="sheet-item" style="width: 76%;"><input name="attr_daemonweaponspecial" type="text" /></div>
<div class="sheet-item sheet-redbgns" style="width: 9%;"><button name="roll_Daemonhit" type="roll" value="&{template:darkheresy2} {{name= @{character_name} attack with @{Daemonweaponname}!}} {{dhdescription=@{character_name} uses @{Daemonweaponname} rolls [[1d100]] Target [[@{WeaponSkill}+(?{Aim | Half aim (+10),+10 | No aim (+0),+0 | Full aim (+20),+20} + ?{Attack Type | All out (+30),+30| Charge (+20),+20 |Standard (+10),+10 | Swift Attack (+0),+0 | Lighting (-10),-10} + ?{Modifier|0})]]}}"> <span data-i18n="hit-u">Hit</span> </button></div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width: 20%;"><span data-i18n="attributes-u">Attributes:</span></div>
<div class="sheet-item" style="width: 80%;"><input name="attr_daemonweaponattributes" type="text" /></div>
</div>
</div>
</fieldset>
</div>
<!-- Right Side -->
<div class="sheet-col">
<!-- Cybernetics Tracker -->
<h3 data-i18n="cybernetics-u">Cybernetics</h3>
<div class="sheet-quickborder">
<fieldset class="repeating_Cybernetics">
<div class="sheet-item" style="width:90%">
<input name="attr_Cybernetics" type="text">
</div>
<div class="sheet-item" style="width:10%">
<input name="attr_CyberneticsPage" type="text" data-i18n-placeholder="page-number-#-u" placeholder="pg#">
</div>
</fieldset>
</div>
<!-- Gear and Equipment Tracker -->
<h3 data-i18n="gear-u">Gear</h3>
<div class="sheet-quickborder">
<div class="sheet-row">
<div class="sheet-item" style="width:42%">
<span data-i18n="max-carry-wt-(sb+tb)-u">Base Carry Weight S+T: </span>
</div>
<select name="attr_GearCarry" style="width:10%" class="sheet-input-selectbox">
<option value="0.0" >NA</option>
<option value="0.9" >0</option>
<option value="2.25" >1</option>
<option value="4.5">2</option>
<option value="9">3</option>
<option value="18">4</option>
<option value="27">5</option>
<option value="36" selected>6</option>
<option value="45">7</option>
<option value="56">8</option>
<option value="67">9</option>
<option value="78">10</option>
<option value="90">11</option>
<option value="112">12</option>
<option value="225">13</option>
<option value="337">14</option>
<option value="450">15</option>
<option value="675">16</option>
<option value="900">17</option>
<option value="1350">18</option>
<option value="1800">19</option>
<option value="2250">20</option>
</select>
<div class="sheet-item" style="width:9%">
</div>
<div class="sheet-item" style="width:10%">
<span data-i18n="mod-u">Mod: </span>
</div>
<div class="sheet-item" style="width:13%">
<input name="attr_GearCarryMod" type="number" step="0.01" value="0">
</div>
</div>
<div class="sheet-row">
<div class="sheet-item" style="width:10%">
<span data-i18n="max-u">Max: </span>
</div>
<div class="sheet-item" style="width:15%">
<input disabled="true" name="attr_GearCarryMax" type="number" step="0.01" value="@{GearCarry} + @{GearCarryMod}">
</div>
<div class="sheet-item" style="width:17%">
<span data-i18n="available-u">Available: </span>
</div>
<div class="sheet-item" style="width:15%">
<input disabled="true" name="attr_GearCarryAvailible" type="number" step="0.01" value="@{GearCarry} + @{GearCarryMod} - @{GearCarryCurrent}">
</div>
<div class="sheet-item" style="width:1%">
</div>
<div class="sheet-item" style="width:15%">
<span data-i18n="current-u">Current: </span>
<label>Current : </label>
</div>
<div class="sheet-item" style="width:15%">
<input name="attr_GearCarryCurrent" type="text">
</div>
</div>
<fieldset class="repeating_Gears">
<div class="sheet-item" style="width:80%">
<input name="attr_Gears" type="text">
</div>
<div class="sheet-item" style="width:10%">
<input name="attr_GeasrWt" type="number" step="0.01" value="0" data-i18n-placeholder="weight-u" placeholder="wt.">
</div>
<div class="sheet-item" style="width:10%">
<input name="attr_GearsPage" type="text" data-i18n-placeholder="page-number-#-u" placeholder="pg#">
</div>
</fieldset>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="sheet-section-social sheet-watermark"><!-- Social Tab -->
<!-- This section contains Social and Infamy Related entries -->
<div class="sheet-wrapper">
<div class="sheet-2colrow">
<!-- First Column Begins -->
<div class="sheet-col">
<!-- Allies -->
<div class="sheet-row">
<h3 data-i18n="peers-u">Peers</h3>
<div class="sheet-item sheet-socialspan" style="width:12%">
<span data-i18n="peer-u">Peer: </span>
</div>
<div class="sheet-item" style="width:73%">
<input name="attr_Allies" type="text">
</div>
<div class="sheet-item sheet-socialitem" style="width:7%">
<input name="attr_AlliesInf" value="0" type="number" step="0.01" title="Total Infamy gained">
</div>
<div class="sheet-item sheet-Impskull" style="width: 9%;">
<button name="roll_A1Fel" type="roll" value="&{template:darkheresy2} {{name= @{Allies}}} {{dhdescription=@{character_name} for relationship with @{Allies} rolls [[1d100]] Target [[@{Fellowship}+(@{AlliesInf}*10)+?{Modifier|0}]]}}" title="Modified Fellowship Roll"></button>
</div>
<fieldset class="repeating_Allies">
<div class="sheet-item sheet-socialspan" style="width:12%">
<span data-i18n="peer-u">Peer: </span>
</div>
<div class="sheet-item" style="width:73%">
<input name="attr_AlliesRe" type="text">
</div>
<div class="sheet-item sheet-socialitem" style="width:7%">
<input name="attr_AlliesReInf" value="0" type="number" step="0.01" title="Times Taken">
</div>
<div class="sheet-item sheet-Impskull" style="width: 9%;">
<button name="roll_A1Fel" type="roll" value="&{template:darkheresy2} {{name= @{AlliesRe}}} {{dhdescription=@{character_name} for relationship with @{AlliesRe} rolls [[1d100]] Target [[@{Fellowship}+(@{AlliesReInf}*10)+?{Modifier|0}]]}}" title="Modified Fellowship Roll"></button>
</div>
</fieldset>
</div>
</div>
<!-- Begin Enemy Tab -->
<div class="sheet-col">
<div class="sheet-row">
<h3 data-i18n="enemies-u">Enemies</h3>
<div class="sheet-item sheet-socialspan" style="width:14%">
<span data-i18n="enemy-u">Enemy: </span>
</div>
<div class="sheet-item" style="width:71%">
<input name="attr_Enemies" type="text">
</div>
<div class="sheet-item sheet-socialitem" style="width:7%">
<input name="attr_EnemiesInf" value="0" type="number" step="0.01" title="Times taken">
</div>
<div class="sheet-item sheet-Impskull" style="width: 9%;">
<button name="roll_E1Fel" type="roll" value="&{template:darkheresy2} {{name= @{Enemies}}} {{dhdescription=@{character_name} for relationship with @{Enemies} rolls [[1d100]] Target [[@{Fellowship}+(-@{EnemiesInf}*10)+?{Modifier|0}]]}}" title="Modified Fellowship Roll"></button>
</div>
<fieldset class="repeating_Enemies">
<div class="sheet-item sheet-socialspan" style="width:14%">
<span data-i18n="enemy-u">Enemy: </span>
</div>
<div class="sheet-item" style="width:71%">
<input name="attr_EnemiesRe" type="text">
</div>
<div class="sheet-item sheet-socialitem" style="width:7%">
<input name="attr_EnemiesReInf" value="0" type="number" step="0.01" title="Times gained">
</div>
<div class="sheet-item sheet-Impskull" style="width: 9%;">
<button name="roll_E1Fel" type="roll" value="&{template:darkheresy2} {{name= @{EnemiesRe}}} {{dhdescription=@{character_name} for relationship with @{EnemiesRe} rolls [[1d100]] Target [[@{Fellowship}+(-@{EnemiesReInf}*10)+?{Modifier|0}]]}}" title="Modified Fellowship Roll"></button>
</div>
</fieldset>
</div>
</div>
<!-- End Enemy Tab -->
</div>
</div>
<img src="http://i.imgur.com/TKfHnQ9.png"><!-- Divider, seperates tabs from permenant space-->
</div>
<!-- This section contains Roll Templates HTML -->
<rolltemplate class="sheet-rolltemplate-darkheresy2">
<table >
<tr><th>{{name}}</th></tr>
<tr><td><img src="http://i.imgur.com/g1SVcwZ.png" height="100%" width="auto" max-width="100px"></td></tr>
<tr><td><span class="tcat">{{dhdescription}} </span> </td></tr>
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-scattergram">
<table >
<tr><th data-i18n="scatter-diagram-u">Scatter Diagram</th></tr>
<tr><td><img src="http://i.imgur.com/g1SVcwZ.png" height="100%" width="auto" max-width="100px"></td></tr>
<tr><td><span class="tcat"><img src="http://i.imgur.com/3Tvp7Ay.png"></span> </td></tr>
</table>
</rolltemplate>
<script type="text/worker">
/* ---- BEGIN: TheAaronSheet.js ---- */
// Github: https://github.com/shdwjk/TheAaronSheet/blob/master/TheAaronSheet.js
// By: The Aaron, Arcane Scriptomancer
// Contact: https://app.roll20.net/users/104025/the-aaron
var TAS = TAS || (function(){
'use strict';
var version = '0.2.3',
lastUpdate = 1457098056,
loggingSettings = {
debug: {
key: 'debug',
title: 'DEBUG',
color: {
bgLabel: '#7732A2',
label: '#F2EF40',
bgText: '#FFFEB7',
text: '#7732A2'
}
},
error: {
key: 'error',
title: 'Error',
color: {
bgLabel: '#C11713',
label: 'white',
bgText: '#C11713',
text: 'white'
}
},
warn: {
key: 'warn',
title: 'Warning',
color: {
bgLabel: '#F29140',
label: 'white',
bgText: '#FFD8B7',
text: 'black'
}
},
info: {
key: 'info',
title: 'Info',
color: {
bgLabel: '#413FA9',
label: 'white',
bgText: '#B3B2EB',
text: 'black'
}
},
notice: {
key: 'notice',
title: 'Notice',
color: {
bgLabel: '#33C133',
label: 'white',
bgText: '#ADF1AD',
text: 'black'
}
},
log: {
key: 'log',
title: 'Log',
color: {
bgLabel: '#f2f240',
label: 'black',
bgText: '#ffff90',
text: 'black'
}
},
callstack: {
key: 'TAS',
title: 'function',
color: {
bgLabel: '#413FA9',
label: 'white',
bgText: '#B3B2EB',
text: 'black'
}
},
callstack_async: {
key: 'TAS',
title: 'ASYNC CALL',
color: {
bgLabel: '#413FA9',
label: 'white',
bgText: '#413FA9',
text: 'white'
}
},
TAS: {
key: 'TAS',
title: 'TAS',
color: {
bgLabel: 'grey',
label: 'black;background:linear-gradient(#304352,#d7d2cc,#d7d2cc,#d7d2cc,#304352)',
bgText: 'grey',
text: 'black;background:linear-gradient(#304352,#d7d2cc,#d7d2cc,#d7d2cc,#304352)'
}
}
},
config = {
debugMode: false,
logging: {
log: true,
notice: true,
info: true,
warn: true,
error: true,
debug: false
}
},
callstackRegistry = [],
queuedUpdates = {}, //< Used for delaying saves till the last momment.
complexType = function(o){
switch(typeof o){
case 'string':
return 'string';
case 'boolean':
return 'boolean';
case 'number':
return (_.isNaN(o) ? 'NaN' : (o.toString().match(/\./) ? 'decimal' : 'integer'));
case 'function':
return 'function: '+(o.name ? o.name+'()' : '(anonymous)');
case 'object':
return (_.isArray(o) ? 'array' : (_.isArguments(o) ? 'arguments' : ( _.isNull(o) ? 'null' : 'object')));
default:
return typeof o;
}
},
dataLogger = function(primaryLogger,secondaryLogger,data){
_.each(data,function(m){
var type = complexType(m);
switch(type){
case 'string':
primaryLogger(m);
break;
case 'undefined':
case 'null':
case 'NaN':
primaryLogger('['+type+']');
break;
case 'number':
case 'not a number':
case 'integer':
case 'decimal':
case 'boolean':
primaryLogger('['+type+']: '+m);
break;
default:
primaryLogger('['+type+']:=========================================');
secondaryLogger(m);
primaryLogger('=========================================================');
break;
}
});
},
colorLog = function(options){
var coloredLoggerFunction,
key = options.key,
label = options.title || 'TAS',
lBGColor = (options.color && options.color.bgLabel) || 'blue',
lTxtColor = (options.color && options.color.label) || 'white',
mBGColor = (options.color && options.color.bgText) || 'blue',
mTxtColor = (options.color && options.color.text) || 'white';
coloredLoggerFunction = function(message){
console.log(
'%c '+label+': %c '+message + ' ',
'background-color: '+lBGColor+';color: '+lTxtColor+'; font-weight:bold;',
'background-color: '+mBGColor+';color: '+mTxtColor+';'
);
};
return function(){
if('TAS'===key || config.logging[key]){
dataLogger(coloredLoggerFunction,function(m){console.log(m);},_.toArray(arguments));
}
};
},
logDebug = colorLog(loggingSettings.debug),
logError = colorLog(loggingSettings.error),
logWarn = colorLog(loggingSettings.warn),
logInfo = colorLog(loggingSettings.info),
logNotice = colorLog(loggingSettings.notice),
logLog = colorLog(loggingSettings.log),
log = colorLog(loggingSettings.TAS),
logCS = colorLog(loggingSettings.callstack),
logCSA = colorLog(loggingSettings.callstack_async),
registerCallstack = function(callstack,label){
var idx=_.findIndex(callstackRegistry,function(o){
return (_.difference(o.stack,callstack).length === _.difference(callstack,o.stack).length) &&
_.difference(o.stack,callstack).length === 0 &&
o.label === label;
});
if(-1 === idx){
idx=callstackRegistry.length;
callstackRegistry.push({
stack: callstack,
label: label
});
}
return idx;
},
setConfigOption = function(options){
var newconf =_.defaults(options,config);
newconf.logging=_.defaults(
(options && options.logging)||{},
config.logging
);
config=newconf;
},
debugMode = function(){
config.logging.debug=true;
config.debugMode = true;
},
getCallstack = function(){
var e = new Error('dummy'),
stack = _.map(_.rest(e.stack.replace(/^[^\(]+?[\n$]/gm, '')
.replace(/^\s+at\s+/gm, '')
.replace(/^Object.<anonymous>\s*\(/gm, '{anonymous}()@')
.split('\n')),function(l){
return l.replace(/\s+.*$/,'');
});
return stack;
},
logCallstackSub = function(cs){
var matches, csa;
_.find(cs,function(line){
matches = line.match(/TAS_CALLSTACK_(\d+)/);
if(matches){
csa=callstackRegistry[matches[1]];
logCSA( '===================='+(csa.label ? '> '+csa.label+' <' : '')+'====================');
logCallstackSub(csa.stack);
return true;
}
logCS(line);
return false;
});
},
logCallstack = function(){
var cs;
if(config.debugMode){
cs = getCallstack();
cs.shift();
log('==============================> CALLSTACK <==============================');
logCallstackSub(cs);
log('=========================================================================');
}
},
wrapCallback = function (label, callback, context){
var callstack;
if('function' === typeof label){
context=callback;
callback=label;
label=undefined;
}
if(!config.debugMode){
return (function(cb,ctx){
return function(){
cb.apply(ctx||{},arguments);
};
}(callback,context));
}
callstack = getCallstack();
callstack.shift();
return (function(cb,ctx,cs,lbl){
var ctxref=registerCallstack(cs,lbl);
/*jshint -W054 */
return new Function('cb','ctx','TASlog',
"return function TAS_CALLSTACK_"+ctxref+"(){"+
"TASlog('Entering: '+(cb.name||'(anonymous function)'));"+
"cb.apply(ctx||{},arguments);"+
"TASlog('Exiting: '+(cb.name||'(anonymous function)'));"+
"};")(cb,ctx,log);
/*jshint +W054 */
}(callback,context,callstack,label));
},
prepareUpdate = function( attribute, value ){
queuedUpdates[attribute]=value;
},
applyQueuedUpdates = function() {
setAttrs(queuedUpdates);
queuedUpdates = {};
},
namesFromArgs = function(args,base){
return _.chain(args)
.reduce(function(memo,attr){
if('string' === typeof attr) {
memo.push(attr);
} else if(_.isArray(args) || _.isArguments(args)){
memo = namesFromArgs(attr,memo);
}
return memo;
},(_.isArray(base) && base) || [])
.uniq()
.value();
},
addId = function(obj,value){
Object.defineProperty(obj,'id',{
value: value,
writeable: false,
enumerable: false
});
},
addProp = function(obj,prop,value,fullname){
(function(){
var pname=(_.contains(['S','F','I','D'],prop) ? '_'+prop : prop),
full_pname = fullname || prop,
pvalue=value;
_.each(['S','I','F'],function(p){
if( !_.has(obj,p)){
Object.defineProperty(obj, p, {
value: {},
enumerable: false,
readonly: true
});
}
});
if( !_.has(obj,'D')){
Object.defineProperty(obj, 'D', {
value: _.reduce(_.range(10),function(m,d){
Object.defineProperty(m, d, {
value: {},
enumerable: true,
readonly: true
});
return m;
},{}),
enumerable: false,
readonly: true
});
}
// Raw value
Object.defineProperty(obj, pname, {
enumerable: true,
set: function(v){
if(v!==pvalue) {
pvalue=v;
prepareUpdate(full_pname,v);
}
},
get: function(){
return pvalue;
}
});
// string value
Object.defineProperty(obj.S, pname, {
enumerable: true,
set: function(v){
var val=v.toString();
if(val !== pvalue) {
pvalue=val;
prepareUpdate(full_pname,val);
}
},
get: function(){
return pvalue.toString();
}
});
// int value
Object.defineProperty(obj.I, pname, {
enumerable: true,
set: function(v){
var val=parseInt(v,10) || 0;
if(val !== pvalue){
pvalue=val;
prepareUpdate(full_pname,val);
}
},
get: function(){
return parseInt(pvalue,10) || 0;
}
});
// float value
Object.defineProperty(obj.F, pname, {
enumerable: true,
set: function(v){
var val=parseFloat(v) || 0;
if(val !== pvalue) {
pvalue=val;
prepareUpdate(full_pname,val);
}
},
get: function(){
return parseFloat(pvalue) || 0;
}
});
_.each(_.range(10),function(d){
Object.defineProperty(obj.D[d], pname, {
enumerable: true,
set: function(v){
var val=(parseFloat(v) || 0).toFixed(d);
if(val !== pvalue){
pvalue=val;
prepareUpdate(full_pname,val);
}
},
get: function(){
return (parseFloat(pvalue) || 0).toFixed(d);
}
});
});
}());
},
repeating = function( section ) {
return (function(s){
var sectionName = s,
attrNames = [],
fieldNames = [],
operations = [],
after = [],
repAttrs = function TAS_Repeating_Attrs(){
attrNames = namesFromArgs(arguments,attrNames);
return this;
},
repFields = function TAS_Repeating_Fields(){
fieldNames = namesFromArgs(arguments,fieldNames);
return this;
},
repReduce = function TAS_Repeating_Reduce(func, initial, final, context) {
operations.push({
type: 'reduce',
func: (func && _.isFunction(func) && func) || _.noop,
memo: (_.isUndefined(initial) && 0) || initial,
final: (final && _.isFunction(final) && final) || _.noop,
context: context || {}
});
return this;
},
repMap = function TAS_Repeating_Map(func, final, context) {
operations.push({
type: 'map',
func: (func && _.isFunction(func) && func) || _.noop,
final: (final && _.isFunction(final) && final) || _.noop,
context: context || {}
});
return this;
},
repEach = function TAS_Repeating_Each(func, final, context) {
operations.push({
type: 'each',
func: (func && _.isFunction(func) && func) || _.noop,
final: (final && _.isFunction(final) && final) || _.noop,
context: context || {}
});
return this;
},
repTap = function TAS_Repeating_Tap(final, context) {
operations.push({
type: 'tap',
final: (final && _.isFunction(final) && final) || _.noop,
context: context || {}
});
return this;
},
repAfter = function TAS_Repeating_After(callback,context) {
after.push({
callback: (callback && _.isFunction(callback) && callback) || _.noop,
context: context || {}
});
return this;
},
repExecute = function TAS_Repeating_Execute(callback,context){
var rowSet = {},
attrSet = {},
fieldIds = [],
fullFieldNames = [];
repAfter(callback,context);
// call each operation per row.
// call each operation's final
getSectionIDs("repeating_"+sectionName,function(ids){
fieldIds = ids;
fullFieldNames = _.reduce(fieldIds,function(memo,id){
return memo.concat(_.map(fieldNames,function(name){
return 'repeating_'+sectionName+'_'+id+'_'+name;
}));
},[]);
getAttrs( _.uniq(attrNames.concat(fullFieldNames)), function(values){
_.each(attrNames,function(aname){
if(values.hasOwnProperty(aname)){
addProp(attrSet,aname,values[aname]);
}
});
rowSet = _.reduce(fieldIds,function(memo,id){
var r={};
addId(r,id);
_.each(fieldNames,function(name){
var fn = 'repeating_'+sectionName+'_'+id+'_'+name;
addProp(r,name,values[fn],fn);
});
memo[id]=r;
return memo;
},{});
_.each(operations,function(op){
var res;
switch(op.type){
case 'tap':
_.bind(op.final,op.context,rowSet,attrSet)();
break;
case 'each':
_.each(rowSet,function(r){
_.bind(op.func,op.context,r,attrSet,r.id,rowSet)();
});
_.bind(op.final,op.context,rowSet,attrSet)();
break;
case 'map':
res = _.map(rowSet,function(r){
return _.bind(op.func,op.context,r,attrSet,r.id,rowSet)();
});
_.bind(op.final,op.context,res,rowSet,attrSet)();
break;
case 'reduce':
res = op.memo;
_.each(rowSet,function(r){
res = _.bind(op.func,op.context,res,r,attrSet,r.id,rowSet)();
});
_.bind(op.final,op.context,res,rowSet,attrSet)();
break;
}
});
// finalize attrs
applyQueuedUpdates();
_.each(after,function(op){
_.bind(op.callback,op.context)();
});
});
});
};
return {
attrs: repAttrs,
attr: repAttrs,
column: repFields,
columns: repFields,
field: repFields,
fields: repFields,
reduce: repReduce,
inject: repReduce,
foldl: repReduce,
map: repMap,
collect: repMap,
each: repEach,
forEach: repEach,
tap: repTap,
'do': repTap,
after: repAfter,
last: repAfter,
done: repAfter,
execute: repExecute,
go: repExecute,
run: repExecute
};
}(section));
},
repeatingSimpleSum = function(section, field, destination){
repeating(section)
.attr(destination)
.field(field)
.reduce(function(m,r){
return m + (r.F[field]);
},0,function(t,r,a){
a.S[destination]=t;
})
.execute();
};
console.log('%c•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸ The Aaron Sheet v'+version+' ¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•','background: linear-gradient(to right,green,white,white,green); color:black;text-shadow: 0 0 8px white;');
console.log('%c•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸ Last update: '+(new Date(lastUpdate*1000))+' ¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•','background: linear-gradient(to right,green,white,white,green); color:black;text-shadow: 0 0 8px white;');
return {
/* Repeating Sections */
repeatingSimpleSum: repeatingSimpleSum,
repeating: repeating,
/* Configuration */
config: setConfigOption,
/* Debugging */
callback: wrapCallback,
callstack: logCallstack,
debugMode: debugMode,
_fn: wrapCallback,
/* Logging */
debug: logDebug,
error: logError,
warn: logWarn,
info: logInfo,
notice: logNotice,
log: logLog
};
}());
/* ---- END: TheAaronSheet.js ---- */
/*on('change:repeating_advancements',function(){
TAS.repeatingSimpleSum('advancements','advancementRe1xp','XPSpent');
});*/
on('change:repeating_advancements', function(){
TAS.repeating('advancements')
.attrs('XPSpent')
.fields('advancementRe1xp','advancementRe2xp', 'advancementRe3xp')
.reduce(function(memo, row)
{
memo += (row.I.advancementRe1xp);
memo += (row.I.advancementRe2xp);
memo += (row.I.advancementRe3xp);
return memo;
},0,function(memo, row, attrSet)
{
attrSet.I.XPSpent = memo;
})
.execute();
});
/*on('change:repeating_Gears', function(){
TAS.repeating('Gears') //< set the repeating group we are using
.attrs('GearCarryCurrent') //< specify we want access to the total_weight attribute
.fields('GeasrWt') //< specify we want the item and weight repeating fields
.reduce(function(memo, row)
{
memo += (row.F.GeasrWt);
return memo;
},0,function(memo, row, attrSet)
{
attrSet.F.GearCarryCurrent = memo;
})
.execute();
});*/
on('change:repeating_Gears',function(){
TAS.repeatingSimpleSum('Gears','GeasrWt','GearCarryCurrent');
});
on('change:repeating_ShipEssentialComponents',function(){
TAS.repeatingSimpleSum('ShipEssentialComponents','ShipEssentialComponentPower','ShipEssentialComponentsPowerTotal');
});
on('change:repeating_ShipSupplementalComponents',function(){
TAS.repeatingSimpleSum('ShipSupplementalComponents','ShipSupplementalComponentPower','ShipSupplementalComponentsPowerTotal');
});
on('change:repeating_ShipEssentialComponents',function(){
TAS.repeatingSimpleSum('ShipEssentialComponents','ShipEssentialComponentSpace','ShipEssentialComponentsSpaceTotal');
});
on('change:repeating_ShipSupplementalComponents',function(){
TAS.repeatingSimpleSum('ShipSupplementalComponents','ShipSupplementalComponentSpace','ShipSupplementalComponentsSpaceTotal');
});
</script>