All user data for FoundryVTT. Includes worlds, systems, modules, and any asset in the "foundryuserdata" directory. Does NOT include the FoundryVTT installation itself.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
2.8 KiB

1 year ago
1 year ago
  1. <div class="inventory-details">
  2. <div class="form-group">
  3. <label>{{localize "PF2E.QuantityLabel"}}</label>
  4. <input type="number" name="system.quantity" value="{{data.quantity}}" />
  5. </div>
  6. <div class="form-group">
  7. <label>{{localize "PF2E.Usage"}}</label>
  8. <select name="system.usage.value">
  9. {{#select data.usage.value}}
  10. {{#each usages as |label key|}}
  11. <option value="{{key}}">{{localize label}}</option>
  12. {{/each}}
  13. {{/select}}
  14. </select>
  15. </div>
  16. <div class="form-group">
  17. <label>{{localize "PF2E.BulkLabel"}}</label>
  18. <select name="system.weight.value" {{disabled bulkDisabled}}>
  19. {{#select data.weight.value}}
  20. <option value="-">{{localize "PF2E.NegligibleOption"}}</option>
  21. {{#each bulkTypes as |name type|}}
  22. <option value="{{type}}">{{localize name}}</option>
  23. {{/each}}
  24. {{/select}}
  25. </select>
  26. </div>
  27. <div class="form-group">
  28. <label>{{localize "PF2E.EquippedBulkLabel"}}</label>
  29. <select name="system.equippedBulk.value" {{disabled bulkDisabled}}>
  30. {{#select data.equippedBulk.value}}
  31. <option value="">{{localize "PF2E.EquippedSameBulkValue"}}</option>
  32. <option value="0">{{localize "PF2E.NegligibleOption"}}</option>
  33. {{#each bulkTypes as |name type|}}
  34. <option value="{{type}}">{{localize name}}</option>
  35. {{/each}}
  36. {{/select}}
  37. </select>
  38. </div>
  39. <div class="form-group">
  40. <label>{{localize "PF2E.StackGroupLabel"}}</label>
  41. <select name="system.stackGroup">
  42. {{#select data.stackGroup}}
  43. <option value="">{{localize "PF2E.NoStackGroup"}}</option>
  44. {{#each stackGroups as |name type|}}
  45. <option value="{{type}}">{{localize name}}</option>
  46. {{/each}}
  47. {{/select}}
  48. </select>
  49. </div>
  50. <div class="form-group">
  51. <label>{{localize "PF2E.Size"}}</label>
  52. <select name="system.size">
  53. {{#select data.size}}
  54. {{#each sizes as |name value|}}
  55. <option value="{{value}}">{{localize name}}</option>
  56. {{/each}}
  57. {{/select}}
  58. </select>
  59. </div>
  60. <div class="form-group">
  61. <label>{{localize "PF2E.PriceLabel"}}</label>
  62. <input
  63. type="text"
  64. {{#if (eq priceAdjustment "higher")}}class="adjusted-higher"{{else if (eq priceAdjustment "lower")}}class="adjusted-lower"{{/if}}
  65. data-property="system.price.value"
  66. data-value-base="{{basePrice}}"
  67. value="{{item.price.value}}"
  68. spellcheck="false"
  69. />
  70. </div>
  71. </div>