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.

86 lines
4.2 KiB

  1. <form class="{{cssClass}}" autocomplete="off">
  2. <header>
  3. <div class="frame-container">
  4. <div class="frame">
  5. <img class="player-image" alt="{{kingdom.name}}" src="{{kingdom.img}}" title="{{kingdom.name}}" data-edit="img" />
  6. </div>
  7. </div>
  8. <div class="details">
  9. <div class="title">
  10. <input name="name" class="name" type="text" value="{{kingdom.name}}" placeholder="{{localize "PF2E.Kingmaker.Kingdom.NamePlaceholder"}}"/>
  11. <div class="nation-type">{{nationTypeLabel}}</div>
  12. </div>
  13. <label class="capital">
  14. <span>{{localize "PF2E.Kingmaker.Kingdom.Capital"}}</span>
  15. <input name="capital" type="text" value="{{kingdom.capital}}" placeholder="{{localize "PF2E.Kingmaker.Kingdom.CapitalPlaceholder"}}" />
  16. </label>
  17. <label class="size">
  18. <span>{{localize "PF2E.Kingmaker.Kingdom.Size"}}</span>
  19. <input name="size" type="number" value="{{kingdom.size}}" />
  20. </label>
  21. <label class="resource-points">
  22. <span data-tooltip="PF2E.Kingmaker.Kingdom.Resources.Points">{{localize "PF2E.Kingmaker.Kingdom.Resources.RP"}}</span>
  23. <input name="resources.points" type="number" value="{{kingdom.resources.points}}" />
  24. </label>
  25. <label class="fame" data-action="adjust-fame">
  26. <span>{{localize (concat "PF2E.Kingmaker.Kingdom.Aspiration." kingdom.aspiration)}}</span>
  27. <a class="pips {{#unless member.owner}}readonly{{/unless}}">
  28. {{#times kingdom.resources.fame.max}}
  29. {{#if (gt @root.kingdom.resources.fame.value this)}}
  30. <i class="fa-solid fa-circle"></i>
  31. {{else}}
  32. <i class="fa-regular fa-circle"></i>
  33. {{/if}}
  34. {{/times}}
  35. </a>
  36. </label>
  37. <section class="level">
  38. <div class="level">
  39. <label>{{localize "PF2E.LevelLabel"}}</label>
  40. <input name="level" type="number" value="{{kingdom.level}}" placeholder="1" size="2" />
  41. </div>
  42. <div class="exp-data">
  43. {{#with kingdom.xp as |xp|}}
  44. <div class="exp-input">
  45. <input name="xp.value" type="text" value="{{xp.value}}" data-dtype="Number" data-allow-delta placeholder="0" size="4" />
  46. <span class="max"> / </span>
  47. <input name="xp.max" type="text" value="{{xp.max}}" data-dtype="Number" placeholder="1000" size="4" />
  48. </div>
  49. <progress value="{{percentage xp.value xp.max}}" max="100"></progress>
  50. {{/with}}
  51. </div>
  52. </section>
  53. </div>
  54. </header>
  55. <nav class="sub-nav">
  56. <a data-tab="main">{{localize "PF2E.Kingmaker.Kingdom.Tabs.Main"}}</a>
  57. <a data-tab="activities">{{localize "PF2E.Kingmaker.Kingdom.Tabs.Activities"}}</a>
  58. <a data-tab="world">{{localize "PF2E.Kingmaker.Kingdom.Tabs.World"}}</a>
  59. <a data-tab="features">{{localize "PF2E.Kingmaker.Kingdom.Tabs.Features"}}</a>
  60. <a data-tab="ongoing">{{localize "PF2E.Kingmaker.Kingdom.Tabs.Ongoing"}}</a>
  61. </nav>
  62. <section class="container">
  63. <section class="tab" data-tab="main">
  64. {{> "systems/pf2e/templates/actors/party/kingdom/tabs/main.hbs"}}
  65. </section>
  66. <section class="tab" data-tab="activities">
  67. {{> "systems/pf2e/templates/actors/party/kingdom/tabs/activities.hbs"}}
  68. </section>
  69. <section class="tab" data-tab="world">
  70. {{> "systems/pf2e/templates/actors/party/kingdom/tabs/world.hbs"}}
  71. </section>
  72. <section class="tab" data-tab="features">
  73. {{> "systems/pf2e/templates/actors/party/kingdom/tabs/features.hbs"}}
  74. </section>
  75. <section class="tab" data-tab="ongoing">
  76. {{> "systems/pf2e/templates/actors/party/kingdom/tabs/ongoing.hbs"}}
  77. </section>
  78. </section>
  79. </form>