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.

169 lines
9.5 KiB

1 year ago
  1. <form class="{{cssClass}} flexcol" autocomplete="off">
  2. <header class="sheet-header flexrow">
  3. <img class="profile" src="{{actor.img}}" data-tooltip="{{actor.name}}" alt="{{actor.name}}"
  4. data-edit="img">
  5. <section class="header-details flexrow">
  6. {{> "dnd5e.actor-warnings"}}
  7. <h1 class="charname">
  8. <input name="name" type="text" value="{{actor.name}}" placeholder="{{localize 'DND5E.Name'}}">
  9. </h1>
  10. <ul class="summary flexrow">
  11. <li class="size">
  12. <span>{{lookup config.actorSizes system.traits.size}}</span>
  13. </li>
  14. <li class="vehicle-type">
  15. <select name="system.vehicleType">
  16. {{selectOptions config.vehicleTypes selected=system.vehicleType}}
  17. </select>
  18. </li>
  19. <li class="dimensions">
  20. <input type="text" name="system.traits.dimensions" value="{{system.traits.dimensions}}"
  21. placeholder="{{localize 'DND5E.Dimensions'}}">
  22. </li>
  23. <li class="source">
  24. <input type="text" name="system.details.source" value="{{system.details.source}}"
  25. placeholder="{{localize 'DND5E.Source'}}">
  26. </li>
  27. </ul>
  28. <ul class="attributes flexrow">
  29. <li class="attribute health">
  30. <h4 class="attribute-name box-title">{{localize 'DND5E.HitPoints'}}</h4>
  31. <div class="attribute-value multiple">
  32. <input name="system.attributes.hp.value" type="text" data-dtype="Number"
  33. value="{{hp.value}}" placeholder="&mdash;" data-tooltip="DND5E.HitPointsCurrent">
  34. <span class="sep"> &sol; </span>
  35. <input name="system.attributes.hp.max" type="text" data-dtype="Number"
  36. value="{{hp.max}}" placeholder="&mdash;" data-tooltip="DND5E.HitPointsMax">
  37. </div>
  38. <footer class="attribute-footer">
  39. <input class="temphp" name="system.attributes.hp.dt" type="text" data-dtype="Number"
  40. placeholder="{{localize 'DND5E.Threshold'}}"
  41. value="{{hp.dt}}" data-tooltip="DND5E.DamageThreshold">
  42. <input class="temphp" name="system.attributes.hp.mt" type="text" data-dtype="Number"
  43. placeholder="{{localize 'DND5E.VehicleMishap'}}"
  44. value="{{hp.mt}}" data-tooltip="DND5E.VehicleMishapThreshold">
  45. </footer>
  46. </li>
  47. <li class="attribute">
  48. <h4 class="attribute-name box-title">{{localize 'DND5E.ArmorClass'}}</h4>
  49. <div class="attribute-value">
  50. {{numberInput system.attributes.ac.flat name="system.attributes.ac.flat" min=0 step=1
  51. placeholder="&mdash;"}}
  52. </div>
  53. <footer class="attribute-footer">
  54. <input type="text" name="system.attributes.ac.motionless"
  55. placeholder="&mdash;" value="{{system.attributes.ac.motionless}}"
  56. data-tooltip="DND5E.ArmorClassMotionless">
  57. </footer>
  58. </li>
  59. <li class="attribute movement">
  60. <h4 class="attribute-name box-title">{{ localize "DND5E.Movement" }}</h4>
  61. <a class="config-button" data-action="movement" data-tooltip="DND5E.MovementConfig">
  62. <i class="fas fa-cog"></i>
  63. </a>
  64. <div class="attribute-value">
  65. <span>{{movement.primary}}</span>
  66. </div>
  67. <footer class="attribute-footer">
  68. <span>{{movement.special}}</span>
  69. </footer>
  70. </li>
  71. </ul>
  72. </section>
  73. </header>
  74. <nav class="sheet-navigation tabs" data-group="primary">
  75. <a class="item active" data-tab="attributes">{{localize 'DND5E.Attributes'}}</a>
  76. <a class="item" data-tab="features">{{localize 'DND5E.Features'}}</a>
  77. <a class="item" data-tab="cargo">{{localize 'DND5E.VehicleCargoCrew'}}</a>
  78. <a class="item" data-tab="effects">{{ localize "DND5E.Effects" }}</a>
  79. <a class="item" data-tab="biography">{{localize 'DND5E.Description'}}</a>
  80. </nav>
  81. <section class="sheet-body">
  82. <div class="tab attributes flexrow" data-group="primary" data-tab="attributes">
  83. <ul class="ability-scores flexrow">
  84. {{#each abilities as |ability id|}}
  85. <li class="ability" data-ability="{{id}}">
  86. <h4 class="ability-name box-title rollable">{{ability.label}}</h4>
  87. <input type="text" name="system.abilities.{{id}}.value" value="{{ability.value}}"
  88. class="ability-score" placeholder="0" data-dtype="Number">
  89. <div class="ability-modifiers flexrow">
  90. <span class="ability-mod" data-tooltip="DND5E.Modifier">
  91. {{numberFormat ability.mod decimals=0 sign=true}}
  92. </span>
  93. </div>
  94. </li>
  95. {{/each}}
  96. </ul>
  97. <section class="center-pane flexcol">
  98. <div class="counters">
  99. <div class="counter flexrow creature-cap">
  100. <h4>{{localize 'DND5E.VehicleCreatureCapacity'}}</h4>
  101. <div class="counter-value">
  102. <input type="text" placeholder="&mdash;"
  103. name="system.attributes.capacity.creature"
  104. value="{{system.attributes.capacity.creature}}">
  105. </div>
  106. </div>
  107. <div class="counter flexrow cargo-cap">
  108. <h4>{{localize 'DND5E.VehicleCargoCapacity'}}</h4>
  109. <div class="counter-value">
  110. {{numberInput system.attributes.capacity.cargo name="system.attributes.capacity.cargo" min=0
  111. placeholder=0}}
  112. </div>
  113. </div>
  114. <div class="counter flexrow stations">
  115. <h4>{{localize 'DND5E.VehicleActionStations'}}</h4>
  116. <div class="counter-value">
  117. <input name="system.attributes.actions.stations" type="checkbox"
  118. data-dtype="Boolean" value="{{system.attributes.actions.stations}}"
  119. {{checked system.attributes.actions.stations}}>
  120. </div>
  121. </div>
  122. <div class="counter flexrow actions">
  123. <h4>{{localize 'DND5E.ActionPl'}}</h4>
  124. <div class="counter-value">
  125. {{numberInput system.attributes.actions.value name="system.attributes.actions.value" min=0
  126. step=1 placeholder=0 title=(localize "DND5E.VehicleActionsHint")}}
  127. </div>
  128. </div>
  129. <div class="counter flexrow action-thresholds">
  130. <h4>{{localize 'DND5E.VehicleActionThresholds'}}</h4>
  131. <div class="counter-value">
  132. <span class="sep">&lt;</span>
  133. {{numberInput system.attributes.actions.thresholds.[2] min=0 step=1 placeholder="&mdash;"
  134. name="system.attributes.actions.thresholds.2"
  135. title=(localize "DND5E.VehicleActionThresholdsFull")}}
  136. <span class="sep">&lt;</span>
  137. {{numberInput system.attributes.actions.thresholds.[1] min=0 step=1 placeholder="&mdash;"
  138. name="system.attributes.actions.thresholds.1"
  139. title=(localize "DND5E.VehicleActionThresholdsMid")}}
  140. <span class="sep">&lt;</span>
  141. {{numberInput system.attributes.actions.thresholds.[0] min=0 step=1 placeholder="&mdash;"
  142. name="system.attributes.actions.thresholds.0"
  143. title=(localize "DND5E.VehicleActionThresholdsMin")}}
  144. </div>
  145. </div>
  146. </div>
  147. {{> "dnd5e.actor-traits"}}
  148. </section>
  149. </div>
  150. <div class="tab features flexcol" data-group="primary" data-tab="features">
  151. {{> "dnd5e.actor-features" sections=features}}
  152. </div>
  153. <div class="tab cargo flexcol" data-group="primary" data-tab="cargo">
  154. {{> "dnd5e.actor-inventory" sections=cargo}}
  155. </div>
  156. <div class="tab effects flexcol" data-group="primary" data-tab="effects">
  157. {{> "dnd5e.active-effects"}}
  158. </div>
  159. <div class="tab biography flexcol" data-group="primary" data-tab="biography">
  160. {{editor biographyHTML target="system.details.biography.value" button=true editable=editable
  161. engine="prosemirror" collaborate=false}}
  162. </div>
  163. </section>
  164. </form>