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.

150 lines
5.6 KiB

1 year ago
  1. <div class="traits">
  2. <div class="form-group">
  3. <label>{{localize "DND5E.Size"}}</label>
  4. <select class="actor-size" name="system.traits.size">
  5. {{#select system.traits.size}}
  6. {{#each config.actorSizes as |label size|}}
  7. <option value="{{size}}">{{label}}</option>
  8. {{/each}}
  9. {{/select}}
  10. </select>
  11. </div>
  12. {{#unless isVehicle}}
  13. <div class="form-group">
  14. <label>{{localize "DND5E.Senses"}}</label>
  15. <a class="config-button" data-action="senses" data-tooltip="DND5E.SensesConfig">
  16. <i class="fas fa-cog"></i>
  17. </a>
  18. <ul class="traits-list">
  19. {{#each senses as |v k|}}
  20. <li class="tag {{k}}">{{v}}</li>
  21. {{/each}}
  22. </ul>
  23. </div>
  24. <div class="form-group {{traits.traits.languages.cssClass}}">
  25. <label>{{localize "DND5E.Languages"}}</label>
  26. <a class="trait-selector" data-trait="languages"
  27. data-tooltip="{{localize 'DND5E.TraitConfig' trait=(localize 'DND5E.Languages')}}" tabindex="0">
  28. <i class="fas fa-edit"></i>
  29. </a>
  30. <ul class="traits-list">
  31. {{#each traits.traits.languages.selected as |v k|}}
  32. <li class="tag {{k}}">{{v}}</li>
  33. {{/each}}
  34. </ul>
  35. </div>
  36. {{/unless}}
  37. <div class="form-group {{traits.traits.di.cssClass}}">
  38. <label>{{localize "DND5E.DamImm"}}</label>
  39. <a class="trait-selector" data-trait="di"
  40. data-tooltip="{{localize 'DND5E.TraitConfig' trait=(localize 'DND5E.DamImm')}}" tabindex="0">
  41. <i class="fas fa-edit"></i>
  42. </a>
  43. <ul class="traits-list">
  44. {{#each traits.traits.di.selected as |v k|}}
  45. <li class="tag {{k}}">{{v}}</li>
  46. {{/each}}
  47. </ul>
  48. </div>
  49. <div class="form-group {{traits.traits.dr.cssClass}}">
  50. <label>{{localize "DND5E.DamRes"}}</label>
  51. <a class="trait-selector" data-trait="dr"
  52. data-tooltip="{{localize 'DND5E.TraitConfig' trait=(localize 'DND5E.DamRes')}}" tabindex="0">
  53. <i class="fas fa-edit"></i>
  54. </a>
  55. <ul class="traits-list">
  56. {{#each traits.traits.dr.selected as |v k|}}
  57. <li class="tag {{k}}">{{v}}</li>
  58. {{/each}}
  59. </ul>
  60. </div>
  61. <div class="form-group {{traits.traits.dv.cssClass}}">
  62. <label>{{localize "DND5E.DamVuln"}}</label>
  63. <a class="trait-selector" data-trait="dv"
  64. data-tooltip="{{localize 'DND5E.TraitConfig' trait=(localize 'DND5E.DamVuln')}}">
  65. <i class="fas fa-edit"></i>
  66. </a>
  67. <ul class="traits-list">
  68. {{#each traits.traits.dv.selected as |v k|}}
  69. <li class="tag {{k}}">{{v}}</li>
  70. {{/each}}
  71. </ul>
  72. </div>
  73. <div class="form-group {{traits.traits.ci.cssClass}}">
  74. <label>{{localize "DND5E.ConImm"}}</label>
  75. <a class="trait-selector" data-trait="ci"
  76. data-tooltip="{{localize 'DND5E.TraitConfig' trait=(localize 'DND5E.ConImm')}}">
  77. <i class="fas fa-edit"></i>
  78. </a>
  79. <ul class="traits-list">
  80. {{#each traits.traits.ci.selected as |v k|}}
  81. <li class="tag {{k}}">{{v}}</li>
  82. {{/each}}
  83. </ul>
  84. </div>
  85. {{#if isCharacter}}
  86. <div class="form-group {{traits.traits.weaponProf.cssClass}}">
  87. <label>{{localize "DND5E.TraitWeaponProf"}}</label>
  88. <a class="trait-selector" data-trait="weapon"
  89. data-tooltip="{{localize 'DND5E.TraitConfig' trait=(localize 'DND5E.TraitWeaponProf')}}">
  90. <i class="fas fa-edit"></i>
  91. </a>
  92. <ul class="traits-list">
  93. {{#each traits.traits.weaponProf.selected as |v k|}}
  94. <li class="tag {{k}}">{{v}}</li>
  95. {{/each}}
  96. </ul>
  97. </div>
  98. <div class="form-group {{traits.traits.armorProf.cssClass}}">
  99. <label>{{localize "DND5E.TraitArmorProf"}}</label>
  100. <a class="trait-selector" data-trait="armor"
  101. data-tooltip="{{localize 'DND5E.TraitConfig' trait=(localize 'DND5E.TraitArmorProf')}}">
  102. <i class="fas fa-edit"></i>
  103. </a>
  104. <ul class="traits-list">
  105. {{#each traits.traits.armorProf.selected as |v k|}}
  106. <li class="tag {{k}}">{{v}}</li>
  107. {{/each}}
  108. </ul>
  109. </div>
  110. <div class="form-group {{traits.traits.toolProf.cssClass}}">
  111. <label>{{localize "DND5E.TraitToolProf"}}</label>
  112. <a class="trait-selector" data-trait="tool"
  113. data-tooltip="{{localize 'DND5E.TraitConfig' trait=(localize 'DND5E.TraitToolProf')}}">
  114. <i class="fas fa-edit"></i>
  115. </a>
  116. <ul class="traits-list">
  117. {{#each tools}}
  118. <li class="tag tool proficiency-row" data-property="tools" data-key="{{@key}}">
  119. <input type="hidden" name="system.tools.{{@key}}.value" value="{{baseValue}}" data-dtype="Number">
  120. <input type="hidden" name="system.tools.{{@key}}.ability" value="{{ability}}">
  121. <a class="proficiency-toggle tool-proficiency" data-tooltip="{{hover}}">{{{icon}}}</a>
  122. <h4 class="tool-name rollable">{{label}}</h4>
  123. <a class="config-button" data-action="tool" data-tooltip="DND5E.ToolConfigure">
  124. <i class="fas fa-cog"></i>
  125. </a>
  126. </li>
  127. {{/each}}
  128. </ul>
  129. </div>
  130. {{/if}}
  131. {{#unless isVehicle}}
  132. <div class="form-group ">
  133. <label>{{localize "DND5E.SpecialTraits"}}</label>
  134. <a class="config-button" data-action="flags"
  135. data-tooltip="{{localize 'DND5E.TraitConfig' trait=(localize 'DND5E.SpecialTraits')}}">
  136. <i class="fas fa-cog"></i>
  137. </a>
  138. </div>
  139. {{/unless}}
  140. </div>