Files
roll20-character-sheets-tester/Cyberpunk 2020/Cyberpunk2020.html
T
CoalPoweredPuppet a781a6887d Cyberpunk 2020 sheet workers
Updated with sheet workers, some design stuff, etc.
2017-07-20 19:38:59 -04:00

3033 lines
181 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.
<div>
<!--Wounds -->
<div class="sheet-wrapper">
<table class="damagetable" style="width:830px;">
<tr class="damagetable">
<th class="damagetable">Uninjured</th>
<th class="damagetable">Light
<input type='checkbox' name='attr_LightlyWounded' value='1' />
</th>
<th class="damagetable">Serious
<input type='checkbox' name='attr_SeriouslyWounded' value='1' />
<input type='radio' value='0' name='attr_SeriousWound'checked='True'>
<input type='radio' value='2' name='attr_SeriousWound'>
</th>
<th class="damagetable">Critical <input type='checkbox' name='attr_CriticallyWounded' value='1' /></th>
<th class="damagetable">Mortal 0 <input type='checkbox' name='attr_Mortal0Wounded' value='1' /></th>
<th class="damagetable">Mortal 1 <input type='checkbox' name='attr_Mortal1Wounded' value='1' /></th>
<th class="damagetable">Mortal 2 <input type='checkbox' name='attr_Mortal2Wounded' value='1' /></th>
<th class="damagetable">Mortal 3 <input type='checkbox' name='attr_Mortal3Wounded' value='1' /></th>
<th class="damagetable">Mortal 4 <input type='checkbox' name='attr_Mortal4Wounded' value='1' /></th>
<th class="damagetable">Mortal 5 <input type='checkbox' name='attr_Mortal5Wounded' value='1' /></th>
<th class="damagetable">Mortal 6 <input type='checkbox' name='attr_Mortal6Wounded' value='1' /></th>
</tr>
<tr class="damagetable">
<td class="damagetable">
<input type='radio' value='1' name='attr_Wound' checked='true'><span></span>
</td>
<td class="damagetable">
<input type='radio' value='1.001' name='attr_Wound'><span></span>
<input type='radio' value='1.002' name='attr_Wound'><span></span>
<input type='radio' value='1.003' name='attr_Wound'><span></span>
<input type='radio' value='1.004' name='attr_Wound'><span></span>
</td>
<td class="damagetable">
<input type='radio' value='1.011' name='attr_Wound'><span></span>
<input type='radio' value='1.012' name='attr_Wound'><span></span>
<input type='radio' value='1.013' name='attr_Wound'><span></span>
<input type='radio' value='1.014' name='attr_Wound'><span></span>
</td>
<td class="damagetable">
<input type='radio' value='2.001' name='attr_Wound'><span></span>
<input type='radio' value='2.002' name='attr_Wound'><span></span>
<input type='radio' value='2.003' name='attr_Wound'><span></span>
<input type='radio' value='2.004' name='attr_Wound'><span></span>
</td>
<td class="damagetable">
<input type='radio' value='3.001' name='attr_Wound'><span></span>
<input type='radio' value='3.002' name='attr_Wound'><span></span>
<input type='radio' value='3.003' name='attr_Wound'><span></span>
<input type='radio' value='3.004' name='attr_Wound'><span></span>
</td>
<td class="damagetable">
<input type='radio' value='3.011' name='attr_Wound'><span></span>
<input type='radio' value='3.012' name='attr_Wound'><span></span>
<input type='radio' value='3.013' name='attr_Wound'><span></span>
<input type='radio' value='3.014' name='attr_Wound'><span></span>
</td>
<td class="damagetable">
<input type='radio' value='3.021' name='attr_Wound'><span></span>
<input type='radio' value='3.022' name='attr_Wound'><span></span>
<input type='radio' value='3.023' name='attr_Wound'><span></span>
<input type='radio' value='3.024' name='attr_Wound'><span></span>
</td>
<td class="damagetable">
<input type='radio' value='3.031' name='attr_Wound'><span></span>
<input type='radio' value='3.032' name='attr_Wound'><span></span>
<input type='radio' value='3.033' name='attr_Wound'><span></span>
<input type='radio' value='3.034' name='attr_Wound'><span></span>
</td>
<td class="damagetable">
<input type='radio' value='3.041' name='attr_Wound'><span></span>
<input type='radio' value='3.042' name='attr_Wound'><span></span>
<input type='radio' value='3.043' name='attr_Wound'><span></span>
<input type='radio' value='3.044' name='attr_Wound'><span></span>
</td>
<td class="damagetable">
<input type='radio' value='3.051' name='attr_Wound'><span></span>
<input type='radio' value='3.052' name='attr_Wound'><span></span>
<input type='radio' value='3.053' name='attr_Wound'><span></span>
<input type='radio' value='3.054' name='attr_Wound'><span></span>
</td>
<td class="damagetable">
<input type='radio' value='3.061' name='attr_Wound'><span></span>
<input type='radio' value='3.062' name='attr_Wound'><span></span>
<input type='radio' value='3.063' name='attr_Wound'><span></span>
<input type='radio' value='3.064' name='attr_Wound'><span></span>
</td>
</tr>
</table>
</div>
<!--Attributes -->
<div class="sheet-top_half sheet-wrapper">
<table style="width:830px;">
<tr>
<td style="width:50px"></td>
<th><button type='roll' class="sheet-front" value='/e @{Handle} rolls Int [[1d10! + [[@{Int}]] ]]'>Int</button></th>
<th><button type='roll' class="sheet-front" value='/e @{Handle} rolls Ref [[1d10! + [[@{Ref}]] ]]'>Ref</button></th>
<th><button type='roll' class="sheet-front" value='/e @{Handle} rolls Tech [[1d10! + [[@{Tech}]] ]]'>Tech</button></th>
<th><button type='roll' class="sheet-front" value='/e @{Handle} rolls Cool [[1d10! + [[@{Cool}]] ]]'>Cool</button></th>
<th><button type='roll' class="sheet-front" value='/e @{Handle} rolls ATTR [[1d10! + [[@{Attr}]] ]]'>Attr</button></th>
<th><button type='roll' class="sheet-front" value='/e @{Handle} rolls Luck [[1d10! + [[@{Luck}]] ]]'>Luck</button></th>
<th><button type='roll' class="sheet-front" value='/e @{Handle} rolls Ma [[1d10! + [[@{Ma}]] ]]'>Ma</button></th>
<th><button type='roll' class="sheet-front" value='/e @{Handle} rolls Body [[1d10! + [[@{Body}]] ]]'>Body Type</button></th>
<th><button type='roll' class="sheet-front" value='/e @{Handle} rolls Emp [[1d10! + [[@{Emp}]] ]]'>Emp</button></th>
</tr>
<tr>
<td><b>Total</b></td>
<th><input type="number" class="sheet-stat" name="attr_Int" value="ceil(@{Int_Temp}+@{Int_Base}/floor(@{Wound}))" disabled="true" /></th>
<th><input type="number" class="sheet-stat" name="attr_Ref" value="ceil(@{Ref_Temp}+@{Ref_Base}/floor(@{Wound}))-(@{SeriousWound})" disabled="true" /></th>
<th><input type="number" class="sheet-stat" name="attr_Tech" value="@{Tech_Base}+@{Tech_Temp}" disabled="true" /></th>
<th><input type="number" class="sheet-stat" name="attr_Cool" value="ceil(@{Cool_Temp}+@{Cool_Base}/floor(@{Wound}))" disabled="true" /></th>
<th><input type="number" class="sheet-stat" name="attr_Attr" value="@{Attr_Base}+@{Attr_Temp}" disabled="true" /></th>
<th><input type="number" class="sheet-stat" name="attr_Luck" value="@{Luck_Base}+@{Luck_Temp}" disabled="true" /></th>
<th><input type="number" class="sheet-stat" name="attr_Ma" value="@{Ma_Temp}+@{Ma_Base}" disabled="true" /></th>
<th><input type="number" class="sheet-stat" name="attr_Body" value="0" readonly /></th>
<th><input type="number" class="sheet-stat" name="attr_Emp" value="0" /></th>
</tr>
<tr>
<td><b>Base</b></td>
<th><input type="text" style="width: 45px;" name="attr_Int_Base" Value="0" /></th>
<th><input type="text" style="width: 45px;" name="attr_Ref_Base" Value="0" /></th>
<th><input type="text" style="width: 45px;" name="attr_Tech_Base" Value="0" /></th>
<th><input type="text" style="width: 45px;" name="attr_Cool_Base" Value="0" /></th>
<th><input type="text" style="width: 45px;" name="attr_Attr_Base" Value="0" /></th>
<th><input type="text" style="width: 45px;" name="attr_Luck_Base" Value="0" /></th>
<th><input type="text" style="width: 45px;" name="attr_Ma_Base" Value="0" /></th>
<th><input type="text" style="width: 45px;" name="attr_Body_Base" Value="0" /></th>
<th><input type="text" style="width: 45px;" name="attr_Emp_Base" Value="0" /></th>
</tr>
<tr>
<td><b>Temp Mod</b></td>
<th><input type="text" style="width: 45px;" name="attr_Int_Temp" Value="0" /></th>
<th><input type="text" style="width: 45px;" name="attr_Ref_Temp" Value="0" /></th>
<th><input type="text" style="width: 45px;" name="attr_Tech_Temp" Value="0" /></th>
<th><input type="text" style="width: 45px;" name="attr_Cool_Temp" Value="0" /></th>
<th><input type="text" style="width: 45px;" name="attr_Attr_Temp" Value="0" /></th>
<th><input type="text" style="width: 45px;" name="attr_Luck_Temp" Value="0" /></th>
<th><input type="text" style="width: 45px;" name="attr_Ma_Temp" Value="0" /></th>
<th><input type="text" style="width: 45px;" name="attr_Body_Temp" Value="0" /></th>
<th><input type="text" style="width: 45px;" name="attr_Emp_Temp" Value="0" /></th>
</tr>
<tr>
<td style="width:50px"></td>
<th>Run</th>
<th><input type="number" class="sheet-stat" name="attr_Run" value="@{Ma}*3" disabled="true" /></th>
<th>Leap</th>
<th><input type="number" class="sheet-stat" name="attr_Leap" value="@{Run}/4" disabled="true" /></th>
<th>Carry</th>
<th><input type="number" class="sheet-stat" name="attr_Lift" value="@{Body}*10" disabled="true" /></th>
<th>Lift</th>
<th><input type="number" class="sheet-stat" name="attr_Lift" value="@{Body}*40" disabled="true" /></th>
</tr>
</table>
</div>
</div>
<!-- Cyberpunk 2020 Character Sheet -->
<!-- Made by Tony R. -->
<!-- With lots of help from Chris N. -->
<!-- Further modified by CoalPoweredPuppet, with excellent guidance from TonyRettich -->
<!-- Inspired by Diana P.'s d&d 3.5 character sheet and Alicia G's Star Wars Saga Edition character sheet -->
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab1" value="1" title="Character" checked="checked" /><span></span>
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab2" value="2" title="Skills" /><span></span>
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab3" value="3" title="Cybernetics" /><span></span>
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab4" value="4" title="Combat" /><span></span>
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab5" value="5" title="Inventory" /><span></span>
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab6" value="6" title="Programs" /><span></span>
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab7" value="7" title="Run Dot Net" /><span></span>
<h1>Cyberpunk 2020 Character Sheet</h1>
<div class="sheet-tab-content sheet-tab1">
<div class='sheet-3colrow'>
<div class='sheet-col'>
<!-- First column -->
<h3>Handle</h3>
<input type="text" name="attr_Handle" />
<h3>Role</h3>
<input type="text" name="attr_Role" />
</div>
<!-- Second column -->
<div class='sheet-col'>
<h3>Character Points</h3>
<input type="text" style="width: 45px" name="attr_CharacterPoints" />
<h3>Age</h3>
<input type="text" style="width: 45px" name="attr_Age" />
</div>
<!-- Second column -->
<div class='sheet-col'>
<h3>Humanity</h3>
<input type="number" style="width: 45px" name="attr_Humanity" value='0' />
</div>
</div>
<h2 align="center">Personal Information</h2>
<div class='sheet-2colrow'>
<div class='sheet-col'>
<h4 align=center>Life Events</h4>
<textarea name="attr_LifeEvents" style="height:200px; width:375px;"></textarea>
<h4 align=center>Style and Motovations</h4>
<textarea name="attr_Style" style="height:200px; width:375px;"></textarea>
</div>
<div class='sheet-col'>
<h4 align="center">Family</h4>
<textarea name="attr_Family" style="height:200px; width:375px;"></textarea>
<h4 align="center">Other Notes</h4>
<textarea name="attr_Notes" style="height:200px; width:375px;"></textarea>
</div>
</div>
</div>
<!--TAB 2 Skills-->
<div class="sheet-tab-content sheet-tab2">
<h2 align=center>Skills</h2>
<div class="sheet-wrapper">
<div class='sheet-2colrow'>
<!--Skills Row 1 Goes here-->
<div class='sheet-col'>
<!--Special Abilities-->
<div>
<input type="checkbox" class="arrow" name="attr_toggle-Special_Abilities" value="1"/><span></span>
<h4 align="center">Special Abilities</h4>
<div class="sheet-hold">
<table style="margin:1px;" class="skilltable">
<tr>
<th>Chip</th>
<th style="width:220px">Skill</th>
<th>Points</th>
<th>IP</th>
</tr>
<tr>
<td><input type='checkbox' name='attr_AuthorityChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-spec}{{skill= Authority}}{{character= @{handle} }}{{total= [[1d10!+@{Authority_Skill}+[[@{Cool}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-social}]] }} '><label>Authority</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Authority_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Authority_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_CharismaticLeadershipChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-spec}{{skill= Charismatic Leadership}}{{character= @{handle} }}{{total= [[1d10!+@{Charismatic_Leadership_Skill}+[[@{Cool}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-social}]] }} '><label>Charismatic Leadership</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Charismatic_Leadership_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Charismatic_Leadership_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_CombatSenseChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-spec}{{skill= Combat Sense}}{{character= @{handle} }}{{total= [[1d10!+@{Combat_Sense_Skill}+[[@{Int}+@{Awareness_Skill}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }} '><label>Combat Sense</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Combat_Sense_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Combat_Sense_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_Credibility' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-spec}{{skill= Credibility}}{{character= @{handle} }}{{total= [[1d10!+@{Credibility_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-social}]] }} '><label>Credibility</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Credibility_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Credibility_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_Family' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-spec}{{skill= Family}}{{character= @{handle} }}{{total= [[1d10!+@{Family_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-social}]] }} '><label>Family</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Family_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Family_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_InterfaceChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-spec}{{skill= Interface}}{{character= @{handle} }}{{total= [[1d10!+@{Interface_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }} '><label>Interface</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Interface_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Interface_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_JuryRigChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-spec}{{skill= Jury Rig}}{{character= @{handle} }}{{total= [[1d10!+@{Jury_Rig_Skill}+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }} '><label>Jury Rig</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Jury_Rig_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Jury_Rig_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_MedicalTechChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-spec}{{skill= Medical Tech}}{{character= @{handle} }}{{total= [[1d10!+@{Medical_Tech_Skill}+[[@{Tech}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }} '><label>Medical Tech</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Medical_Tech_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Medical_Tech_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_ResoursesChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-spec}{{skill= Resourses}}{{character= @{handle} }}{{total= [[1d10!+@{Resourses_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-general}]] }} '><label>Resourses</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Resourses_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Resourses_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_StreetdealChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-spec}{{skill= Streetdeal}}{{character= @{handle} }}{{total= [[1d10!+@{Streetdeal_Skill}+[[@{Cool}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-social}]] }} '><label>Streetdeal</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Streetdeal_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Streetdeal_IP" /></td>
</tr>
</table>
</div>
</div>
<!--Empathy-->
<div>
<input type="checkbox" class="arrow" name="attr_toggle-Empathy" value="1" /><span></span>
<h4 align=center>Empathy Skills</h4>
<div class="sheet-hold">
<table style="margin:1px;" class="skilltable">
<tr>
<th>Chip</th>
<th style="width:220px">Skill</th>
<th>Points</th>
<th>IP</th>
</tr>
<tr>
<td><input type='checkbox' name='attr_HumanPerceptionChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Human Perception}}{{character= @{handle} }}{{total= [[1d10!+@{Human_Perception_Skill}+[[@{Emp}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-social}]] }} '><label>Human Perception</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Human_Perception_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Human_Perception_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_InterviewChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Interview}}{{character= @{handle} }}{{total= [[1d10!+@{Interview_Skill}+[[@{Emp}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-social}]] }} '><label>Interview</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Interview_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Interview_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_LeadershipChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Leadership}}{{character= @{handle} }}{{total= [[1d10!+@{Leadership_Skill}+[[@{Emp}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-social}]] }} '><label>Leadership</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Leadership_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Leadership_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_SeductionChipROFL' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Seduction}}{{character= @{handle} }}{{total= [[1d10!+@{Seduction_Skill}+[[@{Emp}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-social}]] }} '><label>Seduction</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Seduction_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Seduction_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_SocialChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Social}}{{character= @{handle} }}{{total= [[1d10!+@{Social_Skill}+[[@{Emp}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-social}]] }} '><label>Social</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Social_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Social_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_PersuasionFastTalkChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Persuasion & Fast Talk}}{{character= @{handle} }}{{total= [[1d10!+@{Persuasion_Skill}+[[@{Emp}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-social}]] }} '><label>Persuasion & Fast Talk</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Persuasion_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Persuasion_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_PerformChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Perform}}{{character= @{handle} }}{{total= [[1d10!+@{Perform_Skill}+[[@{Emp}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-social}]] }} '><label>Perform</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Perform_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Perform_IP" /></td>
</tr>
<tr>
<td></td>
<td><div class="sheet-subskill-header">Other Empathy Skills</div></td>
<td></td>
<td></td>
</tr>
</table>
<fieldset class="repeating_Empskills">
<table style="margin:1px;" class="skilltable-otherskill-openup">
<tr>
<td><input type='checkbox' style="width: 30px;" name='attr_OtherEmpChip' value='1'><span></span></td>
<td style="width:220px">
<button type='roll' style="width: 40px;" value='&{template:skill-general}{{skill= @{OtherEmp}}}{{character= @{handle} }}{{total= [[1d10!+@{OtherEmp_Skill}+[[@{Emp}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-social}]] }} '><label><div class="sheet-subskill">Roll</div></label></button>
<input type="text" class="sheet-language" style="width: 100px" name="attr_OtherEmp"> </td>
<td><input type="text" style="width: 45px;" name="attr_OtherEmp_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_OtherEmp_IP" /></td>
</tr>
</table>
</fieldset>
</div>
</div>
<!--Reflex-->
<div>
<input type="checkbox" class="arrow" name="attr_toggle-Reflex" value="1" /><span></span>
<h4 align="center">Reflex Skills</h4>
<div class="sheet-hold">
<table style="margin:1px" class="skilltable">
<tr>
<th>Chip</th>
<th style="width:220px">Skill</th>
<th>Points</th>
<th>IP</th>
</tr>
<tr>
<td><input type='checkbox' name='attr_ArcheryChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Archery}}{{character= @{handle} }}{{total= [[1d10!+@{Archery_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-combat}]] }} '><label>Archery</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Archery_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Archery_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_AthleticsChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Athletics}}{{character= @{handle} }}{{total= [[1d10!+@{Athletics_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-athletics}]] }} '><label>Athletics</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Athletics_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Athletics_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_BrawlingChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Brawling}}{{character= @{handle} }}{{total= [[1d10!+@{Brawling_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-combat}]] }} '><label>Brawling</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Brawling_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Brawling_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_DanceChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Dance}}{{character= @{handle} }}{{total= [[1d10!+@{Dance_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-athletics}]] }} '><label>Dance</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Dance_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Dance_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_DodgeEscapeChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Dodge & Escape}}{{character= @{handle} }}{{total= [[1d10!+@{Dodge_And_Escape_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-athletics}]] }} '><label>Dodge & Escape</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Dodge_And_Escape_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Dodge_And_Escape_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_DrivingChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Driving}}{{character= @{handle} }}{{total= [[1d10!+@{Driving_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-drive}]] }} '><label>Driving</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Driving_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Driving_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_FencingChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Fencing}}{{character= @{handle} }}{{total= [[1d10!+@{Fencing_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-combat}]] }} '><label>Fencing</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Fencing_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Fencing_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_HandgunyChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Handgun}}{{character= @{handle} }}{{total= [[1d10!+@{Handgun_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-combat}]] }} '><label>Handgun</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Handgun_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Handgun_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_HeavyWeaponsChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Heavy Weapons}}{{character= @{handle} }}{{total= [[1d10!+@{Heavy_Weapons_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-combat}]] }} '><label>Heavy Weapons</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Heavy_Weapons_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Heavy_Weapons_IP" /></td>
</tr>
<tr>
<td></td>
<td><div class="sheet-subskill-header">Martial Arts</div></td>
<td></td>
<td></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_AikidoChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Aikido}}{{character= @{handle} }}{{total= [[1d10!+@{Aikido_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-combat}]] }} '><label>Aikido (3)</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Aikido_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Aikido_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_AnimalKungFuChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Animal Kung Fu}}{{character= @{handle} }}{{total= [[1d10!+@{Animal_Kung_Fu_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-combat}]] }} '><label>Animal Kung Fu (3)</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Animal_Kung_Fu_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Animal_Kung_Fu_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_BoxingChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Boxing}}{{character= @{handle} }}{{total= [[1d10!+@{Boxing_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-combat}]] }} '><label>Boxing (1)</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Boxing_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Boxing_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_CapoeriaChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Capoeria}}{{character= @{handle} }}{{total= [[1d10!+@{Capoeria_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-combat}]] }} '><label>Capoeria (3)</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Capoeria_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Capoeria_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_ChoiLiFutChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Choi Li Fut}}{{character= @{handle} }}{{total= [[1d10!+@{Choi_Li_Fut_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-combat}]] }} '><label>Choi Li Fut (3)</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Choi_Li_Fut_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Choi_Li_Fut_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_JudoChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Judo}}{{character= @{handle} }}{{total= [[1d10!+@{Judo_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-combat}]] }} '><label>Judo (1)</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Judo_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Judo_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_KarateChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Karate}}{{character= @{handle} }}{{total= [[1d10!+@{Karate_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-combat}]] }} '><label>Karate (2)</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Karate_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Karate_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_TaeKwonDoChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Tae Kwon Do}}{{character= @{handle} }}{{total= [[1d10!+@{Tae_Kwon_Do_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-combat}]] }} '><label>Tae Kwon Do (3)</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Tae_Kwon_Do_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Tae_Kwon_Do_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_ThaiKickBoxingChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Thai Kick Boxing}}{{character= @{handle} }}{{total= [[1d10!+@{Thai_Kick_Boxing_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-combat}]] }} '><label> Thai Kick Boxing (4)</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Thai_Kick_Boxing_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Thai_Kick_Boxing_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_Wrestling' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Wrestling}}{{character= @{handle} }}{{total= [[1d10!+@{Wrestling_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-combat}]] }} '><label>Wrestling (1)</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Wrestling_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Wrestling_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_MeleeChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Melee}}{{character= @{handle} }}{{total= [[1d10!+@{Melee_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-combat}]] }} '><label>Melee</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Melee_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Melee_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_MotorcycleChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Motorcycle}}{{character= @{handle} }}{{total= [[1d10!+@{Motorcycle_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-drive}]] }} '><label>Motorcycle</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Motorcycle_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Motorcycle_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_OperateHeavyMachineryChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Operate Heavy Machinery}}{{character= @{handle} }}{{total= [[1d10!+@{Operate_Heavy_Machinery_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-drive}]] }} '><label>Operate Heavy Machinery</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Operate_Heavy_Machinery_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Operate_Heavy_Machinery_IP" /></td>
</tr>
<tr>
<td></td>
<td><div class="sheet-subskill-header">Pilot</div></td>
<td></td>
<td></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_PilotGyroChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Pilot Gyro}}{{character= @{handle} }}{{total= [[1d10!+@{Pilot_Gyro_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-drive}]] }} '><label>Gyro (3)</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Pilot_Gyro_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Pilot_Gyro_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_PilotFixedWingChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Pilot Fixed Wing}}{{character= @{handle} }}{{total= [[1d10!+@{Pilot_Fixed_Wing_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-drive}]] }} '><label>Fixed Wing (2)</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Pilot_Fixed_Wing_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Pilot_Fixed_Wing_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_PilotDirigibleChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Pilot Dirigible}}{{character= @{handle} }}{{total= [[1d10!+@{Pilot_Dirigible_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-drive}]] }} '><label>Dirigible (2)</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Pilot_Dirigible_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Pilot_Dirigible_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_PilotVectoredThrustVehicleChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Pilot Vectored Thrust Vehicle}}{{character= @{handle} }}{{total= [[1d10!+@{Pilot_Vectored_Thrust_Vehicle_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-drive}]] }} '><label>Vectored Thrust Vehicle (3)</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Pilot_Vectored_Thrust_Vehicle_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Pilot_Vectored_Thrust_Vehicle_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_RifleChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Rifle}}{{character= @{handle} }}{{total= [[1d10!+@{Rifle_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-combat}]] }} '><label>Rifle</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Rifle_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Rifle_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_StealthChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Stealth}}{{character= @{handle} }}{{total= [[1d10!+@{Stealth_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-athletics}]] }} '><label>Stealth (2)</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Stealth_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Stealth_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_SubmachinegunChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Submachinegun}}{{character= @{handle} }}{{total= [[1d10!+@{Submachinegun_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-combat}]] }} '><label>Submachinegun</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Submachinegun_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Submachinegun_IP" /></td>
</tr>
<tr>
<td></td>
<td><div class="sheet-subskill-header">Other Reflex Skills</div></td>
<td></td>
<td></td>
</tr>
</table>
<fieldset class="repeating_reflexskills">
<table style="margin:1px;" class="skilltable-otherskill-openup">
<tr>
<td><input type='checkbox' style="width: 30px;" name='attr_OtherReflexChip' value='1'><span></span></td>
<td style="width:220px">
<button type='roll' style="width: 40px;" value='&{template:skill-general}{{skill= @{OtherReflex}}}{{character= @{handle} }}{{total= [[1d10!+@{OtherReflex_Skill}+[[@{Ref}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-general}]] }} '><label>Roll</label></button>
<input type="text" class="sheet-language" style="width: 100px" name="attr_OtherReflex"> </td>
<td><input type="text" style="width: 45px;" name="attr_OtherReflex_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_OtherReflex_IP" /></td>
</tr>
</table>
</fieldset>
</div>
</div>
<div class="sheet-banner">
<div class="sheet-banner-content"></div>
</div>
</div>
<!--Skills Row 2 Goes here-->
<div class='sheet-col'>
<!--Attractiveness-->
<div>
<input type="checkbox" class="arrow" name="attr_toggle-Attractiveness" value="1" /><span></span>
<h4 align="center">Attractiveness Skill</h4>
<div class="sheet-hold">
<table style="margin:1px;" class="skilltable">
<tr>
<th>Chip</th>
<th style="width:220px">Skill</th>
<th>Points</th>
<th>IP</th>
</tr>
<tr>
<td><input type='checkbox' name='attr_PersonalGroomingChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Personal Grooming}}{{character= @{handle} }}{{total= [[1d10!+@{Personal_Grooming_Skill}+[[@{Attr}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-social}]] }} '><label>Personal Groominge</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Personal_Grooming_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Personal_Grooming_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_WardrobeStyleChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Wardrobe & Style}}{{character= @{handle} }}{{total= [[1d10!+@{Wardrobe_Style_Skill}+[[@{Attr}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-social}]] }}'><label>Wardrobe & Style</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Wardrobe_Style_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Wardrobe_Style_IP" /></td>
</tr>
<tr>
<td></td>
<td><div class="sheet-subskill-header">Other Attractiveness Skills</div></td>
<td></td>
<td></td>
</tr>
</table>
<fieldset class="repeating_Attractivenessskills">
<table style="margin:1px;" class="skilltable-otherskill-openup">
<tr>
<td><input type='checkbox' style="width: 30px;" name='attr_OtherAttractivenessChip' value='1'><span></span></td>
<td style="width:220px"><button type='roll' style="width: 40px;" value='&{template:skill-general}{{skill= @{OtherAttractiveness}}}{{character= @{handle} }}{{total= [[1d10!+@{OtherAttractiveness_Skill}+[[@{Attr}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-social}]] }}'><label>Roll</label></button>
<input type="text" class="sheet-language" style="width: 100px" name="attr_OtherAttractiveness"></td>
<td><input type="text" style="width: 45px;" name="attr_OtherAttractiveness_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_OtherAttractiveness_IP" /></td>
</tr>
</table>
</fieldset>
</div>
</div>
<!--Body-->
<div>
<input type="checkbox" class="arrow" name="attr_toggle-Body" value="1" /><span></span>
<h4 align="center">Body Skills</h4>
<div class="sheet-hold">
<table style="margin:1px;" class="skilltable">
<tr>
<th>Chip</th>
<th style="width:220px">Skill</th>
<th>Points</th>
<th>IP</th>
</tr>
<tr>
<td><input type='checkbox' name='attr_EnduranceChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Endurance}}{{character= @{handle} }}{{total= [[1d10!+@{Endurance_Skill}+[[@{Body}]]+?{Modifier|0}]] }} '><label>Endurance</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Endurance_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Endurance_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_StrengthFeatChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Strength Feat}}{{character= @{handle} }}{{total= [[1d10!+@{Strength_Feat_Skill}+[[@{Body}]]+?{Modifier|0}]] }} '><label>Strength Feat</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Strength_Feat_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Strength_Feat_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_SwimmingChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Swimming}}{{character= @{handle} }}{{total= [[1d10!+@{Swimming_Skill}+[[@{Body}]]+?{Modifier|0}]] }} '><label>Swimming</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Swimming_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Swimming_IP" /></td>
</tr>
<tr>
<td></td>
<td><div class="sheet-subskill-header">Other Body Skills</div></td>
<td></td>
<td></td>
</tr>
</table>
<fieldset class="repeating_Bodyskills">
<table style="margin:1px;" class="skilltable-otherskill-openup">
<tr>
<td><input type='checkbox' style="width: 30px;" name='attr_OtherBodyChip' value='1'><span></span></td>
<td style="width:220px"><button type='roll' style="width: 40px;" value='&{template:skill-general}{{skill= @{OtherBody}}}{{character= @{handle} }}{{total= [[1d10!+@{OtherBody_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-general}]] }}'><label>Roll</label></button>
<input type="text" class="sheet-language" style="width: 100px" name="attr_OtherBody"></td>
<td><input type="text" style="width: 45px;" name="attr_OtherBody_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_OtherBody_IP" /></td>
</tr>
</table>
</fieldset>
</div>
</div>
<!--Cool-->
<div>
<input type="checkbox" class="arrow" name="attr_toggle-Cool" value="1" /><span></span>
<h4 align="center">Cool Skills</h4>
<div class="sheet-hold">
<table style="margin:1px;" class="skilltable">
<tr>
<th>Chip</th>
<th style="width:220px">Skill</th>
<th>Points</th>
<th>IP</th>
</tr>
<tr>
<td><input type='checkbox' name='attr_InterrogationChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Interrogation}}{{character= @{handle} }}{{total= [[1d10!+@{Interrogation_Skill}+[[@{Cool}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-general}]] }} '><label>Interrogation</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Interrogation_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Interrogation_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_IntimidateChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Intimidate}}{{character= @{handle} }}{{total= [[1d10!+@{Intimidate_Skill}+[[@{Cool}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-general}]] }} '><label>Intimidate</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Intimidate_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Intimidate_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_OratoryChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Oratory}}{{character= @{handle} }}{{total= [[1d10!+@{Oratory_Skill}+[[@{Cool}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-general}]] }} '><label>Oratory</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Oratory_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Oratory_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_ResistTortureChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Resist Tortue/Drugs}}{{character= @{handle} }}{{total= [[1d10!+@{Resist_Skill}+[[@{Cool}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-general}]] }} '><label>Resist Tortue/Drugs</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Resist_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Resist_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_StreetwiseChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Streetwise}}{{character= @{handle} }}{{total= [[1d10!+@{Streetwise_Skill}+[[@{Cool}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-general}]] }} '><label>Streetwise</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Streetwise_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Streetwise_IP" /></td>
</tr>
<tr>
<td></td>
<td><div class="sheet-subskill-header">Other Cool Skills</div></td>
<td></td>
<td></td>
</tr>
</table>
<fieldset class="repeating_Coolskills">
<table style="margin:1px;" class="skilltable-otherskill-openup">
<tr>
<td><input type='checkbox' style="width: 30px;" name='attr_OtherCoolChip' value='1'><span></span></td>
<td style="width:220px"><button type='roll' style="width: 40px;" value='&{template:skill-general}{{skill= @{OtherCool}}}{{character= @{handle} }}{{total= [[1d10!+@{OtherCool_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-general}]] }}'><label>Roll</label></button>
<input type="text" class="sheet-language" style="width: 100px" name="attr_OtherCool"></td>
<td><input type="text" style="width: 45px;" name="attr_OtherCool_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_OtherCool_IP" /></td>
</tr>
</table>
</fieldset>
</div>
</div>
<!--Intelligence-->
<div>
<input type="checkbox" class="arrow" name="attr_toggle-Intelligence" value="1" /><span></span>
<h4 align="center">Intelligence Skills</h4>
<div class="sheet-hold">
<table style="margin:1px;" class="skilltable">
<tr>
<th>Chip</th>
<th style="width:220px">Skill</th>
<th>Points</th>
<th>IP</th>
</tr>
<tr>
<td><input type='checkbox' name='attr_AccountingChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Accounting}}{{character= @{handle} }}{{total= [[1d10!+@{Accounting_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Accounting</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Accounting_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Accounting_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_AnthropologyChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Anthropology}}{{character= @{handle} }}{{total= [[1d10!+@{Anthropology_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Anthropology</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Anthropology_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Anthropology_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_AwarnessChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Awareness/Notice}}{{character= @{handle} }}{{total= [[1d10!+@{Awareness_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Awareness/Notice</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Awareness_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Awareness_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_BiologyChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Biology}}{{character= @{handle} }}{{total= [[1d10!+@{Biology_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Biology</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Biology_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Biology_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_BotanyChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Botany}}{{character= @{handle} }}{{total= [[1d10!+@{Botany_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Botany</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Botany_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Botany_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_ChemistryChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Chemistry}}{{character= @{handle} }}{{total= [[1d10!+@{Chemistry_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Chemistry</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Chemistry_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Chemistry_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_CompositionChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Composition}}{{character= @{handle} }}{{total= [[1d10!+@{Composition_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Composition</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Composition_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Composition_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_DiagnoseIllnessChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Diagnose Illness}}{{character= @{handle} }}{{total= [[1d10!+@{Diagnose_Illness_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Diagnose Illness</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Diagnose_Illness_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Diagnose_Illnesss_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_EducationChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Education & General Knowledge}}{{character= @{handle} }}{{total= [[1d10!+@{Education_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Education & General Knowledge</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Education_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Education_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_ExpertChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Expert}}{{character= @{handle} }}{{total= [[1d10!+@{Expert_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Expert</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Expert_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Expert_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_GambleChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Gamble}}{{character= @{handle} }}{{total= [[1d10!+@{Gamble_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Gamble</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Gamble_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Gamble_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_GeologyChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Geology}}{{character= @{handle} }}{{total= [[1d10!+@{Geology_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Geology</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Geology_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Geology_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_HideEvadeChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Hide/Evade}}{{character= @{handle} }}{{total= [[1d10!+@{Hide_Evade_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Hide/Evade</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Hide_Evade_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Hide_Evade_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_HistoryChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= History}}{{character= @{handle} }}{{total= [[1d10!+@{History_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>History</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_History_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_History_IP" /></td>
</tr>
<tr>
<td></td>
<td><div class="sheet-subskill-header">Know Languages</div></td>
<td></td>
<td></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_KnowLanguage1Chip' value='1'><span></span></td>
<td>
<button type='roll' style="width: 40px;" value='&{template:skill-general}{{skill= @{SpokenLanguage1} }}{{character= @{handle} }}{{total= [[1d10!+@{SpokenLanguage1_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label><div class="sheet-subskill">Roll</div></label></button>
<input type="text" class="sheet-language" style="width: 100px" name="attr_SpokenLanguage1">
</td>
<td><input type="text" style="width: 45px;" name="attr_SpokenLanguage1_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_SpokenLanguage1_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_KnowLanguage2Chip' value='1'><span></span></td>
<td>
<button type='roll' style="width: 40px;" value='&{template:skill-general}{{skill= @{SpokenLanguage2} }}{{character= @{handle} }}{{total= [[1d10!+@{SpokenLanguage2_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label><div class="sheet-subskill">Roll</div></label></button>
<input type="text" class="sheet-language" style="width: 100px" name="attr_SpokenLanguage2">
</td>
<td><input type="text" style="width: 45px;" name="attr_SpokenLanguage2_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_SpokenLanguage2_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_KnowLanguage3Chip' value='1'><span></span></td>
<td>
<button type='roll' style="width: 40px;" value='&{template:skill-general}{{skill= @{SpokenLanguage3} }}{{character= @{handle} }}{{total= [[1d10!+@{SpokenLanguage3_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label><div class="sheet-subskill">Roll</div></label></button>
<input type="text" class="sheet-language" style="width: 100px" name="attr_SpokenLanguage3">
</td>
<td><input type="text" style="width: 45px;" name="attr_SpokenLanguage3_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_SpokenLanguage3_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_KnowLanguage4Chip' value='1'><span></span></td>
<td>
<button type='roll' style="width: 40px;" value='&{template:skill-general}{{skill= @{SpokenLanguage4} }}{{character= @{handle} }}{{total= [[1d10!+@{SpokenLanguage4_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label><div class="sheet-subskill">Roll</div></label></button>
<input type="text" class="sheet-language" style="width: 100px" name="attr_SpokenLanguage4">
</td>
<td><input type="text" style="width: 45px;" name="attr_SpokenLanguage4_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_SpokenLanguage4_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_LibrarySearchChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Library Search}}{{character= @{handle} }}{{total= [[1d10!+@{Library_Search_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Library Search</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Library_Search_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Library_Search_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_MathematicsChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Mathematics}}{{character= @{handle} }}{{total= [[1d10!+@{Mathematics_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Mathematics</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Mathematics_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Mathematics_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_PhysicsChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Physics}}{{character= @{handle} }}{{total= [[1d10!+@{Physics_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Physics</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Physics_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Physics_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_ProgrammingChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Programming}}{{character= @{handle} }}{{total= [[1d10!+@{Programming_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Programming</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Programming_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Programming_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_ShadowChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Shadow/Track}}{{character= @{handle} }}{{total= [[1d10!+@{Shadow_Track_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Shadow/Track</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Shadow_Track_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Shadow_Track_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_StockMarketChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Stock Market}}{{character= @{handle} }}{{total= [[1d10!+@{Stock_Market_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Stock Market</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Stock_Market_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Stock_Market_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_SystemKnowledgeChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= System Knowledge}}{{character= @{handle} }}{{total= [[1d10!+@{System_Knowledge_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>System Knowledge</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_System_Knowledge_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_System_Knowledge_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_Teaching' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Teaching}}{{character= @{handle} }}{{total= [[1d10!+@{Teaching_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Teaching</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Teaching_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Teaching_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_WildernessSurvivalChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Wilderness Survival}}{{character= @{handle} }}{{total= [[1d10!+@{Wilderness_Survival_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Wilderness Survival</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Wilderness_Survival_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Wilderness_Survival_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_ZoologyChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Zoology}}{{character= @{handle} }}{{total= [[1d10!+@{Zoology_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Zoology</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Zoology_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Zoology_IP" /></td>
</tr>
<tr>
<td></td>
<td><div class="sheet-subskill-header">Other Intelligence Skills</div></td>
<td></td>
<td></td>
</tr>
</table>
<fieldset class="repeating_Intskills">
<table style="margin:1px;" class="skilltable-otherskill-openup">
<tr>
<td><input type='checkbox' style="width: 30px;" name='attr_OtherIntChip' value='1'><span></span></td>
<td style="width:220px"><button type='roll' style="width: 40px;" value='&{template:skill-general}{{skill= @{OtherInt}}}{{character= @{handle} }}{{total= [[1d10!+@{OtherInt_Skill}+[[@{Int}]]+?{Modifier|0}]] }} {{fumble= [[@{fumble-int}]] }}'><label>Roll</label></button>
<input type="text" class="sheet-language" style="width: 100px" name="attr_OtherInt"></td>
<td><input type="text" style="width: 45px;" name="attr_OtherInt_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_OtherInt_IP" /></td>
</tr>
</table>
</fieldset>
</div>
</div>
<!--Technical-->
<div>
<input type="checkbox" class="arrow" name="attr_toggle-Technical" value="1" /><span></span>
<h4 align="center">Technical Skills</h4>
<div class="sheet-hold">
<table style="margin:1px;" class="skilltable">
<tr>
<th>Chip</th>
<th style="width:220px">Skill</th>
<th>Points</th>
<th>IP</th>
</tr>
<tr>
<td><input type='checkbox' name='attr_AreoTechChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= AreoTech}}{{character= @{handle}}}{{total= [[1d10!+@{Aero_Tech_Skill}+[[@{Tech}]]+?{Modifier|0}]]}}{{fumble= [[@{fumble-tech}]] }}'><label>Aero Tech (2)</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Aero_Tech_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Aero_Tech_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_AVTechChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= AV Tech}}{{character= @{handle}}}{{total= [[1d10!+@{AV_Tech_Skill}+[[@{Tech}]]+?{Modifier|0}]]}}{{fumble= [[@{fumble-tech}]] }}'><label>AV Tech (3)</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_AV_Tech_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_AV_Tech_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_BasicTechChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Basic Tech}}{{character= @{handle}}}{{total= [[1d10!+@{Basic_Tech_Skill}+[[@{Tech}]]+?{Modifier|0}]]}}{{fumble= [[@{fumble-tech}]] }}'><label>Basic Tech (2)</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Basic_Tech_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Basic_Tech_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_CryotankOperationChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Cryotank Operation}}{{character= @{handle}}}{{total= [[1d10!+@{Cryotank_Operation_Skill}+[[@{Tech}]]+?{Modifier|0}]]}}{{fumble= [[@{fumble-tech}]] }}'><label>Cryotank Operation</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Cryotank_Operation_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Cryotank_Operation_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_CyberdeckDesignChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Cyberdeck Design}}{{character= @{handle}}}{{total= [[1d10!+@{Cyberdeck_Design_Skill}+[[@{Tech}]]+?{Modifier|0}]]}}{{fumble= [[@{fumble-tech}]] }}'><label>Cyberdeck Design (2)</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Cyberdeck_Design_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Cyberdeck_Design_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_CyberTechChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Cybertech}}{{character= @{handle}}}{{total= [[1d10!+@{Cybertech_Skill}+[[@{Tech}]]+?{Modifier|0}]]}}{{fumble= [[@{fumble-tech}]] }}'><label>Cybertech (2)</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_CyberTech_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_CyberTech_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_DemolitionsChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Demolitions}}{{character= @{handle}}}{{total= [[1d10!+@{Demolitions_Skill}+[[@{Tech}]]+?{Modifier|0}]]}}{{fumble= [[@{fumble-tech}]] }}'><label>Demolitions (2)</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Demolitions_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Demolitions_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_DisguiseChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Disguise}}{{character= @{handle}}}{{total= [[1d10!+@{Disguise_Skill}+[[@{Tech}]]+?{Modifier|0}]]}}{{fumble= [[@{fumble-tech}]] }}'><label>Disguise</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Disguise_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Disguise_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_ElectronicsChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Electronics}}{{character= @{handle}}}{{total= [[1d10!+@{Electronics_Skill}+[[@{Tech}]]+?{Modifier|0}]]}}{{fumble= [[@{fumble-tech}]] }}'><label>Electronics</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Electronics_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Electronics_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_ElectronicsSecurity' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Electronic Security}}{{character= @{handle}}}{{total= [[1d10!+@{Electronic_Security_Skill}+[[@{Tech}]]+?{Modifier|0}]]}}{{fumble= [[@{fumble-tech}]] }}'><label>Electronic Security (2)</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Electronic_Security_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Electronic_Security_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_FirstAidChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= First Aid}}{{character= @{handle}}}{{total= [[1d10!+@{First_Aid_Skill}+[[@{Tech}]]+?{Modifier|0}]]}}{{fumble= [[@{fumble-tech}]] }}'><label>First Aid</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_First_Aid_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_First_Aid_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_ForgeryChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Forgery}}{{character= @{handle}}}{{total= [[1d10!+@{Forgery_Skill}+[[@{Tech}]]+?{Modifier|0}]]}}{{fumble= [[@{fumble-tech}]] }}'><label>Forgery</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Forgery_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Forgery_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_GyroTechChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Gyro Tech}}{{character= @{handle}}}{{total= [[1d10!+@{Gyro_Tech_Skill}+[[@{Tech}]]+?{Modifier|0}]]}}{{fumble= [[@{fumble-tech}]] }}'><label>Gyro Tech</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Gyro_Tech_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Gyro_Tech_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_PaintorDrawChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Paint or Draw}}{{character= @{handle}}}{{total= [[1d10!+@{Paint_or_Draw_Skill}+[[@{Tech}]]+?{Modifier|0}]]}}{{fumble= [[@{fumble-tech}]] }}'><label>Paint or Draw</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Paint_or_Draw_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Paint_or_Draw_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_PhotographyFilmChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Photography and Film}}{{character= @{handle}}}{{total= [[1d10!+@{Photography_and_Film_Skill}+[[@{Tech}]]+?{Modifier|0}]]}}{{fumble= [[@{fumble-tech}]] }}'><label>Photography and Film</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Photography_and_Film_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Photography_and_Film_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_PharmaceuticalsChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Pharmaceuticals}}{{character= @{handle}}}{{total= [[1d10!+@{Pharmaceuticals_Skill}+[[@{Tech}]]+?{Modifier|0}]]}}{{fumble= [[@{fumble-tech}]] }}'><label>Pharmaceuticals</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Pharmaceuticals_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Pharmaceuticals_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_PickLockChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Pick Lock}}{{character= @{handle}}}{{total= [[1d10!+@{Pick_Lock_Skill}+[[@{Tech}]]+?{Modifier|0}]]}}{{fumble= [[@{fumble-tech}]] }}'><label>Pick Lock</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Pick_Lock_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Pick_Lock_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_PickPocketChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Pick Pocket}}{{character= @{handle}}}{{total= [[1d10!+@{Pick_Pocket_Skill}+[[@{Tech}]]+?{Modifier|0}]]}}{{fumble= [[@{fumble-tech}]] }}'><label>Pick Pocket</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Pick_Pocket_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Pick_Pocket_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_PlayInstrumentChip' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Play Instrument}}{{character= @{handle}}}{{total= [[1d10!+@{Play_Instrument_Skill}+[[@{Tech}]]+?{Modifier|0}]]}}{{fumble= [[@{fumble-tech}]] }}'><label>Play Instrument</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Play_Instrument_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Play_Instrument_IP" /></td>
</tr>
<tr>
<td><input type='checkbox' name='attr_Weaponsmith' value='1'><span></span></td>
<td><button type='roll' value='&{template:skill-general}{{skill= Weaponsmith}}{{character= @{handle}}}{{total= [[1d10!+@{Weaponsmith_Skill}+[[@{Tech}]]+?{Modifier|0}]]}}{{fumble= [[@{fumble-tech}]] }}'><label>Weaponsmith</label></button></td>
<td><input type="text" style="width: 45px;" name="attr_Weaponsmith_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_Weaponsmith_IP" /></td>
</tr>
<tr>
<td></td>
<td><div class="sheet-subskill-header">Other Technical Skills</div></td>
<td></td>
<td></td>
</tr>
</table>
<fieldset class="repeating_Techskills">
<table style="margin:1px;" class="skilltable-otherskill-openup">
<tr>
<td><input type='checkbox' style="width: 30px;" name='attr_OtherTechChip' value='1'><span></span></td>
<td style="width:220px">
<button type='roll' style="width: 40px;" value='&{template:skill-general}{{skill= @{OtherTech}}}{{character= @{handle}}}{{total= [[1d10!+@{OtherTech_Skill}+[[@{Tech}]]+?{Modifier|0}]]}}{{fumble= [[@{fumble-tech}]] }}'><label><div class="sheet-subskill">Roll</div></label></button>
<input type="text" class="sheet-language" style="width: 100px" name="attr_OtherTech">
</td>
<td><input type="text" style="width: 45px;" name="attr_OtherTech_Skill" Value="0" /></td>
<td><input type="text" style="width: 45px;" name="attr_OtherTech_IP" /></td>
</tr>
</table>
</fieldset>
</div>
</div>
<!--Fumble Tables-->
<div>
<input type="checkbox" class="arrow" checked='true'/><span></span>
<h4 align="center">Fumble Tables</h4>
<div class="sheet-hold">
<table style="margin:1px;" class="skilltable">
<tr>
<th>Reflex<br><div style="font-size:0.7em">(Combat)</div></th>
<th><input type="text" style="width: 100px;" name="attr_fumble-combat" value="1d10" /></th>
</tr>
<tr>
<th>Reflex<br><div style="font-size:0.7em">(Athletics)</div></th>
<th><input type="text" style="width: 100px;" name="attr_fumble-athletics" value="1d10" /></th>
</tr>
<tr>
<th>Tech<br><div style="font-size:0.7em">(Repair/Build)</div></th>
<th><input type="text" style="width: 100px;" name="attr_fumble-tech" value="1d10" /></th>
</tr>
<tr>
<th>Social<br><div style="font-size:0.7em">(Empathy, Convicince, Fast-Talk)</div></th>
<th><input type="text" style="width: 100px;" name="attr_fumble-social" value="1d10" /></th>
</tr>
<tr>
<th>Int<br><div style="font-size:0.7em">(Deduce, Notice)</div></th>
<th><input type="text" style="width: 100px;" name="attr_fumble-int" value="1d10" /></th>
</tr>
<tr>
<th>General<br><div style="font-size:0.7em">(not listed)</div></th>
<th><input type="text" style="width: 100px;" name="attr_fumble-general" value="1d10" /></th>
</tr>
<tr>
<th>Drive/Pilot<br><div style="font-size:0.7em">(not listed)</div></th>
<th><input type="text" style="width: 100px;" name="attr_fumble-drive" value="1d10" /></th>
</tr>
<tr>
<th>Hacking<br><div style="font-size:0.7em">(not listed)</div></th>
<th><input type="text" style="width: 100px;" name="attr_fumble-hack" value="1d10" /></th>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<!--TAB 3 Cybernetics-->
<div class="sheet-tab-content sheet-tab3">
<h2 align=center>Cybernetics</h2>
<table style="width:800px;">
<tr>
<td><div style="width: 90px;" ></div></td>
<td><div style="width: 90px;" ></div></td>
<td><input type="number" style="width: 90px;" name="attr_aug_total" readonly/></td>
<td><input type="number" style="width: 90px;" name="attr_cost_total" readonly/></td>
<td><div style="width: 90px;" ></div></td>
<td><div style="width: 90px;" ></div></td>
<td><div style="width: 90px;" ></div></td>
<td><div style="width: 90px;" ></div></td>
</tr>
<tr>
<td><div style="width: 90px;" ></div></td>
<td><div style="width: 90px;" ></div></td>
<td>Aug Total</td>
<td>Cost Total</td>
<td><div style="width: 90px;" ></div></td>
<td><div style="width: 90px;" ></div></td>
<td><div style="width: 90px;" ></div></td>
<td><div style="width: 90px;" ></div></td>
</tr>
</table>
<hr>
<table>
<tr>
<th style="width:200px;">Name/Type</th>
<th style="width:45px;">HL</th>
<th style="width:45px;">Cost</th>
</tr>
</table>
<fieldset class="repeating_cybernetics">
<table>
<tr>
<td><input type="text" style="width: 200px;" name="attr_Cybernetics" /></td>
<td><input type="text" style="width: 45px;" name="attr_CyberneticsHL" /></td>
<td><input type="text" style="width: 45px;" name="attr_CyberneticsCost" /></td>
<td><input type="checkbox" class="sheet-dot" name="attr_toggle_Cybernote_1" value="1" checked/><span></span></td>
</tr>
</table>
<input type="checkbox" class="sheet-hider sheet-hidden" name="attr_toggle_Cybernote_2" value="1" checked/><br>
<div class="sheet-hold">
<textarea name="attr_cybernotes" placeholder="Notes" style="width:830px;height:32px;"></textarea>
</div>
</fieldset>
</div>
<!--TAB 4 Combat-->
<div class="sheet-tab-content sheet-tab4">
<div class='sheet-2colrow'>
<div class="sheet-wrapper sheet-col">
<table>
<tr>
<td><button type='roll' style="width:120px" value='&{template:save} {{character= @{Handle} }}{{roll= [[1d10]] }}{{stun_target= [[@{Body}+@{save_mod}-[[@{SeriouslyWounded}+@{CriticallyWounded}+@{Mortal0Wounded}+@{Mortal1Wounded}+@{Mortal2Wounded}+@{Mortal3Wounded}+@{Mortal4Wounded}+@{Mortal5Wounded}+@{Mortal6Wounded}]] ]]}}{{death_target= [[@{save_mod}+@{Body}-[[@{Mortal0Wounded}+@{Mortal1Wounded}+@{Mortal2Wounded}+@{Mortal3Wounded}+@{Mortal4Wounded}+@{Mortal5Wounded}+@{Mortal6Wounded}]] ]]}}'><h3 class="sheet-front">Save</h3></button></td>
<td><input type="number" class="sheet-stat" name="attr_Save" value="@{Body}+@{save_mod}-@{SeriouslyWounded}-@{CriticallyWounded}-@{Mortal0Wounded}-@{Mortal1Wounded}-@{Mortal2Wounded}-@{Mortal3Wounded}-@{Mortal4Wounded}-@{Mortal5Wounded}-@{Mortal6Wounded}" disabled="true" /> &nbsp;<input type="text" style="width: 45px;" name="attr_save_mod" Value="0" /></td>
<td><div class="sheet-hidden"><input type="number" name="attr_DeathSave" value="@{save_mod}+@{Body}-@{Mortal0Wounded}-@{Mortal1Wounded}-@{Mortal2Wounded}-@{Mortal3Wounded}-@{Mortal4Wounded}-@{Mortal5Wounded}-@{Mortal6Wounded}" disabled="true" /></div></td>
</tr>
<tr>
<td><button type='roll' style="width:120px" value='/e @{Handle} rolls a save! [[1d10 + ?{Modifier|0}]] Body Type: [[@{Body}]]'><h3 class="sheet-front">Simple</h3></button></td>
</tr>
</table>
</div>
<div class="sheet-wrapper sheet-col" style="width:300px">
<table>
<tr>
<td><button type='roll' value='&{template:initiative} {{character= @{Handle} }}{{init= [[1d10!+[[@{initiative}]] &{tracker}]]}}'><h3 class="sheet-front">Initiative</h3></button></td>
<td><input type="number" class="sheet-stat" name="attr_initiative" value="(@{Ref}) + @{Combat_Sense_Skill} + @{initiative_mod}" disabled="true" />&nbsp;<input type="text" style="width: 45px;" name="attr_initiative_mod" Value="0" /></td>
</tr>
</table>
</div>
</div>
<div>
<h3>Armor</h3>
<div class='sheet-col'>
<input type="checkbox" class="sheet-hidden sheet-block_switch" name="attr_armor_table" checked/>
<table class="sheet-blood">
<tr>
<td style="width: 23px"></td>
<td style="width: 23px"></td>
<td colspan="1"><input type="text" style="width: 46px;" name="attr_Head_base" value="0" /></td>
<td style="width: 23px"></td>
<td style="width: 23px"></td>
</tr>
<tr>
<td colspan="2"></td>
<th colspan="1"><div class="sheet-tooltips_small">Head<span>Hit Location "1"</span></div></th>
<td colspan="2"></td>
</tr>
<tr>
<td colspan="2"><input type="text" style="width: 46px;" name="attr_Larm_base" value="0" /></td>
<th colspan="1"><input type="text" style="width: 46px;" name="attr_Torso_base" value="0" /></th>
<th colspan="2"><input type="text" style="width: 46px;" name="attr_Rarm_base" value="0" /></th>
</tr>
<tr>
<th colspan="2"><div class="sheet-tooltips_small">L. Arm<span>Hit Location "6"</span></div></th>
<th colspan="1"><div class="sheet-tooltips_small">Torso<span>Hit Location "2 to 4"</span></div></th>
<th colspan="2"><div class="sheet-tooltips_small">R. Arm<span>Hit Location "5"</span></div></th>
</tr>
<tr>
<td colspan="2"><input type="text" style="width: 46px;" name="attr_Rleg_base" value="0" /></td>
<td></td>
<td colspan="2"><input type="text" style="width: 46px;" name="attr_Lleg_base" value="0" /></td>
</tr>
<tr>
<th colspan="2"><div class="sheet-tooltips_small">L. Leg<span>Hit Location "7 to 8"</span></div></th>
<td></td>
<th colspan="2"><div class="sheet-tooltips_small">R. Leg<span>Hit Location "9 to 10"</span></div></th>
</tr>
</table>
</div>
<div class="sheet-col">
<h5>Armor Notes</h5>
<textarea name="attr_ArmorNotes" class="sheet-textarea" placeholder="Armor Notes" style="width:200px;height:80px;"></textarea><br>
</div>
<div class='sheet-col'>
<div>
<div class="sheet-col">
<h5>Location Roll</h5>
<h5><input type="text" name="attr_hit-loc" value="1d10"/></h5>
</div>
<div class="sheet-col">
<h5>BTM</h5>
<input type="number" style="width: 45px" name="attr_BTM" value='0' />
</div>
<div class="sheet-col">
<h5>Damage+</h5>
<input type="number" style="width: 45px" name="attr_damage_bonus" value='0' readonly />
</div>
</div>
</div>
</div>
<h2 align=center>Weapons</h2>
<fieldset class="repeating_templateweapons">
<table >
<tr>
<th style="width:44px">Targetted<br>Roll</th>
<th style="width:44px">Roll</th>
<th style="width:205px">Name</th>
<th style="width:44px">AutoFire</th>
</tr>
<tr>
<th>
<div class="sheet-tooltips" style="width:75%">
<button type='roll' style="width:30px" class="sheet-weaponroll" value='&{template:ranged} {{skill= @{WeaponSkill} }} {{character= @{Handle} }} {{weapon= @{WeaponName} }} {{target-token_name= at @{target|token_name} }} {{attack= [[1d10!+[[@{Weaponskill}]] + [[ @{Ref} ]] + @{WA} + [[@{Modifier-total} ]]+?{Modifier|0}]] }} {{damage= [[@{WeaponDamage}]] }}{{hit-location= [[@{hit-loc}]] }} {{fumble=[[ @{fumble-combat} ]]}} {{notes= @{WeaponNotes} }} {{short-range= [[@{WeaponRange}/4]] }} {{medium-range= [[@{WeaponRange}/2]] }} {{long-range= [[@{WeaponRange}]] }} {{extreme-range= [[@{WeaponRange}*2]] }} } '></button>
<span>Requires a target token</span>
</div>
</th>
<th>
<button type='roll' style="width:30px" class="sheet-weaponroll" value='&{template:ranged} {{skill= @{WeaponSkill} }} {{character= @{Handle} }} {{weapon= @{WeaponName} }} {{attack= [[1d10!+[[@{Weaponskill}]] + [[ @{Ref} ]] + @{WA} + [[@{Modifier-total} ]]+?{Modifier|0}]] }} {{damage= [[@{WeaponDamage}]] }}{{hit-location= [[@{hit-loc}]] }} {{fumble= [[@{fumble-combat}]] }} {{notes= @{WeaponNotes} }} {{short-range= [[@{WeaponRange}/4]] }} {{medium-range= [[@{WeaponRange}/2]] }} {{long-range= [[@{WeaponRange}]] }} {{extreme-range= [[@{WeaponRange}*2]] }} } '></button>
</th>
<th><input type="text" name="attr_WeaponName" /></th>
<th>
<button type="roll" class="sheet-autofire-b" name="attr_weaponAutofire" value="&{template:autofire-b} {{weapon= @{WeaponName} }} {{character= @{Handle}}} @{autofire_round}"></button>
</th>
<th>
<select name="attr_autofire_round" style="width:44px">
<option value="{{damage1= [[@{WeaponDamage}]]}} {{loc1= [[@{hit-loc}]]}}">1</option>
<option value="{{damage1= [[@{WeaponDamage}]]}} {{loc1= [[@{hit-loc}]]}} {{damage2= [[@{WeaponDamage}]]}} {{loc2= [[@{hit-loc}]]}}">2</option>
<option value="{{damage1= [[@{WeaponDamage}]]}} {{loc1= [[@{hit-loc}]]}} {{damage2= [[@{WeaponDamage}]]}} {{loc2= [[@{hit-loc}]]}} {{damage3= [[@{WeaponDamage}]]}} {{loc3= [[@{hit-loc}]]}}">3</option>
<option value="{{damage1= [[@{WeaponDamage}]]}} {{loc1= [[@{hit-loc}]]}} {{damage2= [[@{WeaponDamage}]]}} {{loc2= [[@{hit-loc}]]}} {{damage3= [[@{WeaponDamage}]]}} {{loc3= [[@{hit-loc}]]}} {{damage4= [[@{WeaponDamage}]]}} {{loc4= [[@{hit-loc}]]}}">4</option>
<option value="{{damage1= [[@{WeaponDamage}]]}} {{loc1= [[@{hit-loc}]]}} {{damage2= [[@{WeaponDamage}]]}} {{loc2= [[@{hit-loc}]]}} {{damage3= [[@{WeaponDamage}]]}} {{loc3= [[@{hit-loc}]]}} {{damage4= [[@{WeaponDamage}]]}} {{loc4= [[@{hit-loc}]]}} {{damage5= [[@{WeaponDamage}]]}} {{loc5= [[@{hit-loc}]]}} } }}">5</option>
<option value="{{damage1= [[@{WeaponDamage}]]}} {{loc1= [[@{hit-loc}]]}} {{damage2= [[@{WeaponDamage}]]}} {{loc2= [[@{hit-loc}]]}} {{damage3= [[@{WeaponDamage}]]}} {{loc3= [[@{hit-loc}]]}} {{damage4= [[@{WeaponDamage}]]}} {{loc4= [[@{hit-loc}]]}} {{damage5= [[@{WeaponDamage}]]}} {{loc5= [[@{hit-loc}]]}} {{damage6= [[@{WeaponDamage}]]}} {{loc6= [[@{hit-loc}]]}}">6</option>
<option value="{{damage1= [[@{WeaponDamage}]]}} {{loc1= [[@{hit-loc}]]}} {{damage2= [[@{WeaponDamage}]]}} {{loc2= [[@{hit-loc}]]}} {{damage3= [[@{WeaponDamage}]]}} {{loc3= [[@{hit-loc}]]}} {{damage4= [[@{WeaponDamage}]]}} {{loc4= [[@{hit-loc}]]}} {{damage5= [[@{WeaponDamage}]]}} {{loc5= [[@{hit-loc}]]}} {{damage6= [[@{WeaponDamage}]]}} {{loc6= [[@{hit-loc}]]}} {{damage7= [[@{WeaponDamage}]]}} {{loc7= [[@{hit-loc}]]}}">7</option>
<option value="{{damage1= [[@{WeaponDamage}]]}} {{loc1= [[@{hit-loc}]]}} {{damage2= [[@{WeaponDamage}]]}} {{loc2= [[@{hit-loc}]]}} {{damage3= [[@{WeaponDamage}]]}} {{loc3= [[@{hit-loc}]]}} {{damage4= [[@{WeaponDamage}]]}} {{loc4= [[@{hit-loc}]]}} {{damage5= [[@{WeaponDamage}]]}} {{loc5= [[@{hit-loc}]]}} {{damage6= [[@{WeaponDamage}]]}} {{loc6= [[@{hit-loc}]]}} {{damage7= [[@{WeaponDamage}]]}} {{loc7= [[@{hit-loc}]]}} {{damage8= [[@{WeaponDamage}]]}} {{loc8= [[@{hit-loc}]]}">8</option>
<option value="{{damage1= [[@{WeaponDamage}]]}} {{loc1= [[@{hit-loc}]]}} {{damage2= [[@{WeaponDamage}]]}} {{loc2= [[@{hit-loc}]]}} {{damage3= [[@{WeaponDamage}]]}} {{loc3= [[@{hit-loc}]]}} {{damage4= [[@{WeaponDamage}]]}} {{loc4= [[@{hit-loc}]]}} {{damage5= [[@{WeaponDamage}]]}} {{loc5= [[@{hit-loc}]]}} {{damage6= [[@{WeaponDamage}]]}} {{loc6= [[@{hit-loc}]]}} {{damage7= [[@{WeaponDamage}]]}} {{loc7= [[@{hit-loc}]]}} {{damage8= [[@{WeaponDamage}]]}} {{loc8= [[@{hit-loc}]]}} {{damage9= [[@{WeaponDamage}]]}} {{loc9= [[@{hit-loc}]]}}">9</option>
<option value="{{damage1= [[@{WeaponDamage}]]}} {{loc1= [[@{hit-loc}]]}} {{damage2= [[@{WeaponDamage}]]}} {{loc2= [[@{hit-loc}]]}} {{damage3= [[@{WeaponDamage}]]}} {{loc3= [[@{hit-loc}]]}} {{damage4= [[@{WeaponDamage}]]}} {{loc4= [[@{hit-loc}]]}} {{damage5= [[@{WeaponDamage}]]}} {{loc5= [[@{hit-loc}]]}} {{damage6= [[@{WeaponDamage}]]}} {{loc6= [[@{hit-loc}]]}} {{damage7= [[@{WeaponDamage}]]}} {{loc7= [[@{hit-loc}]]}} {{damage8= [[@{WeaponDamage}]]}} {{loc8= [[@{hit-loc}]]}} {{damage9= [[@{WeaponDamage}]]}} {{loc9= [[@{hit-loc}]]}} {{damage10= [[@{WeaponDamage}]]}} {{loc10= [[@{hit-loc}]]}} }">10</option>
</select>
</th>
<td><input type="checkbox" class="sheet-dot" name="attr_toggle_weaponnote_1" value="1"/><span></span></td>
</tr>
</table>
<input type="checkbox" class="sheet-hider sheet-hidden" name="attr_toggle_weaponnote_2" value="1"/><br>
<div class="sheet-hold">
<table style="width:840px;">
<tr>
<th style="width:120px">Skill</th>
<th style="width:44px">WA</th>
<th style="width:44px">Conl.</th>
<th style="width:44px">Round</th>
<th style="width:54px">Dmg</th>
<th style="width:54px">Ammo</th>
<th style="width:44px">ROF</th>
<th style="width:44px">Rel.</th>
<th style="width:44px">Range</th>
</tr>
<tr>
<th>
<select name="attr_WeaponSkill" style="width:120px">
<option value="@{Archery_Skill}">Archery</option>
<option value="@{Athletics_Skill}">Athletics</option>
<option value="@{Brawling_Skill}">Brawling</option>
<option value="@{Fencing_Skill}">Fencing</option>
<option value="@{Melee_Skill}">Melee</option>
<option value="@{Handgun_Skill}">Handgun</option>
<option value="@{Heavy_Weapons_Skill}">Heavy Weapon</option>
<option value="@{Rifle_Skill}">Rifle</option>
<option value="@{Submachinegun_Skill}">Submachinegun</option>
<option value="@{Aikido_skill}">Aikido</option>
<option value="@{Animal_Kung_Fu_skill}">Animal Kung Fu</option>
<option value="@{Boxing_Skill}">Boxing</option>
<option value="@{Capoeria_Skill}">Capoeria</option>
<option value="@{Choi_Li_Fut_Skill}">Choi Li Fut</option>
<option value="@{Judo_Skill}">Judo</option>
<option value="@{Karate_Skill}">Karate</option>
<option value="@{Tae_Kwon_Do_Skill}">Tae Kwon Do</option>
<option value="@{Thai_Kick_Boxing_Skill}">Thai Kick Boxing</option>
<option value="@{Wrestling_Skill}">Wrestling</option>
</select>
</th>
<th><input type="number" name="attr_WA" value="0"/></th>
<th>
<select name="attr_WeaponConceal" style="width:42px">
<option value=" "> </option>
<option value="P">P</option>
<option value="J">J</option>
<option value="L">L</option>
<option value="N">N</option>
</select>
</th>
<th><input type="text" style="width:50px" name="attr_round_size" placeholder="9mm"/></th>
<th><input type="text" style="width:50px" name="attr_WeaponDamage" value="0"/></th>
<th><input type="number" style="width:50px" name="attr_WeaponAmmo" value="0" /></th>
<th><input type="number" style="width:44px" name="attr_WeaponROF" value="0" /></th>
<th>
<select name="attr_attr_WeaponReliability" style="width:42px">
<option value=" "> </option>
<option value="UR">UR</option>
<option value="R">R</option>
<option value="VR">VR</option>
</select>
</th>
<th><input type="number" style="width:44px" name="attr_WeaponRange" value="0"/></th>
</tr>
<tr>
<td colspan="9">
<textarea name="attr_WeaponNotes" placeholder="Weapon Notes" style="width:97%; height:24px;" ></textarea>
</td>
</tr>
</table>
<input type="checkbox" class="arrow" name="attr_modifier-toggle" checked/><span></span>
<h3>Modifiers</h3>
<div class="sheet-hold">
<input type="number" name="attr_Modifier-total" class="sheet-language" style="text-align:center" value="@{Modifier-Immobile} + @{Modifier-Dodging} + @{Modifier-Moving10} + @{Modifier-Moving12} + @{Modifier-Moving14} + @{Modifier-Snapshot} + @{Modifier-called} + @{Modifier-Ricochet} + @{Modifier-Blinded} + @{Modifier-Silhouetted} + @{Modifier-TwoWeapons} + @{Modifier-Running} + @{Modifier-Large} + @{Modifier-Small} + @{Modifier-Tiny} + @{Modifier-hip} + @{Modifier-turret} + @{Modifier-noturret} + @{Modifier-aim1} + @{Modifier-aim2} + @{Modifier-aim3} + @{Modifier-lasersight} + @{Modifier-scope_tele_extr} + @{Modifier-scope_tele_long} + @{Modifier-scope_target} + @{Modifier-smartgun} + @{Modifier-3burst} + @{Modifier-fullauto_close} + @{Modifier-fullauto_medium}" disabled="true"/>
<div class='sheet-3colrow'>
<div class='sheet-col'>
<b>Shooter</b>
<table class="sheet-left">
<tr>
<td>Aiming</td>
<td></td>
</tr>
<tr>
<td style="padding-left:10px"><i>1 round</i></td>
<td><input type="checkbox" name="attr_Modifier-aim1" value="1" /><span></span></td>
</tr>
<tr>
<td style="padding-left:10px"><i>2 rounds</i></td>
<td><input type="checkbox" name="attr_Modifier-aim2" value="2" /><span></span></td>
</tr>
<tr>
<td style="padding-left:10px"><i>3 rounds</i></td>
<td><input type="checkbox" name="attr_Modifier-aim3" value="3" /><span></span></td>
</tr>
<tr>
<td>Ambush</td>
<td><input type="checkbox" name="attr_Modifier-called" value="5" /><span></span></td>
</tr>
<tr>
<td>Blinded</td>
<td><input type="checkbox" name="attr_Modifier-Blinded" value="-3" /><span></span></td>
</tr>
<tr>
<td>Called Shot</td>
<td><input type="checkbox" name="attr_Modifier-called" value="-4" /><span></span></td>
</tr>
<tr>
<td>Fast draw/Snapshot</td>
<td><input type="checkbox" name="attr_Modifier-Snapshot" value="-3" /><span></span></td>
</tr>
<tr>
<td>Ricochet/Indirect</td>
<td><input type="checkbox" name="attr_Modifier-Ricochet" value="-5" /><span></span></td>
</tr>
<tr>
<td>Running</td>
<td><input type="checkbox" name="attr_Modifier-Running" value="-3" /><span></span></td>
</tr>
<tr>
<td>Shooting from hip</td>
<td><input type="checkbox" name="attr_Modifier-hip" value="-2" /><span></span></td>
</tr>
<tr>
<td>Two Weapons</td>
<td><input type="checkbox" name="attr_Modifier-TwoWeapons" value="-3" /><span></span></td>
</tr>
</table>
</div>
<div class='sheet-col'>
<b>Weapon</b>
<table class="sheet-left">
<tr>
<td>Laser Sight</td>
<td><input type="checkbox" name="attr_Modifier-lasersight" value="1" /><span></span></td>
</tr>
<tr>
<td>Smartgun/Goggles</td>
<td><input type="checkbox" name="attr_Modifier-smartgun" value="2" /><span></span></td>
</tr>
<tr>
<td>Scope</td>
<td></td>
</tr>
<tr>
<td style="padding-left:10px"><i>Targeting</i></td>
<td><input type="checkbox" name="attr_Modifier-scope_target" value="1" /><span></span></td>
</tr>
<tr>
<td style="padding-left:10px"><i>Telescopic, Extreme</i></td>
<td><input type="checkbox" name="attr_Modifier-scope_tele_extr" value="2" /><span></span></td>
</tr>
<tr>
<td style="padding-left:10px"><i>Telescopic, Long</i></td>
<td><input type="checkbox" name="attr_Modifier-scope_tele_long" value="1" /><span></span></td>
</tr>
<tr>
<td>Three Round Burst</td>
<td><input type="checkbox" name="attr_Modifier-3burst" value="3" /><span></span></td>
</tr>
<tr>
<td><div class="sheet-tooltips_small" style="width:75%">Full Auto Modifier<span>(+1 per 10 rounds)</span></div></td>
<td><input type="number" class="sheet-language" style="text-align:center" name="attr_fullauto-mod"/><span></span></td>
</tr>
<tr>
<td style="padding-left:10px"><i>Close</i></td>
<td><input type="checkbox" name="attr_Modifier-fullauto_close" value="@{fullauto-mod}" /><span></span></td>
</tr>
<tr>
<td style="padding-left:10px"><i>Medium +</i></td>
<td><input type="checkbox" name="attr_Modifier-fullauto_medium" value="@{fullauto-mod}*-1" /><span></span></td>
</tr>
<tr>
<td>Vehicle Mounted</td>
<td></td>
</tr>
<tr>
<td style="padding-left:10px"><i>Turret</i></td>
<td><input type="checkbox" name="attr_Modifier-turret" value="2" /><span></span></td>
</tr>
<tr>
<td style="padding-left:10px"><i>No Turret</i></td>
<td><input type="checkbox" name="attr_Modifier-noturret" value="-4" /><span></span></td>
</tr>
</table>
</div>
<div class='sheet-col'>
<b>Target</b>
<table class="sheet-left">
<tr>
<td>Dodging (melee only)</td>
<td><input type="checkbox" name="attr_Modifier-Dodging" value="-2" /><span></span></td>
</tr>
<tr>
<td>Immobile</td>
<td><input type="checkbox" name="attr_Modifier-Immobile" value="4" /><span></span></td>
</tr>
<tr>
<td>Moving</td>
<td></td>
</tr>
<tr>
<td style="padding-left:10px"><i>Reflex > 10</i></td>
<td><input type="checkbox" name="attr_Modifier-Moving10" value="-3" /><span></span></td>
</tr>
<tr>
<td style="padding-left:10px"><i>Reflex > 12</i></td>
<td><input type="checkbox" name="attr_Modifier-Moving12" value="-4" /><span></span></td>
</tr>
<tr>
<td style="padding-left:10px"><i>Reflex > 14</i></td>
<td><input type="checkbox" name="attr_Modifier-Moving14" value="-5" /><span></span></td>
</tr>
<tr>
<td>Silhouetted</td>
<td><input type="checkbox" name="attr_Modifier-Silhouetted" value="2" /><span></span></td>
</tr>
<tr>
<td>Size</td>
<td></td>
</tr>
<tr>
<td style="padding-left:10px"><i>Large</i></td>
<td><input type="checkbox" name="attr_Modifier-Large" value="4" /><span></span></td>
</tr>
<tr>
<td style="padding-left:10px"><i>Small</i></td>
<td><input type="checkbox" name="attr_Modifier-Small" value="-4" /><span></span></td>
</tr>
<tr>
<td style="padding-left:10px"><i>Tiny</i></td>
<td><input type="checkbox" name="attr_Modifier-Tiny" value="-6" /><span></span></td>
</tr>
</table>
</div>
</div>
</div>
</div>
</fieldset>
</div>
<!--TAB 5 Inventory-->
<div class="sheet-tab-content sheet-tab5">
<h2 align="center">Gear</h2>
<h3 align="center">Eurobucks</h3>
<div align="center"><input type="text" style="width: 65px;" name="attr_Eurobucks" /></div>
<h3 align="center">Carried/Max</h3>
<div align="center"><input type="text" style="width: 45px;" name="attr_Carried" />/<input type="number" name="attr_Lift" value="@{Body}*10" disabled="true" /></div>
<div class='sheet-2colrow'>
<div class='sheet-col'>
<h4 align="center">Armor and Weapons</h4>
<textarea name="attr_Armor" style="height:400px; width:375px;"></textarea>
</div>
<div class='sheet-col'>
<h4 align="center">Gear</h4>
<textarea name="attr_Gear" style="height:400px; width:375px;"></textarea>
</div>
</div>
</div>
<!--TAB 6 Standard Cyberdeck-->
<div class="sheet-tab-content sheet-tab6">
<div class="sheet-wrapper">
<h3>Cyber Deck</h3>
<table class="sheet-blood" style="width:800px;">
<tr>
<td>Model</td>
<td><input type="text" name="attr_cyberdeck_model" value="" /></td>
<td># of CPU</td>
<td><input type="number" name="attr_cyberdeck_number_CPU" value="0" style="width:80px;"/></td>
<td>Total Cost</td>
<td><input type="number" name="attr_cyberdeck_total_cost" value="0" style="width:80px;"/></td>
</tr>
</table>
<table class="sheet-blood" style="width:800px;">
<tr>
<td><input type='radio' value='1.001' name='cyberdeck_type' checked><span></span> Standard </td>
<td><input type='radio' value='1.001' name='cyberdeck_type'><span></span> Cellular</td>
<td><input type='radio' value='1.002' name='cyberdeck_type'><span></span> Portable</td>
<td><input type='radio' value='1.003' name='cyberdeck_type'><span></span> Combat Deck</td>
<td><input type='radio' value='1.004' name='cyberdeck_type'><span></span> Cyberlimb Deck</td>
</tr>
</table>
<br>
<table class="sheet-blood" style="width:800px;">
<tr>
<td>Code Gate Strength</td>
<td><input type="text" name="attr_cyberdeck_codegate_strength" value="" style="width:80px;"/></td>
<td>Data Wall Strength</td>
<td><input type="text" name="attr_cyberdeck_datawall_strength" value="" style="width:80px;"/></td>
<td>Deck Speed</td>
<td><input type="number" name="attr_cyberdeck_deck_speed" value="0" style="width:80px;"/></td>
<td>Memory</td>
<td><input type="number" name="attr_cyberdeck_Memory" value="0" style="width:80px;"/></td>
</tr>
</table>
<table class="sheet-blood" style="width:800px;">
<tr>
<td>Options?</td>
<td><input type='checkbox' value='Trodes' name='attr_cyberdeck_Trodes'><span></span> Trodes </td>
<td><input type='checkbox' value='Keyboard' name='attr_cyberdeck_Keyboard'><span></span> Keyboard</td>
<td><input type='checkbox' value='Videoboard' name='attr_cyberdeck_Videoboard'><span></span> Videoboard</td>
<td><input type='checkbox' value='Printer' name='attr_cyberdeck_Printer'><span></span> Printer</td>
</tr>
<tr>
<td></td>
<td><input type='checkbox' value='Chipreader' name='attr_cyberdeck_Chipreader' checked><span></span> Chipreader </td>
<td><input type='checkbox' value='Voxbox' name='attr_cyberdeck_Voxbox'><span></span> Voxbox</td>
<td><input type='checkbox' value='Scanner' name='attr_cyberdeck_Scanner'><span></span> Scanner</td>
<td><input type='checkbox' value='ExtraChips' name='attr_cyberdeck_ExtraChips'><span></span> Extra Chips<input type='number' value='0' name='cyberdeck_extra_chips_number'></td>
</tr>
</table>
</div>
<h3>Combat</h3>
<div class="sheet-wrapper">
<table class="sheet-blood" style="width:400px;">
<tr>
<td>Roll</td>
<td></td>
<td></td>
<td>Attribute</td>
<td></td>
<td>Deck Speed</td>
<td></td>
<td>Modifier</td>
</tr>
<tr>
<td><button type='roll' style="width:120px" value='&{template:skill-general}{{skill= Cyberdeck Initiative }}{{character= @{handle} }}{{total= [[1d10!+@{cyber_Initiative_attrib} + @{cyber_Initiative_Deck_Speed} + @{cyber_Initiative_mod}]] }} {{fumble= [[@{fumble-hack}]] }}'><label>Initiative</label></button></td>
<td></td>
<td>=</td>
<td>
<select name="attr_cyber_Initiative_attrib" style="width:120px">
<option value="@{Ref}" selected>Ref</option>
<option value="@{Int}">Int</option>
</select>
</td>
<td>+</td>
<td>
<select name="attr_cyber_Initiative_Deck_Speed" style="width:120px">
<option value="@{cyberdeck_deck_speed}" selected>Yes</option>
<option value="0">No</option>
</select>
</td>
<td>+</td>
<td><input type='number' value='0' name='attr_cyber_Initiative_mod'></td>
</tr>
</table>
</div>
<h3>Programs</h3>
<div class="sheet-wrapper">
<fieldset class="repeating_programs">
<table >
<tr>
<td></td>
<th style="width:125px">Name</th>
<th style="width:105px">Class</th>
<th style="width:44px">MU</th>
<th style="width:44px">Str</th>
<th style="width:44px">Cost</th>
<th style="width:10px"></th>
<th style="width:44px">Attribute</th>
<th style="width:44px">Skill</th>
<th style="width:44px">Mod</th>
</tr>
<tr>
<td><button type='roll' style="width:90px" value='&{template:skill-general}{{skill= @{ProgramClass}:@{ProgramName} }}{{character= @{handle} }}{{total= [[1d10!+ @{ProgramStr} + @{Program_attrib} + @{Program_skill} + @{Program_mod}]] }} {{notes= @{Program_note}}} {{fumble= [[@{fumble-hack}]] }}'><label>Run Program</label></button></td>
<th><input type="text" name="attr_ProgramName" /></th>
<th>
<select name="attr_ProgramClass" style="width:80px">
<option value="Other" selected>Other</option>
<option value="Intrusion">Intrusion</option>
<option value="Decryptor">Decryptor</option>
<option value="Detect/Alarm">Detect/Alarm</option>
<option value="Anti System">Anti System</option>
<option value="Evasion">Evasion</option>
<option value="Protection">Protection</option>
<option value="Shield">Shield</option>
<option value="Anti-Person">Anti-Person</option>
<option value="Controller">Controller</option>
<option value="Utility">Utility</option>
<option value="Demon">Demon</option>
</select>
</th>
<th><input type="number" name="attr_ProgramMU" /></th>
<th><input type="number" name="attr_ProgramStr" /></th>
<th><input type="number" name="attr_ProgramNcost" /></th>
<th style="width:10px"></th>
<th>
<select name="attr_Program_attrib" style="width:60px">
<option value="0" selected>None</option>
<option value="@{Ref}">Ref</option>
<option value="@{Int}">Int</option>
</select>
</th>
<th>
<select name="attr_Program_skill" style="width:80px">
<option value="0" selected>None</option>
<option value="@{Interface_Skill}">Interface</option>
<option value="@{Accounting_Skill}">Accounting</option>
<option value="@{Awareness_Skill}">Awareness</option>
<option value="@{Education_Skill}">Education</option>
<option value="@{Electronic_Security_Skill}">Electronic Security</option>
<option value="@{Expert_Skill}">Expert</option>
<option value="@{Library_Search_Skill}">Library Search</option>
<option value="@{Programming_Skill}">Programming</option>
<option value="@{Stock_Market_Skill}">Stock Market</option>
<option value="@{System_Knowledge_Skill}">System Knowledge</option>
</select>
</th>
<th><input type="number" name="attr_Program_mod" value="0"/></th>
<td><input type="checkbox" class="sheet-dot" name="attr_toggle_programnote_1" value="1" checked/><span></span></td>
</tr>
</table>
<input type="checkbox" class="sheet-hider sheet-hidden" name="attr_toggle_programnote_2" value="1" checked/><br>
<div class="sheet-hold">
<textarea name="attr_Program_note" placeholder="Programs Notes" style="width:800px; height:24px;"></textarea>
</div>
</fieldset>
</div>
</div>
<!--TAB 7 Run Dot Net-->
<div class="sheet-tab-content sheet-tab7">
<h2 align=center>Run.Net 1.2 Beta</h2>
<br>
<h3 align=center>Cyberdeck Specs</h3>
<table class="sheet-skilltable_wide">
<tr>
<th style="width:160px">Deck Model</th>
<th style="width:50px">Speed</th>
</tr>
<tr>
<td><input type="text" style"width:160px" name="attr_CyberDeckModel"> </td>
<td><input type="number" name="attr_Deckspeed" min="0" max="5"style="width:50px" value="0" /></td>
</tr>
</table>
<table class="sheet-skilltable_wide">
<tr>
<th>Process Limit: <input type="number" name="attr_ProcessLimit" value="@{Deckspeed}+(ceil(@{Interface_Skill}/2))" min="1" max="10" disabled="true" /> </th>
</tr>
</table>
<hr>
<h4 align=center>Familiarity Points: <input type="number" name="attr_FamiliarityPoints" style="width:50px" value="@{Interface_Skill}*5" min="0" max="50" disabled="true" /></h4>
<h5 align=center>Command Points: <input type="number" name="attr_CommandPoints" value="@{FamiliarityPoints}" min="0" max="50" disabled="true" /> Target Points: <input type="number"name="attr_TargetPoints" value="@{FamiliarityPoints}" min="0" max="50" disabled="true"/></h5>
<br>
<table class="sheet-skilltable_wide">
<tr>
<th style="width:180px;">Command</th>
<th style="width:25px;">Pts</th>
<th style="width:180px;">Target</th>
<th style="width:25px;">Pts</th>
</tr>
</table>
<fieldset class="repeating_templateweapons">
<table class="sheet-skilltable_wide">
<tr>
<td><button type='roll' style="width:30px" class="sheet-weaponroll" value='&{template:netcombat} {{skill= @{Interface_Skill} }} {{character= @{Handle} }} {{Cmd= @{Command} }}} {{Tgt=@{CommandTarget}}} {{ProgNotes=@{ProgNotes}}} {{netattack= [[1d10! +@{CmdPts} +@{TgtPts} +@{Int} +?{Modifier|0} ]] }} '></button></td>
<td><select name="attr_Command" style="width:150px">
<option value=""></option>
<option value="Detect/Conceal">Detect/Conceal</option>
<option value="Locate">Locate</option>
<option value="Infiltrate/Login">Infiltrate/Login</option>
<option value="Control">Control</option>
<option value="Secure">Secure</option>
<option value="Cipher">Cipher</option>
<option value="Scan">Scan</option>
<option value="Query">Query</option>
<option value="Edit">Edit</option>
<option value="Run/Program">Run Program</option>
</select>
</td>
<td><input type="number" name="attr_Cmdpts" min="0" max="5" /></td>
<td><select name="attr_CommandTarget" style="width:150px"/>
<option value=""></option>
<option value="File/Database">File/Database</option>
<option value="Cyber">Cyber</option>
<option value="Comm">Comm</option>
<option value="Sensor">Sensor</option>
<option value="Remote">Remote</option>
<option value="Modem">Modem</option>
<option value="Vehicle">Vehicle</option>
<option value="Weapon">Weapon</option>
<option value="System">System</option>
<option value="User/Runner">User/Runner</option>
</td>
<td><input type="number" name="attr_TgtPts" min="0" max="5" /></td>
</tr>
<tr>
<td colspan="11"><textarea name="attr_ProgNotes" placeholder="Program Notes" style="width:97%" ></textarea></td>
</tr>
</fieldset>
</table>
</fieldset>
</div>
<!--Roll Templates-->
<div class="sheet-hidden">
<rolltemplate class="sheet-rolltemplate-ranged">
<table class="sheet-weaponattack">
<tr>
<th colspan="2">{{weapon}}</th>
</tr>
<tr>
<td colspan="2"><i><b>{{character}}</b> attacks with {{weapon}} {{target-token_name}}</i></td>
</tr>
<tr>
<td colspan="2"><b>Range</b></td>
</tr>
<tr>
<td style="padding-left:10px" ><i>Close (15)</i></td>
<td class="sheet-no_border">{{short-range}}meters</td>
</tr>
<tr>
<td style="padding-left:10px"><i>Medium (20)</i></td>
<td class="sheet-no_border">{{medium-range}}meters</td>
</tr>
<tr>
<td style="padding-left:10px"><i>Long (25)</i></td>
<td class="sheet-no_border">{{long-range}}meters</td>
</tr>
<tr>
<td style="padding-left:10px"class="sheet-no_border"><i>Extreme (30)</i></td>
<td class="sheet-no_border">{{extreme-range}}meters</td>
</tr>
<tr>
<td><span class="sheet-tcat"><b>Attack:</b> </span> </td>
<td>{{attack}} </td>
</tr>
{{#damage}}
<tr>
<td><span class="sheet-tcat"><b>Damage:</b> </span>
<td>{{damage}}</td>
</tr>
{{/damage}}
<tr>
<td><span class="sheet-tcat"><b>Hit Location:</b> </span>
<td>{{hit-location}}</td>
</tr>
<tr>
<td colspan="2"><span class="sheet-tcat"><b>Notes:</b> </span><i>{{notes}}</i></td>
</tr>
{{#rollWasFumble() attack}}
<tr>
<td><span><b>Fumble:</b></span>
<td><i>{{fumble}}</i></td>
</tr>
{{/rollWasFumble() attack}}
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-save">
<table>
<tr>
<th colspan="3">Save</th>
</tr>
<tr>
<td colspan="3"><i><b>{{character}}</b> tries to stay in the fight! </i></td>
</tr>
<tr>
<td><b>Roll:</b></td>
<td></td>
<td>{{roll}}</td>
</tr>
<tr>
<td><span class="sheet-tcat"><div class="sheet-stun"></div></span></td>
<td style="font-sze:0.8em">Roll less than:</td>
<td>{{stun_target}}</td>
</tr>
<tr>
<td><span class="sheet-tcat"><div class="sheet-death"></div></span></td>
<td style="font-sze:0.8em">Roll less than:</td>
<td>{{death_target}}</td>
</tr>
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-stun_save">
<table>
<tr>
<th colspan="3">Save</th>
</tr>
<tr>
<td colspan="3"><i><b>{{character}}</b> tries to stay in the fight! </i></td>
</tr>
<tr>
<td><b>Roll:</b></td>
<td></td>
<td>{{roll}}</td>
</tr>
<tr>
<td><div class="sheet-stun"></div></td>
<td style="font-sze:0.8em">Roll less than</td>
<td>{{stun_target}}</td>
</tr>
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-death_save">
<table>
<tr>
<th colspan="3">Save</th>
</tr>
<tr>
<td colspan="3"><i><b>{{character}}</b> tries to stay in the fight! </i></td>
</tr>
<tr>
<td><b>Roll:</b></td>
<td></td>
<td>{{roll}}</td>
</tr>
<tr>
<td><span class="sheet-tcat"><div class="sheet-death"></div></span></td>
<td style="font-sze:0.8em">Roll less than</td>
<td>{{death_target}}</td>
</tr>
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-initiative">
<table class="sheet-initiative">
<tr>
<th colspan="2">Initiative</th>
</tr>
<tr>
<td colspan="2"><i><b>{{character}}</b> lose their cool and draws down!</i></td>
</tr>
<tr>
<td><b>Initiative</b></td><td>{{init}}</td>
</tr>
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-netcombat">
<table class="sheet-netcombat">
<tr>
<th colspan="2">Run.Net Combat</th>
</tr>
<tr>
<td colspan="2"><i><b>{{character}}</b> initiates program </i></td>
</tr>
<tr>
<td colspan="2"><span class="sheet-tcat"><b>Execute: </b></span>{{Cmd}}</td>
</tr>
<tr>
<td colspan="2"><span class="sheet-tcat"></span><b>Target: </b></span>{{Tgt}}</td>
</tr>
<tr>
<td colspan="2"><span class="sheet-tcat"><b>Roll: </b></span>{{netattack}}</td>
</tr>
<tr>
<td colspan="2"><span class="sheet-tcat"><b>Notes:</b></span>{{ProgNotes}}</td>
</tr>
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-skill-general">
<table class="sheet-skill-general">
<tr>
<th colspan="2">{{skill}}</th>
</tr>
<tr>
<td colspan="2"><i><b>{{character}}</b></i></td>
</tr>
<tr>
<td><span><b>Total</b></span><td><i>{{total}}</i></td>
</tr>
{{#rollWasFumble() total}}
<tr>
<td><span><b>Fumble:</b></span><td><i>{{fumble}}</i></td>
</tr>
{{/rollWasFumble() total}}
{{#notes}}
<tr>
<td colspan="2">{{notes}}</td>
</tr>
{{/notes}}
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-skill-spec">
<table class="sheet-skill-spec">
<tr>
<th colspan="2">{{skill}}</th>
</tr>
<tr>
<td colspan="2"><i><b>{{character}}</b></i></td>
</tr>
<tr>
<td><span><b>Total</b></span><td><i>{{total}}</i></td>
</tr>
{{#rollWasFumble() total}}
<tr>
<td><span><b>Fumble:</b></span><td><i>{{fumble}}</i></td>
</tr>
{{/rollWasFumble() total}}
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-autofire-b">
<table class="sheet-skill-autofire-b">
<tr>
<th colspan="2">Auto-fire:{{weapon}}</th>
</tr>
<tr>
<td colspan="2"><i><b>{{character}} fills the air with lead!</b></i></td>
</tr>
<tr>
<td><b>Damage</b></td>
<td><b>Location</b></td>
</tr>
<tr>
<td><i>{{damage1}}</i></td>
<td><i>{{loc1}}</i></td>
</tr>
{{#damage2}}
<tr>
<td><i>{{damage2}}</i></td>
<td><i>{{loc2}}</i></td>
</tr>
{{/damage2}}
{{#damage3}}
<tr>
<td><i>{{damage3}}</i></td>
<td><i>{{loc3}}</i></td>
</tr>
{{/damage3}}
{{#damage4}}
<tr>
<td><i>{{damage4}}</i></td>
<td><i>{{loc4}}</i></td>
</tr>
{{/damage4}}
{{#damage5}}
<tr>
<td><i>{{damage5}}</i></td>
<td><i>{{loc5}}</i></td>
</tr>
{{/damage5}}
{{#damage6}}
<tr>
<td><i>{{damage6}}</i></td>
<td><i>{{loc6}}</i></td>
</tr>
{{/damage6}}
{{#damage7}}
<tr>
<td><i>{{damage7}}</i></td>
<td><i>{{loc7}}</i></td>
</tr>
{{/damage7}}
{{#damage8}}
<tr>
<td><i>{{damage8}}</i></td>
<td><i>{{loc8}}</i></td>
</tr>
{{/damage8}}
{{#damage9}}
<tr>
<td><i>{{damage9}}</i></td>
<td><i>{{loc9}}</i></td>
</tr>
{{/damage9}}
{{#damage10}}
<tr>
<td><i>{{damage10}}</i></td>
<td><i>{{loc10}}</i></td>
</tr>
{{/damage10}}
</table>
</rolltemplate>
</div>
<script type="text/worker">
//Body Type Damage
on("change:Body sheet:opened", function() {
getAttrs(["Body","damage_bonus", "BTM"], function(values) {
if (values.Body == 2) {
setAttrs({
damage_bonus: -2,
BTM: 0
})
}
else if (values.Body == 3) {
setAttrs({
damage_bonus: -1,
BTM: -1
})
}
else if (values.Body == 4) {
setAttrs({
damage_bonus: -1,
BTM: -1
})
}
else if (values.Body == 5) {
setAttrs({
damage_bonus: 0,
BTM: -2
})
}
else if (values.Body == 6) {
setAttrs({
damage_bonus: 0,
BTM: -2
})
}
else if (values.Body == 7) {
setAttrs({
damage_bonus: 0,
BTM: -2
})
}
else if (values.Body == 8) {
setAttrs({
damage_bonus: 1,
BTM: -3
})
}
else if (values.Body == 9) {
setAttrs({
damage_bonus: 1,
BTM: -3
})
}
else if (values.Body == 10) {
setAttrs({
damage_bonus: 2,
BTM: -4
})
}
else if (values.Body == 11) {
setAttrs({
damage_bonus: 4,
BTM: -5
})
}
else if (values.Body == 12) {
setAttrs({
damage_bonus: 4,
BTM: -5
})
}
else if (values.Body == 13) {
setAttrs({
damage_bonus: 6,
BTM: -5
})
}
else if (values.Body == 14) {
setAttrs({
damage_bonus: 6,
BTM: -5
})
}
else if (values.Body >= 15) {
setAttrs({
damage_bonus: 8,
BTM: -5
})
}
});
});
//Body
on("change:Body_Base change:Body_Temp sheet:opened", function() {
getAttrs(["Body_Base", "Body_Temp"], function(values) {
setAttrs({
Body: +values.Body_Base + +values.Body_Temp
});
});
});
//Empathy
on("change:Emp_Base change:Emp_Temp change:Humanity sheet:opened", function() {
getAttrs(["Emp_Base", "Emp_Temp", "Humanity"], function(values) {
setAttrs({
EMP: Math.floor((+values.Humanity/10))
});
});
});
//Humanity
on("change:Emp_Base change:Emp_Temp change:aug_total sheet:opened", function() {
getAttrs(["Emp_Base", "Emp_Temp", "aug_total"], function(values) {
setAttrs({
Humanity: ((+values.Emp_Base + +values.Emp_Temp) * 10 ) - +values.aug_total
});
});
});
//cybernotes
on("change:repeating_cybernetics:toggle_Cybernote_1 sheet:opened", function() {
getAttrs(["repeating_cybernetics_toggle_Cybernote_1","repeating_cybernetics_toggle_Cybernote_2"], function(values) {
if (values.repeating_cybernetics_toggle_Cybernote_1 == 1) {
setAttrs({
repeating_cybernetics_toggle_Cybernote_2: 1
})
}
else if (values.repeating_cybernetics_toggle_Cybernote_1 == 0) {
setAttrs({
repeating_cybernetics_toggle_Cybernote_2: 0
})
}
});
});
//weaponnotes
on("change:repeating_templateweapons:toggle_weaponnote_1 sheet:opened", function() {
getAttrs(["repeating_templateweapons_toggle_weaponnote_1","repeating_templateweapons_toggle_weaponnote_2"], function(values) {
if (values.repeating_templateweapons_toggle_weaponnote_1 == 1) {
setAttrs({
repeating_templateweapons_toggle_weaponnote_2: 1
})
}
else if (values.repeating_templateweapons_toggle_weaponnote_1 == 0) {
setAttrs({
repeating_templateweapons_toggle_weaponnote_2: 0
})
}
});
});
//pragramnotes
on("change:repeating_programs:toggle_programnote_1 sheet:opened", function() {
getAttrs(["repeating_programs_toggle_programnote_1","repeating_programnote_toggle_programnote_2"], function(values) {
if (values.repeating_programs_toggle_programnote_1 == 1) {
setAttrs({
repeating_programnote_toggle_programnote_2: 1
})
}
else if (values.repeating_programs_toggle_programnote_1 == 0) {
setAttrs({
repeating_programnote_toggle_programnote_2: 0
})
}
});
});
//Auto Wound Check- Serious
on("change:Wound sheet:opened", function() {
getAttrs(["Wound","SeriousWound"], function(values) {
if (values.Wound == 1.011) {
setAttrs({
SeriousWound: 2
})
}
else if (values.Wound == 1.012) {
setAttrs({
SeriousWound: 2
})
}
else if (values.Wound == 1.013) {
setAttrs({
SeriousWound: 2
})
}
else if (values.Wound == 1.014) {
setAttrs({
SeriousWound: 2
})
}
else {
setAttrs({
SeriousWound: 0
});
}
});
});
//Auto Wound Check -Stun & Death Saves
on("change:Wound sheet:opened", function() {
getAttrs(["Wound"], function(values) {
var attrs = {
LightlyWounded: 0,
SeriouslyWounded: 0,
CriticallyWounded: 0,
Mortal0Wounded: 0,
Mortal1Wounded: 0,
Mortal2Wounded: 0,
Mortal3Wounded: 0,
Mortal4Wounded: 0,
Mortal5Wounded: 0,
Mortal6Wounded: 0
};
if (values.Wound >= 1.001) {
attrs.LightlyWounded = 1;
}
if (values.Wound >= 1.011) {
attrs.SeriouslyWounded = 1;
}
if (values.Wound >= 2.001) {
attrs.CriticallyWounded = 1;
}
if (values.Wound >= 3.001) {
attrs.Mortal0Wounded = 1;
}
if (values.Wound >= 3.011) {
attrs.Mortal1Wounded = 1;
}
if (values.Wound >= 3.021) {
attrs.Mortal2Wounded = 1;
}
if (values.Wound >= 3.031) {
attrs.Mortal3Wounded = 1;
}
if (values.Wound >= 3.041) {
attrs.Mortal4Wounded = 1;
}
if (values.Wound >= 3.051) {
attrs.Mortal5Wounded = 1;
}
if (values.Wound >= 3.061) {
attrs.Mortal6Wounded = 1;
}
setAttrs(attrs);
});
});
// Humanity Loss
/* ---- 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_cybernetics', function(){
TAS.repeatingSimpleSum('cybernetics','CyberneticsHL','aug_total');
});
on('change:repeating_cybernetics', function(){
TAS.repeatingSimpleSum('cybernetics','CyberneticsCost','cost_total');
});
</script>