New icons

This commit is contained in:
sladecraven 2022-10-23 21:26:18 +02:00
parent 12c2c46724
commit 6ce07c51a4
36 changed files with 256 additions and 463 deletions

BIN
assets/icons/adresse.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

BIN
assets/icons/notoriete.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

BIN
assets/icons/presence.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
assets/icons/puissance.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

BIN
assets/icons/reseau.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

BIN
assets/icons/trempe.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

View File

@ -41,15 +41,9 @@ export class HawkmoonActorSheet extends ActorSheet {
skills: this.actor.getSkills(), skills: this.actor.getSkills(),
armes: duplicate(this.actor.getWeapons()), armes: duplicate(this.actor.getWeapons()),
protections: duplicate(this.actor.getArmors()), protections: duplicate(this.actor.getArmors()),
dons: duplicate(this.actor.getDons()), historique: duplicate(this.actor.getHistorique() || {}),
alignement: this.actor.getAlignement(), talents: duplicate(this.actor.getTalents() || {}),
aspect: this.actor.getAspect(), profils: duplicate(this.actor.getProfil() || {}),
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() || {}),
combat: this.actor.getCombatValues(), combat: this.actor.getCombatValues(),
equipements: duplicate(this.actor.getEquipments()), equipements: duplicate(this.actor.getEquipments()),
description: await TextEditor.enrichHTML(this.object.system.biodata.description, {async: true}), description: await TextEditor.enrichHTML(this.object.system.biodata.description, {async: true}),

View File

