Merge branch 'release/3.10'

This commit is contained in:
Megastruktur 2021-10-06 09:05:10 +03:00
commit 50ebad5a79
3 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
v.3.10
- Fix bug with setting crew xp and tier display #158
v.3.9
- Fixes.
v.3.8
- Filled in the "weird" playbooks #152
- Added template.json fields for alternate sheet module flexibility #150

View file

@ -144,7 +144,7 @@ Hooks.once("init", async function() {
let html = options.fn(this);
for (let i = 1; i <= 10; i++) {
html += `<input type="radio" id="crew-${actor._id}-experience-${i}" name="data.experience" value="${i}" dtype="Radio"><label for="crew-experience-${i}"></label>`;
html += `<input type="radio" id="crew-${actor._id}-experience-${i}" name="data.experience" value="${i}" dtype="Radio"><label for="crew-${actor._id}-experience-${i}"></label>`;
}
return html;

View file

@ -53,7 +53,7 @@
{{/multiboxes}}
</div>
<div id="crew-{{actor._id}}-tier">
<div class="crew-tier">
{{#multiboxes data.tier}}
<input id="crew-{{actor._id}}-tier-0" type="radio" name="data.tier" value="0">
<label for="crew-{{actor._id}}-tier-0" class="black-label">{{localize "BITD.Tier"}}</label>
@ -225,7 +225,7 @@
<div class="flex-fertical">
<div class="big-teeth-section">
<div id="crew-{{actor._id}}-xp" class="big-teeth">
<label class="black-label" for="crew-{{../actor._id}}-experience-0">{{localize "BITD.CrewXP"}}</label>
<label class="black-label" for="crew-{{actor._id}}-experience-0">{{localize "BITD.CrewXP"}}</label>
{{#multiboxes data.experience}}
<input type="radio" id="crew-{{actor._id}}-experience-0" name="data.experience" value="0" dtype="Radio">
{{#crew_experience actor}}{{/crew_experience}}