Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Pathfinder Sheet Problem

1464992100

Edited 1464992198
[Deleted]
Sheet Author
Not sure if this is like this for everyone else, but my PF sheet does not tally weight or Max HP of manually entered items in the repeating section. The other tallies work, but this one is not. This is the section of code.                     </span>                     <span class="sheet-table-cell sheet-small-label" style="width:.1%;"><input title="@{repeating_item_$X_qty}" type="number" name="attr_qty" value="0" /><br /><span data-i18n="charges-or-quantity-abbrv">ChrgQty</span></span>                     <span class="sheet-divider-lg" style="width:.1%;">/</span>                     <span class="sheet-table-cell sheet-small-label" style="width:.1%;"><input title="@{repeating_item_$X_qty|max}" type="number" name="attr_qty_max" value="0" /><br><span data-i18n="maximum-abbrv">Max</span></span>                     <span class="sheet-table-cell sheet-small-label sheet-sect" style="width:.1%;"><input title="@{repeating_item_$X_weight}" type="number" name="attr_weight" value="0" step="any" min="0" /><br><span data-i18n="weight-abbrv">Wt</span></span>                     <span class="sheet-table-cell sheet-small-label" style="width:.1%;"><input title="@{repeating_item_$X_hardness}" type="number" name="attr_hardness" value="0" step="any" min="0" /><br><span data-i18n="hardness-abbrv">Hard</span></span>                     <span class="sheet-table-cell sheet-small-label" style="width:.1%;"><input title="@{repeating_item_$X_hp}" type="number" name="attr_hp" value="0" step="any" min="0" /><br><span data-i18n="item-hit-points-abbrv">HP</span></span>                     <span class="sheet-divider-lg" style="width:.1%;">/</span>                     <span class="sheet-table-cell sheet-small-label" style="width:.1%; min-width:4em;"><input title="@{repeating_item_$X_hp|max}" type="number" name="attr_hp_max" value="0" step="any" min="0" /><br><span data-i18n="maximum-abbrv">Max</span></span>                     <span class="sheet-table-cell sheet-small-label sheet-sect" style="width:.1%;"><input title="@{repeating_item_$X_value}" type="number" name="attr_value" value="0" step="any" min="0" /><br><span data-i18n="value">Value</span></span>                     <div class="sheet-sect sheet-expand">                         <h4 data-i18n="description-h">Description</h4>                         <input type="checkbox" class="sheet-desc-show" title="@{repeating_item_$X_description-show}" name="attr_description-show" value="1" style="opacity: 0;width: 8em;height: 1.5em;position: relative;top: 0;left: 0;margin: -0.5em -1em 0 -6.5em;cursor: pointer;z-index: 1;" /><span></span>                         <h4 data-i18n="macro-text-h">Macro Text</h4>                         <input type="checkbox" class="sheet-macro-text-show" title="@{repeating_item_$X_macro-text-show}" name="attr_macro-text-show" value="1" style="opacity: 0;width: 8em;height: 1.5em;position: relative;top: 0;left: 0;margin: -0.5em -1em 0 -6.5em;cursor: pointer;z-index: 1;" /><span></span>                         <h4 data-i18n="identification-h">IDs</h4>                         <input type="checkbox" class="sheet-repeating_ids-show" title="@{repeating_item_$X_ids-show}" name="attr_ids-show" value="1" style="opacity: 0;width: 3.25em;height: 1.5em;position: relative;top: 0;left: 0;margin: -0.5em -1em 0 -2em;cursor: pointer;z-index: 1;" /><span></span>                                                  <textarea class="sheet-desc" title="@{repeating_item_$X_description}" name="attr_description"></textarea>                                 <textarea class="sheet-macro-text" title="@{repeating_item_$X_macro-text}" name="attr_macro-text">@{PC-whisper} &{template:pf_block} @{toggle_accessible_flag} @{toggle_rounded_flag}{{color=@{rolltemplate_color}}} {{header_image=@{header_image-pf_block}}} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{subtitle}} {{name=@{name}}} {{description=@{short-description}}}</textarea>                         <div class="sheet-repeating_ids sheet-table-row">                             <input type="hidden" name="attr_new_flag" value="0" />                             <span class="sheet-table-data sheet-small-data">                             <input type="text" name="attr_row_id" value="" class="sheet-calc" style="width:15em;" readonly="readonly" />                             <button class="sheet-blank-roll-button" style="font-size: 85%;" type="roll" name="attr_row_id_roll" value="/w @{character_name} &{template:pf_generic} @{toggle_accessible_flag} @{toggle_rounded_flag}{{Row id=@{row_id}}}"><span data-i18n="post-identification"> Post ID</span></button>                             </span>                         </div>                     </div>                 </fieldset>             </div>             </div>         <div class="sheet-table sheet-sect">                 <span class="sheet-table-cell sheet-left" style="width:4%;"></span>                 <span class="sheet-table-cell sheet-left" style="width:4%;"></span>                 <span class="sheet-table-cell sheet-left" style="width:18%;"></span>                 <span class="sheet-table-cell sheet-left" style="width:40%;"></span>                 <span class="sheet-table-cell sheet-left" style="width:5%; min-width:3.5em;"></span>                 <span class="sheet-table-cell sheet-left"> </span>                 <span class="sheet-table-data sheet-right" style="width:5%; min-width:3.5em;"><b data-i18n="totals">Totals:</b></span>                 <span class="sheet-table-cell sheet-left" style="width:5%; min-width:4.5em;"><input title="@{item_total_weight}" type="number" name="attr_item-total-weight" value="0" class="sheet-calc" readonly="readonly"></span>                 <span class="sheet-table-cell sheet-left" style="width:5%; min-width:3.5em;"><b data-i18n="pounds-abbrv">lbs.</b></span>                 <span class="sheet-table-cell sheet-left" style="width:5%; min-width:3.5em;"><input title="@{item-total-hp}" type="number" name="attr_item-total-hp" value="0" class="sheet-calc" readonly="readonly"></span>                 <span class="sheet-divider-lg">/</span>                 <span class="sheet-table-cell sheet-left" style="width:5%; min-width:4em;"><input title="@{item-total-hp|max}" type="number" name="attr_item-total-hp_max" value="0" class="sheet-calc" readonly="readonly"></span>                 <span class="sheet-table-cell sheet-left" style="width:5%; min-width:3.5em;"><input title="@{item-total-value}" type="number" name="attr_item-total-value" value="0" class="sheet-calc" readonly="readonly"></span>             </div>         </div> I'm not sure what's wrong with it, but I've been beating my head against this section for about four hours and I'm still not seeing it. The HP and Value totals work fine, just the weight and Max HP seem to have any trouble. Could someone point out where this elusive error is please?
1465028929
chris b.
Pro
Sheet Author
API Scripter
I think we took out max hp of items in the javascript since it didn't seem to make sense, but it should be calculating weight. for each item make sure you have 1 for the quantity/charges. that is a combined column. if that doesn't fix weight then maybe Magik can help.
Can't find a quantity box, but I could have sworn there used to be one. I played with the charges/max and got no result :/
1465105654
vÍnce
Pro
Sheet Author
Does your item row look like this Seth? (note the Qty column)
Nope, in that box it says ChgQty, which, I mistakenly assumed was Charge / Quantity. I did manage to fix that bit o' mess through sheer trial and error. Now I seem to be having an issue with the inventory tab in general. Clicking on the Spells and NPC tabs, causes the Inventory tab to load in their place. Granted, most of the sheet is still the same, but I have changed a couple of things. Here is the code as it currently sits. This is not for publication, just personal use. <a href="https://gist.github.com/Project462/1359c6c162b6e7b" rel="nofollow">https://gist.github.com/Project462/1359c6c162b6e7b</a>...
1465145297

Edited 1465145409
vÍnce
Pro
Sheet Author
You had a couple extra closing &lt;/div&gt; in your currency section. &nbsp; Try this html:&nbsp; <a href="https://gist.github.com/vince-roll20/ee22442d52366f399749ce6354c251d8" rel="nofollow">https://gist.github.com/vince-roll20/ee22442d52366f399749ce6354c251d8</a>
Awesome, that fixed it. I was trying to incorporate multiple sections into the button at first and forgot to clean up. :/ Thanks guys, I think I'm done butchering this thing.
1465231522
chris b.
Pro
Sheet Author
API Scripter
The butchering is never done, we or someone just sees new cuts to make.