mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-09-04 06:02:32 +00:00
* New version - allows rolling the dice pool with a single click The current version of this sheet has a menu system for rolling dice that takes 3 clicks to roll each time. This new sheet has the roll button on the sheet. Added fill from the left on all checkboxes. Added space for new skills to be added by the player. + a variety of other fixes. * Re-submiting with trailing comma removed I've also removed the translation files as you advised translations are submitted through another process. * Updated with sheetworker to improve compatibility with older sheet Added sheetworker so all stats from older sheet will now migrate properly. Changed the way dice rolls work as publisher has clarified conflicting rules in the game handbook.
664 lines
28 KiB
HTML
664 lines
28 KiB
HTML
<div class="main">
|
|
|
|
<!-- HEADER -->
|
|
<div class="sheet-header">
|
|
<span style="float:left; display: inline-block">
|
|
<h1 data-i18n="header">PARANOIA</h1>
|
|
<h2 data-i18n="identity-form">IDENTITY FORM</h2>
|
|
</span>
|
|
<span class="sheet-char-name">
|
|
<span name="attr_character_name"></span><span>-</span><span name="attr_security-clearance"></span><span>-</span><span name="attr_sector"></span><span>-</span><span name="attr_clone-number"></span>
|
|
</span>
|
|
</div>
|
|
<div class="sheet-line"></div>
|
|
|
|
<!-- CHARACTER DETAILS -->
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="-" checked>
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="R">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="O">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="Y">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="G">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="B">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="I">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="V">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="U">
|
|
|
|
<h3 style="height: 135px; margin-bottom: -104px;" class="sheet-section0" data-i18n="details">DETAILS</h3>
|
|
<h3 style="height: 135px; margin-bottom: -104px;" class="sheet-section1" data-i18n="details">DETAILS</h3>
|
|
<h3 style="height: 135px; margin-bottom: -104px;" class="sheet-section2" data-i18n="details">DETAILS</h3>
|
|
<h3 style="height: 135px; margin-bottom: -104px;" class="sheet-section3" data-i18n="details">DETAILS</h3>
|
|
<h3 style="height: 135px; margin-bottom: -104px;" class="sheet-section4" data-i18n="details">DETAILS</h3>
|
|
<h3 style="height: 135px; margin-bottom: -104px;" class="sheet-section5" data-i18n="details">DETAILS</h3>
|
|
<h3 style="height: 135px; margin-bottom: -104px;" class="sheet-section6" data-i18n="details">DETAILS</h3>
|
|
<h3 style="height: 135px; margin-bottom: -104px;" class="sheet-section7" data-i18n="details">DETAILS</h3>
|
|
<h3 style="height: 135px; margin-bottom: -104px;" class="sheet-section8" data-i18n="details">DETAILS</h3>
|
|
|
|
<div class="sheet-details">
|
|
<div style="float: left">
|
|
|
|
<!-- NAME -->
|
|
<div class="sheet-details-title" style="width:250px">
|
|
<input type="text" name="attr_character_name" />
|
|
<br/>
|
|
<div class="sheet-title" data-i18n="name">NAME</div>
|
|
</div>
|
|
|
|
<!-- CLEARANCE -->
|
|
<input type="checkbox" style="display:none" name="attr_security-clearance" value="-"><span style="display:none">-</span>
|
|
<input type="checkbox" style="display:none" name="attr_security-clearance" value="R"><span style="display:none">R</span>
|
|
<input type="checkbox" style="display:none" name="attr_security-clearance" value="O"><span style="display:none">O</span>
|
|
<input type="checkbox" style="display:none" name="attr_security-clearance" value="Y"><span style="display:none">Y</span>
|
|
<input type="checkbox" style="display:none" name="attr_security-clearance" value="G"><span style="display:none">G</span>
|
|
<input type="checkbox" style="display:none" name="attr_security-clearance" value="B"><span style="display:none">B</span>
|
|
<input type="checkbox" style="display:none" name="attr_security-clearance" value="I"><span style="display:none">I</span>
|
|
<input type="checkbox" style="display:none" name="attr_security-clearance" value="V"><span style="display:none">V</span>
|
|
<input type="checkbox" style="display:none" name="attr_security-clearance" value="U"><span style="display:none">U</span>
|
|
|
|
<div class="sheet-details-title" style="width: 125px">
|
|
<select name="attr_security-clearance" style="width:40px; margin-bottom:-1px;">
|
|
<option value= "-" selected>-</option>
|
|
<option value= "R">R</option>
|
|
<option value= "O">O</option>
|
|
<option value= "Y">Y</option>
|
|
<option value= "G">G</option>
|
|
<option value= "B">B</option>
|
|
<option value= "I">I</option>
|
|
<option value= "V">V</option>
|
|
<option value= "U">U</option>
|
|
</select>
|
|
<br/>
|
|
<div class="sheet-title" data-i18n="security-clearance">CLEARANCE</div>
|
|
</div>
|
|
|
|
<!-- HOME SECTOR -->
|
|
<div class="sheet-details-title" style="width: 125px">
|
|
<input type="text" style="width:45px; text-align:center" name="attr_sector" />
|
|
<br/>
|
|
<div class="sheet-title" data-i18n="sector">SECTOR</div>
|
|
</div>
|
|
|
|
<!-- CLONE NUMBER -->
|
|
<div class="sheet-details-title" style="width: 125px">
|
|
<input type="number" value="1" style="width:60px" name="attr_clone-number"/>
|
|
<br/>
|
|
<div class="sheet-title" data-i18n="clone-number">CLONE</div>
|
|
</div>
|
|
|
|
<!-- MAX MOXIE -->
|
|
<div class="sheet-details-title" style="width: 125px">
|
|
<select name="attr_max_moxie" style="width:40px; margin-bottom:-1px">
|
|
<option value="8">8</option>
|
|
<option value="7">7</option>
|
|
<option value="6">6</option>
|
|
<option value="5">5</option>
|
|
<option value="4">4</option>
|
|
<option value="3">3</option>
|
|
</select>
|
|
<br/>
|
|
<div class="sheet-title" data-i18n="max-moxie">MOXIE</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="float: left">
|
|
<!-- DESCRIPTION -->
|
|
<div class="sheet-details-title" style="width:640PX">
|
|
<input type="text" name="attr_description" />
|
|
<br/>
|
|
<div class="sheet-title" data-i18n="description">DESCRIPTION</div>
|
|
</div>
|
|
|
|
<!-- GENDER -->
|
|
<div class="sheet-details-title" style="width: 150px">
|
|
<input type="text" name="attr_gender" />
|
|
<br/>
|
|
<div class="sheet-title" data-i18n="gender">GENDER</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="sheet-line"></div>
|
|
|
|
<!-- PROGRESS -->
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="-">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="R">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="O">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="Y">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="G">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="B">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="I">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="V">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="U">
|
|
|
|
<h3 style="height: 160px; margin-bottom: -131px;" class="sheet-section0" data-i18n="progress">PROGRESS</h3>
|
|
<h3 style="height: 160px; margin-bottom: -131px;" class="sheet-section1" data-i18n="progress">PROGRESS</h3>
|
|
<h3 style="height: 160px; margin-bottom: -131px;" class="sheet-section2" data-i18n="progress">PROGRESS</h3>
|
|
<h3 style="height: 160px; margin-bottom: -131px;" class="sheet-section3" data-i18n="progress">PROGRESS</h3>
|
|
<h3 style="height: 160px; margin-bottom: -131px;" class="sheet-section4" data-i18n="progress">PROGRESS</h3>
|
|
<h3 style="height: 160px; margin-bottom: -131px;" class="sheet-section5" data-i18n="progress">PROGRESS</h3>
|
|
<h3 style="height: 160px; margin-bottom: -131px;" class="sheet-section6" data-i18n="progress">PROGRESS</h3>
|
|
<h3 style="height: 160px; margin-bottom: -131px;" class="sheet-section7" data-i18n="progress">PROGRESS</h3>
|
|
<h3 style="height: 160px; margin-bottom: -131px;" class="sheet-section8" data-i18n="progress">PROGRESS</h3>
|
|
|
|
<div class="sheet-progress">
|
|
|
|
<!-- TREASON STARS -->
|
|
<div class="sheet-input" style="display: inline-block;">
|
|
<span data-i18n="treason-level" class="sheet-title">TREASON</span>
|
|
<input type="radio" name="attr_treason_stars" value="0" checked="checked" /><span class="sheet-body1"></span>
|
|
<input type="radio" name="attr_treason_stars" value="1" /><span class="sheet-star"></span>
|
|
<input type="radio" name="attr_treason_stars" value="2" /><span class="sheet-star"></span>
|
|
<input type="radio" name="attr_treason_stars" value="3" /><span class="sheet-star"></span>
|
|
<input type="radio" name="attr_treason_stars" value="4" /><span class="sheet-star"></span>
|
|
<input type="radio" name="attr_treason_stars" value="5" /><span class="sheet-star"></span>
|
|
</div>
|
|
|
|
<!-- MOXIE -->
|
|
<div class="sheet-input">
|
|
<span data-i18n="moxie" class="sheet-title">MOXIE</span>
|
|
<!-- hidden check box tied to max moxie dropdown -->
|
|
<input checked="checked" name="attr_max_moxie" type="checkbox" value="8" style="display:none">
|
|
<input name="attr_max_moxie" type="checkbox" value="7" class="sheet-arrow1">
|
|
<input name="attr_max_moxie" type="checkbox" value="6" class="sheet-arrow1 sheet-arrow2">
|
|
<input name="attr_max_moxie" type="checkbox" value="5" class="sheet-arrow1 sheet-arrow2 sheet-arrow3">
|
|
<input name="attr_max_moxie" type="checkbox" value="4" class="sheet-arrow1 sheet-arrow2 sheet-arrow3 sheet-arrow4">
|
|
<input name="attr_max_moxie" type="checkbox" value="3" class="sheet-arrow1 sheet-arrow2 sheet-arrow3 sheet-arrow4 sheet-arrow5">
|
|
<!-- fill from left checkbox -->
|
|
<input checked="checked" type="radio" name="attr_moxie" value="8" class="sheet-body1"><span class="sheet-body1"></span>
|
|
<input type="radio" name="attr_moxie" value="7" class="sheet-body2"><span class="sheet-body2 sheet-cross"></span>
|
|
<input type="radio" name="attr_moxie" value="6" class="sheet-body3"><span class="sheet-body3 sheet-cross"></span>
|
|
<input type="radio" name="attr_moxie" value="5" class="sheet-body4"><span class="sheet-body4 sheet-cross"></span>
|
|
<input type="radio" name="attr_moxie" value="4" class="sheet-body5"><span class="sheet-body5 sheet-cross"></span>
|
|
<input type="radio" name="attr_moxie" value="3" class="sheet-body6"><span class="sheet-body6 sheet-cross"></span>
|
|
<input type="radio" name="attr_moxie" value="2"><span class="sheet-cross"></span>
|
|
<input type="radio" name="attr_moxie" value="1"><span class="sheet-cross"></span>
|
|
<input type="radio" name="attr_moxie" value="0"><span class="sheet-cross"></span>
|
|
</div>
|
|
|
|
<!-- NODE AND ROLL BUTTON -->
|
|
<div class="sheet-node" style="width: 160px">
|
|
<span data-i18n="NODE" class="sheet-title" style="color:lightgrey">NODE</span>
|
|
<input value="0" type="number" name="attr_NODE" style="background: lightgrey;"/>
|
|
<button style="float:right;" type='roll' value='&{template:pa_skill} {{character_name=@{character_name}-@{security-clearance}-@{sector}-@{clone-number}}}{{NODE_roll=[[@{NODE}]]}} {{diceroll-1=[[@{NODE}d6cs>7cf<0>5 + 1d6cs>6cf<0>5 ]]}} {{diceroll-3=[[[[(abs(@{NODE}))]]d6cs>7cf<0>5f<4 + 1d6cs>6cf<0>5 ]]}} ' name='roll_weapon-skill-check' />
|
|
</div>
|
|
<!-- XP POINTS -->
|
|
<div class="sheet-input" style="width: 180px">
|
|
<span data-i18n="xp-points" class="sheet-title">XP POINTS</span>
|
|
<input value="0" type="number" name="attr_xp-points" style="width:60px"/>
|
|
</div>
|
|
<!-- WOUNDS -->
|
|
<div class="sheet-input">
|
|
<span data-i18n="wounds" class="sheet-title">WOUNDS</span>
|
|
<input type="radio" name="attr_wounds" value="0" checked="checked"><span class="sheet-body1"></span>
|
|
<input type="radio" name="attr_wounds" value="1"><span class="sheet-cross"></span>
|
|
<span data-i18n="hurt" class="sheet-progress-sub">HURT</span>
|
|
<input type="radio" name="attr_wounds" value="2"><span class="sheet-cross"></span>
|
|
<span data-i18n="injured" class="sheet-progress-sub">INJURED</span>
|
|
<input type="radio" name="attr_wounds" value="3"><span class="sheet-cross"></span>
|
|
<span data-i18n="maimed" class="sheet-progress-sub">MAIMED</span>
|
|
<input type="radio" name="attr_wounds" value="4"><span class="sheet-cross"></span>
|
|
<span data-i18n="dead" class="sheet-progress-sub">DEAD</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="sheet-line"></div>
|
|
|
|
<!-- SKILLS -->
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="-">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="R">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="O">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="Y">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="G">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="B">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="I">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="V">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="U">
|
|
|
|
<h3 style="height: 260px; margin-bottom: -225px;" class="sheet-section0" data-i18n="skills">SKILLS</h3>
|
|
<h3 style="height: 260px; margin-bottom: -225px;" class="sheet-section1" data-i18n="skills">SKILLS</h3>
|
|
<h3 style="height: 260px; margin-bottom: -225px;" class="sheet-section2" data-i18n="skills">SKILLS</h3>
|
|
<h3 style="height: 260px; margin-bottom: -225px;" class="sheet-section3" data-i18n="skills">SKILLS</h3>
|
|
<h3 style="height: 260px; margin-bottom: -225px;" class="sheet-section4" data-i18n="skills">SKILLS</h3>
|
|
<h3 style="height: 260px; margin-bottom: -225px;" class="sheet-section5" data-i18n="skills">SKILLS</h3>
|
|
<h3 style="height: 260px; margin-bottom: -225px;" class="sheet-section6" data-i18n="skills">SKILLS</h3>
|
|
<h3 style="height: 260px; margin-bottom: -225px;" class="sheet-section7" data-i18n="skills">SKILLS</h3>
|
|
<h3 style="height: 260px; margin-bottom: -225px;" class="sheet-section8" data-i18n="skills">SKILLS</h3>
|
|
|
|
<div class="sheet-skills">
|
|
<div class='row' style="display:inline-block">
|
|
<label class="sheet-skills-top">
|
|
<h4 data-i18n="violence">VIOLENCE</h4>
|
|
<input type="number" value="0" class="sheet-number" name="attr_violence" style="background: lightgrey;"/>
|
|
</label>
|
|
<label>
|
|
<span data-i18n="athletics">ATHLETICS</span>
|
|
<input type="number" value="0" class="sheet-number" name="attr_athletics"/>
|
|
</label>
|
|
<label>
|
|
<span data-i18n="guns">GUNS</span>
|
|
<input type="number" value="0" class="sheet-number" name="attr_guns"/>
|
|
</label>
|
|
<label>
|
|
<span data-i18n="melee">MELEE</span>
|
|
<input type="number" value="0" class="sheet-number" name="attr_melee"/>
|
|
</label>
|
|
<label>
|
|
<span data-i18n="throw">THROW</span>
|
|
<input type="number" value="0" class="sheet-number" name="attr_throw"/>
|
|
</label>
|
|
<label>
|
|
<input type="text" name="attr_extra_name_1"/>
|
|
<input type="number" value="0" class="sheet-number" name="attr_extra_1"/>
|
|
</label>
|
|
<label>
|
|
<input type="text" name="attr_extra_name_2"/>
|
|
<input type="number" value="0" class="sheet-number" name="attr_extra_2"/>
|
|
</label>
|
|
</div>
|
|
|
|
<div class='row' style="display:inline-block">
|
|
<label class="sheet-skills-top">
|
|
<h4 data-i18n="chutzpah">CHUTZPAH</h4>
|
|
<input type="number" value="0" class="sheet-number" name="attr_chutzpah" style="background: lightgrey;"/>
|
|
</label>
|
|
<label>
|
|
<span data-i18n="bluff">BLUFF</span>
|
|
<input type="number" value="0" class="sheet-number" name="attr_bluff"/>
|
|
</label>
|
|
<label>
|
|
<span data-i18n="charm">CHARM</span>
|
|
<input type="number" value="0" class="sheet-number" name="attr_charm"/>
|
|
</label>
|
|
<label>
|
|
<span data-i18n="intimidate">INTIMIDATE</span>
|
|
<input type="number" value="0" class="sheet-number" name="attr_intimidate"/>
|
|
</label>
|
|
<label>
|
|
<span data-i18n="stealth">STEALTH</span>
|
|
<input type="number" value="0" class="sheet-number" name="attr_stealth"/>
|
|
</label>
|
|
<label>
|
|
<input type="text" name="attr_extra_name_3"/>
|
|
<input type="number" value="0" class="sheet-number" name="attr_extra_3"/>
|
|
</label>
|
|
<label>
|
|
<input type="text" name="attr_extra_name_4"/>
|
|
<input type="number" value="0" class="sheet-number" name="attr_extra_4"/>
|
|
</label>
|
|
</div>
|
|
|
|
<div class='row' style="display:inline-block">
|
|
<label class="sheet-skills-top">
|
|
<h4 data-i18n="brains">BRAINS</h4>
|
|
<input type="number" value="0" class="sheet-number" name="attr_brains" style="background: lightgrey;"/>
|
|
</label>
|
|
<label>
|
|
<span data-i18n="science">SCIENCE</span>
|
|
<input type="number" value="0" class="sheet-number" name="attr_science"/>
|
|
</label>
|
|
<label>
|
|
<span data-i18n="psychology">PSYCHOLOGY</span>
|
|
<input type="number" value="0" class="sheet-number" name="attr_psychology"/>
|
|
</label>
|
|
<label>
|
|
<span data-i18n="bureaucracy">BUREAUCRACY</span>
|
|
<input type="number" value="0" class="sheet-number" name="attr_bureaucracy"/>
|
|
</label>
|
|
<label>
|
|
<span data-i18n="alpha-complex">ALPHA COMPLEX</span>
|
|
<input type="number" value="0" class="sheet-number" name="attr_alpha-complex"/>
|
|
</label>
|
|
<label>
|
|
<input type="text" name="attr_extra_name_5"/>
|
|
<input type="number" value="0" class="sheet-number" name="attr_extra_5"/>
|
|
</label>
|
|
<label>
|
|
<input type="text" name="attr_extra_name_6"/>
|
|
<input type="number" value="0" class="sheet-number" name="attr_extra_6"/>
|
|
</label>
|
|
</div>
|
|
|
|
<div class='row' style="display:inline-block">
|
|
<label class="sheet-skills-top">
|
|
<h4 data-i18n="mechanics">MECHANICS</h4>
|
|
<input type="number" value="0" class="sheet-number" name="attr_mechanics" style="background: lightgrey;"/>
|
|
</label>
|
|
<label>
|
|
<span data-i18n="operate">OPERATE</span>
|
|
<input type="number" value="0" class="sheet-number" name="attr_operate"/>
|
|
</label>
|
|
<label>
|
|
<span data-i18n="engineer">ENGINEER</span>
|
|
<input type="number" value="0" class="sheet-number" name="attr_engineer"/>
|
|
</label>
|
|
<label>
|
|
<span data-i18n="program">PROGRAM</span>
|
|
<input type="number" value="0" class="sheet-number" name="attr_program"/>
|
|
</label>
|
|
<label>
|
|
<span data-i18n="demolitions">DEMOLITIONS</span>
|
|
<input type="number" value="0" class="sheet-number" name="attr_demolitions"/>
|
|
</label>
|
|
<label>
|
|
<input type="text" class="sheet-extra" name="attr_extra_name_7"/>
|
|
<input type="number" value="0" class="sheet-number" name="attr_extra_7"/>
|
|
</label>
|
|
<label>
|
|
<input type="text" class="sheet-extra" name="attr_extra_name_8"/>
|
|
<input type="number" value="0" class="sheet-number" name="attr_extra_8"/>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="sheet-line"></div>
|
|
|
|
<!-- STORAGE -->
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="-">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="R">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="O">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="Y">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="G">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="B">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="I">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="V">
|
|
<input type="checkbox" style="display:none" class="sheet-show" name="attr_security-clearance" value="U">
|
|
|
|
|
|
<h3 style="height: 115px; margin-bottom: -85px;" class="sheet-section0" data-i18n="storage">STORAGE</h3>
|
|
<h3 style="height: 115px; margin-bottom: -85px;" class="sheet-section1" data-i18n="storage">STORAGE</h3>
|
|
<h3 style="height: 115px; margin-bottom: -85px;" class="sheet-section2" data-i18n="storage">STORAGE</h3>
|
|
<h3 style="height: 115px; margin-bottom: -85px;" class="sheet-section3" data-i18n="storage">STORAGE</h3>
|
|
<h3 style="height: 115px; margin-bottom: -85px;" class="sheet-section4" data-i18n="storage">STORAGE</h3>
|
|
<h3 style="height: 115px; margin-bottom: -85px;" class="sheet-section5" data-i18n="storage">STORAGE</h3>
|
|
<h3 style="height: 115px; margin-bottom: -85px;" class="sheet-section6" data-i18n="storage">STORAGE</h3>
|
|
<h3 style="height: 115px; margin-bottom: -85px;" class="sheet-section7" data-i18n="storage">STORAGE</h3>
|
|
<h3 style="height: 115px; margin-bottom: -85px;" class="sheet-section8" data-i18n="storage">STORAGE</h3>
|
|
|
|
<div class="sheet-storage"></div>
|
|
<div class="sheet-equipment">
|
|
<div class="sheet-equipment-title">
|
|
<span data-i18n="equipment" style="float:left">EQUIPMENT</span>
|
|
<span data-i18n="weight" style="float:right">WEIGHT</span>
|
|
</div>
|
|
<br/>
|
|
<br/>
|
|
<fieldset class="repeating_equipment">
|
|
<textarea name="attr_item_desc" class="sheet-textfield-desc"></textarea>
|
|
<span style="float:right"><input type="number" name="attr_weight"> KG</input></span>
|
|
</fieldset>
|
|
</div>
|
|
<div class="sheet-equipment">
|
|
<div class="sheet-equipment-title">
|
|
<span data-i18n="memory" style="float:left">MEMORY</span>
|
|
<span data-i18n="size" style="float:right">SIZE</span>
|
|
</div>
|
|
<br/>
|
|
<br/>
|
|
<fieldset class="repeating_memory">
|
|
<textarea name="attr_item_desc" class="sheet-textfield-desc"></textarea>
|
|
<span style="float:right"><input type="number" name="attr_zb"> ZB</input></span>
|
|
</fieldset>
|
|
</div>
|
|
|
|
<div class="sheet-line"></div>
|
|
|
|
<!-- FOOTER -->
|
|
<div class="sheet-footer">
|
|
<img src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Paranoia_Mongoose_oneclick/computer_eye.png" style="display: center; height: 90px; width: 90px;"/>
|
|
</div>
|
|
<h5 data-i18n="footer">FOOTER</h5>
|
|
</div>
|
|
|
|
|
|
|
|
<!-- ROLLTEMPLATES -->
|
|
<rolltemplate class="sheet-rolltemplate-pa_skill">
|
|
|
|
<div style="width: 225px; border: 1px solid black;">
|
|
<div class="sheet-roll-title">
|
|
{{character_name}} <!-- CHARACTER ROLLING -->
|
|
</div>
|
|
{{#^rollLess() NODE_roll 0}} <!-- NODE IS A POSITIVE NUMBER -->
|
|
{{#rollWasCrit() diceroll-1}} <!-- ROLL INCLUDES A COMPUTER SYMBOL ON THE COMPUTER DIE -->
|
|
<div class="sheet-crit">
|
|
{{diceroll-1}}
|
|
</div>
|
|
{{/rollWasCrit() diceroll-1}} <!-- ROLL INCLUDES A COMPUTER SYMBOL ON THE COMPUTER DIE END -->
|
|
{{#^rollWasCrit() diceroll-1}} <!-- ROLL DOES NOT INCLUDES A COMPUTER SYMBOL ON THE COMPUTER DIE -->
|
|
<div class="sheet-result">
|
|
{{diceroll-1}}
|
|
</div>
|
|
{{/^rollWasCrit() diceroll-1}} <!-- ROLL DOES NOT INCLUDES A COMPUTER SYMBOL ON THE COMPUTER DIE END -->
|
|
{{/^rollLess() NODE_roll 0}} <!-- NODE IS A POSITIVE NUMBER END -->
|
|
|
|
{{#rollLess() NODE_roll 0}} <!-- NODE IS A NEGATIVE NUMBER -->
|
|
{{#rollWasCrit() diceroll-3}} <!-- ROLL INCLUDES A COMPUTER SYMBOL ON THE COMPUTER DIE -->
|
|
<div class="sheet-crit">
|
|
{{diceroll-3}}
|
|
</div>
|
|
{{/rollWasCrit() diceroll-3}} <!-- ROLL INCLUDES A COMPUTER SYMBOL ON THE COMPUTER DIE END -->
|
|
|
|
{{#^rollWasCrit() diceroll-3}} <!-- ROLL DOES NOT INCLUDES A COMPUTER SYMBOL ON THE COMPUTER DIE -->
|
|
<div class="sheet-result">
|
|
{{diceroll-3}}
|
|
</div>
|
|
{{/^rollWasCrit() diceroll-3}} <!-- ROLL DOES NOT INCLUDES A COMPUTER SYMBOL ON THE COMPUTER DIE END -->
|
|
{{/rollLess() NODE_roll 0}} <!-- NODE IS A NEGATIVE NUMBER END -->
|
|
</div>
|
|
</rolltemplate>
|
|
|
|
|
|
<!-- SHEETWORKERS -->
|
|
|
|
<script type="text/worker">
|
|
|
|
<!-- MAKE SURE MOXIE CANNOT EXCEED MAXIMUM -->
|
|
on("change:max_moxie", function() {
|
|
getAttrs(["max_moxie", "moxie"], function(values) {
|
|
let maxmox = parseInt(values.max_moxie);
|
|
let curmox = parseInt(values.moxie);
|
|
if (curmox > maxmox) {
|
|
setAttrs({
|
|
"moxie": maxmox
|
|
});
|
|
};
|
|
});
|
|
});
|
|
|
|
<!-- GET INFORMATION FROM OLD SHEET -->
|
|
on("sheet:opened", function() {
|
|
getAttrs(["max_moxie", "moxie-level-1", "moxie-level-2", "moxie-level-3", "moxie-level-4", "moxie-level-5", "moxie-level-6", "moxie-level-7", "moxie-level-8", "moxie",
|
|
"treason-level-1", "treason-level-2", "treason-level-3", "treason-level-4", "treason-level-5", "treason_stars",
|
|
"wounds-level-1", "wounds-level-2", "wounds-level-3", "wounds-level-4", "wounds"], function(values) {
|
|
<!-- INPUTS -->
|
|
let moxx = parseInt(values["max_moxie"]);
|
|
let moxi = parseInt(values["moxie"]);
|
|
var mox1 = (values["moxie-level-1"]);
|
|
var mox2 = (values["moxie-level-2"]);
|
|
var mox3 = (values["moxie-level-3"]);
|
|
var mox4 = (values["moxie-level-4"]);
|
|
var mox5 = (values["moxie-level-5"]);
|
|
var mox6 = (values["moxie-level-6"]);
|
|
var mox7 = (values["moxie-level-7"]);
|
|
var mox8 = (values["moxie-level-8"]);
|
|
var moxa = 0;
|
|
var moxb = 8;
|
|
var tre1 = (values["treason-level-1"]);
|
|
var tre2 = (values["treason-level-2"]);
|
|
var tre3 = (values["treason-level-3"]);
|
|
var tre4 = (values["treason-level-4"]);
|
|
var tre5 = (values["treason-level-5"]);
|
|
var trea = parseInt(values["treason_stars"]);
|
|
var wou1 = (values["wounds-level-1"]);
|
|
var wou2 = (values["wounds-level-2"]);
|
|
var wou3 = (values["wounds-level-3"]);
|
|
var wou4 = (values["wounds-level-4"]);
|
|
var woua = parseInt(values["wounds"]);
|
|
<!-- MOXIE -->
|
|
if (mox1 === 'on') {
|
|
++moxa
|
|
setAttrs({
|
|
"moxie-level-1": '',
|
|
})
|
|
} if (mox1 === '0') {
|
|
--moxb
|
|
setAttrs({
|
|
"moxie-level-1": '',
|
|
})
|
|
}
|
|
if (mox2 === 'on') {
|
|
++moxa
|
|
setAttrs({
|
|
"moxie-level-2": '',
|
|
})
|
|
} if (mox2 === '0') {
|
|
--moxb
|
|
setAttrs({
|
|
"moxie-level-2": '',
|
|
})
|
|
}
|
|
if (mox3 === 'on') {
|
|
++moxa
|
|
setAttrs({
|
|
"moxie-level-3": '',
|
|
})
|
|
} if (mox3 === '0') {
|
|
--moxb
|
|
setAttrs({
|
|
"moxie-level-3": '',
|
|
})
|
|
}
|
|
if (mox4 === 'on') {
|
|
++moxa
|
|
setAttrs({
|
|
"moxie-level-4": '',
|
|
})
|
|
} if (mox4 === '0') {
|
|
--moxb
|
|
setAttrs({
|
|
"moxie-level-4": '',
|
|
})
|
|
}
|
|
if (mox5 === 'on') {
|
|
++moxa
|
|
setAttrs({
|
|
"moxie-level-5": '',
|
|
})
|
|
} if (mox5 === '0') {
|
|
--moxb
|
|
setAttrs({
|
|
"moxie-level-5": '',
|
|
})
|
|
}
|
|
if (mox6 === 'on') {
|
|
++moxa
|
|
setAttrs({
|
|
"moxie-level-6": '',
|
|
})
|
|
} if (mox6 === '0') {
|
|
--moxb
|
|
setAttrs({
|
|
"moxie-level-6": '',
|
|
})
|
|
}
|
|
if (mox7 === 'on') {
|
|
++moxa
|
|
setAttrs({
|
|
"moxie-level-7": '',
|
|
})
|
|
} if (mox7 === '0') {
|
|
--moxb
|
|
setAttrs({
|
|
"moxie-level-7": '',
|
|
})
|
|
}
|
|
if (mox8 === 'on') {
|
|
++moxa
|
|
setAttrs({
|
|
"moxie-level-8": '',
|
|
})
|
|
} if (mox8 === '0') {
|
|
--moxb
|
|
setAttrs({
|
|
"moxie-level-8": '',
|
|
})
|
|
}
|
|
if (moxa !== 0) {
|
|
setAttrs({
|
|
"moxie": moxa,
|
|
})
|
|
} else if (moxb < 8) {
|
|
setAttrs({
|
|
"moxie": 0,
|
|
})
|
|
};
|
|
|
|
<!-- TREASON -->
|
|
if (tre1 === 'on') {
|
|
++trea
|
|
setAttrs({
|
|
"treason-level-1": '',
|
|
});
|
|
}
|
|
if (tre2 === 'on') {
|
|
++trea
|
|
setAttrs({
|
|
"treason-level-2": '',
|
|
});
|
|
}
|
|
if (tre3 === 'on') {
|
|
++trea
|
|
setAttrs({
|
|
"treason-level-3": '',
|
|
});
|
|
}
|
|
if (tre4 === 'on') {
|
|
++trea
|
|
setAttrs({
|
|
"treason-level-4": '',
|
|
});
|
|
}
|
|
if (tre5 === 'on') {
|
|
++trea
|
|
setAttrs({
|
|
"treason-level-5": '',
|
|
});
|
|
}
|
|
|
|
<!-- WOUNDS -->
|
|
|
|
if (wou4 === 'on') {
|
|
woua = 4
|
|
setAttrs({
|
|
"wounds-level-4": '',
|
|
"wounds-level-3": '',
|
|
"wounds-level-2": '',
|
|
"wounds-level-1": '',
|
|
});
|
|
} else if (wou3 === 'on') {
|
|
woua = 3
|
|
setAttrs({
|
|
"wounds-level-3": '',
|
|
"wounds-level-2": '',
|
|
"wounds-level-1": '',
|
|
});
|
|
} else if (wou2 === 'on') {
|
|
woua = 2
|
|
setAttrs({
|
|
"wounds-level-2": '',
|
|
"wounds-level-1": '',
|
|
});
|
|
} else if (wou1 === 'on') {
|
|
woua = 1
|
|
setAttrs({
|
|
"wounds-level-1": '',
|
|
});
|
|
}
|
|
}
|
|
<!-- OUTPUT -->
|
|
setAttrs({
|
|
"treason_stars": trea,
|
|
"wounds": woua,
|
|
});
|
|
});
|
|
});
|
|
</script> |