|
|
- <div class="inventory-details">
- <div class="form-group">
- <label for="{{fieldIdPrefix}}quantity">{{localize "PF2E.QuantityLabel"}}</label>
- <input type="number" name="system.quantity" id="{{fieldIdPrefix}}quantity" value="{{data.quantity}}" />
- </div>
-
- {{#if (eq item.type "weapon")}}
- <div class="form-group">
- <label for="{{fieldIdPrefix}}usage">{{localize "PF2E.Item.Weapon.HandsLabel"}}</label>
- <select name="system.usage.value" id="{{fieldIdPrefix}}usage">
- {{#select data.usage.value}}
- <option value="worngloves">0</option>
- <option value="held-in-one-hand">1</option>
- <option value="held-in-one-plus-hands">1+</option>
- <option value="held-in-two-hands">2</option>
- {{/select}}
- </select>
- </div>
- {{else if (nor (eq item.type "armor") (eq item.type "shield"))}}
- <div class="form-group">
- <label for="{{fieldIdPrefix}}usage">{{localize "PF2E.Usage"}}</label>
- <select name="system.usage.value" id="{{fieldIdPrefix}}usage">
- {{#select data.usage.value}}
- {{#each usages as |label key|}}
- <option value="{{key}}">{{localize label}}</option>
- {{/each}}
- {{/select}}
- </select>
- </div>
- {{/if}}
-
- <div class="form-group">
- <label for="{{fieldIdPrefix}}bulk">
- {{~localize "PF2E.Item.Physical.Bulk.Label"}}
- {{#if adjustedBulkHint}}<i class="fa-solid fa-info-circle" data-tooltip="{{adjustedBulkHint}}"></i>{{/if~}}
- </label>
- <select
- {{#if bulkAdjustment}}class="{{bulkAdjustment}}"{{/if}}
- id="{{fieldIdPrefix}}bulk"
- data-property="system.bulk.value"
- data-dtype="Number"
- {{disabled bulkDisabled}}
- >
- {{#select data.bulk.value}}
- {{#each bulks as |bulk|}}
- <option value="{{bulk.value}}">{{bulk.label}}</option>
- {{/each}}
- {{/select}}
- </select>
- </div>
-
- <div class="form-group">
- <label for="{{fieldIdPrefix}}size">{{localize "PF2E.Size"}}</label>
- <select id="{{fieldIdPrefix}}size" data-property="system.size">
- {{#select data.size}}
- {{#each sizes as |name value|}}
- <option value="{{value}}">{{localize name}}</option>
- {{/each}}
- {{/select}}
- </select>
- </div>
-
- <div class="form-group price">
- <label for="{{fieldIdPrefix}}price">
- {{localize "PF2E.PriceLabel"}}
- {{#if adjustedPriceHint}}<i class="fa-solid fa-info-circle" data-tooltip="{{adjustedPriceHint}}"></i>{{/if}}
- </label>
- <div class="form-fields">
- <input
- type="text"
- {{#if priceAdjustment}}class="{{priceAdjustment}}"{{/if}}
- id="{{fieldIdPrefix}}price"
- value="{{item.system.price.value}}"
- data-property="system.price.value"
- data-value-base="{{basePrice}}"
- spellcheck="false"
- />
- {{#if (eq item.type "consumable")}}
- / <input type="number" class="per" name="system.price.per" value="{{item.system.price.per}}" />
- {{/if}}
- </div>
- </div>
-
- {{#if stackGroups}}
- <div class="form-group">
- <label for="{{fieldIdPrefix}}stack-group">{{localize "PF2E.StackGroupLabel"}}</label>
- <select name="system.stackGroup" id="{{filedIdPrefix}}stack-group">
- {{#select data.stackGroup}}
- <option value="">{{localize "None"}}</option>
- {{#each stackGroups as |name type|}}
- <option value="{{type}}">{{localize name}}</option>
- {{/each}}
- {{/select}}
- </select>
- </div>
- {{/if}}
-
- <ol class="item-tags tags">
- {{#if otherTags}}
- {{#each otherTags as |tag|}}
- <li class="tag tag_transparent">{{tag.label}}</li>
- {{/each}}
- {{/if}}
- </ol>
- </div>
|