mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-06 21:04:16 +02:00
Merge branch 'main' into feature/granular-action-outcomes
This commit is contained in:
commit
f607e8dfa4
48 changed files with 211 additions and 194 deletions
1
.github/workflows/deploy.yml
vendored
1
.github/workflows/deploy.yml
vendored
|
|
@ -37,6 +37,7 @@ jobs:
|
||||||
url: https://github.com/${{github.repository}}
|
url: https://github.com/${{github.repository}}
|
||||||
manifest: https://raw.githubusercontent.com/${{github.repository}}/v14/system.json
|
manifest: https://raw.githubusercontent.com/${{github.repository}}/v14/system.json
|
||||||
download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/system.zip
|
download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/system.zip
|
||||||
|
flags.hotReload: false
|
||||||
|
|
||||||
# Create a zip file with all files required by the module to add to the release
|
# Create a zip file with all files required by the module to add to the release
|
||||||
- run: zip -r ./system.zip system.json README.md LICENSE build/daggerheart.js build/tagify.css styles/daggerheart.css assets/ templates/ packs/ lang/
|
- run: zip -r ./system.zip system.json README.md LICENSE build/daggerheart.js build/tagify.css styles/daggerheart.css assets/ templates/ packs/ lang/
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,9 @@ export default class TagTeamDialog extends HandlebarsApplicationMixin(Applicatio
|
||||||
tag: 'form',
|
tag: 'form',
|
||||||
classes: ['daggerheart', 'views', 'dh-style', 'dialog', 'tag-team-dialog'],
|
classes: ['daggerheart', 'views', 'dh-style', 'dialog', 'tag-team-dialog'],
|
||||||
position: { width: 550, height: 'auto' },
|
position: { width: 550, height: 'auto' },
|
||||||
|
window: {
|
||||||
|
icon: 'fa-solid fa-user-group'
|
||||||
|
},
|
||||||
actions: {
|
actions: {
|
||||||
toggleSelectMember: TagTeamDialog.#toggleSelectMember,
|
toggleSelectMember: TagTeamDialog.#toggleSelectMember,
|
||||||
startTagTeamRoll: TagTeamDialog.#startTagTeamRoll,
|
startTagTeamRoll: TagTeamDialog.#startTagTeamRoll,
|
||||||
|
|
|
||||||
|
|
@ -156,6 +156,7 @@ export default class DhCharacterLevelUp extends LevelUpBase {
|
||||||
if (multiclasses?.[0]) {
|
if (multiclasses?.[0]) {
|
||||||
const data = multiclasses[0];
|
const data = multiclasses[0];
|
||||||
const multiclass = data.data.length > 0 ? await foundry.utils.fromUuid(data.data[0]) : {};
|
const multiclass = data.data.length > 0 ? await foundry.utils.fromUuid(data.data[0]) : {};
|
||||||
|
const subclasses = (await multiclass?.system?.fetchSubclasses()) ?? [];
|
||||||
|
|
||||||
context.multiclass = {
|
context.multiclass = {
|
||||||
...data,
|
...data,
|
||||||
|
|
@ -175,13 +176,12 @@ export default class DhCharacterLevelUp extends LevelUpBase {
|
||||||
alreadySelected
|
alreadySelected
|
||||||
};
|
};
|
||||||
}) ?? [],
|
}) ?? [],
|
||||||
subclasses:
|
subclasses: subclasses.map(subclass => ({
|
||||||
multiclass?.system?.subclasses.map(subclass => ({
|
...subclass,
|
||||||
...subclass,
|
uuid: subclass.uuid,
|
||||||
uuid: subclass.uuid,
|
selected: data.secondaryData.subclass === subclass.uuid,
|
||||||
selected: data.secondaryData.subclass === subclass.uuid,
|
disabled: data.secondaryData.subclass && data.secondaryData.subclass !== subclass.uuid
|
||||||
disabled: data.secondaryData.subclass && data.secondaryData.subclass !== subclass.uuid
|
})),
|
||||||
})) ?? [],
|
|
||||||
compendium: 'classes',
|
compendium: 'classes',
|
||||||
limit: 1
|
limit: 1
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,10 @@ export default class Party extends DHBaseActorSheet {
|
||||||
static PARTS = {
|
static PARTS = {
|
||||||
header: { template: 'systems/daggerheart/templates/sheets/actors/party/header.hbs' },
|
header: { template: 'systems/daggerheart/templates/sheets/actors/party/header.hbs' },
|
||||||
tabs: { template: 'systems/daggerheart/templates/sheets/global/tabs/tab-navigation.hbs' },
|
tabs: { template: 'systems/daggerheart/templates/sheets/global/tabs/tab-navigation.hbs' },
|
||||||
partyMembers: { template: 'systems/daggerheart/templates/sheets/actors/party/party-members.hbs' },
|
partyMembers: {
|
||||||
|
template: 'systems/daggerheart/templates/sheets/actors/party/party-members.hbs',
|
||||||
|
scrollable: ['']
|
||||||
|
},
|
||||||
/* NOT YET IMPLEMENTED */
|
/* NOT YET IMPLEMENTED */
|
||||||
// projects: {
|
// projects: {
|
||||||
// template: 'systems/daggerheart/templates/sheets/actors/party/projects.hbs',
|
// template: 'systems/daggerheart/templates/sheets/actors/party/projects.hbs',
|
||||||
|
|
|
||||||
|
|
@ -109,8 +109,8 @@ export class ItemBrowser extends HandlebarsApplicationMixin(ApplicationV2) {
|
||||||
CONFIG.DH.id,
|
CONFIG.DH.id,
|
||||||
CONFIG.DH.FLAGS[`${this.compendiumBrowserTypeKey}`].position
|
CONFIG.DH.FLAGS[`${this.compendiumBrowserTypeKey}`].position
|
||||||
);
|
);
|
||||||
|
|
||||||
options.position = userPresetPosition ?? ItemBrowser.DEFAULT_OPTIONS.position;
|
options.position = userPresetPosition ?? ItemBrowser.DEFAULT_OPTIONS.position;
|
||||||
|
delete options.position.zIndex;
|
||||||
|
|
||||||
if (!userPresetPosition) {
|
if (!userPresetPosition) {
|
||||||
const width = noFolder === true || lite === true ? 600 : 850;
|
const width = noFolder === true || lite === true ? 600 : 850;
|
||||||
|
|
|
||||||
|
|
@ -249,9 +249,6 @@ export default class DhTokenPlaceable extends foundry.canvas.placeables.Token {
|
||||||
|
|
||||||
/** @inheritDoc */
|
/** @inheritDoc */
|
||||||
_drawBar(number, bar, data) {
|
_drawBar(number, bar, data) {
|
||||||
const val = Number(data.value);
|
|
||||||
const pct = Math.clamp(val, 0, data.max) / data.max;
|
|
||||||
|
|
||||||
// Determine sizing
|
// Determine sizing
|
||||||
const { width, height } = this.document.getSize();
|
const { width, height } = this.document.getSize();
|
||||||
const s = canvas.dimensions.uiScale;
|
const s = canvas.dimensions.uiScale;
|
||||||
|
|
@ -259,17 +256,19 @@ export default class DhTokenPlaceable extends foundry.canvas.placeables.Token {
|
||||||
const bh = 8 * (this.document.height >= 2 ? 1.5 : 1) * s;
|
const bh = 8 * (this.document.height >= 2 ? 1.5 : 1) * s;
|
||||||
|
|
||||||
// Determine the color to use
|
// Determine the color to use
|
||||||
const fillColor =
|
const Color = foundry.utils.Color;
|
||||||
number === 0 ? foundry.utils.Color.fromRGB([1, 0, 0]) : foundry.utils.Color.fromString('#0032b1');
|
const fillColor = number === 0 ? Color.fromRGB([1, 0, 0]) : Color.fromString('#0032b1');
|
||||||
|
const emptyColor = Color.fromRGB([0, 0, 0]);
|
||||||
|
|
||||||
// Draw the bar
|
// Draw the bar (accounting floating point numbers from bar animations)
|
||||||
const widthUnit = bw / data.max;
|
const widthUnit = bw / Math.ceil(data.max);
|
||||||
bar.clear().lineStyle(s, 0x000000, 1.0);
|
bar.clear().lineStyle(s, 0x000000, 1.0);
|
||||||
const sections = [...Array(data.max).keys()];
|
const sections = [...Array(Math.ceil(data.max)).keys()];
|
||||||
for (let mark of sections) {
|
for (const mark of sections) {
|
||||||
const x = mark * widthUnit;
|
const x = mark * widthUnit;
|
||||||
const marked = mark + 1 <= data.value;
|
const marked = mark < Math.ceil(data.value);
|
||||||
const color = marked ? fillColor : foundry.utils.Color.fromRGB([0, 0, 0]);
|
const remainder = mark === Math.ceil(data.value) - 1 ? data.value % 1 : 0;
|
||||||
|
const color = !marked ? emptyColor : remainder ? emptyColor.mix(fillColor, remainder) : fillColor;
|
||||||
if (mark === 0 || mark === sections.length - 1) {
|
if (mark === 0 || mark === sections.length - 1) {
|
||||||
bar.beginFill(color, marked ? 1.0 : 0.5).drawRect(x, 0, widthUnit, bh, 2 * s); // Would like drawRoundedRect, but it's very troublsome with the corners. Leaving for now.
|
bar.beginFill(color, marked ? 1.0 : 0.5).drawRect(x, 0, widthUnit, bh, 2 * s); // Would like drawRoundedRect, but it's very troublsome with the corners. Leaving for now.
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -114,9 +114,6 @@
|
||||||
|
|
||||||
.card-preview-container {
|
.card-preview-container {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
|
||||||
|
|
||||||
.card-preview-container {
|
|
||||||
border-color: light-dark(@dark-blue, @golden);
|
border-color: light-dark(@dark-blue, @golden);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
h1 {
|
h1 {
|
||||||
color: light-dark(@dark-blue, @golden);
|
color: light-dark(@dark-blue, @golden);
|
||||||
font-family: var(--dh-font-subtitle);
|
font: 700 var(--font-size-24) var(--dh-font-subtitle);
|
||||||
font-size: var(--font-size-24);
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: 700;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,5 @@
|
||||||
@import './attribution/sheet.less';
|
@import './attribution/sheet.less';
|
||||||
@import './level-up/navigation-container.less';
|
@import './level-up/index.less';
|
||||||
@import './level-up/selections-container.less';
|
|
||||||
@import './level-up/sheet.less';
|
|
||||||
@import './level-up/summary-container.less';
|
|
||||||
@import './level-up/tiers-container.less';
|
|
||||||
@import './level-up/footer.less';
|
|
||||||
|
|
||||||
@import './resource-dice/sheet.less';
|
@import './resource-dice/sheet.less';
|
||||||
|
|
||||||
|
|
|
||||||
6
styles/less/dialog/level-up/index.less
Normal file
6
styles/less/dialog/level-up/index.less
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
@import './navigation-container.less';
|
||||||
|
@import './selections-container.less';
|
||||||
|
@import './summary-container.less';
|
||||||
|
@import './tiers-container.less';
|
||||||
|
@import './footer.less';
|
||||||
|
@import './sheet.less';
|
||||||
|
|
@ -3,12 +3,7 @@
|
||||||
|
|
||||||
.daggerheart.levelup {
|
.daggerheart.levelup {
|
||||||
.levelup-selections-container {
|
.levelup-selections-container {
|
||||||
overflow: auto;
|
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
max-height: 500px;
|
|
||||||
mask-image: linear-gradient(0deg, transparent 0%, black 5%, black 95%, transparent 100%);
|
|
||||||
|
|
||||||
.achievement-experience-cards {
|
.achievement-experience-cards {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -45,20 +40,22 @@
|
||||||
|
|
||||||
.levelup-card-selection {
|
.levelup-card-selection {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: 40px;
|
gap: 40px;
|
||||||
height: 190px;
|
height: 190px;
|
||||||
|
align-items: stretch;
|
||||||
|
|
||||||
.card-preview-container {
|
.card-preview-container {
|
||||||
height: 100%;
|
height: 190px;
|
||||||
max-width: 200px;
|
max-width: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.levelup-domains-selection-container {
|
.levelup-domains-selection-container {
|
||||||
display: flex;
|
display: grid;
|
||||||
flex-direction: column;
|
grid-auto-flow: column;
|
||||||
gap: 8px;
|
grid-template-rows: repeat(2, minmax(0, 1fr));
|
||||||
|
height: 100%;
|
||||||
|
gap: 4px;
|
||||||
|
|
||||||
.levelup-domain-selection-container {
|
.levelup-domain-selection-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -66,6 +63,8 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
overflow: hidden;
|
||||||
|
width: 93px;
|
||||||
|
|
||||||
&.disabled {
|
&.disabled {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
@ -74,16 +73,20 @@
|
||||||
|
|
||||||
.levelup-domain-label {
|
.levelup-domain-label {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
top: 4px;
|
|
||||||
background: grey;
|
background: grey;
|
||||||
padding: 0 12px;
|
padding: 2px 12px;
|
||||||
border-radius: 6px;
|
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
height: 124px;
|
object-fit: cover;
|
||||||
|
width: auto;
|
||||||
|
height: auto;
|
||||||
|
|
||||||
&.svg {
|
&.svg {
|
||||||
filter: @beige-filter;
|
filter: @beige-filter;
|
||||||
|
|
@ -92,17 +95,18 @@
|
||||||
|
|
||||||
.levelup-domain-selected {
|
.levelup-domain-selected {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
height: 54px;
|
height: 40px;
|
||||||
width: 54px;
|
width: 40px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
border: 2px solid;
|
border: 2px solid @golden;
|
||||||
font-size: var(--font-size-48);
|
font-size: var(--font-size-24);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
background-image: url(../assets/parchments/dh-parchment-light.png);
|
background: @dark-golden;
|
||||||
color: var(--color-dark-5);
|
color: @golden;
|
||||||
top: calc(50% - 29px);
|
top: 10px;
|
||||||
|
z-index: 2;
|
||||||
|
|
||||||
i {
|
i {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
||||||
|
|
@ -11,9 +11,11 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
.daggerheart.levelup {
|
.daggerheart.levelup {
|
||||||
.window-content {
|
.tab.active {
|
||||||
max-height: 960px;
|
flex: 1;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
scrollbar-width: thin;
|
||||||
|
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
div[data-application-part='form'] {
|
div[data-application-part='form'] {
|
||||||
|
|
@ -22,15 +24,13 @@
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
section {
|
.section-container {
|
||||||
.section-container {
|
display: flex;
|
||||||
display: flex;
|
flex-direction: row;
|
||||||
flex-direction: row;
|
justify-content: center;
|
||||||
justify-content: center;
|
gap: 20px 8px;
|
||||||
gap: 20px 8px;
|
margin-top: 8px;
|
||||||
margin-top: 8px;
|
flex-wrap: wrap;
|
||||||
flex-wrap: wrap;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.levelup-footer {
|
.levelup-footer {
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,6 @@
|
||||||
.levelup-summary-container {
|
.levelup-summary-container {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
max-height: 700px;
|
max-height: 700px;
|
||||||
mask-image: linear-gradient(0deg, transparent 0%, black 5%, black 95%, transparent 100%);
|
mask-image: linear-gradient(0deg, transparent 0%, black 5%, black 95%, transparent 100%);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,39 +7,85 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.daggerheart.dialog.dh-style.views.tag-team-dialog {
|
.daggerheart.dialog.dh-style.views.tag-team-dialog {
|
||||||
.initialization-container {
|
.initialization-container.active {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: var(--spacer-4);
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.members-container {
|
.members-container {
|
||||||
display: grid;
|
display: flex;
|
||||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
flex-wrap: wrap;
|
||||||
|
justify-content: center;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
|
|
||||||
|
// Force 3 columns for 5 -> 6 players
|
||||||
|
&:has(> :nth-child(5)):not(:has(> :nth-child(7))) {
|
||||||
|
padding-left: 10%;
|
||||||
|
padding-right: 10%;
|
||||||
|
}
|
||||||
|
|
||||||
.member-container {
|
.member-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
align-items: stretch;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
border-radius: 6px;
|
||||||
|
border: 1px solid light-dark(@dark-blue, @golden);
|
||||||
|
overflow: hidden;
|
||||||
|
height: 11.5rem;
|
||||||
|
width: 122px;
|
||||||
|
|
||||||
&.inactive {
|
&.inactive {
|
||||||
opacity: 0.4;
|
border-color: light-dark(@dark-blue-40, @golden-40);
|
||||||
|
img {
|
||||||
|
opacity: 0.4;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.member-name {
|
.member-name {
|
||||||
|
--shadow-color: light-dark(white, black);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
padding: 0 2px;
|
bottom: 0;
|
||||||
border: 1px solid;
|
left: 0;
|
||||||
border-radius: 6px;
|
right: 0;
|
||||||
margin-top: 4px;
|
|
||||||
color: light-dark(@dark, @beige);
|
display: flex;
|
||||||
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
flex-direction: column;
|
||||||
|
justify-content: flex-end;
|
||||||
|
min-height: 4rem;
|
||||||
|
padding: 5rem 4px var(--spacer-8) 4px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
|
color: var(--color-text-primary);
|
||||||
|
text-shadow: 1px 1px 2px var(--shadow-color), 0 0 10px var(--shadow-color);
|
||||||
|
|
||||||
|
// Basic "scrim" gradient
|
||||||
|
background-image: linear-gradient(
|
||||||
|
to top,
|
||||||
|
var(--shadow-color),
|
||||||
|
rgba(from var(--shadow-color) r g b / 0.834) 10.6%,
|
||||||
|
rgba(from var(--shadow-color) r g b / 0.541) 34%,
|
||||||
|
rgba(from var(--shadow-color) r g b / 0.382) 47%,
|
||||||
|
rgba(from var(--shadow-color) r g b / 0.194) 65%,
|
||||||
|
transparent 100%
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
border-radius: 6px;
|
object-fit: cover;
|
||||||
border: 1px solid light-dark(@dark-blue, @golden);
|
object-position: top center;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leader-mark {
|
||||||
|
position: absolute;
|
||||||
|
top: 4px;
|
||||||
|
right: 4px;
|
||||||
|
text-shadow: var(--shadow-text-stroke), 0 0 20px black;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,10 @@
|
||||||
.daggerheart.dialog.dh-style.views.tag-team-dialog {
|
.daggerheart.dialog.dh-style.views.tag-team-dialog .window-content {
|
||||||
|
h1 {
|
||||||
|
color: light-dark(@dark-blue, @golden);
|
||||||
|
font: 700 var(--font-size-24) var(--dh-font-subtitle);
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.team-container {
|
.team-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 16px;
|
gap: 16px;
|
||||||
|
|
|
||||||
|
|
@ -96,8 +96,6 @@
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
color: light-dark(@dark, @beige);
|
color: light-dark(@dark, @beige);
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
button:where(:not(.plain)) {
|
button:where(:not(.plain)) {
|
||||||
|
|
@ -804,6 +802,7 @@
|
||||||
|
|
||||||
.preview-image-container {
|
.preview-image-container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
min-height: 0;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
border-radius: 4px 4px 0 0;
|
border-radius: 4px 4px 0 0;
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,6 @@
|
||||||
.tab.features {
|
.tab.features {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
.feature-list {
|
.feature-list {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.daggerheart.dh-style {
|
.daggerheart.dh-style {
|
||||||
|
* {
|
||||||
|
scrollbar-width: thin;
|
||||||
|
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
||||||
|
}
|
||||||
|
|
||||||
.hint {
|
.hint {
|
||||||
flex: 0 0 100%;
|
flex: 0 0 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,6 @@
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
.editor-content {
|
.editor-content {
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: var(--font-size-32);
|
font-size: var(--font-size-32);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,6 @@
|
||||||
.tab.features {
|
.tab.features {
|
||||||
max-height: 450px;
|
max-height: 450px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
|
|
||||||
.add-feature-btn {
|
.add-feature-btn {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,6 @@
|
||||||
.tab.adversaries {
|
.tab.adversaries {
|
||||||
max-height: 450px;
|
max-height: 450px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
|
|
||||||
.add-action-btn {
|
.add-action-btn {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,6 @@
|
||||||
.tab.features {
|
.tab.features {
|
||||||
max-height: 450px;
|
max-height: 450px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
|
|
||||||
.add-feature-btn {
|
.add-feature-btn {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,6 @@
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
mask-image: linear-gradient(0deg, transparent 0%, black 5%);
|
mask-image: linear-gradient(0deg, transparent 0%, black 5%);
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
|
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,6 @@
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
mask-image: linear-gradient(0deg, transparent 0%, black 5%);
|
mask-image: linear-gradient(0deg, transparent 0%, black 5%);
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
|
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -287,12 +287,11 @@
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
mask-image: linear-gradient(0deg, transparent 0%, black 5%, black 95%, transparent 100%);
|
mask-image: linear-gradient(0deg, transparent 0%, black 5%, black 95%, transparent 100%);
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-gutter: stable;
|
scrollbar-gutter: stable;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,9 +13,6 @@
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.characteristics-section {
|
.characteristics-section {
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,6 @@
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
mask-image: linear-gradient(0deg, transparent 0%, black 5%);
|
mask-image: linear-gradient(0deg, transparent 0%, black 5%);
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
|
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,6 @@
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
mask-image: linear-gradient(0deg, transparent 0%, black 5%);
|
mask-image: linear-gradient(0deg, transparent 0%, black 5%);
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
|
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,6 @@
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
mask-image: linear-gradient(0deg, transparent 0%, black 5%, black 95%, transparent 100%);
|
mask-image: linear-gradient(0deg, transparent 0%, black 5%, black 95%, transparent 100%);
|
||||||
padding: 20px 0;
|
padding: 20px 0;
|
||||||
|
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -92,9 +92,6 @@
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
mask-image: linear-gradient(0deg, transparent 0%, black 10%, black 98%, transparent 100%);
|
mask-image: linear-gradient(0deg, transparent 0%, black 10%, black 98%, transparent 100%);
|
||||||
padding: 20px 0;
|
padding: 20px 0;
|
||||||
|
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -551,11 +551,9 @@
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
mask-image: linear-gradient(0deg, transparent 0%, black 5%);
|
mask-image: linear-gradient(0deg, transparent 0%, black 5%);
|
||||||
scrollbar-gutter: stable;
|
scrollbar-gutter: stable;
|
||||||
scrollbar-width: thin;
|
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,6 @@
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
mask-image: linear-gradient(0deg, transparent 0%, black 5%);
|
mask-image: linear-gradient(0deg, transparent 0%, black 5%);
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
|
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,6 @@
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
mask-image: linear-gradient(0deg, transparent 0%, black 5%);
|
mask-image: linear-gradient(0deg, transparent 0%, black 5%);
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
|
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,6 @@
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
mask-image: linear-gradient(0deg, transparent 0%, black 5%);
|
mask-image: linear-gradient(0deg, transparent 0%, black 5%);
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
|
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,6 @@
|
||||||
.tab {
|
.tab {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,6 @@
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
mask-image: linear-gradient(0deg, transparent 0%, black 5%, black 95%, transparent 100%);
|
mask-image: linear-gradient(0deg, transparent 0%, black 5%, black 95%, transparent 100%);
|
||||||
padding: 20px 0;
|
padding: 20px 0;
|
||||||
|
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,6 @@
|
||||||
.tab {
|
.tab {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
scrollbar-gutter: stable;
|
scrollbar-gutter: stable;
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,5 @@
|
||||||
section.tab {
|
section.tab {
|
||||||
height: 400px;
|
height: 400px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,5 @@
|
||||||
section.tab {
|
section.tab {
|
||||||
height: 400px;
|
height: 400px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -60,8 +60,6 @@
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
max-height: 500px;
|
max-height: 500px;
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
|
|
||||||
.countdown-edit-outer-container {
|
.countdown-edit-outer-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
||||||
|
|
@ -237,8 +237,6 @@
|
||||||
.compendium-sidebar > .folder-list {
|
.compendium-sidebar > .folder-list {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
scrollbar-gutter: stable;
|
scrollbar-gutter: stable;
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-list-header,
|
.item-list-header,
|
||||||
|
|
|
||||||
|
|
@ -55,8 +55,6 @@
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
max-height: 184px;
|
max-height: 184px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(#18162e, #f3c267) transparent;
|
|
||||||
|
|
||||||
.domain-container {
|
.domain-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
||||||
|
|
@ -21,8 +21,6 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 2px;
|
gap: 2px;
|
||||||
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
|
|
||||||
.group {
|
.group {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: var(--font-size-14);
|
font-size: var(--font-size-14);
|
||||||
|
|
|
||||||
|
|
@ -48,9 +48,6 @@ aside[role='tooltip']:has(div.daggerheart.dh-style.tooltip),
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
||||||
|
|
||||||
.tooltip-tag {
|
.tooltip-tag {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
|
|
|
||||||
17
system.json
17
system.json
|
|
@ -2,7 +2,7 @@
|
||||||
"id": "daggerheart",
|
"id": "daggerheart",
|
||||||
"title": "Daggerheart",
|
"title": "Daggerheart",
|
||||||
"description": "An unofficial implementation of the Daggerheart system",
|
"description": "An unofficial implementation of the Daggerheart system",
|
||||||
"version": "2.2.4",
|
"version": "2.2.5",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": "14.359",
|
"minimum": "14.359",
|
||||||
"verified": "14.361",
|
"verified": "14.361",
|
||||||
|
|
@ -10,11 +10,16 @@
|
||||||
},
|
},
|
||||||
"url": "https://github.com/Foundryborne/daggerheart",
|
"url": "https://github.com/Foundryborne/daggerheart",
|
||||||
"manifest": "https://raw.githubusercontent.com/Foundryborne/daggerheart/v14/system.json",
|
"manifest": "https://raw.githubusercontent.com/Foundryborne/daggerheart/v14/system.json",
|
||||||
"download": "https://github.com/Foundryborne/daggerheart/releases/download/2.2.4/system.zip",
|
"download": "https://github.com/Foundryborne/daggerheart/releases/download/2.2.5/system.zip",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "WBHarry"
|
"name": "WBHarry"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Supe",
|
||||||
|
"url": "https://github.com/CarlosFdez",
|
||||||
|
"discord": "supe"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "cptn-cosmo",
|
"name": "cptn-cosmo",
|
||||||
"url": "https://github.com/cptn-cosmo",
|
"url": "https://github.com/cptn-cosmo",
|
||||||
|
|
@ -298,5 +303,11 @@
|
||||||
},
|
},
|
||||||
"background": "systems/daggerheart/assets/logos/FoundrybornBackgroundLogo.png",
|
"background": "systems/daggerheart/assets/logos/FoundrybornBackgroundLogo.png",
|
||||||
"primaryTokenAttribute": "resources.hitPoints",
|
"primaryTokenAttribute": "resources.hitPoints",
|
||||||
"secondaryTokenAttribute": "resources.stress"
|
"secondaryTokenAttribute": "resources.stress",
|
||||||
|
"flags": {
|
||||||
|
"hotReload": {
|
||||||
|
"extensions": ["css", "hbs", "json"],
|
||||||
|
"paths": ["styles/daggerheart.css", "templates", "lang"]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,18 @@
|
||||||
<section class="initialization-container tab {{#if tabs.initialization.active}} active{{/if}}" data-group="{{tabs.initialization.group}}" data-tab="{{tabs.initialization.id}}">
|
<section class="initialization-container tab {{#if tabs.initialization.active}} active{{/if}}" data-group="{{tabs.initialization.group}}" data-tab="{{tabs.initialization.id}}">
|
||||||
<h2>{{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.selectParticipants"}}</h2>
|
<h1>{{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.selectParticipants"}}</h1>
|
||||||
<div class="members-container">
|
<div class="members-container">
|
||||||
{{#each memberSelection as |member|}}
|
{{#each memberSelection as |member|}}
|
||||||
<a
|
<a
|
||||||
class="member-container {{#unless member.selected}}inactive {{#if ../allselected}}locked{{/if}}{{/unless}}"
|
class="member-container {{#unless member.selected}}inactive {{#if ../allselected}}locked{{/if}}{{/unless}}"
|
||||||
data-action="toggleSelectMember" data-id="{{member.id}}" {{#if (and (not member.selected) ../allSelected)}}disabled{{/if}}
|
data-action="toggleSelectMember" data-id="{{member.id}}" {{#if (and (not member.selected) ../allSelected)}}disabled{{/if}}
|
||||||
>
|
>
|
||||||
<span class="member-name">{{member.name}}</span>
|
|
||||||
<img src="{{member.img}}" />
|
<img src="{{member.img}}" />
|
||||||
|
<span class="member-name">{{member.name}}</span>
|
||||||
|
{{#if (eq @root.initiator.memberId member.id)}}
|
||||||
|
<div class="leader-mark">
|
||||||
|
<i class="fa-solid fa-crown" inert></i>
|
||||||
|
</div>
|
||||||
|
{{/if}}
|
||||||
</a>
|
</a>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -30,10 +35,13 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<button type="button" data-action="startTagTeamRoll" {{#unless canStartTagTeam}}disabled{{/unless}}>{{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.startTagTeamRoll"}} <i class="fa-solid fa-arrow-right-long"></i></button>
|
|
||||||
<div class="finish-tools {{#unless canStartTagTeam}}inactive{{/unless}}">
|
<div class="finish-tools {{#unless canStartTagTeam}}inactive{{/unless}}">
|
||||||
<span>{{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.openDialogForAll"}}</span>
|
<span>{{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.openDialogForAll"}}</span>
|
||||||
<input type="checkbox" class="openforall-field" {{#unless canStartTagTeam}}disabled{{/unless}} {{checked openForAllPlayers}} />
|
<input type="checkbox" class="openforall-field" {{#unless canStartTagTeam}}disabled{{/unless}} {{checked openForAllPlayers}} />
|
||||||
</div>
|
</div>
|
||||||
|
<button type="button" data-action="startTagTeamRoll" {{#unless canStartTagTeam}}disabled{{/unless}}>
|
||||||
|
<i class="fa-solid fa-arrow-right-long" inert></i>
|
||||||
|
{{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.startTagTeamRoll"}}
|
||||||
|
</button>
|
||||||
</footer>
|
</footer>
|
||||||
</section>
|
</section>
|
||||||
|
|
@ -32,7 +32,10 @@
|
||||||
|
|
||||||
<div class="finish-container">
|
<div class="finish-container">
|
||||||
<button type="button" data-action="cancelRoll">{{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.cancelTagTeamRoll"}}</button>
|
<button type="button" data-action="cancelRoll">{{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.cancelTagTeamRoll"}}</button>
|
||||||
<button type="button" data-action="finishRoll" {{#if hintText}}disabled{{/if}} class="finish-button">{{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.finishTagTeamRoll"}}</button>
|
<button type="button" data-action="finishRoll" {{#if hintText}}disabled{{/if}} class="finish-button">
|
||||||
|
<i class="fa-solid fa-dice" inert></i>
|
||||||
|
{{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.finishTagTeamRoll"}}
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
@ -43,45 +43,6 @@
|
||||||
</fieldset>
|
</fieldset>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if (gt this.domainCards.length 0)}}
|
|
||||||
<div class="card-section">
|
|
||||||
<div class="card-section-header">
|
|
||||||
<side-line-div class="invert"></side-line-div>
|
|
||||||
<h3>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.domainCards"}}</h3>
|
|
||||||
<side-line-div></side-line-div>
|
|
||||||
</div>
|
|
||||||
<div class="tip">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="levelup-card-selection domain-cards">
|
|
||||||
{{#each this.domainCards}}
|
|
||||||
{{#> "systems/daggerheart/templates/components/card-preview.hbs" this }}
|
|
||||||
{{#each this.emptySubtexts}}
|
|
||||||
<div class="">{{this}}</div>
|
|
||||||
{{/each}}
|
|
||||||
{{/"systems/daggerheart/templates/components/card-preview.hbs"}}
|
|
||||||
{{/each}}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{{/if}}
|
|
||||||
|
|
||||||
{{#if (gt this.subclassCards.length 0)}}
|
|
||||||
<div class="card-section">
|
|
||||||
<div class="card-section-header">
|
|
||||||
<side-line-div class="invert"></side-line-div>
|
|
||||||
<h3>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.subclass"}}</h3>
|
|
||||||
<side-line-div></side-line-div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="levelup-card-selection subclass-cards">
|
|
||||||
{{#each this.subclassCards}}
|
|
||||||
{{> "systems/daggerheart/templates/levelup/parts/selectable-card-preview.hbs" img=this.img header=this.featureLabel name=this.name path=this.path selected=this.selected uuid=this.uuid isMulticlass=this.isMulticlass featureState=this.featureState disabled=this.disabled }}
|
|
||||||
{{/each}}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{{/if}}
|
|
||||||
|
|
||||||
{{#if this.multiclass}}
|
{{#if this.multiclass}}
|
||||||
<div class="card-section">
|
<div class="card-section">
|
||||||
<div class="card-section-header">
|
<div class="card-section-header">
|
||||||
|
|
@ -128,6 +89,45 @@
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if (gt this.domainCards.length 0)}}
|
||||||
|
<div class="card-section">
|
||||||
|
<div class="card-section-header">
|
||||||
|
<side-line-div class="invert"></side-line-div>
|
||||||
|
<h3>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.domainCards"}}</h3>
|
||||||
|
<side-line-div></side-line-div>
|
||||||
|
</div>
|
||||||
|
<div class="tip">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="levelup-card-selection domain-cards">
|
||||||
|
{{#each this.domainCards}}
|
||||||
|
{{#> "systems/daggerheart/templates/components/card-preview.hbs" this }}
|
||||||
|
{{#each this.emptySubtexts}}
|
||||||
|
<div class="">{{this}}</div>
|
||||||
|
{{/each}}
|
||||||
|
{{/"systems/daggerheart/templates/components/card-preview.hbs"}}
|
||||||
|
{{/each}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if (gt this.subclassCards.length 0)}}
|
||||||
|
<div class="card-section">
|
||||||
|
<div class="card-section-header">
|
||||||
|
<side-line-div class="invert"></side-line-div>
|
||||||
|
<h3>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.subclass"}}</h3>
|
||||||
|
<side-line-div></side-line-div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="levelup-card-selection subclass-cards">
|
||||||
|
{{#each this.subclassCards}}
|
||||||
|
{{> "systems/daggerheart/templates/levelup/parts/selectable-card-preview.hbs" img=this.img header=this.featureLabel name=this.name path=this.path selected=this.selected uuid=this.uuid isMulticlass=this.isMulticlass featureState=this.featureState disabled=this.disabled }}
|
||||||
|
{{/each}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
{{#if this.vicious}}
|
{{#if this.vicious}}
|
||||||
<div>
|
<div>
|
||||||
<h3>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.vicious"}}</h3>
|
<h3>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.vicious"}}</h3>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue