Add files via upload

This commit is contained in:
Lockbox313
2023-02-28 11:30:00 +00:00
committed by GitHub
parent c2f36982e2
commit 6a5e74f4a7
6 changed files with 1208 additions and 0 deletions
+559
View File
@@ -0,0 +1,559 @@
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&display=swap|Cabin:wght@700');
.charsheet{
max-width: 832px;
min-width: 832px;
--charsheet_backgroundColor:#d6d3b0;
--charsheet_inputColor: #1e1f1f;;
--charsheet_inputColor:#1e1f1f;
--charsheet_labelColor:black ;
--charsheet_sectionBrdrColor: black;
--charsheet_sectionBkGrdColor:#FFFFC2;
--charsheet_fontSize:12pt;
--charsheet_wpnRowHgt:12pt;
--charsheet_wpnRowLineHgt:23px;
font-family: "Libre Baskerville", serif;
color: var(--charsheet_inputColor);
font-size: var(--charsheet_fontSize);
}
.charsheet textarea{
margin: 0px;
width:100%;
font-weight: 900;
color: black;
box-sizing: border-box;
text-align:left;
box-shadow: none;
border-radius: 0;
outline:none;
display: block;
width: 100%;
overflow:hidden;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
background-color:whitesmoke;
}
.sheet-rolltemplate-default .inlinerollresult {
background-color: transparent!important;
color: #000000!important;
border: none!important;
font-size: 13px!important;
}
.sheet-rolltemplate-default .sheet-roll-info .inlinerollresult {
font-size:10px!important;
margin: 2px 0px 2px 0px!important;
}
.sheet-rolltemplate-default .inlinerollresult.fullcrit{
border:none!important;
}
.sheet-rolltemplate-default .inlinerollresult.fullfail{
border:none!important;
}
.sheet-rolltemplate-default .inlinerollresult.importantroll{
border:none!important;
}
.largedialog textarea {
height:100%;
resize: none;
}
.charsheet hr{
width: 100%;
margin: 5px 0px 5px 0px;
}
.sheet-centerIt{
text-align:center;
}
.sheet-topheader{
font-family: "Cabin", sans-serif;
font-weight:bolder;
font-size:xx-large;
}
.sheet-text_input{
border: none;
box-shadow: none;
border-radius: 0;
outline:none;
display:inline-block;
width:100%;
padding:0px;
background-color:whitesmoke;
}
.sheet-borderTop{
border-top: 1px solid var(--charsheet_sectionBrdrColor);
width:100%;
}
.sheet-borderBot{
border-bottom: 1px solid var(--charsheet_sectionBrdrColor);
width:100%;
}
.sheet-borderRight{
border-right: 1px solid var(--charsheet_sectionBrdrColor);
width:100%;
}
.sheet-borderLeft{
border-left: 1px solid var(--charsheet_sectionBrdrColor);
width:100%;
}
.sheet-max-1fr{
display: grid;
grid-template-columns:max-content 1fr;
column-gap: 0px;
}
.sheet-wrapper1{
display: grid;
grid-template-columns:max-content;
column-gap: 0px;
align-items: end;
}
.sheet-name{
display: grid;
grid-template-columns:max-content 386px;
column-gap: 5px;
align-items: end;
}
.sheet-stats div,
.sheet-name div{
padding:2px;
}
.sheet-block1 {
display: grid;
grid-template-columns:85px 68px 679px;
column-gap: 0px;
align-items: end;
border-left: 1px solid black;
border-top: 1px solid black;
}
.sheet-block2 {
display: grid;
grid-template-columns:85px 1fr;
column-gap: 5px;
align-items: end;
}
.sheet-block1 h1{
padding: 0 4px 0 4px;
}
.sheet-birth{
display: grid;
grid-row: 1 / span 2;
grid-column: 3 / 3;
height: 100%;
column-gap: 5px;
align-items: center;
grid-template-columns: max-content 1fr;
border-bottom:1px solid black;
}
.sheet-birth span textarea{
height:98px;
}
.sheet-abilities{
font-size:32px;
text-align: center;
}
.charsheet input.sheet-abilities{
height:50px;
}
.sheet-filler{
width:100%;
height:100%;
background-color:black;
}
.sheet-EndMAGrid {
display: grid;
grid-template-columns:452px 222px;
column-gap: 5px;
align-items: end;
}
.sheet-EndCurrentGrid{
display: grid;
grid-template-columns:88px 1fr;
column-gap: 5px;
align-items: end;
}
.sheet-MAGrid {
display: grid;
grid-template-columns:max-content 1fr;
column-gap: 5px;
align-items: end;
}
.sheet-MAGrid textarea,
.sheet-EndCurrentGrid textarea{
height:50px;
text-align: center;
padding-top: 12px;
}
.sheet-smallHeader{
font-size:xx-small;
text-align: center;
}
.sheet-practiseGrid {
display: grid;
grid-template-columns: repeat(6, 113px);
column-gap: 0px;
align-items: end;
border-top: 1px solid black;
height: 100%;
}
.sheet-practiseGridRow{
height:100%;
}
.sheet-pVGrid{
display:flex;
grid-template-columns:30px 5px 30px;
column-gap: 5px;
margin-left: 18px;
}
{
display: grid;
grid-template-columns:30px 5px 30px;
column-gap: 5px;
margin-left: 18px;
}
.sheet-SLHeader,
.sheet-practiseHeader{
font-size:14px;
width:100%;
text-align:center;
margin-left: 3px;
}
.sheet-practiseVal{
font-size:12pt;
width:100%;
text-align:center;
}
.sheet-block2-wrapper{
border:1px solid black;
width:825px;
padding: 0 4px 0 4px;
}
.sheet-SLGrid{
display: grid;
grid-template-columns:41px 50px 195px 169px 151px 223px;
grid-template-rows:40px;
column-gap: 0px;
}
.sheet-SL_value textarea{
padding-top: 12px;
height: 40px;
}
.sheet-SLGrid .sheet-SLHeader{
text-align:left;
margin-left:3px;
}
.sheet-SLGrid h1{
padding-top: 4px;
padding-bottom: 4px;
}
.sheet-funds{
position:relative;
left: 48px;
top: -20px;
display: block;
width: 141px;
}
.sheet-allowance{
position: relative;
left: 76px;
top: -20px;
display: block;
width: 86px;
}
.sheet-horses{
position: relative;
left: 53px;
top: -20px;
display: block;
width: 92px;
}
.sheet-date{
position: relative;
left: 38px;
top: -20px;
display: block;
width: 177px;
}
.sheet-weapon-exp{
display:inline-block;
width:30px;
font-size:x-small;
}
.sheet-date textarea,
.sheet-horses textarea,
.sheet-allowance textarea,
.sheet-funds textarea{
margin-left:3px;
}
.sheet-monthlyVariables{
display: grid;
grid-template-columns:684px 50px 50px 50px;
column-gap: 0px;
align-items: center;
line-height: 21px;
}
.sheet-fundAdjust{
display: grid;
grid-template-columns:684px 100px;
column-gap: 0px;
align-items: center;
line-height: 21px;
}
.charsheet input[name=attr_funds_adjustment]{
width: 98px;
}
.sheet-monthlyVariables input.sheet-monthlyVariableVals{
}
.sheet-fundAdjust div,
.sheet-monthlyVariables div{
height:20px;
}
.sheet-monthlyVariablesHeader{
font-size: 9px;
text-align: center;
display: inline-block;
width: 100%;
}
.sheet-monthlyVariablesDesc{
font-size:8pt;
}
.sheet-monthlyVariableVals{
font-size: 8pt;
width: 48px;
margin-left: 1px;
text-align: center;
}
.charsheet input[name=attr_title_desc]{
width:651px;
}
.charsheet input[name=attr_monthly_allowance_desc]{
width: 247px;
}
.charsheet input[name=attr_club_desc]{
width: 580px;
}
.charsheet input[name=attr_regiment_rank_desc]{
width: 555px;
}
.charsheet input[name=attr_mistress_desc]{
width: 505px;
}
.charsheet input[name=attr_appointment_desc]{
width: 555px;
}
.sheet-mentionsGrid{
display: grid;
grid-template-columns:115px 299px 81px 50px;
column-gap: 0px;
align-items: center;
}
.sheet-dispatchesLabel{
display: inline-block;
width: 134px;
}
.charsheet input[name=attr_mentions_current]{
width: 296px;
margin-left: 3px;
}
.sheet-oldMentionsLabel{
text-align:center;
}
.charsheet input[name=attr_mentions_old]{
width: 45px;
margin-left: 3px;
margin-right: 3px;
text-align:center;
}
.charsheet input[name=attr_week4_desc],
.charsheet input[name=attr_week3_desc],
.charsheet input[name=attr_week2_desc],
.charsheet input[name=attr_week1_desc]{
width: 639px;
}
.sheet-mentionsSpan{
display:inline-block;
}
.sheet-weeklyPlot{
display: grid;
grid-template-columns:684px 50px 50px 50px;
column-gap: 0px;
}
.sheet-diceWrapper{
text-align:center;
}
.sheet-inlineblock{
display:inline-block;
}
.charsheet button[type=action].sheet-text_roll::before {
background-image: none;
content: "";
margin:0;
padding:0px 2px;
border:0!important;
}
.charsheet button[type=action].sheet-text_roll{
border:none;
margin:0;
padding:0px;
line-height: 13px;
color:var(--charsheet_inputColor);
overflow: hidden;
font-size:8px!important;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.charsheet button[type=action].sheet-text_roll span{
width: 100%;
display: inline-block;
}
.charsheet button[type=action].sheet-text_roll:hover span,
.charsheet button[type=action].sheet-text_roll:hover {
color:red;
}
.charsheet button[type=roll].sheet-text_roll::before {
background-image: none;
font-size: 13px;
content: "";
margin:0;
padding:0;
background:transparent;
}
.charsheet button[type=roll].sheet-text_roll {
margin:0;
padding:2px;
background:transparent;
color:var(--charsheet_labelColor);
font-size: var(--charsheet_fontSize);
overflow: hidden;
}
.charsheet button[type=roll].sheet-text_roll:hover {
color:red;
}
+583
View File
@@ -0,0 +1,583 @@
<div class="sheet-centerIt sheet-topheader">En Garde!</div>
<div class="sheet-wrapper1 ">
<div class="sheet-name sheet-borderTop sheet-borderLeft sheet-borderRight">
<div data-i18n="character">Character:</div>
<div><input type="text" class="sheet-text_input" name="attr_character_name"></div>
</div>
</div>
<div class="sheet-block1 sheet-borderRight">
<div class="sheet-borderBot">
<div>
<h1 data-i18n="STR">STR</h1>
<div class="sheet-smallHeader" data-i18n="STR-prompt">(Initially 3-18)</div>
</div>
</div>
<div class="sheet-borderRight sheet-borderBot"><input type="text" class="sheet-text_input sheet-abilities" name="attr_STR" value="0"></div>
<div class="sheet-birth">
<h1 data-i18n="Birth">Birth</h1>
<span>
<textarea name="attr_birth"></textarea>
</span>
</div>
<div class="sheet-borderBot">
<div>
<h1 data-i18n="CON">CON</h1>
<div class="sheet-smallHeader" data-i18n="CON-prompt">(3-18)</div>
</div>
</div>
<div class="sheet-borderBot sheet-borderRight"><input type="text" class="sheet-text_input sheet-abilities" name="attr_CON" value="0"></div>
<div class="sheet-borderBot">
<div>
<h1 data-i18n="END">END</h1>
<div class="sheet-smallHeader" data-i18n="END-prompt">(Max: STRxCON)</div>
</div>
</div>
<div class="sheet-borderBot sheet-borderRight"><input type="text" class="sheet-text_input sheet-abilities" readonly=readonly name="attr_END" value="0"></div>
<div>
<div class="sheet-EndMAGrid">
<div class="sheet-borderRight">
<div class="sheet-EndCurrentGrid">
<div>
<div><h1 data-i18n="END">END</h1></div>
<div class="sheet-smallHeader" data-i18n="current"> </div>
</div>
<div>
<textarea name="attr_end_current"></textarea>
</div>
</div>
</div>
<div>
<div class="sheet-MAGrid">
<div>
<div><h1 data-i18n="MA">MA</h1></div>
<div class="sheet-smallHeader" data-i18n="MA-prompt">Initially 1-6</div>
</div>
<div>
<textarea class="sheet-abilities" name="attr_MA"></textarea>
</div>
</div>
</div>
</div>
</div>
<div class="sheet-borderBot">
<div>
<h1 data-i18n="EXP">EXP</h1>
<div class="sheet-smallHeader" data-i18n="EXP-prompt">(Base: 3-18)</div>
</div>
</div>
<div class="sheet-borderBot sheet-borderRight">
<input type="text" class="sheet-text_input sheet-abilities" name="attr_EXP" value="0">
</div>
<div class="sheet-practiseGrid">
<div class="sheet-borderRight sheet-borderBot sheet-practiseGridRow">
<div>
<span class="sheet-practiseHeader" data-i18n="Dagger">Dagger</span>
<span class="sheet-weapon-exp">
<input type="text" class="sheet-text_input sheet-practiseVal" name="attr_dagger_exp" value="0">
</span>
</div>
<div class="sheet-pVGrid">
<div><input type="text" class="sheet-text_input sheet-practiseVal" name="attr_practise_dagger" value="0"></div>
<div>/</div>
<div><input type="text" class="sheet-text_input sheet-practiseVal" name="attr_practise_dagger_max" value="4"></div>
</div>
</div>
<div class="sheet-borderRight sheet-borderBot sheet-practiseGridRow">
<div>
<span class="sheet-practiseHeader" data-i18n="Foil">Foil</span>
<span class="sheet-weapon-exp">
<input type="text" class="sheet-text_input sheet-practiseVal" name="attr_foil_exp" value="0">
</span>
</div>
<div class="sheet-pVGrid">
<div><input type="text" class="sheet-text_input sheet-practiseVal" name="attr_practise_foil" value="0"></div>
<div>/</div>
<div><input type="text" class="sheet-text_input sheet-practiseVal" name="attr_practise_foil_max" value="4"></div>
</div>
</div>
<div class="sheet-borderRight sheet-borderBot sheet-practiseGridRow">
<div>
<span class="sheet-practiseHeader" data-i18n="Rapier">Rapier</span>
<span class="sheet-weapon-exp">
<input type="text" class="sheet-text_input sheet-practiseVal" name="attr_rapier_exp" value="0">
</span>
</div>
<div class="sheet-pVGrid">
<div><input type="text" class="sheet-text_input sheet-practiseVal" name="attr_practise_rapier" value="0"></div>
<div>/</div>
<div><input type="text" class="sheet-text_input sheet-practiseVal" name="attr_practise_rapier_max" value="4"></div>
</div>
</div>
<div class="sheet-borderRight sheet-borderBot sheet-practiseGridRow">
<div>
<span class="sheet-practiseHeader" data-i18n="Sabre">Sabre</span>
<span class="sheet-weapon-exp">
<input type="text" class="sheet-text_input sheet-practiseVal" name="attr_sabre_exp" value="0">
</span>
</div>
<div class="sheet-pVGrid">
<div><input type="text" class="sheet-text_input sheet-practiseVal" name="attr_practise_sabre" value="0"></div>
<div>/</div>
<div><input type="text" class="sheet-text_input sheet-practiseVal" name="attr_practise_sabre_max" value="4"></div>
</div>
</div>
<div class="sheet-borderRight sheet-borderBot sheet-practiseGridRow">
<div>
<span class="sheet-practiseHeader" data-i18n="Cutlass">Cutlass</span>
<span class="sheet-weapon-exp">
<input type="text" class="sheet-text_input sheet-practiseVal" name="attr_cutlass_exp" value="0">
</span>
</div>
<div class="sheet-pVGrid">
<div><input type="text" class="sheet-text_input sheet-practiseVal" name="attr_practise_cutlass" value="0"></div>
<div>/</div>
<div><input type="text" class="sheet-text_input sheet-practiseVal" name="attr_practise_cutlass_max" value="4"></div>
</div>
</div>
<div class="sheet-borderBot sheet-practiseGridRow">
<div>
<span class="sheet-practiseHeader" data-i18n="2-Hand">2-Hand</span>
<span class="sheet-weapon-exp">
<input type="text" class="sheet-text_input sheet-practiseVal" name="attr_2hand_exp" value="0">
</span>
</div>
<div class="sheet-pVGrid">
<div><input type="text" class="sheet-text_input sheet-practiseVal" name="attr_practise_2-Hand" value="0"></div>
<div>/</div>
<div><input type="text" class="sheet-text_input sheet-practiseVal" name="attr_practise_2-Hand_max" value="4"></div>
</div>
</div>
</div>
</div>
<hr>
<div class="sheet-block2-wrapper">
<div class="sheet-SLGrid">
<div class="sheet-borderRight">
<h1 data-i18n="SL">SL</h1>
</div>
<div class="sheet-borderRight">
<span class="sheet-SL_value" >
<textarea type="text" class="sheet-text_input sheet-abilities" name="attr_SL"></textarea>
</span>
</div>
<div class="sheet-borderRight">
<span class="sheet-SLHeader" data-i18n="Funds"></span>
<span class="sheet-funds" >
<textarea type="text" class="sheet-text_input" name="attr_funds"></textarea>
</span>
</div>
<div class="sheet-borderRight">
<span class="sheet-SLHeader" data-i18n="Allowance"></span>
<span class="sheet-allowance" >
<textarea type="text" class="sheet-text_input" name="attr_allowance"></textarea>
</span>
</div>
<div class="sheet-borderRight">
<span class="sheet-SLHeader" data-i18n="Horses"></span>
<span class="sheet-horses" >
<textarea type="text" class="sheet-text_input" name="attr_horses"></textarea>
</span>
</div>
<div class="sheet-borderRight">
<span class="sheet-SLHeader" data-i18n="Date"></span>
<span class="sheet-date">
<textarea type="text" class="sheet-text_input" name="attr_date"></textarea>
</span>
</div>
</div>
</div>
<div class="sheet-monthlyVariables">
<div class="sheet-borderBot sheet-borderRight">&nbsp;</div>
<div class="sheet-borderBot sheet-borderRight"><span class="sheet-monthlyVariablesHeader" data-i18n="Income">Income</span></div>
<div class="sheet-borderBot sheet-borderRight"><span class="sheet-monthlyVariablesHeader" data-i18n="Spending">Spending</span></div>
<div class="sheet-borderBot"><span class="sheet-monthlyVariablesHeader" data-i18n="SPs">SPs</span></div>
<div class="sheet-borderBot sheet-borderRight sheet-monthlyVariablesDesc">
<span data-i18n="allowance-support">Allowance, Support costs: 2 x SL (or 3 x SL for 1 SP) plus horses (3 per horse + 2)</span>
<span> <input type="text" class="sheet-text_input" name="attr_monthly_allowance_desc" value=""></span>
</div>
<div class="sheet-borderBot sheet-borderRight">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_monthly_allowance_support_income" value="0">
</div>
<div class="sheet-borderBot sheet-borderRight">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_monthly_allowance_support_spending" value="0">
</div>
<div class="sheet-borderBot">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_monthly_allowance_support_sps" value="0">
</div>
<div class="sheet-borderBot sheet-borderRight sheet-monthlyVariablesDesc">
<span data-i18n="title">Title</span>
<span> <input type="text" class="sheet-text_input" name="attr_title_desc" value=""></span>
</div>
<div class="sheet-borderBot sheet-borderRight">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_title_income" value="0">
</div>
<div class="sheet-borderBot sheet-borderRight">
<div class="sheet-filler"></div>
</div>
<div class="sheet-borderBot">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_title_sps" value="0">
</div>
<div class="sheet-borderBot sheet-borderRight sheet-monthlyVariablesDesc">
<span data-i18n="club-membership">Club membership</span>
<span> <input type="text" class="sheet-text_input" name="attr_club_desc" value=""></span>
</div>
<div class="sheet-borderBot sheet-borderRight">
<div class="sheet-filler"></div>
</div>
<div class="sheet-borderBot sheet-borderRight">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_club_spending" value="0">
</div>
<div class="sheet-borderBot">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_club_sps" value="0">
</div>
<div class="sheet-borderBot sheet-borderRight sheet-monthlyVariablesDesc">
<span data-i18n="regiment-rank">Regiment and/or Rank</span>
<span> <input type="text" class="sheet-text_input" name="attr_regiment_rank_desc" value=""></span>
</div>
<div class="sheet-borderBot sheet-borderRight">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_regiment_rank_income" value="0">
</div>
<div class="sheet-borderBot sheet-borderRight">
<div class="sheet-filler"></div>
</div>
<div class="sheet-borderBot">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_regiment_rank_sps" value="0">
</div>
<div class="sheet-borderBot sheet-borderRight sheet-monthlyVariablesDesc">
<span data-i18n="mistress-details">Mistress (Name, SL & attributes)</span>
<span> <input type="text" class="sheet-text_input" name="attr_mistress_desc" value=""></span>
</div>
<div class="sheet-borderBot sheet-borderRight">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_mistress_income" value="0">
</div>
<div class="sheet-borderBot sheet-borderRight">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_mistress_spending" value="0">
</div>
<div class="sheet-borderBot">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_mistress_sps" value="0">
</div>
<div class="sheet-borderBot sheet-borderRight sheet-monthlyVariablesDesc">
<span data-i18n="Appointment">Appointment</span>
<span> <input type="text" class="sheet-text_input" name="attr_appointment_desc" value=""></span>
</div>
<div class="sheet-borderBot sheet-borderRight">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_appointment_income" value="0">
</div>
<div class="sheet-borderBot sheet-borderRight">
<div class="sheet-filler"></div>
</div>
<div class="sheet-borderBot">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_appointment_sps" value="0">
</div>
<div class="sheet-borderBot sheet-borderRight sheet-monthlyVariablesDesc">
<span class="sheet-borderRight sheet-dispatchesLabel" data-i18n="mentions">Mentions in Despatches </span>
<span class="sheet-mentionsSpan">
<div class="sheet-mentionsGrid">
<div class="sheet-borderRight" data-i18n="mentions-current">Current (1-6 SPs ea.)</div>
<div class="sheet-borderRight"><input type="text" class="sheet-text_input" name="attr_mentions_current" value=""></div>
<div class="sheet-borderRight sheet-oldMentionsLabel" >
<span data-i18n="mentions-old">Old (1 SP ea.)</span>
</div>
<div class="sheet-borderRight"><input type="text" class="sheet-text_input" name="attr_mentions_old" value=""></div>
</div>
</span>
</div>
<div class="sheet-borderBot sheet-borderRight">
<div class="sheet-filler"></div>
</div>
<div class="sheet-borderBot sheet-borderRight">
<div class="sheet-filler"></div>
</div>
<div class="sheet-borderBot">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_mentions_sps" value="0">
</div>
</div>
<div class="sheet-monthlyVariables">
<div class="sheet-borderBot sheet-borderRight"><button name="act_reset" type="action" class="sheet-text_roll">RESET</button></div>
<div class="sheet-borderBot sheet-borderRight"><span class="sheet-monthlyVariablesHeader" data-i18n="Income">Income</span></div>
<div class="sheet-borderBot sheet-borderRight"><span class="sheet-monthlyVariablesHeader" data-i18n="Spending">Spending</span></div>
<div class="sheet-borderBot"><span class="sheet-monthlyVariablesHeader" data-i18n="SPs">SPs</span></div>
<div class="sheet-borderBot sheet-borderRight sheet-monthlyVariablesDesc">
<span data-i18n="week1">Week 1</span>
<span> <input type="text" class="sheet-text_input" name="attr_week1_desc" value=""></span>
</div>
<div class="sheet-borderBot sheet-borderRight">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_week1_income" value="0">
</div>
<div class="sheet-borderBot sheet-borderRight">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_week1_spending" value="0">
</div>
<div class="sheet-borderBot">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_week1_sps" value="0">
</div>
<div class="sheet-borderBot sheet-borderRight sheet-monthlyVariablesDesc">
<span data-i18n="week2">Week 2</span>
<span> <input type="text" class="sheet-text_input" name="attr_week2_desc" value=""></span>
</div>
<div class="sheet-borderBot sheet-borderRight">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_week2_income" value="0">
</div>
<div class="sheet-borderBot sheet-borderRight">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_week2_spending" value="0">
</div>
<div class="sheet-borderBot">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_week2_sps" value="0">
</div>
<div class="sheet-borderBot sheet-borderRight sheet-monthlyVariablesDesc">
<span data-i18n="week3">Week 3</span>
<span> <input type="text" class="sheet-text_input" name="attr_week3_desc" value=""></span>
</div>
<div class="sheet-borderBot sheet-borderRight">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_week3_income" value="0">
</div>
<div class="sheet-borderBot sheet-borderRight">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_week3_spending" value="0">
</div>
<div class="sheet-borderBot">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_week3_sps" value="0">
</div>
<div class="sheet-borderBot sheet-borderRight sheet-monthlyVariablesDesc">
<span data-i18n="week4">Week 4</span>
<span> <input type="text" class="sheet-text_input" name="attr_week4_desc" value=""></span>
</div>
<div class="sheet-borderBot sheet-borderRight">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_week4_income" value="0">
</div>
<div class="sheet-borderBot sheet-borderRight">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_week4_spending" value="0">
</div>
<div class="sheet-borderBot">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_week4_sps" value="0">
</div>
<div class="sheet-borderBot sheet-borderRight sheet-monthlyVariablesDesc">
<span data-i18n="monthly-values">Monthly Values</span>
</div>
<div class="sheet-borderBot sheet-borderRight">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_monthly_income" value="0">
</div>
<div class="sheet-borderBot sheet-borderRight">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_monthly_spending" value="0">
</div>
<div class="sheet-borderBot">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_monthly_sps" value="0">
</div>
<div class="sheet-borderBot sheet-borderRight sheet-monthlyVariablesDesc">
<span data-i18n="total">Total</span>
</div>
<div class="sheet-borderBot sheet-borderRight">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_final_income" value="0">
</div>
<div class="sheet-borderBot sheet-borderRight">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_final_spending" value="0">
</div>
<div class="sheet-borderBot">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_final_sps" value="0">
</div>
</div>
<div class="sheet-fundAdjust">
<div class="sheet-borderBot sheet-borderRight sheet-monthlyVariablesDesc">
<span data-i18n="funds-adjust">Funds Adjustment</span>
</div>
<div class="sheet-borderBot sheet-borderRight">
<input type="text" class="sheet-text_input sheet-monthlyVariableVals" name="attr_funds_adjustment" value="0">
</div>
</div>
<hr>
<div>
<div class="sheet-diceWrapper">
<span><button type="roll" class="sheet-text_roll" name="roll_1d6" value="&{template:default} {{1D6=[[1d6+?{Modifier|0}]]}}"><img src="https://raw.githubusercontent.com/Lockbox313/imagedump/master//EnGarde/d6-2.png"></button></span>
<span><button type="roll" class="sheet-text_roll" "sheet-text_roll" name="roll_1d6" value="&{template:default} {{2D6=[[2d6+?{Modifier|0}]]}}"><img src="https://raw.githubusercontent.com/Lockbox313/imagedump/master//EnGarde/2d6-2.png"></button></span>
</div>
<div>
<script type="text/worker">
on("clicked:reset", function() {
// write your sheetworker to do things here
setAttrs({week1_income:0,week2_income:0,week3_income:0,week4_income:0,week1_spending:0,week2_spending:0,week3_spending:0,week4_spending:0,week1_sps:0,week2_sps:0,week3_sps:0,week4_sps:0});
});
on("change:str change:con", function(event) {
console.log(`change con or str ${JSON.stringify(event)}`);
getAttrs(["str","con"], function(values) {
console.log(`change budo values ${JSON.stringify(values)}`);
let tot = parseInt(values.str)*parseInt(values.con);
setAttrs({end:tot});
});
});
const income_listeners = ["monthly_allowance_support_income","title_income","regiment_rank_income","mistress_income","appointment_income"];
income_listeners.forEach(attribute => {
on(`change:${attribute}`, function(event) {
console.log(`income listener event ${JSON.stringify(event)}`);
getAttrs(["monthly_allowance_support_income","title_income","regiment_rank_income","mistress_income","appointment_income"], function(values) {
console.log(`values ${JSON.stringify(values)}`);
var sum = 0;
for( var el in values ) {
if( values.hasOwnProperty( el ) ) {
sum += parseInt(values[el]);
}
}
console.log("sum:"+sum) ;
setAttrs({monthly_income:sum});
});
});
});
const weekly_income_listeners = ["week1_income","week2_income","week3_income","week4_income","monthly_income"];
weekly_income_listeners.forEach(attribute => {
on(`change:${attribute}`, function(event) {
console.log(`income listener event ${JSON.stringify(event)}`);
getAttrs(["week1_income","week2_income","week3_income","week4_income","monthly_income"], function(values) {
console.log(`values ${JSON.stringify(values)}`);
var sum = 0;
for( var el in values ) {
if( values.hasOwnProperty( el ) ) {
sum += parseInt(values[el]);
}
}
console.log("sum:"+sum) ;
setAttrs({final_income:sum});
});
});
});
const spending_listeners = ["monthly_allowance_support_spending","club_spending","mistress_spending"];
spending_listeners.forEach(attribute => {
on(`change:${attribute}`, function(event) {
console.log(`income listener event ${JSON.stringify(event)}`);
getAttrs(["monthly_allowance_support_spending","club_spending","mistress_spending"], function(values) {
console.log(`values ${JSON.stringify(values)}`);
var sum = 0;
for( var el in values ) {
if( values.hasOwnProperty( el ) ) {
sum += parseInt(values[el]);
}
}
console.log("sum:"+sum) ;
setAttrs({monthly_spending:sum});
});
});
});
const weekly_spending_listeners = ["week1_spending","week2_spending","week3_spending","week4_spending","monthly_spending"];
weekly_spending_listeners.forEach(attribute => {
on(`change:${attribute}`, function(event) {
console.log(`income listener event ${JSON.stringify(event)}`);
getAttrs(["week1_spending","week2_spending","week3_spending","week4_spending","monthly_spending"], function(values) {
console.log(`values ${JSON.stringify(values)}`);
var sum = 0;
for( var el in values ) {
if( values.hasOwnProperty( el ) ) {
sum += parseInt(values[el]);
}
}
console.log("sum:"+sum) ;
setAttrs({final_spending:sum});
});
});
});
const sp_listeners = ["monthly_allowance_support_sps","title_sps","club_sps","regiment_rank_sps","regiment_rank_sps","mistress_sps","appointment_sps","mentions_sps"];
sp_listeners.forEach(attribute => {
on(`change:${attribute}`, function(event) {
console.log(`income listener event ${JSON.stringify(event)}`);
getAttrs(["monthly_allowance_support_sps","title_sps","club_sps","regiment_rank_sps","regiment_rank_sps","mistress_sps","appointment_sps","mentions_sps"], function(values) {
console.log(`values ${JSON.stringify(values)}`);
var sum = 0;
for( var el in values ) {
if( values.hasOwnProperty( el ) ) {
sum += parseInt(values[el]);
}
}
console.log("sum:"+sum) ;
setAttrs({monthly_sps:sum});
});
});
});
const weekly_sp_listeners = ["week1_sps","week2_sps","week3_sps","week4_sps","monthly_sps"];
weekly_sp_listeners.forEach(attribute => {
on(`change:${attribute}`, function(event) {
console.log(`income listener event ${JSON.stringify(event)}`);
getAttrs(["week1_sps","week2_sps","week3_sps","week4_sps","monthly_sps"], function(values) {
console.log(`values ${JSON.stringify(values)}`);
var sum = 0;
for( var el in values ) {
if( values.hasOwnProperty( el ) ) {
sum += parseInt(values[el]);
}
}
console.log("sum:"+sum) ;
setAttrs({final_sps:sum});
});
});
});
const funds_adjustment_listeners = ["final_income","final_spending"];
funds_adjustment_listeners.forEach(attribute => {
on(`change:${attribute}`, function(event) {
console.log(`income listener event ${JSON.stringify(event)}`);
getAttrs(["final_income","final_spending"], function(values) {
console.log(`values ${JSON.stringify(values)}`);
var sum = parseInt(values.final_income) - parseInt(values.final_spending);
console.log("sum:"+sum) ;
if (sum > 0){
sum= "+"+sum;
} else {
sum = ""+sum;
}
setAttrs({funds_adjustment:sum});
});
});
});
</script>
Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

+6
View File
@@ -0,0 +1,6 @@
# En Garde Character Sheet
Published by GDW in 1975 & 1977 and Small Furry Creatures Press 1988 & 2005
https://rpggeek.com/rpgitem/66957/en-garde
## Initial Release 28.02.2023
The dice output uses the default template as there is an issue with custom roll template css being ignored.
+9
View File
@@ -0,0 +1,9 @@
{
"html": "EnGarde.html",
"css": "EnGarde.css",
"authors": "David",
"roll20userid": "720651",
"preview": "EnGarde.png",
"instructions": "Character Sheet for EnGarde\n\n",
"legacy": false
}
+51
View File
@@ -0,0 +1,51 @@
{
"funds-adjust":"Funds Adjustment",
"total":"Total",
"monthly-values":"Monthly Values",
"week1":"Week 1",
"week2":"Week 2",
"week3":"Week 3",
"week4":"Week 4",
"mentions-current":"Current (1-6 SPs ea.)",
"mentions-old":"Old (1 SP ea.)",
"mentions":"Mentions in Despatches",
"club-membership":"Club membership ",
"allowance-support":"Allowance, Support costs: 2 x SL (or 3 x SL for 1 SP) plus horses (3 per horse + 2)",
"mistress-details":"Mistress (Name, SL & attributes) ",
"Appointment":"Appointment",
"regiment-rank":"Regiment and/or Rank",
"Income":"Income",
"Spending":"Spending",
"SPs":"SPs",
"STR-prompt":"(Initially 3-18)",
"CON-prompt":"(3-18)",
"END-prompt":"(Max: STRxCON)",
"EXP-prompt":"(Base: 3-18)",
"MA-prompt":"Initially 1-6",
"current":"(Current)",
"Dagger":"Dagger",
"Foil":"Foil",
"Rapier":"Rapier",
"Sabre":"Sabre",
"Cutlass":"Cutlass",
"2-Hand":"2-Hand",
"STR":"STR",
"CON":"CON",
"END":"END",
"EXP":"EXP",
"MA":"MA",
"SL":"SL",
"Funds":"Funds",
"Allowance":"Allowance",
"Horses":"Horses",
"Date":"Date",
"Debts":"Debts",
"Own-Influence":"Own Influence",
"Mistress-influence":"Mistresss Influence",
"appointment-influence":"Appointment Influence",
"Other-Influence":"Other Influence",
"Birth":"Birth",
"character":"Character:",
"title":"Title:",
"class":"Class:"
}