New icons
BIN
assets/icons/adresse.webp
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
assets/icons/clairvoyance.webp
Normal file
After Width: | Height: | Size: 7.7 KiB |
BIN
assets/icons/notoriete.webp
Normal file
After Width: | Height: | Size: 7.0 KiB |
BIN
assets/icons/presence.webp
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
assets/icons/puissance.webp
Normal file
After Width: | Height: | Size: 7.1 KiB |
BIN
assets/icons/reseau.webp
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
assets/icons/resistance.webp
Normal file
After Width: | Height: | Size: 8.1 KiB |
BIN
assets/icons/ressources_materielles.webp
Normal file
After Width: | Height: | Size: 6.5 KiB |
BIN
assets/icons/talents_de_groupe.webp
Normal file
After Width: | Height: | Size: 6.9 KiB |
BIN
assets/icons/trempe.webp
Normal file
After Width: | Height: | Size: 8.4 KiB |
@ -41,15 +41,9 @@ export class HawkmoonActorSheet extends ActorSheet {
|
||||
skills: this.actor.getSkills(),
|
||||
armes: duplicate(this.actor.getWeapons()),
|
||||
protections: duplicate(this.actor.getArmors()),
|
||||
dons: duplicate(this.actor.getDons()),
|
||||
alignement: this.actor.getAlignement(),
|
||||
aspect: this.actor.getAspect(),
|
||||
marge: this.actor.getMarge(),
|
||||
tendances:duplicate(this.actor.getTendances()),
|
||||
runes:duplicate(this.actor.getRunes()),
|
||||
origine: duplicate(this.actor.getOrigine() || {}),
|
||||
heritage: duplicate(this.actor.getHeritage() || {}),
|
||||
metier: duplicate(this.actor.getMetier() || {}),
|
||||
historique: duplicate(this.actor.getHistorique() || {}),
|
||||
talents: duplicate(this.actor.getTalents() || {}),
|
||||
profils: duplicate(this.actor.getProfil() || {}),
|
||||
combat: this.actor.getCombatValues(),
|
||||
equipements: duplicate(this.actor.getEquipments()),
|
||||
description: await TextEditor.enrichHTML(this.object.system.biodata.description, {async: true}),
|
||||
|
@ -71,20 +71,6 @@ export class HawkmoonActor extends Actor {
|
||||
}
|
||||
return arme
|
||||
}
|
||||
/* -------------------------------------------- */
|
||||
prepareBouclier(bouclier) {
|
||||
bouclier = duplicate(bouclier)
|
||||
let combat = this.getCombatValues()
|
||||
bouclier.system.competence = duplicate(this.items.find(item => item.type == "competence" && item.name.toLowerCase() == "mêlée"))
|
||||
bouclier.system.attrKey = "pui"
|
||||
bouclier.system.totalDegats = bouclier.system.degats + "+" + combat.bonusDegatsTotal
|
||||
bouclier.system.totalOffensif = this.system.attributs.pui.value + bouclier.system.competence.system.niveau
|
||||
bouclier.system.isdefense = true
|
||||
bouclier.system.bonusmaniementoff = 0
|
||||
bouclier.system.totalDefensif = combat.defenseTotal + bouclier.system.competence.system.niveau + bouclier.system.bonusdefense
|
||||
return bouclier
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
getWeapons() {
|
||||
let armes = []
|
||||
@ -99,17 +85,6 @@ export class HawkmoonActor extends Actor {
|
||||
return armes
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
getDons() {
|
||||
return this.items.filter(item => item.type == "don")
|
||||
}
|
||||
/* -------------------------------------------- */
|
||||
getTendances() {
|
||||
return this.items.filter(item => item.type == "tendance")
|
||||
}
|
||||
getRunes() {
|
||||
return this.items.filter(item => item.type == "rune")
|
||||
}
|
||||
/* -------------------------------------------- */
|
||||
getEquipments() {
|
||||
return this.items.filter(item => item.type == "equipement")
|
||||
@ -118,14 +93,14 @@ export class HawkmoonActor extends Actor {
|
||||
getArmors() {
|
||||
return this.items.filter(item => item.type == "protection")
|
||||
}
|
||||
getOrigine() {
|
||||
return this.items.find(item => item.type == "origine")
|
||||
getHistorique() {
|
||||
return this.items.find(item => item.type == "historique")
|
||||
}
|
||||
getMetier() {
|
||||
return this.items.find(item => item.type == "metier")
|
||||
getProfil() {
|
||||
return this.items.find(item => item.type == "profil")
|
||||
}
|
||||
getHeritage() {
|
||||
return this.items.find(item => item.type == "heritage")
|
||||
getTalents() {
|
||||
return this.items.find(item => item.type == "talent")
|
||||
}
|
||||
/* -------------------------------------------- */
|
||||
getSkills() {
|
||||
@ -160,20 +135,9 @@ export class HawkmoonActor extends Actor {
|
||||
})
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
getAspect() {
|
||||
return (this.system.balance.loi > this.system.balance.chaos) ? this.system.balance.loi : this.system.balance.chaos
|
||||
}
|
||||
getMarge() {
|
||||
return Math.abs( this.system.balance.loi - this.system.balance.chaos)
|
||||
}
|
||||
getAlignement() {
|
||||
return (this.system.balance.loi > this.system.balance.chaos) ? "loyal" : "chaotique"
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
getDefenseBase() {
|
||||
return this.system.attributs.tre.value + 5
|
||||
return this.system.attributs.tre.value
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
@ -209,14 +173,7 @@ export class HawkmoonActor extends Actor {
|
||||
prepareDerivedData() {
|
||||
|
||||
if (this.type == 'personnage') {
|
||||
let newSante = this.system.sante.bonus + (this.system.attributs.pui.value + this.system.attributs.tre.value) * 2 + 5
|
||||
if (this.system.sante.base != newSante) {
|
||||
this.update({ 'system.sante.base': newSante })
|
||||
}
|
||||
let newAme = (this.system.attributs.cla.value + this.system.attributs.tre.value) * this.system.biodata.amemultiplier + 5
|
||||
if (this.system.ame.fullmax != newAme) {
|
||||
this.update({ 'system.ame.fullmax': newAme })
|
||||
}
|
||||
// TODO
|
||||
}
|
||||
|
||||
super.prepareDerivedData()
|
||||
@ -285,21 +242,6 @@ export class HawkmoonActor extends Actor {
|
||||
this.update({ 'system.eclat.value': newE })
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
canEclatDoubleD20() {
|
||||
return (this.getAlignement() == "loyal" && this.system.eclat.value > 0)
|
||||
}
|
||||
/* -------------------------------------------- */
|
||||
subPointsAme(runeMode, value) {
|
||||
let ame = duplicate(this.system.ame)
|
||||
if(runeMode == "prononcer") {
|
||||
ame.value -= value
|
||||
} else {
|
||||
ame.currentmax -= value
|
||||
}
|
||||
this.update( {'system.ame': ame})
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
compareName(a, b) {
|
||||
if (a.name < b.name) {
|
||||
@ -408,14 +350,14 @@ export class HawkmoonActor extends Actor {
|
||||
rollData.actorImg = this.img
|
||||
rollData.actorId = this.id
|
||||
rollData.img = this.img
|
||||
rollData.canEclatDoubleD20 = this.canEclatDoubleD20()
|
||||
rollData.canEclatDoubleD20 = true
|
||||
rollData.doubleD20 = false
|
||||
rollData.attributs = HawkmoonUtility.getAttributs()
|
||||
|
||||
if (attrKey) {
|
||||
rollData.attrKey = attrKey
|
||||
if (attrKey != "tochoose") {
|
||||
rollData.actionImg = "systems/fvtt-mournblade/assets/icons/" + this.system.attributs[attrKey].labelnorm + ".webp"
|
||||
rollData.actionImg = "systems/fvtt-mournblade-cyd/assets/icons/" + this.system.attributs[attrKey].labelnorm + ".webp"
|
||||
rollData.attr = duplicate(this.system.attributs[attrKey])
|
||||
}
|
||||
}
|
||||
@ -445,23 +387,6 @@ export class HawkmoonActor extends Actor {
|
||||
rollDialog.render(true)
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
async rollRune(runeId) {
|
||||
let comp = this.items.find(comp => comp.type == "competence" && comp.name.toLowerCase() == "savoir : runes")
|
||||
if ( !comp) {
|
||||
ui.notifications.warn("La compétence Savoirs : Runes n'a pas été trouvée, abandon.")
|
||||
return
|
||||
}
|
||||
let rollData = this.getCommonRollData("cla", undefined, "Savoir : Runes")
|
||||
rollData.rune = duplicate(this.items.get(runeId) || {})
|
||||
rollData.difficulte = rollData.rune?.system?.seuil || 0
|
||||
rollData.runemode = "prononcer"
|
||||
rollData.runeame = 1
|
||||
console.log("runeData", rollData)
|
||||
let rollDialog = await HawkmoonRollDialog.create(this, rollData)
|
||||
rollDialog.render(true)
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
async rollArmeOffensif(armeId) {
|
||||
let arme = this.items.get(armeId)
|
||||
|
@ -14,8 +14,8 @@ export class HawkmoonItemSheet extends ItemSheet {
|
||||
template: "systems/fvtt-hawkmoon-cyd/templates/item-sheet.html",
|
||||
dragDrop: [{ dragSelector: null, dropSelector: null }],
|
||||
width: 620,
|
||||
height: 550
|
||||
//tabs: [{navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description"}]
|
||||
height: 550,
|
||||
tabs: [{navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description"}]
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -44,7 +44,7 @@ Hooks.once("init", async function () {
|
||||
CONFIG.Combat.documentClass = HawkmoonCombat
|
||||
CONFIG.Actor.documentClass = HawkmoonActor
|
||||
CONFIG.Item.documentClass = HawkmoonItem
|
||||
game.system.hawkmosn = {
|
||||
game.system.hawkmoon = {
|
||||
HawkmoonUtility
|
||||
}
|
||||
|
||||
|
@ -121,6 +121,7 @@ export class HawkmoonUtility {
|
||||
const templatePaths = [
|
||||
'systems/fvtt-hawkmoon-cyd/templates/editor-notes-gm.html',
|
||||
'systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html',
|
||||
'systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.html',
|
||||
'systems/fvtt-hawkmoon-cyd/templates/partial-list-niveau.html'
|
||||
]
|
||||
return loadTemplates(templatePaths);
|
||||
|
0
packs/armes.db
Normal file
0
packs/equipement.db
Normal file
0
packs/heritages.db
Normal file
0
packs/metiers.db
Normal file
0
packs/origines.db
Normal file
0
packs/profils.db
Normal file
0
packs/protection.db
Normal file
0
packs/runes.db
Normal file
0
packs/skills.db
Normal file
0
packs/tables.db
Normal file
0
packs/talents.db
Normal file
0
packs/tendances.db
Normal file
0
packs/traits-chaotiques.db
Normal file
@ -434,7 +434,7 @@ section.sheet-body{padding: 0.25rem 0.5rem;}
|
||||
line-height: 1.5rem;
|
||||
border-top: 0 none;
|
||||
border-bottom: 0 none;
|
||||
background-color:black;
|
||||
background-color:#2e5561;
|
||||
color:beige;
|
||||
}
|
||||
|
||||
@ -1092,26 +1092,9 @@ ul, li {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.river-button {
|
||||
box-shadow: inset 0px 1px 0px 0px #a6827e;
|
||||
background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%);
|
||||
background-color: #7d5d3b00;
|
||||
border-radius: 3px;
|
||||
border: 2px ridge #846109;
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
color: #ffffff;
|
||||
font-size: 0.8rem;
|
||||
padding: 2px 4px 0px 4px;
|
||||
text-decoration: none;
|
||||
text-shadow: 0px 1px 0px #4d3534;
|
||||
position: relative;
|
||||
margin:4px;
|
||||
}
|
||||
|
||||
.chat-card-button {
|
||||
box-shadow: inset 0px 1px 0px 0px #a6827e;
|
||||
background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%);
|
||||
background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%);
|
||||
background-color: #7d5d3b00;
|
||||
border-radius: 3px;
|
||||
border: 2px ridge #846109;
|
||||
@ -1128,7 +1111,7 @@ ul, li {
|
||||
|
||||
.chat-card-button:hover {
|
||||
background: linear-gradient(to bottom, #800000 5%, #3e0101 100%);
|
||||
background-color: red;
|
||||
background-color: rgb(56, 33, 33);
|
||||
}
|
||||
.chat-card-button:active {
|
||||
position:relative;
|
||||
|
@ -8,7 +8,6 @@
|
||||
"biodata": {
|
||||
"name": "",
|
||||
"age": 0,
|
||||
"alignement": "",
|
||||
"poids": "",
|
||||
"taille": "",
|
||||
"cheveux": "",
|
||||
@ -17,6 +16,7 @@
|
||||
"description": "",
|
||||
"amemultiplier": 2,
|
||||
"notes": "",
|
||||
"statut": "",
|
||||
"gmnotes": ""
|
||||
}
|
||||
},
|
||||
|
@ -10,59 +10,32 @@
|
||||
<div class="flexrow">
|
||||
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow ">
|
||||
<label class="item-name-label competence-name item-field-label-short"><strong>Loi</strong></label>
|
||||
|
||||
<label class="item-name-label competence-name item-field-label-short">Niveau</label><input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
||||
name="system.balance.loi" value="{{data.balance.loi}}" data-dtype="Number" />
|
||||
|
||||
<label class="item-name-label competence-name item-field-label-short">Points</label>
|
||||
<select class="status-small-label color-class-common item-field-label-short" type="text"
|
||||
name="system.balance.pointsloi" value="{{data.balance.pointsloi}}" data-dtype="Number">
|
||||
{{#select data.balance.pointsloi}}
|
||||
{{> systems/fvtt-hawkmoon-cyd/templates/partial-list-niveau.html}}
|
||||
{{/select}}
|
||||
</select>
|
||||
|
||||
<label class="item-name-label competence-name item-field-label-medium">Aspect {{aspect}}</label>
|
||||
</li>
|
||||
|
||||
<li class="item flexrow ">
|
||||
<label class="item-name-label competence-name item-field-label-short"><strong>Chaos</strong></label>
|
||||
|
||||
<label class="item-name-label competence-name item-field-label-short">Niveau</label><input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
||||
name="system.balance.chaos" value="{{data.balance.chaos}}" data-dtype="Number" />
|
||||
|
||||
<label class="item-name-label competence-name item-field-label-short">Points</label><select class="status-small-label color-class-common item-field-label-short" type="text"
|
||||
name="system.balance.pointschaos" value="{{data.balance.pointschaos}}" data-dtype="Number">
|
||||
{{#select data.balance.pointschaos}}
|
||||
{{> systems/fvtt-hawkmoon-cyd/templates/partial-list-niveau.html}}
|
||||
{{/select}}
|
||||
</select>
|
||||
<label class="item-name-label competence-name item-field-label-medium">Marge {{marge}}</label>
|
||||
<h4 class="item-name-label competence-name">Profils</h4>
|
||||
<h4 class="item-name-label competence-name">Historique</h4>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="item flexrow ">
|
||||
<h4 class="item-name-label competence-name">Bonne Aventure</h4>
|
||||
<label class="item-name-label competence-name item-field-label-short">Base</label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
||||
name="system.bonneaventure.base" value="{{data.bonneaventure.base}}" data-dtype="Number" />
|
||||
name="system.bonneaventure.base" value="{{system.bonneaventure.base}}" data-dtype="Number" />
|
||||
<label class="item-name-label competence-name item-field-label-short">Actuelle</label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
||||
name="system.bonneaventure.actuelle" value="{{data.bonneaventure.actuelle}}" data-dtype="Number" />
|
||||
name="system.bonneaventure.actuelle" value="{{system.bonneaventure.actuelle}}" data-dtype="Number" />
|
||||
</li>
|
||||
|
||||
<li class="item flexrow ">
|
||||
<h4 class="item-name-label competence-name">Alignement {{alignement}}</h4>
|
||||
<h4 class="item-name-label competence-name item-field-label-short">Eclat</h4>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
||||
name="system.eclat.value" value="{{data.eclat.value}}" data-dtype="Number" />
|
||||
|
||||
<h4 class="item-name-label competence-name item-field-label-medium">Expérience</h4>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
||||
name="system.experience.value" value="{{data.experience.value}}" data-dtype="Number" />
|
||||
name="system.experience.value" value="{{system.experience.value}}" data-dtype="Number" />
|
||||
|
||||
</li>
|
||||
<h4 class="item-name-label competence-name item-field-label-medium">Eclat</h4>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
||||
name="system.eclat.value" value="{{system.eclat.value}}" data-dtype="Number" />
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@ -74,7 +47,6 @@
|
||||
<nav class="sheet-tabs tabs" data-group="primary">
|
||||
<a class="item" data-tab="principal">Attributs</a>
|
||||
<a class="item" data-tab="competences">Compétences</a>
|
||||
<a class="item" data-tab="dons">Dons/Pactes</a>
|
||||
<a class="item" data-tab="equipement">Equipement</a>
|
||||
<a class="item" data-tab="biodata">Bio&Notes</a>
|
||||
</nav>
|
||||
@ -89,7 +61,7 @@
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<ul class="item-list alternate-list">
|
||||
{{#each data.attributs as |attr key|}}
|
||||
{{#each system.attributs as |attr key|}}
|
||||
<li class="item flexrow " data-attr-key="{{key}}">
|
||||
<img class="item-name-img" src="systems/fvtt-hawkmoon-cyd/assets/icons/{{attr.labelnorm}}.webp">
|
||||
<span class="item-name-label competence-name item-field-label-medium"><a
|
||||
@ -110,17 +82,17 @@
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow">
|
||||
<label class="label-name">Bonus</label>
|
||||
<input type="text" class="input-numeric-short" name="system.sante.bonus" value="{{data.sante.bonus}}"
|
||||
<input type="text" class="input-numeric-short" name="system.sante.bonus" value="{{system.sante.bonus}}"
|
||||
data-dtype="Number" />
|
||||
<label class="label-name">Total</label>
|
||||
<label class="label-name">{{data.sante.base}}</label>
|
||||
<label class="label-name">{{system.sante.base}}</label>
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="label-name">Non létaux</label>
|
||||
<input type="text" class="input-numeric-short" name="system.sante.nonletaux"
|
||||
value="{{data.sante.nonletaux}}" data-dtype="Number" />
|
||||
value="{{system.sante.nonletaux}}" data-dtype="Number" />
|
||||
<label class="label-name">Létaux</label>
|
||||
<input type="text" class="input-numeric-short" name="system.sante.letaux" value="{{data.sante.letaux}}"
|
||||
<input type="text" class="input-numeric-short" name="system.sante.letaux" value="{{system.sante.letaux}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
</ul>
|
||||
@ -129,15 +101,15 @@
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow">
|
||||
<label class="label-name">Max</label>
|
||||
<input type="text" class="input-numeric-short" name="system.ame.fullmax" value="{{data.ame.fullmax}}"
|
||||
<input type="text" class="input-numeric-short" name="system.ame.fullmax" value="{{system.ame.fullmax}}"
|
||||
data-dtype="Number" />
|
||||
<label class="label-name">Max Actuel</label>
|
||||
<input type="text" class="input-numeric-short" name="system.ame.currentmax" value="{{data.ame.currentmax}}"
|
||||
data-dtype="Number" />
|
||||
<label class="label-name">Courante</label>
|
||||
<input type="text" class="input-numeric-short" name="system.ame.value" value="{{data.ame.value}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
<label class="label-name">Max Actuel</label>
|
||||
<input type="text" class="input-numeric-short" name="system.ame.currentmax"
|
||||
value="{{system.ame.currentmax}}" data-dtype="Number" />
|
||||
<label class="label-name">Courante</label>
|
||||
<input type="text" class="input-numeric-short" name="system.ame.value" value="{{system.ame.value}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h4 class="item-name-label competence-name">Combat</h4>
|
||||
@ -146,28 +118,28 @@
|
||||
<label class="competence-name">Initiative</label>
|
||||
<label class="competence-name">{{combat.initBase}}</label>
|
||||
<input type="text" class="input-numeric-short" name="system.combat.initbonus"
|
||||
value="{{data.combat.initbonus}}" data-dtype="Number" />
|
||||
value="{{system.combat.initbonus}}" data-dtype="Number" />
|
||||
<label class="competence-name">{{combat.initTotal}}</label>
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="competence-name">B. Dégats</label>
|
||||
<label class="competence-name">+{{combat.bonusDegats}}</label>
|
||||
<input type="text" class="input-numeric-short" name="system.combat.bonusdegats"
|
||||
value="{{data.combat.bonusdegats}}" data-dtype="Number" />
|
||||
value="{{system.combat.bonusdegats}}" data-dtype="Number" />
|
||||
<label class="competence-name">+{{combat.bonusDegatsTotal}}</label>
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="competence-name">Vitesse</label>
|
||||
<label class="competence-name">{{combat.vitesseBase}}</label>
|
||||
<input type="text" class="input-numeric-short" name="system.combat.vitessebonus"
|
||||
value="{{data.combat.vitessebonus}}" data-dtype="Number" />
|
||||
value="{{system.combat.vitessebonus}}" data-dtype="Number" />
|
||||
<label class="competence-name">{{combat.vitesseTotal}}</label>
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="competence-name">Défense</label>
|
||||
<label class="competence-name">{{combat.defenseBase}}</label>
|
||||
<input type="text" class="input-numeric-short" name="system.combat.defensebonus"
|
||||
value="{{data.combat.defensebonus}}" data-dtype="Number" />
|
||||
value="{{system.combat.defensebonus}}" data-dtype="Number" />
|
||||
<label class="competence-name">{{combat.defenseTotal}}</label>
|
||||
</li>
|
||||
</ul>
|
||||
@ -238,105 +210,6 @@
|
||||
|
||||
</div>
|
||||
|
||||
{{!-- Dons/Pactes Tab --}}
|
||||
<div class="tab dons" data-group="primary" data-tab="dons">
|
||||
|
||||
<div class="flexcol">
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow list-item items-title-bg">
|
||||
<span class="item-name-label-header">
|
||||
<h3><label class="items-title-text">Dons</label></h3>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Allégeance</label>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
</div>
|
||||
</li>
|
||||
{{#each dons as |don key|}}
|
||||
<li class="item flexrow " data-item-id="{{don._id}}" data-item-type="don">
|
||||
<img class="item-name-img" src="{{don.img}}" />
|
||||
<span class="item-name-label competence-name">{{don.name}}</span>
|
||||
<span class="item-field-label-short">{{don.system.allegeance}}</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow list-item items-title-bg">
|
||||
<span class="item-name-label-header">
|
||||
<h3><label class="items-title-text">Runes</label></h3>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Haut parler</label>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Difficulté</label>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
</div>
|
||||
</li>
|
||||
{{#each runes as |rune key|}}
|
||||
<li class="item flexrow " data-item-id="{{rune._id}}" data-item-type="rune">
|
||||
<img class="item-name-img" src="{{rune.img}}" />
|
||||
<span class="item-name-label competence-name"><a class="roll-rune">{{rune.name}}</a></span>
|
||||
<span class="item-field-label-short">{{rune.system.formule}}</span>
|
||||
<span class="item-field-label-short">{{rune.system.seuil}}</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow list-item items-title-bg">
|
||||
<span class="item-name-label-header">
|
||||
<h3><label class="items-title-text">Tendances</label></h3>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Allégeance</label>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
</div>
|
||||
</li>
|
||||
{{#each tendances as |tendance key|}}
|
||||
<li class="item flexrow " data-item-id="{{tendance._id}}" data-item-type="tendance">
|
||||
<img class="item-name-img" src="{{tendance.img}}" />
|
||||
<span class="item-name-label competence-name">{{tendance.name}}</span>
|
||||
<span class="item-field-label-short">{{tendance.system.allegeance}}</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
{{!-- Equipement Tab --}}
|
||||
<div class="tab equipement" data-group="primary" data-tab="equipement">
|
||||
|
||||
@ -370,30 +243,31 @@
|
||||
|
||||
<span class="item-field-label-short">
|
||||
{{#if arme.system.equipped}}
|
||||
<button class="roll-arme-offensif button-sheet-roll" >{{arme.system.totalOffensif}}</button>
|
||||
<button class="roll-arme-offensif button-sheet-roll">{{arme.system.totalOffensif}}</button>
|
||||
{{else}}
|
||||
<button disabled class="roll-arme-offensif button-sheet-roll" >{{arme.system.totalOffensif}}</button>
|
||||
<button disabled class="roll-arme-offensif button-sheet-roll">{{arme.system.totalOffensif}}</button>
|
||||
{{/if}}
|
||||
</span>
|
||||
|
||||
{{#if arme.system.isdefense}}
|
||||
<span class="item-field-label-short arme-defensif"><label class="arme-defensif">{{arme.system.totalDefensif}}</label></span>
|
||||
<span class="item-field-label-short arme-defensif"><label
|
||||
class="arme-defensif">{{arme.system.totalDefensif}}</label></span>
|
||||
{{else}}
|
||||
<span class="item-field-label-short arme-defensif"><label class="arme-defensif">-</label></span>
|
||||
{{/if}}
|
||||
|
||||
<span class="item-field-label-short">
|
||||
{{#if arme.system.equipped}}
|
||||
<button class="roll-arme-degats button-sheet-roll">{{arme.system.totalDegats}}</button>
|
||||
{{else}}
|
||||
<button disabled class="roll-arme-degats button-sheet-roll">{{arme.system.totalDegats}}</button>
|
||||
{{/if}}
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
{{#if arme.system.equipped}}
|
||||
<button class="roll-arme-degats button-sheet-roll">{{arme.system.totalDegats}}</button>
|
||||
{{else}}
|
||||
<button disabled class="roll-arme-degats button-sheet-roll">{{arme.system.totalDegats}}</button>
|
||||
{{/if}}
|
||||
</span>
|
||||
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-equip" title="Worn">{{#if arme.system.equipped}}<i
|
||||
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
||||
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
@ -496,8 +370,8 @@
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Multiplicateur d'âme</label>
|
||||
<input type="text" class="" name="system.biodata.amemultiplier" value="{{data.biodata.amemultiplier}}"
|
||||
data-dtype="Number" />
|
||||
<input type="text" class="" name="system.biosystem.amemultiplier"
|
||||
value="{{system.biosystem.amemultiplier}}" data-dtype="Number" />
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -506,19 +380,23 @@
|
||||
<ul>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Sexe</label>
|
||||
<input type="text" class="" name="system.biodata.sex" value="{{data.biodata.sex}}" data-dtype="String" />
|
||||
<input type="text" class="" name="system.biosystem.sex" value="{{system.biosystem.sex}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">Age</label>
|
||||
<input type="text" class="" name="system.biodata.age" value="{{data.biodata.age}}" data-dtype="String" />
|
||||
<input type="text" class="" name="system.biosystem.age" value="{{system.biosystem.age}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">Taille</label>
|
||||
<input type="text" class="" name="system.biodata.size" value="{{data.biodata.size}}" data-dtype="String" />
|
||||
<input type="text" class="" name="system.biosystem.size" value="{{system.biosystem.size}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">Cheveux</label>
|
||||
<input type="text" class="" name="system.biodata.hair" value="{{data.biodata.hair}}" data-dtype="String" />
|
||||
<input type="text" class="" name="system.biosystem.hair" value="{{system.biosystem.hair}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -526,16 +404,17 @@
|
||||
<div>
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">Yeux</label>
|
||||
<input type="text" class="" name="system.biodata.eyes" value="{{data.biodata.eyes}}" data-dtype="String" />
|
||||
<input type="text" class="" name="system.biosystem.eyes" value="{{system.biosystem.eyes}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Main préférée</label>
|
||||
<input type="text" class="" name="system.biodata.preferredhand" value="{{data.biodata.preferredhand}}"
|
||||
<input type="text" class="" name="system.biosystem.preferredhand" value="{{system.biosystem.preferredhand}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Poids</label>
|
||||
<input type="text" class="" name="system.biodata.weight" value="{{data.biodata.weight}}"
|
||||
<input type="text" class="" name="system.biosystem.weight" value="{{system.biosystem.weight}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
</div>
|
||||
@ -545,7 +424,7 @@
|
||||
<h3>Description</h3>
|
||||
</span>
|
||||
<div class="medium-editor item-text-long-line">
|
||||
{{editor description target="system.biodata.description" button=true owner=owner editable=editable}}
|
||||
{{editor description target="system.biosystem.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
@ -6,82 +6,86 @@
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.html}}
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Niveau </label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
||||
name="system.niveau" value="{{system.niveau}}" data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Attribut 1 </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.attribut1"
|
||||
value="{{system.attribut1}}" data-dtype="string">
|
||||
{{#select system.attribut1}}
|
||||
{{#each attributs as |attrLabel attrKey|}}
|
||||
<option value="{{attrKey}}">{{attrLabel}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Attribut 2 </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.attribut2"
|
||||
value="{{system.attribut2}}" data-dtype="string">
|
||||
<option value="none">Aucun</option>
|
||||
{{#select system.attribut2}}
|
||||
{{#each attributs as |attrLabel attrKey|}}
|
||||
<option value="{{attrKey}}">{{attrLabel}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Attribut 3 </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.attribut3"
|
||||
value="{{system.attribut3}}" data-dtype="string">
|
||||
<option value="none">Aucun</option>
|
||||
{{#select system.attribut3}}
|
||||
{{#each attributs as |attrLabel attrKey|}}
|
||||
<option value="{{attrKey}}">{{attrLabel}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<h3>Prédilections</h3>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<ul>
|
||||
{{#each system.predilections as |predilection key|}}
|
||||
<li class="prediction-item item flexrow" data-prediction-index="{{key}}">
|
||||
<input type="text" class="padd-right color-class-common edit-predilection"
|
||||
name="system.predilections[{{key}}]" value="{{predilection.name}}" data-dtype="String" />
|
||||
</li>
|
||||
<li class="prediction-item item flexrow" data-prediction-index="{{key}}">
|
||||
<textarea row="4" type="text" class="padd-right color-class-common edit-predilection-description"
|
||||
name="system.predilections[{{key}}]" value="{{predilection.description}}" data-dtype="String"></textarea>
|
||||
</li>
|
||||
<li class="prediction-item item flexrow" data-prediction-index="{{key}}">
|
||||
<label class="generic-label">Maitrise ? <input class="predilection-maitrise" type="checkbox"
|
||||
name="predilection.maitrise" {{checked predilection.maitrise}} /></label>
|
||||
<label class="generic-label">Utilisée ? <input class="use-predilection" type="checkbox"
|
||||
name="predilection.used" {{checked predilection.used}} /></label>
|
||||
<a class="item-control delete-prediction" title="Supprimer une predilection"><i
|
||||
class="fas fa-trash"></i></a>
|
||||
</li>
|
||||
<hr>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<li class="flexrow item">
|
||||
<button id="add-predilection" class="chat-card-button">Ajouter une prédilection</button>
|
||||
</li>
|
||||
</ul>
|
||||
{{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}}
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Niveau </label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
||||
name="system.niveau" value="{{system.niveau}}" data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Attribut 1 </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.attribut1"
|
||||
value="{{system.attribut1}}" data-dtype="string">
|
||||
{{#select system.attribut1}}
|
||||
{{#each attributs as |attrLabel attrKey|}}
|
||||
<option value="{{attrKey}}">{{attrLabel}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Attribut 2 </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.attribut2"
|
||||
value="{{system.attribut2}}" data-dtype="string">
|
||||
<option value="none">Aucun</option>
|
||||
{{#select system.attribut2}}
|
||||
{{#each attributs as |attrLabel attrKey|}}
|
||||
<option value="{{attrKey}}">{{attrLabel}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Attribut 3 </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.attribut3"
|
||||
value="{{system.attribut3}}" data-dtype="string">
|
||||
<option value="none">Aucun</option>
|
||||
{{#select system.attribut3}}
|
||||
{{#each attributs as |attrLabel attrKey|}}
|
||||
<option value="{{attrKey}}">{{attrLabel}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<h3>Prédilections</h3>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<ul>
|
||||
{{#each system.predilections as |predilection key|}}
|
||||
<li class="prediction-item item flexrow" data-prediction-index="{{key}}">
|
||||
<input type="text" class="padd-right color-class-common edit-predilection"
|
||||
name="system.predilections[{{key}}]" value="{{predilection.name}}" data-dtype="String" />
|
||||
</li>
|
||||
<li class="prediction-item item flexrow" data-prediction-index="{{key}}">
|
||||
<textarea row="4" type="text" class="padd-right color-class-common edit-predilection-description"
|
||||
name="system.predilections[{{key}}]" value="{{predilection.description}}" data-dtype="String"></textarea>
|
||||
</li>
|
||||
<li class="prediction-item item flexrow" data-prediction-index="{{key}}">
|
||||
<label class="generic-label">Maitrise ? <input class="predilection-maitrise" type="checkbox"
|
||||
name="predilection.maitrise" {{checked predilection.maitrise}} /></label>
|
||||
<label class="generic-label">Utilisée ? <input class="use-predilection" type="checkbox"
|
||||
name="predilection.used" {{checked predilection.used}} /></label>
|
||||
<a class="item-control delete-prediction" title="Supprimer une predilection"><i
|
||||
class="fas fa-trash"></i></a>
|
||||
</li>
|
||||
<hr>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<li class="flexrow item">
|
||||
<button id="add-predilection" class="chat-card-button">Ajouter une prédilection</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
@ -1,14 +1,19 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||
</div>
|
||||
</header>
|
||||
<header class="sheet-header">
|
||||
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}" />
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.html}}
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}}
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Bonus/Malus </label>
|
||||
@ -17,11 +22,8 @@
|
||||
<input type="text" class="padd-right status-small-label color-class-common" name="system.bonusmalus"
|
||||
value="{{system.bonusmalus}}" data-dtype="String" />
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
{{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}}
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
|
||||
</section>
|
||||
</form>
|
@ -6,88 +6,89 @@
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.html}}
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Exemples : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<input type="text" class="padd-right status-small-label color-class-common" name="system.exemples"
|
||||
value="{{system.exemples}}" data-dtype="String" />
|
||||
</li>
|
||||
<li class="flexrow items">
|
||||
<label class="generic-label item-field-label-long">Attribut principal 1 </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long"" type="text" name="system.attribut1"
|
||||
value="{{system.attribut1}}" data-dtype="string">
|
||||
{{#select system.attribut1}}
|
||||
{{#each attributs as |attrLabel attrKey|}}
|
||||
<option value="{{attrKey}}">{{attrLabel}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow item ">
|
||||
<label class="generic-label item-field-label-long">Attribut principal 2 </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long"" type="text" name="system.attribut2"
|
||||
value="{{system.attribut2}}" data-dtype="string">
|
||||
<option value="none">Aucun</option>
|
||||
{{#select system.attribut2}}
|
||||
{{#each attributs as |attrLabel attrKey|}}
|
||||
<option value="{{attrKey}}">{{attrLabel}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
{{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}}
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Talents Initié : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<textarea type="text" rows="4" class="padd-right status-small-label color-class-common"
|
||||
name="system.talentsinitie" value="{{system.talentsinitie}}" data-dtype="String"></textarea>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Prérequis Aguerri : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<input type="text" class="padd-right status-small-label color-class-common" name="system.prerequisaguerri"
|
||||
value="{{system.prerequisaguerri}}" data-dtype="String" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Talents Aguerri : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<textarea row="4" type="text" class="padd-right status-small-label color-class-common"
|
||||
name="system.talentsaguerri" value="{{system.talentsaguerri}}" data-dtype="String"></textarea>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Prérequis Maître : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<input type="text" class="padd-right status-small-label color-class-common" name="system.prerequismaitre"
|
||||
value="{{system.prerequismaitre}}" data-dtype="String" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Talents Maître : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<textarea row="4" type="text" class="padd-right status-small-label color-class-common"
|
||||
name="system.talentsmaitre" value="{{system.talentsmaitre}}" data-dtype="String"></textarea>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Equipement : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<input type="text" class="padd-right status-small-label color-class-common" name="system.equipement"
|
||||
value="{{system.equipement}}" data-dtype="String" />
|
||||
</li>
|
||||
</ul>
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Exemples : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<input type="text" class="padd-right status-small-label color-class-common" name="system.exemples"
|
||||
value="{{system.exemples}}" data-dtype="String" />
|
||||
</li>
|
||||
<li class="flexrow items">
|
||||
<label class="generic-label item-field-label-long">Attribut principal 1 </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long"" type=" text"
|
||||
name="system.attribut1" value="{{system.attribut1}}" data-dtype="string">
|
||||
{{#select system.attribut1}}
|
||||
{{#each attributs as |attrLabel attrKey|}}
|
||||
<option value="{{attrKey}}">{{attrLabel}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow item ">
|
||||
<label class="generic-label item-field-label-long">Attribut principal 2 </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long"" type=" text"
|
||||
name="system.attribut2" value="{{system.attribut2}}" data-dtype="string">
|
||||
<option value="none">Aucun</option>
|
||||
{{#select system.attribut2}}
|
||||
{{#each attributs as |attrLabel attrKey|}}
|
||||
<option value="{{attrKey}}">{{attrLabel}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
</div>
|
||||
<div class="flexcol">
|
||||
{{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}}
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Talents Initié : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<textarea type="text" rows="4" class="padd-right status-small-label color-class-common"
|
||||
name="system.talentsinitie" value="{{system.talentsinitie}}" data-dtype="String"></textarea>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Prérequis Aguerri : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<input type="text" class="padd-right status-small-label color-class-common" name="system.prerequisaguerri"
|
||||
value="{{system.prerequisaguerri}}" data-dtype="String" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Talents Aguerri : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<textarea row="4" type="text" class="padd-right status-small-label color-class-common"
|
||||
name="system.talentsaguerri" value="{{system.talentsaguerri}}" data-dtype="String"></textarea>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Prérequis Maître : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<input type="text" class="padd-right status-small-label color-class-common" name="system.prerequismaitre"
|
||||
value="{{system.prerequismaitre}}" data-dtype="String" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Talents Maître : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<textarea row="4" type="text" class="padd-right status-small-label color-class-common"
|
||||
name="system.talentsmaitre" value="{{system.talentsmaitre}}" data-dtype="String"></textarea>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Equipement : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<input type="text" class="padd-right status-small-label color-class-common" name="system.equipement"
|
||||
value="{{system.equipement}}" data-dtype="String" />
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
<span>
|
||||
<h3>Description</h3>
|
||||
</span>
|
||||
<div class="medium-editor item-text-long-line">
|
||||
{{editor description target="system.description" button=true owner=owner editable=editable}}
|
||||
<div class="tab description" data-group="primary" data-tab="description">
|
||||
<div class="editor">
|
||||
{{editor description target="system.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
|
5
templates/partial-item-nav.html
Normal file
@ -0,0 +1,5 @@
|
||||
{{!-- Sheet Tab Navigation --}}
|
||||
<nav class="sheet-tabs tabs" data-group="primary">
|
||||
<a class="item" data-tab="description">Description</a>
|
||||
<a class="item" data-tab="details">Details</a>
|
||||
</nav>
|