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.

157 lines
9.1 KiB

1 year ago
  1. <form autocomplete="off">
  2. <h2>{{localize "PF2E.TravelSpeed.PartySpeed"}}</h2>
  3. <table>
  4. <tbody>
  5. <tr>
  6. <th>{{localize "PF2E.TravelSpeed.Name"}}</th>
  7. <th>{{localize "PF2E.TravelSpeed.Speed"}}</th>
  8. <th>{{localize "PF2E.TravelSpeed.ExplorationActivity"}}</th>
  9. <th>{{localize "PF2E.TravelSpeed.DetectionMode"}}</th>
  10. <th>{{localize "PF2E.TravelSpeed.ExplorationSpeed"}}</th>
  11. </tr>
  12. {{#each actors}}
  13. <tr>
  14. <td>{{name}}</td>
  15. <td class="centered"><input class="speed-input" name="actors.{{@index}}.speed" type="number" value="{{speed}}" data-dtype="Number"> {{localize "PF2E.TravelSpeed.FeetAcronym"}}</td>
  16. <td class="centered">
  17. <select name="actors.{{@index}}.explorationActivity">
  18. {{#select explorationActivity}}
  19. <option value="AvoidNotice">{{localize "PF2E.TravelSpeed.ExplorationActivities.AvoidNotice"}}</option>
  20. <option value="CoverTracks">{{localize "PF2E.TravelSpeed.ExplorationActivities.CoverTracks"}}</option>
  21. <option value="Defend">{{localize "PF2E.TravelSpeed.ExplorationActivities.Defend"}}</option>
  22. <option value="DetectMagic">{{localize "PF2E.TravelSpeed.ExplorationActivities.DetectMagic"}}</option>
  23. <option value="Investigate">{{localize "PF2E.TravelSpeed.ExplorationActivities.Investigate"}}</option>
  24. <option value="RepeatASpell">{{localize "PF2E.TravelSpeed.ExplorationActivities.RepeatASpell"}}</option>
  25. <option value="Scout">{{localize "PF2E.TravelSpeed.ExplorationActivities.Scout"}}</option>
  26. <option value="Search">{{localize "PF2E.TravelSpeed.ExplorationActivities.Search"}}</option>
  27. <option value="Track">{{localize "PF2E.TravelSpeed.ExplorationActivities.Track"}}</option>
  28. <option value="None">{{localize "PF2E.TravelSpeed.ExplorationActivities.None"}}</option>
  29. <option value="HalfSpeed">{{localize "PF2E.TravelSpeed.ExplorationActivities.HalfSpeed"}}</option>
  30. {{/select}}
  31. </select>
  32. </td>
  33. <td class="centered">
  34. <select name="actors.{{@index}}.detectionMode" {{#unless requiresDetectionMode}}hidden{{/unless}}>
  35. {{#select detectionMode}}
  36. <option value="none">{{localize "PF2E.TravelSpeed.None"}}</option>
  37. <option value="everything">{{localize "PF2E.TravelSpeed.DetectEverything"}}</option>
  38. <option value="before">{{localize "PF2E.TravelSpeed.DetectBeforeRunningIntoIt"}}</option>
  39. {{/select}}
  40. </select>
  41. </td>
  42. <td>{{explorationSpeed}} {{localize "PF2E.TravelSpeed.FeetAcronym"}}</td>
  43. </tr>
  44. {{/each}}
  45. </tbody>
  46. </table>
  47. <div class="form-group">
  48. <label>{{localize "PF2E.TravelSpeed.HustleMinutes"}}</label>
  49. <input name="hustleMinutes" value="{{hustleMinutes}}" type="number" data-dtype="Number">
  50. </div>
  51. <h2>{{localize "PF2E.TravelSpeed.Journey"}}</h2>
  52. <div class="form-group">
  53. <label>{{localize "PF2E.TravelSpeed.Distance"}}</label>
  54. <div class="journey-input">
  55. <input name="distance" value="{{distance}}" type="number" data-dtype="Number">
  56. <select name="distanceUnit">
  57. {{#select distanceUnit}}
  58. <option value="feet">{{localize "PF2E.TravelSpeed.Feet"}}</option>
  59. <option value="miles" selected>{{localize "PF2E.TravelSpeed.Miles"}}</option>
  60. {{/select}}
  61. </select>
  62. <select name="terrain">
  63. {{#select terrain}}
  64. <option value="normal">{{localize "PF2E.TravelSpeed.NormalTerrain"}}</option>
  65. <option value="difficult">{{localize "PF2E.TravelSpeed.DifficultTerrain"}}</option>
  66. <option value="greaterDifficult">{{localize "PF2E.TravelSpeed.GreaterDifficultTerrain"}}</option>
  67. {{/select}}
  68. </select>
  69. </div>
  70. </div>
  71. <div class="form-group">
  72. <label>{{localize "PF2E.TravelSpeed.HoursPerDay"}}</label>
  73. <input name="hoursPerDay" value="{{hoursPerDay}}" type="number" data-dtype="Number">
  74. </div>
  75. <div>
  76. <table>
  77. <tbody>
  78. <tr>
  79. <th>{{localize "PF2E.TravelSpeed.NormalTerrain"}}</th>
  80. <th>{{localize "PF2E.TravelSpeed.DifficultTerrain"}}</th>
  81. <th>{{localize "PF2E.TravelSpeed.GreaterDifficultTerrain"}}</th>
  82. </tr>
  83. <tr>
  84. <td class="fraction-input">
  85. <select name="normalTerrainSlowdown.denominator" data-dtype="Number">
  86. {{#select normalTerrainSlowdown.denominator}}
  87. <option value="1">1</option>
  88. <option value="2">2</option>
  89. <option value="3">3</option>
  90. <option value="4">4</option>
  91. {{/select}}
  92. </select>
  93. <span class="fraction-separator">/</span>
  94. <select name="normalTerrainSlowdown.numerator" data-dtype="Number">
  95. {{#select normalTerrainSlowdown.numerator}}
  96. <option value="1">1</option>
  97. <option value="2">2</option>
  98. <option value="3">3</option>
  99. <option value="4">4</option>
  100. {{/select}}
  101. </select>
  102. </td>
  103. <td class="fraction-input">
  104. <select name="difficultTerrainSlowdown.denominator" data-dtype="Number">
  105. {{#select difficultTerrainSlowdown.denominator}}
  106. <option value="1">1</option>
  107. <option value="2">2</option>
  108. <option value="3">3</option>
  109. <option value="4">4</option>
  110. {{/select}}
  111. </select>
  112. <span class="fraction-separator">/</span>
  113. <select name="difficultTerrainSlowdown.numerator" data-dtype="Number">
  114. {{#select difficultTerrainSlowdown.numerator}}
  115. <option value="1">1</option>
  116. <option value="2">2</option>
  117. <option value="3">3</option>
  118. <option value="4">4</option>
  119. {{/select}}
  120. </select>
  121. </td>
  122. <td class="fraction-input">
  123. <select name="greaterDifficultTerrainSlowdown.denominator" data-dtype="Number">
  124. {{#select greaterDifficultTerrainSlowdown.denominator}}
  125. <option value="1">1</option>
  126. <option value="2">2</option>
  127. <option value="3">3</option>
  128. <option value="4">4</option>
  129. {{/select}}
  130. </select>
  131. <span class="fraction-separator">/</span>
  132. <select name="greaterDifficultTerrainSlowdown.numerator" data-dtype="Number">
  133. {{#select greaterDifficultTerrainSlowdown.numerator}}
  134. <option value="1">1</option>
  135. <option value="2">2</option>
  136. <option value="3">3</option>
  137. <option value="4">4</option>
  138. {{/select}}
  139. </select>
  140. </td>
  141. </tr>
  142. </tbody>
  143. </table>
  144. </form>
  145. <h2>{{localize "PF2E.TravelSpeed.Speed"}}</h2>
  146. <table>
  147. <tbody>
  148. <tr>
  149. <th>{{localize "PF2E.TravelSpeed.PartySpeed"}}</th>
  150. <th>{{localize "PF2E.TravelSpeed.TravelDuration"}}</th>
  151. </tr>
  152. <tr>
  153. <td class="centered">{{partySpeedInFeet}} {{localize "PF2E.TravelSpeed.Feet"}}</td>
  154. <td class="centered">{{#if travelDuration.weeks}}{{travelDuration.weeks}} {{localize "PF2E.TravelSpeed.Weeks"}}, {{/if}}{{#if travelDuration.days}}{{travelDuration.days}} {{localize "PF2E.TravelSpeed.Days"}}, {{/if}}{{pad travelDuration.hours 2 "0"}}:{{pad travelDuration.minutes 2 "0"}} {{localize "PF2E.TravelSpeed.Hours"}}</td>
  155. </tr>
  156. </tbody>
  157. </table>