@ -71,20 +71,6 @@ export class HawkmoonActor extends Actor {
} }
return arme 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() { getWeapons() {
let armes = [] let armes = []
@ -99,17 +85,6 @@ export class HawkmoonActor extends Actor {
return armes 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() { getEquipments() {
return this.items.filter(item => item.type == "equipement") return this.items.filter(item => item.type == "equipement")
@ -118,14 +93,14 @@ export class HawkmoonActor extends Actor {
getArmors() { getArmors() {
return this.items.filter(item => item.type == "protection") return this.items.filter(item => item.type == "protection")
} }
getOrigine() { getHistorique() {
return this.items.find(item => item.type == "origine") return this.items.find(item => item.type == "historique")
} }
getMetier() { getProfil() {
return this.items.find(item => item.type == "metier") return this.items.find(item => item.type == "profil")
} }
getHeritage() { getTalents() {
return this.items.find(item => item.type == "heritage") return this.items.find(item => item.type == "talent")
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
getSkills() { 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() { getDefenseBase() {
return this.system.attributs.tre.value + 5 return this.system.attributs.tre.value
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
@ -209,14 +173,7 @@ export class HawkmoonActor extends Actor {
prepareDerivedData() { prepareDerivedData() {
if (this.type == 'personnage') { if (this.type == 'personnage') {
let newSante = this.system.sante.bonus + (this.system.attributs.pui.value + this.system.attributs.tre.value) * 2 + 5 // TODO
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 })
}
} }
super.prepareDerivedData() super.prepareDerivedData()
@ -285,21 +242,6 @@ export class HawkmoonActor extends Actor {
this.update({ 'system.eclat.value': newE }) 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) { compareName(a, b) {
if (a.name < b.name) { if (a.name < b.name) {
@ -408,14 +350,14 @@ export class HawkmoonActor extends Actor {
rollData.actorImg = this.img rollData.actorImg = this.img
rollData.actorId = this.id rollData.actorId = this.id
rollData.img = this.img rollData.img = this.img
rollData.canEclatDoubleD20 = this.canEclatDoubleD20() rollData.canEclatDoubleD20 = true
rollData.doubleD20 = false rollData.doubleD20 = false
rollData.attributs = HawkmoonUtility.getAttributs() rollData.attributs = HawkmoonUtility.getAttributs()
if (attrKey) { if (attrKey) {
rollData.attrKey = attrKey rollData.attrKey = attrKey
if (attrKey != "tochoose") { 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]) rollData.attr = duplicate(this.system.attributs[attrKey])
} }
} }
@ -445,23 +387,6 @@ export class HawkmoonActor extends Actor {
rollDialog.render(true) 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) { async rollArmeOffensif(armeId) {
let arme = this.items.get(armeId) let arme = this.items.get(armeId)

View File

@ -14,8 +14,8 @@ export class HawkmoonItemSheet extends ItemSheet {
template: "systems/fvtt-hawkmoon-cyd/templates/item-sheet.html", template: "systems/fvtt-hawkmoon-cyd/templates/item-sheet.html",
dragDrop: [{ dragSelector: null, dropSelector: null }], dragDrop: [{ dragSelector: null, dropSelector: null }],
width: 620, width: 620,
height: 550 height: 550,
//tabs: [{navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description"}] tabs: [{navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description"}]
}); });
} }

View File

@ -44,7 +44,7 @@ Hooks.once("init", async function () {
CONFIG.Combat.documentClass = HawkmoonCombat CONFIG.Combat.documentClass = HawkmoonCombat
CONFIG.Actor.documentClass = HawkmoonActor CONFIG.Actor.documentClass = HawkmoonActor
CONFIG.Item.documentClass = HawkmoonItem CONFIG.Item.documentClass = HawkmoonItem
game.system.hawkmosn = { game.system.hawkmoon = {
HawkmoonUtility HawkmoonUtility
} }

View File

@ -121,6 +121,7 @@ export class HawkmoonUtility {
const templatePaths = [ const templatePaths = [
'systems/fvtt-hawkmoon-cyd/templates/editor-notes-gm.html', '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-description.html',
'systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.html',
'systems/fvtt-hawkmoon-cyd/templates/partial-list-niveau.html' 'systems/fvtt-hawkmoon-cyd/templates/partial-list-niveau.html'
] ]
return loadTemplates(templatePaths); return loadTemplates(templatePaths);

0
packs/armes.db Normal file
View File

0
packs/equipement.db Normal file
View File

0
packs/heritages.db Normal file
View File

0
packs/metiers.db Normal file
View File

0
packs/origines.db Normal file
View File

0
packs/profils.db Normal file
View File

0
packs/protection.db Normal file
View File

0
packs/runes.db Normal file
View File

0
packs/skills.db Normal file
View File

0
packs/tables.db Normal file
View File

0
packs/talents.db Normal file
View File

0
packs/tendances.db Normal file
View File

View File

View File

@ -434,7 +434,7 @@ section.sheet-body{padding: 0.25rem 0.5rem;}
line-height: 1.5rem; line-height: 1.5rem;
border-top: 0 none; border-top: 0 none;
border-bottom: 0 none; border-bottom: 0 none;
background-color:black; background-color:#2e5561;
color:beige; color:beige;
} }
@ -1092,26 +1092,9 @@ ul, li {
opacity: 1; 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 { .chat-card-button {
box-shadow: inset 0px 1px 0px 0px #a6827e; 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; background-color: #7d5d3b00;
border-radius: 3px; border-radius: 3px;
border: 2px ridge #846109; border: 2px ridge #846109;
@ -1128,7 +1111,7 @@ ul, li {
.chat-card-button:hover { .chat-card-button:hover {
background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); background: linear-gradient(to bottom, #800000 5%, #3e0101 100%);
background-color: red; background-color: rgb(56, 33, 33);
} }
.chat-card-button:active { .chat-card-button:active {
position:relative; position:relative;

View File

@ -8,7 +8,6 @@
"biodata": { "biodata": {
"name": "", "name": "",
"age": 0, "age": 0,
"alignement": "",
"poids": "", "poids": "",
"taille": "", "taille": "",
"cheveux": "", "cheveux": "",
@ -17,6 +16,7 @@
"description": "", "description": "",
"amemultiplier": 2, "amemultiplier": 2,
"notes": "", "notes": "",
"statut": "",
"gmnotes": "" "gmnotes": ""
} }
}, },

View File

@ -10,59 +10,32 @@
<div class="flexrow"> <div class="flexrow">
<ul class="item-list alternate-list"> <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 "> <li class="item flexrow ">
<label class="item-name-label competence-name item-field-label-short"><strong>Chaos</strong></label> <h4 class="item-name-label competence-name">Profils</h4>
<h4 class="item-name-label competence-name">Historique</h4>
<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>
</li> </li>
<li class="item flexrow "> <li class="item flexrow ">
<h4 class="item-name-label competence-name">Bonne Aventure</h4> <h4 class="item-name-label competence-name">Bonne Aventure</h4>
<label class="item-name-label competence-name item-field-label-short">Base</label> <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" <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> <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" <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>
<li class="item flexrow "> <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> <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" <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> </ul>
</div> </div>
@ -74,7 +47,6 @@
<nav class="sheet-tabs tabs" data-group="primary"> <nav class="sheet-tabs tabs" data-group="primary">
<a class="item" data-tab="principal">Attributs</a> <a class="item" data-tab="principal">Attributs</a>
<a class="item" data-tab="competences">Compétences</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="equipement">Equipement</a>
<a class="item" data-tab="biodata">Bio&Notes</a> <a class="item" data-tab="biodata">Bio&Notes</a>
</nav> </nav>
@ -89,7 +61,7 @@
<div class="sheet-box color-bg-archetype"> <div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list"> <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}}"> <li class="item flexrow " data-attr-key="{{key}}">
<img class="item-name-img" src="systems/fvtt-hawkmoon-cyd/assets/icons/{{attr.labelnorm}}.webp"> <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 <span class="item-name-label competence-name item-field-label-medium"><a
@ -110,17 +82,17 @@
<ul class="item-list alternate-list"> <ul class="item-list alternate-list">
<li class="item flexrow"> <li class="item flexrow">
<label class="label-name">Bonus</label> <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" /> data-dtype="Number" />
<label class="label-name">Total</label> <label class="label-name">Total</label>
<label class="label-name">{{data.sante.base}}</label> <label class="label-name">{{system.sante.base}}</label>
</li> </li>
<li class="item flexrow"> <li class="item flexrow">
<label class="label-name">Non létaux</label> <label class="label-name">Non létaux</label>
<input type="text" class="input-numeric-short" name="system.sante.nonletaux" <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> <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" /> data-dtype="Number" />
</li> </li>
</ul> </ul>
@ -129,15 +101,15 @@
<ul class="item-list alternate-list"> <ul class="item-list alternate-list">
<li class="item flexrow"> <li class="item flexrow">
<label class="label-name">Max</label> <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" /> data-dtype="Number" />
<label class="label-name">Max Actuel</label> <label class="label-name">Max Actuel</label>
<input type="text" class="input-numeric-short" name="system.ame.currentmax" value="{{data.ame.currentmax}}" <input type="text" class="input-numeric-short" name="system.ame.currentmax"
data-dtype="Number" /> value="{{system.ame.currentmax}}" data-dtype="Number" />
<label class="label-name">Courante</label> <label class="label-name">Courante</label>
<input type="text" class="input-numeric-short" name="system.ame.value" value="{{data.ame.value}}" <input type="text" class="input-numeric-short" name="system.ame.value" value="{{system.ame.value}}"
data-dtype="Number" /> data-dtype="Number" />
</li> </li>
</ul> </ul>
<h4 class="item-name-label competence-name">Combat</h4> <h4 class="item-name-label competence-name">Combat</h4>
@ -146,28 +118,28 @@
<label class="competence-name">Initiative</label> <label class="competence-name">Initiative</label>
<label class="competence-name">{{combat.initBase}}</label> <label class="competence-name">{{combat.initBase}}</label>
<input type="text" class="input-numeric-short" name="system.combat.initbonus" <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> <label class="competence-name">{{combat.initTotal}}</label>
</li> </li>
<li class="item flexrow"> <li class="item flexrow">
<label class="competence-name">B. Dégats</label> <label class="competence-name">B. Dégats</label>
<label class="competence-name">+{{combat.bonusDegats}}</label> <label class="competence-name">+{{combat.bonusDegats}}</label>
<input type="text" class="input-numeric-short" name="system.combat.bonusdegats" <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> <label class="competence-name">+{{combat.bonusDegatsTotal}}</label>
</li> </li>
<li class="item flexrow"> <li class="item flexrow">
<label class="competence-name">Vitesse</label> <label class="competence-name">Vitesse</label>
<label class="competence-name">{{combat.vitesseBase}}</label> <label class="competence-name">{{combat.vitesseBase}}</label>
<input type="text" class="input-numeric-short" name="system.combat.vitessebonus" <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> <label class="competence-name">{{combat.vitesseTotal}}</label>
</li> </li>
<li class="item flexrow"> <li class="item flexrow">
<label class="competence-name">Défense</label> <label class="competence-name">Défense</label>
<label class="competence-name">{{combat.defenseBase}}</label> <label class="competence-name">{{combat.defenseBase}}</label>
<input type="text" class="input-numeric-short" name="system.combat.defensebonus" <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> <label class="competence-name">{{combat.defenseTotal}}</label>
</li> </li>
</ul> </ul>
@ -238,105 +210,6 @@
</div> </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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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 --}} {{!-- Equipement Tab --}}
<div class="tab equipement" data-group="primary" data-tab="equipement"> <div class="tab equipement" data-group="primary" data-tab="equipement">
@ -370,30 +243,31 @@
<span class="item-field-label-short"> <span class="item-field-label-short">
{{#if arme.system.equipped}} {{#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}} {{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}} {{/if}}
</span> </span>
{{#if arme.system.isdefense}} {{#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}} {{else}}
<span class="item-field-label-short arme-defensif"><label class="arme-defensif">-</label></span> <span class="item-field-label-short arme-defensif"><label class="arme-defensif">-</label></span>
{{/if}} {{/if}}
<span class="item-field-label-short"> <span class="item-field-label-short">
{{#if arme.system.equipped}} {{#if arme.system.equipped}}
<button class="roll-arme-degats button-sheet-roll">{{arme.system.totalDegats}}</button> <button class="roll-arme-degats button-sheet-roll">{{arme.system.totalDegats}}</button>
{{else}} {{else}}
<button disabled class="roll-arme-degats button-sheet-roll">{{arme.system.totalDegats}}</button> <button disabled class="roll-arme-degats button-sheet-roll">{{arme.system.totalDegats}}</button>
{{/if}} {{/if}}
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-equip" title="Worn">{{#if arme.system.equipped}}<i <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-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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
@ -496,8 +370,8 @@
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="generic-label">Multiplicateur d'âme</label> <label class="generic-label">Multiplicateur d'âme</label>
<input type="text" class="" name="system.biodata.amemultiplier" value="{{data.biodata.amemultiplier}}" <input type="text" class="" name="system.biosystem.amemultiplier"
data-dtype="Number" /> value="{{system.biosystem.amemultiplier}}" data-dtype="Number" />
</li> </li>
</ul> </ul>
</div> </div>
@ -506,19 +380,23 @@
<ul> <ul>
<li class="flexrow item"> <li class="flexrow item">
<label class="generic-label">Sexe</label> <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>
<li class="item flexrow"> <li class="item flexrow">
<label class="generic-label">Age</label> <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>
<li class="item flexrow"> <li class="item flexrow">
<label class="generic-label">Taille</label> <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>
<li class="item flexrow"> <li class="item flexrow">
<label class="generic-label">Cheveux</label> <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> </li>
</ul> </ul>
</div> </div>
@ -526,16 +404,17 @@
<div> <div>
<li class="item flexrow"> <li class="item flexrow">
<label class="generic-label">Yeux</label> <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>
<li class="flexrow item"> <li class="flexrow item">
<label class="generic-label">Main préférée</label> <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" /> data-dtype="String" />
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="generic-label">Poids</label> <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" /> data-dtype="String" />
</li> </li>
</div> </div>
@ -545,7 +424,7 @@
<h3>Description</h3> <h3>Description</h3>
</span> </span>
<div class="medium-editor item-text-long-line"> <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>
</div> </div>

View File

@ -6,82 +6,86 @@
</div> </div>
</header> </header>
{{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.html}}
{{!-- Sheet Body --}} {{!-- Sheet Body --}}
<section class="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}} {{> 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> </div>
</section> </section>

View File

@ -1,14 +1,19 @@
<form class="{{cssClass}}" autocomplete="off"> <form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header"> <header class="sheet-header">
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/> <img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}" />
<div class="header-fields"> <div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1> <h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
</div> </div>
</header> </header>
{{!-- Sheet Body --}} {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.html}}
<section class="sheet-body">
{{!-- 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"> <ul class="item-list alternate-list">
<li class="flexrow item"> <li class="flexrow item">
<label class="generic-label">Bonus/Malus </label> <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" <input type="text" class="padd-right status-small-label color-class-common" name="system.bonusmalus"
value="{{system.bonusmalus}}" data-dtype="String" /> value="{{system.bonusmalus}}" data-dtype="String" />
</li> </li>
</ul> </ul>
{{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}}
</div> </div>
</section> </section>
</form> </form>

View File

@ -6,88 +6,89 @@
</div> </div>
</header> </header>
{{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.html}}
{{!-- Sheet Body --}} {{!-- Sheet Body --}}
<section class="sheet-body"> <section class="sheet-body">
<ul class="item-list alternate-list"> {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}}
<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>
<li class="flexrow item"> <div class="tab details" data-group="primary" data-tab="details">
<label class="generic-label">Talents Initié : </label> <ul class="item-list alternate-list">
</li> <li class="flexrow item">
<li class="flexrow item"> <label class="generic-label">Exemples : </label>
<textarea type="text" rows="4" class="padd-right status-small-label color-class-common" </li>
name="system.talentsinitie" value="{{system.talentsinitie}}" data-dtype="String"></textarea> <li class="flexrow item">
</li> <input type="text" class="padd-right status-small-label color-class-common" name="system.exemples"
<li class="flexrow item"> value="{{system.exemples}}" data-dtype="String" />
<label class="generic-label">Prérequis Aguerri : </label> </li>
</li> <li class="flexrow items">
<li class="flexrow item"> <label class="generic-label item-field-label-long">Attribut principal 1 </label>
<input type="text" class="padd-right status-small-label color-class-common" name="system.prerequisaguerri" <select class="status-small-label color-class-common item-field-label-long"" type=" text"
value="{{system.prerequisaguerri}}" data-dtype="String" /> name="system.attribut1" value="{{system.attribut1}}" data-dtype="string">
</li> {{#select system.attribut1}}
<li class="flexrow item"> {{#each attributs as |attrLabel attrKey|}}
<label class="generic-label">Talents Aguerri : </label> <option value="{{attrKey}}">{{attrLabel}}</option>
</li> {{/each}}
<li class="flexrow item"> {{/select}}
<textarea row="4" type="text" class="padd-right status-small-label color-class-common" </select>
name="system.talentsaguerri" value="{{system.talentsaguerri}}" data-dtype="String"></textarea> </li>
</li> <li class="flexrow item ">
<li class="flexrow item"> <label class="generic-label item-field-label-long">Attribut principal 2 </label>
<label class="generic-label">Prérequis Maître : </label> <select class="status-small-label color-class-common item-field-label-long"" type=" text"
</li> name="system.attribut2" value="{{system.attribut2}}" data-dtype="string">
<li class="flexrow item"> <option value="none">Aucun</option>
<input type="text" class="padd-right status-small-label color-class-common" name="system.prerequismaitre" {{#select system.attribut2}}
value="{{system.prerequismaitre}}" data-dtype="String" /> {{#each attributs as |attrLabel attrKey|}}
</li> <option value="{{attrKey}}">{{attrLabel}}</option>
<li class="flexrow item"> {{/each}}
<label class="generic-label">Talents Maître : </label> {{/select}}
</li> </select>
<li class="flexrow item"> </li>
<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> <li class="flexrow item">
<div class="flexcol"> <label class="generic-label">Talents Initié : </label>
{{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}} </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> </div>

View File

@ -1,6 +1,5 @@
<span> <div class="tab description" data-group="primary" data-tab="description">
<h3>Description</h3> <div class="editor">
</span> {{editor description target="system.description" button=true owner=owner editable=editable}}
<div class="medium-editor item-text-long-line">
{{editor description target="system.description" button=true owner=owner editable=editable}}
</div> </div>
</div>

View 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>