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.

110 lines
4.3 KiB

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 Type --}}
  45. <div class="form-group">
  46. <label>{{ localize "DND5E.ItemToolType" }}</label>
  47. <select name="system.toolType">
  48. {{selectOptions config.toolTypes selected=system.toolType blank=""}}
  49. </select>
  50. </div>
  51. <div class="form-group">
  52. <label>{{ localize "DND5E.ItemToolBase" }}</label>
  53. <select name="system.baseItem">
  54. {{selectOptions baseItems selected=system.baseItem blank=""}}
  55. </select>
  56. </div>
  57. <div class="form-group">
  58. <label>{{localize "DND5E.Attunement"}}</label>
  59. <select name="system.attunement" data-dtype="Number">
  60. {{selectOptions config.attunements selected=system.attunement}}
  61. </select>
  62. </div>
  63. {{!-- Tool Proficiency --}}
  64. <div class="form-group">
  65. <label>{{ localize "DND5E.ItemToolProficiency" }}</label>
  66. <select name="system.proficient" data-dtype="Number">
  67. {{selectOptions config.proficiencyLevels selected=system.proficient}}
  68. </select>
  69. </div>
  70. {{!-- Ability Check --}}
  71. <div class="form-group">
  72. <label>{{ localize "DND5E.DefaultAbilityCheck" }}</label>
  73. <select name="system.ability">
  74. {{selectOptions config.abilities labelAttr="label" selected=system.ability
  75. blank=(localize "DND5E.Default")}}
  76. </select>
  77. </div>
  78. {{!-- Tool Bonus --}}
  79. <div class="form-group">
  80. <label>{{ localize "DND5E.ItemToolBonus" }}</label>
  81. <input type="text" name="system.bonus" value="{{system.bonus}}" data-formula-editor/>
  82. </div>
  83. {{!-- Chat Message Flavor --}}
  84. <div class="form-group stacked">
  85. <label>{{ localize "DND5E.ChatFlavor" }}</label>
  86. <input type="text" name="system.chatFlavor" value="{{system.chatFlavor}}"/>
  87. </div>
  88. </div>
  89. {{!-- Effects Tab --}}
  90. <div class="tab effects flexcol" data-group="primary" data-tab="effects">
  91. {{> "dnd5e.active-effects"}}
  92. </div>
  93. </section>
  94. </form>