This commit is contained in:
@@ -707,6 +707,29 @@ i.fvtt-hellborn {
|
|||||||
height: 24px;
|
height: 24px;
|
||||||
margin: 4px 0 0 0;
|
margin: 4px 0 0 0;
|
||||||
}
|
}
|
||||||
|
.fvtt-hellborn .tab.character-biography .main-div .aliases {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
margin-left: 4px;
|
||||||
|
}
|
||||||
|
.fvtt-hellborn .tab.character-biography .main-div .aliases .form-group {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
gap: 4px;
|
||||||
|
margin-left: 4px;
|
||||||
|
}
|
||||||
|
.fvtt-hellborn .tab.character-biography .main-div .aliases .form-group label {
|
||||||
|
min-width: 6rem;
|
||||||
|
max-width: 6rem;
|
||||||
|
}
|
||||||
|
.fvtt-hellborn .tab.character-biography .main-div .aliases input {
|
||||||
|
text-align: left;
|
||||||
|
min-width: 41rem;
|
||||||
|
max-width: 41rem;
|
||||||
|
}
|
||||||
.fvtt-hellborn .tab.character-biography .main-div .biodata {
|
.fvtt-hellborn .tab.character-biography .main-div .biodata {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(3, 1fr);
|
grid-template-columns: repeat(3, 1fr);
|
||||||
@@ -2423,6 +2446,20 @@ i.fvtt-hellborn {
|
|||||||
font-family: var(--font-primary);
|
font-family: var(--font-primary);
|
||||||
font-size: calc(var(--font-size-standard) * 1);
|
font-size: calc(var(--font-size-standard) * 1);
|
||||||
}
|
}
|
||||||
|
.flavor-text-damage {
|
||||||
|
font-family: var(--font-secondary);
|
||||||
|
font-size: calc(var(--font-size-standard) * 1.2);
|
||||||
|
color: var(--color-dark-2);
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
|
.flavor-text-damage h2 {
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-left: 10px;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
font-family: var(--font-title);
|
||||||
|
font-size: calc(var(--font-size-standard) * 1.2);
|
||||||
|
color: var(--title-color);
|
||||||
|
}
|
||||||
.dice-roll {
|
.dice-roll {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
@@ -2445,6 +2482,14 @@ i.fvtt-hellborn {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
|
.dice-roll .intro-chat h2 {
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-left: 10px;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
font-family: var(--font-title);
|
||||||
|
font-size: calc(var(--font-size-standard) * 1.4);
|
||||||
|
color: var(--title-color);
|
||||||
|
}
|
||||||
.dice-roll .intro-chat .intro-img {
|
.dice-roll .intro-chat .intro-img {
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
max-width: 80px;
|
max-width: 80px;
|
||||||
|
|||||||
@@ -64,6 +64,9 @@
|
|||||||
"age": {
|
"age": {
|
||||||
"label": "Age"
|
"label": "Age"
|
||||||
},
|
},
|
||||||
|
"aliases": {
|
||||||
|
"label": "Aliases"
|
||||||
|
},
|
||||||
"birthplace": {
|
"birthplace": {
|
||||||
"label": "Birthplace"
|
"label": "Birthplace"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ export default class HellbornRoll extends Roll {
|
|||||||
let damageRoll = new Roll(formula)
|
let damageRoll = new Roll(formula)
|
||||||
await damageRoll.evaluate()
|
await damageRoll.evaluate()
|
||||||
await damageRoll.toMessage({
|
await damageRoll.toMessage({
|
||||||
flavor: `${options.rollItem.name} - Damage Roll - ${options.rollItem.system.damageType}`,
|
flavor: `<div class="flavor-text-damage"><h2>Damage Roll : ${options.rollItem.name}</h2><BR><strong> ${options.rollItem.system.damageType}</strong></div>`,
|
||||||
});
|
});
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -76,7 +76,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
}
|
}
|
||||||
.splitted {
|
.splitted {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
@@ -189,15 +189,15 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
.characteristics-label{
|
.characteristics-label {
|
||||||
color: grey;
|
color: grey;
|
||||||
font-size:small;
|
font-size: small;
|
||||||
}
|
}
|
||||||
label {
|
label {
|
||||||
min-width: 4rem;
|
min-width: 4rem;
|
||||||
max-width: 4rem;
|
max-width: 4rem;
|
||||||
}
|
}
|
||||||
.spaced-left{
|
.spaced-left {
|
||||||
margin-left: 0.8rem;
|
margin-left: 0.8rem;
|
||||||
}
|
}
|
||||||
input {
|
input {
|
||||||
@@ -591,6 +591,29 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.aliases {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
margin-left: 4px;
|
||||||
|
.form-group {
|
||||||
|
label {
|
||||||
|
min-width: 6rem;
|
||||||
|
max-width: 6rem;
|
||||||
|
}
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
gap: 4px;
|
||||||
|
margin-left: 4px;
|
||||||
|
}
|
||||||
|
input {
|
||||||
|
text-align: left;
|
||||||
|
min-width: 41rem;
|
||||||
|
max-width: 41rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
.biodata {
|
.biodata {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(3, 1fr);
|
grid-template-columns: repeat(3, 1fr);
|
||||||
|
|||||||
@@ -57,7 +57,7 @@
|
|||||||
.item-to-chat {
|
.item-to-chat {
|
||||||
h2 {
|
h2 {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
margin-left:10px;
|
margin-left: 10px;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
font-family: var(--font-title);
|
font-family: var(--font-title);
|
||||||
font-size: calc(var(--font-size-standard) * 1.4);
|
font-size: calc(var(--font-size-standard) * 1.4);
|
||||||
@@ -77,6 +77,21 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.flavor-text-damage {
|
||||||
|
font-family: var(--font-secondary);
|
||||||
|
font-size: calc(var(--font-size-standard) * 1.2);
|
||||||
|
color: var(--color-dark-2);
|
||||||
|
margin-top: 5px;
|
||||||
|
h2 {
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-left: 10px;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
font-family: var(--font-title);
|
||||||
|
font-size: calc(var(--font-size-standard) * 1.2);
|
||||||
|
color: var(--title-color);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&.dice-roll {
|
&.dice-roll {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
@@ -98,10 +113,19 @@
|
|||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
h2 {
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-left: 10px;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
font-family: var(--font-title);
|
||||||
|
font-size: calc(var(--font-size-standard) * 1.4);
|
||||||
|
color: var(--title-color);
|
||||||
|
}
|
||||||
|
|
||||||
.intro-img {
|
.intro-img {
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
max-width: 80px;
|
max-width: 80px;
|
||||||
min-width : 80px;
|
min-width: 80px;
|
||||||
align-self: top;
|
align-self: top;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
@@ -158,6 +182,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.result {
|
.result {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
@@ -17,38 +17,42 @@
|
|||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<fieldset class="biodata">
|
<fieldset >
|
||||||
<legend>{{localize "HELLBORN.Label.biodata"}}</legend>
|
<legend>{{localize "HELLBORN.Label.biodata"}}</legend>
|
||||||
<div class="experience">
|
<div class="aliases">
|
||||||
{{formField systemFields.biodata.fields.gender value=system.biodata.gender rootId=partId disabled=isPlayMode}}
|
{{formField systemFields.biodata.fields.aliases value=system.biodata.aliases rootId=partId disabled=isPlayMode}}
|
||||||
</div>
|
</div>
|
||||||
<div class="experience">
|
<div class="biodata">
|
||||||
{{formField systemFields.biodata.fields.age value=system.biodata.age rootId=partId disabled=isPlayMode}}
|
<div class="experience">
|
||||||
|
{{formField systemFields.biodata.fields.gender value=system.biodata.gender rootId=partId disabled=isPlayMode}}
|
||||||
|
</div>
|
||||||
|
<div class="experience">
|
||||||
|
{{formField systemFields.biodata.fields.age value=system.biodata.age rootId=partId disabled=isPlayMode}}
|
||||||
|
</div>
|
||||||
|
<div class="experience">
|
||||||
|
{{formField systemFields.biodata.fields.height value=system.biodata.height rootId=partId disabled=isPlayMode}}
|
||||||
|
</div>
|
||||||
|
<div class="experience">
|
||||||
|
{{formField systemFields.biodata.fields.weight value=system.biodata.weight rootId=partId disabled=isPlayMode}}
|
||||||
|
</div>
|
||||||
|
<div class="experience">
|
||||||
|
{{formField systemFields.biodata.fields.eyes value=system.biodata.eyes rootId=partId disabled=isPlayMode}}
|
||||||
|
</div>
|
||||||
|
<div class="experience">
|
||||||
|
{{formField systemFields.biodata.fields.hair value=system.biodata.hair rootId=partId disabled=isPlayMode}}
|
||||||
|
</div>
|
||||||
|
<div class="experience">
|
||||||
|
{{formField systemFields.biodata.fields.home value=system.biodata.home rootId=partId disabled=isPlayMode}}
|
||||||
|
</div>
|
||||||
|
<div class="experience">
|
||||||
|
{{formField systemFields.biodata.fields.birthplace value=system.biodata.birthplace rootId=partId
|
||||||
|
disabled=isPlayMode}}
|
||||||
|
</div>
|
||||||
|
<div class="experience">
|
||||||
|
{{formField systemFields.biodata.fields.dod value=system.biodata.dod rootId=partId
|
||||||
|
disabled=isPlayMode}}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="experience">
|
|
||||||
{{formField systemFields.biodata.fields.height value=system.biodata.height rootId=partId disabled=isPlayMode}}
|
|
||||||
</div>
|
|
||||||
<div class="experience">
|
|
||||||
{{formField systemFields.biodata.fields.weight value=system.biodata.weight rootId=partId disabled=isPlayMode}}
|
|
||||||
</div>
|
|
||||||
<div class="experience">
|
|
||||||
{{formField systemFields.biodata.fields.eyes value=system.biodata.eyes rootId=partId disabled=isPlayMode}}
|
|
||||||
</div>
|
|
||||||
<div class="experience">
|
|
||||||
{{formField systemFields.biodata.fields.hair value=system.biodata.hair rootId=partId disabled=isPlayMode}}
|
|
||||||
</div>
|
|
||||||
<div class="experience">
|
|
||||||
{{formField systemFields.biodata.fields.home value=system.biodata.home rootId=partId disabled=isPlayMode}}
|
|
||||||
</div>
|
|
||||||
<div class="experience">
|
|
||||||
{{formField systemFields.biodata.fields.birthplace value=system.biodata.birthplace rootId=partId
|
|
||||||
disabled=isPlayMode}}
|
|
||||||
</div>
|
|
||||||
<div class="experience">
|
|
||||||
{{formField systemFields.biodata.fields.dod value=system.biodata.dod rootId=partId
|
|
||||||
disabled=isPlayMode}}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
|||||||
@@ -5,21 +5,23 @@
|
|||||||
{{actorName}}
|
{{actorName}}
|
||||||
</div>
|
</div>
|
||||||
<div class="intro-right">
|
<div class="intro-right">
|
||||||
|
|
||||||
|
{{#if (eq rollType "stat")}}
|
||||||
|
<h2>{{localize "HELLBORN.Label.statRoll"}}</h2>
|
||||||
|
{{/if}}
|
||||||
|
{{#if weapon}}
|
||||||
|
<h2>Weapon : {{weapon.name}}</strong></h2>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
{{#if (eq rollType "stat")}}
|
|
||||||
<li><strong>{{localize "HELLBORN.Label.statRoll"}}</strong></li>
|
|
||||||
{{/if}}
|
|
||||||
|
|
||||||
|
|
||||||
{{#if weapon}}
|
|
||||||
<li><strong>Weapon : {{weapon.name}}</strong></li>
|
|
||||||
<li><strong>Properties :</strong> {{weapon.system.properties}}</li>
|
<li><strong>Properties :</strong> {{weapon.system.properties}}</li>
|
||||||
{{/if}}
|
<li>
|
||||||
|
<span>
|
||||||
<li><strong>{{localize rollItem.label}} : {{rollItem.value}}</strong></li>
|
<span><strong>{{localize rollItem.label}} : {{rollItem.value}}</strong></span>
|
||||||
|
<span>{{localize "HELLBORN.Label.difficulty"}} : {{difficulty}}</span>
|
||||||
<li>{{localize "HELLBORN.Label.difficulty"}} : {{difficulty}}</li>
|
</span>
|
||||||
|
</li>
|
||||||
|
|
||||||
{{#if (gt nbAdvantages 0)}}
|
{{#if (gt nbAdvantages 0)}}
|
||||||
<li>With Advantage !</li>
|
<li>With Advantage !</li>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div class="intro-chat">
|
<div class="intro-chat">
|
||||||
<h2>{{name}}</h2>
|
<h2>{{name}}</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li><strong>{{system.flavorText}}</strong></li>
|
<li><strong><i>{{system.flavorText}}</i></strong></li>
|
||||||
<li><strong>Role : </strong>{{upperFirst system.role}}</li>
|
<li><strong>Role : </strong>{{upperFirst system.role}}</li>
|
||||||
<li><strong>Level : </strong>{{getRomanLevel system.level}}</li>
|
<li><strong>Level : </strong>{{getRomanLevel system.level}}</li>
|
||||||
<li>{{{system.description}}}</li>
|
<li>{{{system.description}}}</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user