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.

121 lines
4.8 KiB

1 year ago
1 year ago
1 year ago
1 year ago
  1. <form class="{{cssClass}} flexcol" autocomplete="off">
  2. {{!-- Item Sheet Header --}}
  3. <header class="sheet-header flexrow">
  4. <img class="profile" src="{{item.img}}" data-tooltip="{{item.name}}" data-edit="img"/>
  5. <div class="header-details flexrow">
  6. <h1 class="charname">
  7. <input name="name" type="text" value="{{item.name}}" placeholder="{{ localize 'DND5E.ItemName' }}"/>
  8. </h1>
  9. <div class="item-subtitle">
  10. <h4 class="item-type">{{itemType}}</h4>
  11. <span class="item-status">{{itemStatus}}</span>
  12. </div>
  13. <ul class="summary flexrow">
  14. <li>
  15. {{#if system.toolType}}
  16. {{lookup config.toolTypes system.toolType}}
  17. {{else}}
  18. {{localize "ITEM.TypeTool"}}
  19. {{/if}}
  20. </li>
  21. <li>
  22. <select name="system.rarity">
  23. {{selectOptions config.itemRarity selected=system.rarity blank=""}}
  24. </select>
  25. </li>
  26. <li>
  27. <input type="text" name="system.source" value="{{system.source}}" placeholder="{{ localize 'DND5E.Source' }}"/>
  28. </li>
  29. </ul>
  30. </div>
  31. </header>
  32. {{!-- Item Sheet Navigation --}}
  33. <nav class="sheet-navigation tabs" data-group="primary">
  34. <a class="item active" data-tab="description">{{ localize "DND5E.Description" }}</a>
  35. <a class="item" data-tab="details">{{ localize "DND5E.Details" }}</a>
  36. <a class="item" data-tab="effects">{{ localize "DND5E.Effects" }}</a>
  37. </nav>
  38. {{!-- Item Sheet Body --}}
  39. <section class="sheet-body">
  40. {{!-- Description Tab --}}
  41. {{> "dnd5e.item-description"}}
  42. {{!-- Details Tab --}}
  43. <div class="tab details" data-group="primary" data-tab="details">
  44. {{!-- Tool Status --}}
  45. <div class="form-group stacked">
  46. <label>{{ localize "DND5E.ItemToolStatus" }}</label>
  47. <div class="form-fields">
  48. <label class="checkbox">
  49. <input type="checkbox" name="system.equipped" {{ checked system.equipped }}>
  50. {{ localize "DND5E.Equipped" }}
  51. </label>
  52. </div>
  53. </div>
  54. {{!-- Tool Type --}}
  55. <div class="form-group">
  56. <label>{{ localize "DND5E.ItemToolType" }}</label>
  57. <select name="system.toolType">
  58. {{selectOptions config.toolTypes selected=system.toolType blank=""}}
  59. </select>
  60. </div>
  61. <div class="form-group">
  62. <label>{{ localize "DND5E.ItemToolBase" }}</label>
  63. <select name="system.baseItem">
  64. {{selectOptions baseItems selected=system.baseItem blank=""}}
  65. </select>
  66. </div>
  67. <div class="form-group">
  68. <label>{{localize "DND5E.Attunement"}}</label>
  69. <select name="system.attunement" data-dtype="Number">
  70. {{selectOptions config.attunements selected=system.attunement}}
  71. </select>
  72. </div>
  73. {{!-- Tool Proficiency --}}
  74. <div class="form-group">
  75. <label>{{ localize "DND5E.ItemToolProficiency" }}</label>
  76. <select name="system.proficient" data-dtype="Number">
  77. {{selectOptions config.proficiencyLevels selected=system.proficient
  78. blank=(localize "DND5E.Automatic")}}
  79. </select>
  80. </div>
  81. {{!-- Ability Check --}}
  82. <div class="form-group">
  83. <label>{{ localize "DND5E.DefaultAbilityCheck" }}</label>
  84. <select name="system.ability">
  85. {{selectOptions config.abilities selected=system.ability labelAttr="label"
  86. blank=(localize "DND5E.Default")}}
  87. </select>
  88. </div>
  89. {{!-- Tool Bonus --}}
  90. <div class="form-group">
  91. <label>{{ localize "DND5E.ItemToolBonus" }}</label>
  92. <input type="text" name="system.bonus" value="{{system.bonus}}" data-formula-editor/>
  93. </div>
  94. {{!-- Chat Message Flavor --}}
  95. <div class="form-group stacked">
  96. <label>{{ localize "DND5E.ChatFlavor" }}</label>
  97. <input type="text" name="system.chatFlavor" value="{{system.chatFlavor}}"/>
  98. </div>
  99. </div>
  100. {{!-- Effects Tab --}}
  101. <div class="tab effects flexcol" data-group="primary" data-tab="effects">
  102. {{> "dnd5e.active-effects"}}
  103. </div>
  104. </section>
  105. </form>