Merge pull request 'Petits fixes suite à tests' (#552) from VincentVk/foundryvtt-reve-de-dragon:v10-fixes into v10
Reviewed-on: public/foundryvtt-reve-de-dragon#552
This commit is contained in:
commit
c0d37e42ca
@ -200,7 +200,6 @@ export class RdDActor extends Actor {
|
|||||||
async checkMonnaiePresence() { // Ajout opportuniste si les pièces n'existent pas.
|
async checkMonnaiePresence() { // Ajout opportuniste si les pièces n'existent pas.
|
||||||
if (!this.items) return; // Sanity check during import
|
if (!this.items) return; // Sanity check during import
|
||||||
let manquantes = Monnaie.monnaiesManquantes(this.itemTypes['monnaie']);
|
let manquantes = Monnaie.monnaiesManquantes(this.itemTypes['monnaie']);
|
||||||
//console.log("Manque : ", manquantes);
|
|
||||||
if (manquantes.length > 0) {
|
if (manquantes.length > 0) {
|
||||||
await this.createEmbeddedDocuments('Item', manquantes, { renderSheet: false });
|
await this.createEmbeddedDocuments('Item', manquantes, { renderSheet: false });
|
||||||
}
|
}
|
||||||
@ -929,26 +928,27 @@ export class RdDActor extends Actor {
|
|||||||
if (!competence) {
|
if (!competence) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
const stress = this.system.compteurs.experience.value;
|
||||||
const niveau = Number(competence.system.niveau);
|
const niveau = Number(competence.system.niveau);
|
||||||
const stressTransforme = this.system.compteurs.experience.value;
|
const xpSuivant = RdDItemCompetence.getCompetenceNextXp(niveau);
|
||||||
const xpRequis = RdDItemCompetence.getCompetenceNextXp(niveau) - competence.system.xp;
|
const xpRequis = xpSuivant - competence.system.xp;
|
||||||
if (stressTransforme <= 0 || niveau >= competence.system.niveau_archetype || xpRequis <= 0) {
|
if (stress <= 0 || niveau >= competence.system.niveau_archetype) {
|
||||||
ui.notifications.info(`La compétence ne peut pas augmenter!
|
ui.notifications.info(`La compétence ne peut pas augmenter!
|
||||||
stress disponible: ${stressTransforme}
|
stress disponible: ${stress}
|
||||||
expérience requise: ${xpRequis}
|
expérience requise: ${xpRequis}
|
||||||
niveau : ${niveau}
|
niveau : ${niveau}
|
||||||
archétype : ${competence.system.niveau_archetype}`);
|
archétype : ${competence.system.niveau_archetype}`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const xpUtilise = Math.min(stressTransforme, xpRequis);
|
const xpUtilise = Math.max(0, Math.min(stress, xpRequis));
|
||||||
const gainNiveau = xpUtilise >= xpRequis ? 1 : 0;
|
const gainNiveau = (xpUtilise >= xpRequis || xpRequis <=0) ? 1 : 0;
|
||||||
const nouveauNiveau = niveau + gainNiveau;
|
const nouveauNiveau = niveau + gainNiveau;
|
||||||
const nouveauXp = gainNiveau > 0 ? Math.max(competence.system.xp - xpRequis, 0) : (competence.system.xp + xpUtilise);
|
const nouveauXp = gainNiveau > 0 ? Math.max(competence.system.xp - xpSuivant, 0) : (competence.system.xp + xpUtilise);
|
||||||
await competence.update({
|
await competence.update({
|
||||||
"system.xp": nouveauXp,
|
"system.xp": nouveauXp,
|
||||||
"system.niveau": nouveauNiveau,
|
"system.niveau": nouveauNiveau,
|
||||||
});
|
});
|
||||||
const stressTransformeRestant = Math.max(0, stressTransforme - xpUtilise);
|
const stressTransformeRestant = Math.max(0, stress - xpUtilise);
|
||||||
await this.update({ "system.compteurs.experience.value": stressTransformeRestant });
|
await this.update({ "system.compteurs.experience.value": stressTransformeRestant });
|
||||||
this.updateExperienceLog('Dépense stress', xpUtilise, `Stress en ${competence.name} ${gainNiveau ? "pour passer à " + nouveauNiveau : ""}`);
|
this.updateExperienceLog('Dépense stress', xpUtilise, `Stress en ${competence.name} ${gainNiveau ? "pour passer à " + nouveauNiveau : ""}`);
|
||||||
}
|
}
|
||||||
|
@ -22,12 +22,19 @@ const MONNAIES_STANDARD = [
|
|||||||
system: { quantite: 0, valeur_deniers: 1000, encombrement: 0.004, description: "" }
|
system: { quantite: 0, valeur_deniers: 1000, encombrement: 0.004, description: "" }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
const VALEURS_STANDARDS = MONNAIES_STANDARD.map(it =>it.system.valeur_deniers);
|
||||||
|
|
||||||
export class Monnaie {
|
export class Monnaie {
|
||||||
|
|
||||||
static isSystemMonnaie(item) {
|
static isSystemMonnaie(item, items) {
|
||||||
let present = MONNAIES_STANDARD.find(monnaie => monnaie.system.valeur_deniers == item?.system?.valeur_deniers);
|
if (item.type == 'monnaie') {
|
||||||
return present;
|
const valeur = item.system.valeur_deniers;
|
||||||
|
if (VALEURS_STANDARDS.includes(valeur)) {
|
||||||
|
const monnaiesDeValeur = items.filter(it => it.type == 'monnaie' && it.system.valeur_deniers == valeur)
|
||||||
|
return monnaiesDeValeur.length<=1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static monnaiesData() {
|
static monnaiesData() {
|
||||||
@ -40,10 +47,10 @@ export class Monnaie {
|
|||||||
|
|
||||||
static monnaiesManquantes(disponibles) {
|
static monnaiesManquantes(disponibles) {
|
||||||
const manquantes = MONNAIES_STANDARD.filter(standard => !disponibles.find(disponible => Monnaie.deValeur(disponible, standard.system?.valeur_deniers)));
|
const manquantes = MONNAIES_STANDARD.filter(standard => !disponibles.find(disponible => Monnaie.deValeur(disponible, standard.system?.valeur_deniers)));
|
||||||
if (manquantes.length>0) {
|
if (manquantes.length > 0) {
|
||||||
console.error('monnaiesManquantes', manquantes, ' avec monnaies', disponibles, MONNAIES_STANDARD);
|
console.error('monnaiesManquantes', manquantes, ' avec monnaies', disponibles, MONNAIES_STANDARD);
|
||||||
}
|
}
|
||||||
return []; //manquantes;
|
return manquantes;
|
||||||
}
|
}
|
||||||
|
|
||||||
static deValeur(monnaie, valeur) {
|
static deValeur(monnaie, valeur) {
|
||||||
|
@ -26,7 +26,7 @@ export class RdDSheetUtility {
|
|||||||
destId: destItemId,
|
destId: destItemId,
|
||||||
targetActorId: actorId,
|
targetActorId: actorId,
|
||||||
itemId: item.id,
|
itemId: item.id,
|
||||||
sourceActorId: item.actor.id,
|
sourceActorId: item.actor?.id,
|
||||||
srcId: objetVersConteneur[item.id],
|
srcId: objetVersConteneur[item.id],
|
||||||
onEnleverConteneur: () => { delete objetVersConteneur[item.id]; },
|
onEnleverConteneur: () => { delete objetVersConteneur[item.id]; },
|
||||||
onAjouterDansConteneur: (itemId, conteneurId) => { objetVersConteneur[itemId] = conteneurId; }
|
onAjouterDansConteneur: (itemId, conteneurId) => { objetVersConteneur[itemId] = conteneurId; }
|
||||||
|
@ -130,6 +130,7 @@ export class RdDUtility {
|
|||||||
'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-liens-vehicules.html',
|
'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-liens-vehicules.html',
|
||||||
'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-editor-notes-mj.html',
|
'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-editor-notes-mj.html',
|
||||||
//Items
|
//Items
|
||||||
|
'systems/foundryvtt-reve-de-dragon/templates/header-item.html',
|
||||||
'systems/foundryvtt-reve-de-dragon/templates/item-competence-sheet.html',
|
'systems/foundryvtt-reve-de-dragon/templates/item-competence-sheet.html',
|
||||||
'systems/foundryvtt-reve-de-dragon/templates/item-competencecreature-sheet.html',
|
'systems/foundryvtt-reve-de-dragon/templates/item-competencecreature-sheet.html',
|
||||||
'systems/foundryvtt-reve-de-dragon/templates/item-arme-sheet.html',
|
'systems/foundryvtt-reve-de-dragon/templates/item-arme-sheet.html',
|
||||||
@ -860,7 +861,7 @@ export class RdDUtility {
|
|||||||
let itemId = li.data("item-id");
|
let itemId = li.data("item-id");
|
||||||
let objet = actorSheet.actor.getObjet(itemId);
|
let objet = actorSheet.actor.getObjet(itemId);
|
||||||
|
|
||||||
if (objet.type == 'monnaie' && Monnaie.isSystemMonnaie(objet)) {
|
if (Monnaie.isSystemMonnaie(objet, actorSheet.actor.items)) {
|
||||||
ui.notifications.warn("Suppression des monnaies de base impossible");
|
ui.notifications.warn("Suppression des monnaies de base impossible");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
6
templates/header-item.html
Normal file
6
templates/header-item.html
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<header class="sheet-header">
|
||||||
|
<img class="profile-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>
|
@ -1,10 +1,5 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-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 --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
|
@ -1,35 +1,29 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-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 --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="xp">Protection</label>
|
<label for="xp">Protection</label>
|
||||||
<input class="attribute-value" type="text" name="system.protection" value="{{system.protection}}" data-dtype="String"/>
|
<input class="attribute-value" type="text" name="system.protection" value="{{system.protection}}" data-dtype="String"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="xp">Encombrement </label>
|
<label for="xp">Encombrement </label>
|
||||||
<input class="attribute-value" type="text" name="system.encombrement" value="{{system.encombrement}}" data-dtype="Number"/>
|
<input class="attribute-value" type="text" name="system.encombrement" value="{{system.encombrement}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="xp">Détérioration</label>
|
<label for="xp">Détérioration</label>
|
||||||
<input class="attribute-value" type="text" name="system.deterioration" value="{{system.deterioration}}" data-dtype="Number"/>
|
<input class="attribute-value" type="text" name="system.deterioration" value="{{system.deterioration}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="xp">Malus Armure </label>
|
<label for="xp">Malus Armure </label>
|
||||||
<input class="attribute-value" type="text" name="system.malus" value="{{system.malus}}" data-dtype="Number"/>
|
<input class="attribute-value" type="text" name="system.malus" value="{{system.malus}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group item-cout">
|
<div class="form-group item-cout">
|
||||||
<label for="xp">Prix (sols) </label>
|
<label for="xp">Prix (sols) </label>
|
||||||
<input class="attribute-value" type="text" name="system.cout" value="{{system.cout}}" data-dtype="Number"/>
|
<input class="attribute-value" type="text" name="system.cout" value="{{system.cout}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,27 +1,20 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
{{!-- Sheet Body --}}
|
||||||
<div class="header-fields">
|
<section class="sheet-body">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
<div class="form-group">
|
||||||
</div>
|
<label for="niveau">Coordonnées TMR </label>
|
||||||
</header>
|
<input class="attribute-value" type="text" name="system.coord" value="{{system.coord}}" data-dtype="String"/>
|
||||||
|
</div>
|
||||||
{{!-- Sheet Body --}}
|
<div class="form-group">
|
||||||
<section class="sheet-body">
|
<label for="niveau">Mode spécifique</label>
|
||||||
<div class="form-group">
|
<select name="system.specific" id="specific" data-dtype="String">
|
||||||
<label for="niveau">Coordonnées TMR </label>
|
{{#select system.specific}}
|
||||||
<input class="attribute-value" type="text" name="system.coord" value="{{system.coord}}" data-dtype="String"/>
|
{{>"systems/foundryvtt-reve-de-dragon/templates/casetmr-specific-list.html"}}
|
||||||
</div>
|
{{/select}}
|
||||||
<div class="form-group">
|
</select>
|
||||||
<label for="niveau">Mode spécifique</label>
|
</div>
|
||||||
<select name="system.specific" id="specific" data-dtype="String">
|
|
||||||
{{#select system.specific}}
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/casetmr-specific-list.html"}}
|
|
||||||
{{/select}}
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,24 +1,16 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
{{!-- Sheet Body --}}
|
||||||
<div class="header-fields">
|
<section class="sheet-body">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
<div class="form-group">
|
||||||
</div>
|
<label class="alchimie-title" for="xp">Niveau</label>
|
||||||
</header>
|
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
|
||||||
|
</div>
|
||||||
{{!-- Sheet Body --}}
|
<div class="form-group">
|
||||||
<section class="sheet-body">
|
<label>Référence / Auteur</label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
|
||||||
<label class="alchimie-title" for="xp">Niveau</label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label>Référence / Auteur</label>
|
|
||||||
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,52 +1,44 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
{{!-- Sheet Body --}}
|
||||||
<div class="header-fields">
|
<section class="sheet-body">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
<div class="form-group">
|
||||||
</div>
|
<label for="niveau">Niveau </label>
|
||||||
</header>
|
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
|
||||||
|
</div>
|
||||||
{{!-- Sheet Body --}}
|
<div class="form-group">
|
||||||
<section class="sheet-body">
|
<label for="niveau">Valeur de Caractéristique </label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.carac_value" value="{{system.carac_value}}" data-dtype="Number"/>
|
||||||
<label for="niveau">Niveau </label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
|
<div class="form-group">
|
||||||
</div>
|
<label for="default_diffLibre">Difficulté libre par défaut</label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.default_diffLibre" value="{{system.default_diffLibre}}" data-dtype="Number"/>
|
||||||
<label for="niveau">Valeur de Caractéristique </label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.carac_value" value="{{system.carac_value}}" data-dtype="Number"/>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Arme ? </label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="checkbox" name="system.iscombat" {{#if system.iscombat}}checked{{/if}}/>
|
||||||
<label for="default_diffLibre">Difficulté libre par défaut</label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.default_diffLibre" value="{{system.default_diffLibre}}" data-dtype="Number"/>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Parade ? </label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="checkbox" name="system.isparade" {{#if system.isparade}}checked{{/if}}/>
|
||||||
<label for="xp">Arme ? </label>
|
</div>
|
||||||
<input class="attribute-value" type="checkbox" name="system.iscombat" {{#if system.iscombat}}checked{{/if}}/>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Possession ? </label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="checkbox" name="system.ispossession" {{#if system.ispossession}}checked{{/if}}/>
|
||||||
<label for="xp">Parade ? </label>
|
</div>
|
||||||
<input class="attribute-value" type="checkbox" name="system.isparade" {{#if system.isparade}}checked{{/if}}/>
|
<div class="form-group">
|
||||||
</div>
|
<label>Catégorie parade </label>
|
||||||
<div class="form-group">
|
<select name="system.categorie_parade" id="categorie_parade" data-dtype="String">
|
||||||
<label for="xp">Possession ? </label>
|
{{#select system.categorie_parade}}
|
||||||
<input class="attribute-value" type="checkbox" name="system.ispossession" {{#if system.ispossession}}checked{{/if}}/>
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-categorie-parade.html"}}
|
||||||
</div>
|
{{/select}}
|
||||||
<div class="form-group">
|
</select>
|
||||||
<label>Catégorie parade </label>
|
</div>
|
||||||
<select name="system.categorie_parade" id="categorie_parade" data-dtype="String">
|
<div class="form-group">
|
||||||
{{#select system.categorie_parade}}
|
<label for="niveau">Dommages (+dom), si applicable </label>
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-categorie-parade.html"}}
|
<input class="attribute-value" type="text" name="system.dommages" value="{{system.dommages}}" data-dtype="Number"/>
|
||||||
{{/select}}
|
</div>
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="niveau">Dommages (+dom), si applicable </label>
|
|
||||||
<input class="attribute-value" type="text" name="system.dommages" value="{{system.dommages}}" data-dtype="Number"/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,47 +1,39 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
{{!-- Sheet Body --}}
|
||||||
<div class="header-fields">
|
<section class="sheet-body">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Encombrement </label>
|
||||||
</header>
|
<input class="attribute-value" type="text" name="system.encombrement" value="{{system.encombrement}}" data-dtype="Number"/>
|
||||||
|
</div>
|
||||||
{{!-- Sheet Body --}}
|
<div class="form-group">
|
||||||
<section class="sheet-body">
|
<label for="xp">Capacite (points d'Encombrement portable)</label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.capacite" value="{{system.capacite}}" data-dtype="Number"/>
|
||||||
<label for="xp">Encombrement </label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.encombrement" value="{{system.encombrement}}" data-dtype="Number"/>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Qualité</label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.qualite" value="{{system.qualite}}" data-dtype="Number"/>
|
||||||
<label for="xp">Capacite (points d'Encombrement portable)</label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.capacite" value="{{system.capacite}}" data-dtype="Number"/>
|
<div class="form-group item-cout">
|
||||||
</div>
|
<label for="xp">Prix (sols) </label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.cout" value="{{system.cout}}" data-dtype="Number"/>
|
||||||
<label for="xp">Qualité</label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.qualite" value="{{system.qualite}}" data-dtype="Number"/>
|
{{#if isOwned}}
|
||||||
</div>
|
<div class="flexcol">
|
||||||
<div class="form-group item-cout">
|
<span><label>Contenu : </label></span>
|
||||||
<label for="xp">Prix (sols) </label>
|
<ul class="item-list alterne-list">
|
||||||
<input class="attribute-value" type="text" name="system.cout" value="{{system.cout}}" data-dtype="Number"/>
|
<li class="competence-header flexrow">
|
||||||
</div>
|
<span class="equipement-nom">Nom</span>
|
||||||
{{#if isOwned}}
|
<span class="equipement-detail">Q.</span>
|
||||||
<div class="flexcol">
|
<span class="equipement-detail">Enc.</span>
|
||||||
<span><label>Contenu : </label></span>
|
<span class="equipement-actions">Actions</span>
|
||||||
<ul class="item-list alterne-list">
|
</li>
|
||||||
<li class="competence-header flexrow">
|
{{buildContenu this}}
|
||||||
<span class="equipement-nom">Nom</span>
|
</ul>
|
||||||
<span class="equipement-detail">Q.</span>
|
</div>
|
||||||
<span class="equipement-detail">Enc.</span>
|
{{/if}}
|
||||||
<span class="equipement-actions">Actions</span>
|
|
||||||
</li>
|
|
||||||
{{buildContenu this}}
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
{{/if}}
|
|
||||||
|
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
</section>
|
||||||
</section>
|
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,41 +1,33 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
{{!-- Sheet Body --}}
|
||||||
<div class="header-fields">
|
<section class="sheet-body">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
<div class="form-group">
|
||||||
</div>
|
<label class="alchimie-title" for="xp">Type</label>
|
||||||
</header>
|
<select name="system.type" data-dtype="String">
|
||||||
|
{{#select system.type}}
|
||||||
{{!-- Sheet Body --}}
|
<option value="recreative">Récréative</option>
|
||||||
<section class="sheet-body">
|
<option value="soliste">Soliste</option>
|
||||||
<div class="form-group">
|
{{/select}}
|
||||||
<label class="alchimie-title" for="xp">Type</label>
|
</select>
|
||||||
<select name="system.type" data-dtype="String">
|
</div>
|
||||||
{{#select system.type}}
|
<div class="form-group">
|
||||||
<option value="recreative">Récréative</option>
|
<label class="alchimie-title" for="xp">Agilité ?</label>
|
||||||
<option value="soliste">Soliste</option>
|
<input class="attribute-value" type="checkbox" name="system.agilite" {{#if system.agilite}}checked{{/if}}/>
|
||||||
{{/select}}
|
</div>
|
||||||
</select>
|
<div class="form-group">
|
||||||
</div>
|
<label class="alchimie-title" for="xp">Apparence ?</label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="checkbox" name="system.apparence" {{#if system.apparence}}checked{{/if}}/>
|
||||||
<label class="alchimie-title" for="xp">Agilité ?</label>
|
</div>
|
||||||
<input class="attribute-value" type="checkbox" name="system.agilite" {{#if system.agilite}}checked{{/if}}/>
|
<div class="form-group">
|
||||||
</div>
|
<label class="alchimie-title" for="xp">Niveau</label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
|
||||||
<label class="alchimie-title" for="xp">Apparence ?</label>
|
</div>
|
||||||
<input class="attribute-value" type="checkbox" name="system.apparence" {{#if system.apparence}}checked{{/if}}/>
|
<div class="form-group">
|
||||||
</div>
|
<label>Référence / Auteur</label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
|
||||||
<label class="alchimie-title" for="xp">Niveau</label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label>Référence / Auteur</label>
|
|
||||||
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,11 +1,5 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-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 --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -50,7 +44,5 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</form>
|
</form>
|
@ -1,10 +1,5 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-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 --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
@ -48,7 +43,5 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</form>
|
</form>
|
@ -1,39 +1,32 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-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 --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="alchimie-title" for="xp">Type</label>
|
<label class="alchimie-title" for="xp">Type</label>
|
||||||
<select name="system.type" data-dtype="String">
|
<select name="system.type" data-dtype="String">
|
||||||
{{#select system.type}}
|
{{#select system.type}}
|
||||||
<option value="adressehasard">Adresse/Hasard</option>
|
<option value="adressehasard">Adresse/Hasard</option>
|
||||||
<option value="de">Dés</option>
|
<option value="de">Dés</option>
|
||||||
<option value="carte">Cartes</option>
|
<option value="carte">Cartes</option>
|
||||||
<option value="reflexion">Reflexion</option>
|
<option value="reflexion">Reflexion</option>
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="alchimie-title" for="xp">Base</label>
|
<label class="alchimie-title" for="xp">Base</label>
|
||||||
<input class="attribute-value" type="text" name="system.base" value="{{system.base}}" data-dtype="Number"/>
|
<input class="attribute-value" type="text" name="system.base" value="{{system.base}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="alchimie-title" for="xp">Caractéristique/Compétence</label>
|
<label class="alchimie-title" for="xp">Caractéristique/Compétence</label>
|
||||||
<input class="attribute-value" type="text" name="system.caraccomp" value="{{system.caraccomp}}" data-dtype="String"/>
|
<input class="attribute-value" type="text" name="system.caraccomp" value="{{system.caraccomp}}" data-dtype="String"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Référence / Auteur</label>
|
<label>Référence / Auteur</label>
|
||||||
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
|
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,84 +1,76 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
{{!-- Sheet Body --}}
|
||||||
<div class="header-fields">
|
<section class="sheet-body">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Compétence</label>
|
||||||
</header>
|
<select name="system.competence" id="competenceselect" data-dtype="String">
|
||||||
|
{{#select system.competence}}
|
||||||
{{!-- Sheet Body --}}
|
{{#each competences as |competence key|}}
|
||||||
<section class="sheet-body">
|
<option value="{{competence.name}}">{{competence.name}}</option>
|
||||||
<div class="form-group">
|
{{/each}}
|
||||||
<label for="xp">Compétence</label>
|
{{/select}}
|
||||||
<select name="system.competence" id="competenceselect" data-dtype="String">
|
</select>
|
||||||
{{#select system.competence}}
|
</div>
|
||||||
{{#each competences as |competence key|}}
|
<div class="form-group">
|
||||||
<option value="{{competence.name}}">{{competence.name}}</option>
|
<label for="xp">Thème</label>
|
||||||
{{/each}}
|
<input class="attribute-value" type="text" name="system.theme" value="{{system.theme}}" data-dtype="String"/>
|
||||||
{{/select}}
|
</div>
|
||||||
</select>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Support</label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.support" value="{{system.support}}" data-dtype="String"/>
|
||||||
<label for="xp">Thème</label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.theme" value="{{system.theme}}" data-dtype="String"/>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Heure</label>
|
||||||
<div class="form-group">
|
<select name="system.heure" id="heure" data-dtype="String">
|
||||||
<label for="xp">Support</label>
|
{{#select system.heure}}
|
||||||
<input class="attribute-value" type="text" name="system.support" value="{{system.support}}" data-dtype="String"/>
|
{{>"systems/foundryvtt-reve-de-dragon/templates/heures-select-option.html"}}
|
||||||
</div>
|
{{/select}}
|
||||||
<div class="form-group">
|
</select>
|
||||||
<label for="xp">Heure</label>
|
</div>
|
||||||
<select name="system.heure" id="heure" data-dtype="String">
|
<div class="form-group">
|
||||||
{{#select system.heure}}
|
<label for="xp">Purification</label>
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/heures-select-option.html"}}
|
<input class="attribute-value" type="text" name="system.purification" value="{{system.purification}}" data-dtype="String"/>
|
||||||
{{/select}}
|
</div>
|
||||||
</select>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Vêture</label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.veture" value="{{system.veture}}" data-dtype="String"/>
|
||||||
<label for="xp">Purification</label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.purification" value="{{system.purification}}" data-dtype="String"/>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Comportement</label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.comportement" value="{{system.comportement}}" data-dtype="String"/>
|
||||||
<label for="xp">Vêture</label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.veture" value="{{system.veture}}" data-dtype="String"/>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Case TMR</label>
|
||||||
<div class="form-group">
|
<select name="system.tmr" id="tmr" data-dtype="String">
|
||||||
<label for="xp">Comportement</label>
|
{{#select system.tmr}}
|
||||||
<input class="attribute-value" type="text" name="system.comportement" value="{{system.comportement}}" data-dtype="String"/>
|
{{>"systems/foundryvtt-reve-de-dragon/templates/sort-tmr.html"}}
|
||||||
</div>
|
{{/select}}
|
||||||
<div class="form-group">
|
</select>
|
||||||
<label for="xp">Case TMR</label>
|
</div>
|
||||||
<select name="system.tmr" id="tmr" data-dtype="String">
|
<div class="form-group">
|
||||||
{{#select system.tmr}}
|
<label for="xp">Malus</label>
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/sort-tmr.html"}}
|
{{#if isGM}}
|
||||||
{{/select}}
|
<select name="system.malus" id="malus" data-dtype="Number">
|
||||||
</select>
|
{{#select system.malus}}
|
||||||
</div>
|
<option value="0">0</option>
|
||||||
<div class="form-group">
|
<option value="-1">-1</option>
|
||||||
<label for="xp">Malus</label>
|
<option value="-2">-2</option>
|
||||||
{{#if isGM}}
|
<option value="-3">-3</option>
|
||||||
<select name="system.malus" id="malus" data-dtype="Number">
|
<option value="-4">-4</option>
|
||||||
{{#select system.malus}}
|
<option value="-5">-5</option>
|
||||||
<option value="0">0</option>
|
<option value="-6">-6</option>
|
||||||
<option value="-1">-1</option>
|
<option value="-7">-7</option>
|
||||||
<option value="-2">-2</option>
|
<option value="-8">-8</option>
|
||||||
<option value="-3">-3</option>
|
<option value="-9">-9</option>
|
||||||
<option value="-4">-4</option>
|
<option value="-10">-10</option>
|
||||||
<option value="-5">-5</option>
|
{{/select}}
|
||||||
<option value="-6">-6</option>
|
</select>
|
||||||
<option value="-7">-7</option>
|
{{else}}
|
||||||
<option value="-8">-8</option>
|
<label>>{{system.malus}}</label>
|
||||||
<option value="-9">-9</option>
|
{{/if}}
|
||||||
<option value="-10">-10</option>
|
</div>
|
||||||
{{/select}}
|
|
||||||
</select>
|
|
||||||
{{else}}
|
|
||||||
<label>>{{system.malus}}</label>
|
|
||||||
{{/if}}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,32 +1,24 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
{{!-- Sheet Body --}}
|
||||||
<div class="header-fields">
|
<section class="sheet-body">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Quantité</label>
|
||||||
</header>
|
<input class="attribute-value" type="text" name="system.quantite" value="{{system.quantite}}" data-dtype="Number"/>
|
||||||
|
</div>
|
||||||
{{!-- Sheet Body --}}
|
<div class="form-group">
|
||||||
<section class="sheet-body">
|
<label for="xp">Valeur en Deniers</label>
|
||||||
<div class="form-group">
|
{{#if isGM}}
|
||||||
<label for="xp">Quantité</label>
|
<input class="attribute-value" type="text" name="system.valeur_deniers" value="{{system.valeur_deniers}}" data-dtype="Number"/>
|
||||||
<input class="attribute-value" type="text" name="system.quantite" value="{{system.quantite}}" data-dtype="Number"/>
|
{{else}}
|
||||||
</div>
|
<label for="xp">{{system.valeur_deniers}}</label>
|
||||||
<div class="form-group">
|
{{/if}}
|
||||||
<label for="xp">Valeur en Deniers</label>
|
</div>
|
||||||
{{#if isGM}}
|
<div class="form-group">
|
||||||
<input class="attribute-value" type="text" name="system.valeur_deniers" value="{{system.valeur_deniers}}" data-dtype="Number"/>
|
<label for="xp">Encombrement</label>
|
||||||
{{else}}
|
<input class="attribute-value" type="text" name="system.encombrement" value="{{system.encombrement}}" data-dtype="Number"/>
|
||||||
<label for="xp">{{system.valeur_deniers}}</label>
|
</div>
|
||||||
{{/if}}
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="xp">Encombrement</label>
|
|
||||||
<input class="attribute-value" type="text" name="system.encombrement" value="{{system.encombrement}}" data-dtype="Number"/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,32 +1,24 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
{{!-- Sheet Body --}}
|
||||||
<div class="header-fields">
|
<section class="sheet-body">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Encombrement </label>
|
||||||
</header>
|
<input class="attribute-value" type="text" name="system.encombrement" value="{{system.encombrement}}" data-dtype="Number"/>
|
||||||
|
</div>
|
||||||
{{!-- Sheet Body --}}
|
<div class="form-group">
|
||||||
<section class="sheet-body">
|
<label>Quantité </label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.quantite" value="{{system.quantite}}" data-dtype="Number" />
|
||||||
<label for="xp">Encombrement </label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.encombrement" value="{{system.encombrement}}" data-dtype="Number"/>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Qualité</label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.qualite" value="{{system.qualite}}" data-dtype="Number"/>
|
||||||
<label>Quantité </label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.quantite" value="{{system.quantite}}" data-dtype="Number" />
|
<div class="form-group item-cout">
|
||||||
</div>
|
<label for="xp">Prix (sols) </label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.cout" value="{{system.cout}}" data-dtype="Number"/>
|
||||||
<label for="xp">Qualité</label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.qualite" value="{{system.qualite}}" data-dtype="Number"/>
|
|
||||||
</div>
|
|
||||||
<div class="form-group item-cout">
|
|
||||||
<label for="xp">Prix (sols) </label>
|
|
||||||
<input class="attribute-value" type="text" name="system.cout" value="{{system.cout}}" data-dtype="Number"/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,24 +1,16 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
{{!-- Sheet Body --}}
|
||||||
<div class="header-fields">
|
<section class="sheet-body">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
<div class="form-group">
|
||||||
</div>
|
<label class="alchimie-title" for="xp">Niveau</label>
|
||||||
</header>
|
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
|
||||||
|
</div>
|
||||||
{{!-- Sheet Body --}}
|
<div class="form-group">
|
||||||
<section class="sheet-body">
|
<label>Référence / Auteur</label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
|
||||||
<label class="alchimie-title" for="xp">Niveau</label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label>Référence / Auteur</label>
|
|
||||||
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,30 +1,23 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
{{!-- Sheet Body --}}
|
||||||
<div class="header-fields">
|
<section class="sheet-body">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Nombre</label>
|
||||||
</header>
|
<input class="attribute-value" type="text" name="system.value" value="{{system.value}}" data-dtype="Number"/>
|
||||||
|
</div>
|
||||||
{{!-- Sheet Body --}}
|
<div class="form-group">
|
||||||
<section class="sheet-body">
|
<label for="xp">Nombre valide ? </label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="checkbox" name="system.istrue" {{#if system.istrue}}checked{{/if}}/>
|
||||||
<label for="xp">Nombre</label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.value" value="{{system.value}}" data-dtype="Number"/>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Index du jour concerné</label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.jourindex" value="{{system.jourindex}}" data-dtype="Number"/>
|
||||||
<label for="xp">Nombre valide ? </label>
|
</div>
|
||||||
<input class="attribute-value" type="checkbox" name="system.istrue" {{#if system.istrue}}checked{{/if}}/>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Label du jour</label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.jourlabel" value="{{system.jourlabel}}" data-dtype="String"/>
|
||||||
<label for="xp">Index du jour concerné</label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.jourindex" value="{{system.jourindex}}" data-dtype="Number"/>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="xp">Label du jour</label>
|
|
||||||
<input class="attribute-value" type="text" name="system.jourlabel" value="{{system.jourlabel}}" data-dtype="String"/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,11 +1,5 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-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 --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -55,7 +49,5 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</form>
|
</form>
|
@ -1,36 +1,28 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
{{!-- Sheet Body --}}
|
||||||
<div class="header-fields">
|
<section class="sheet-body">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Encombrement </label>
|
||||||
</header>
|
<input class="attribute-value" type="text" name="system.encombrement" value="{{system.encombrement}}" data-dtype="Number"/>
|
||||||
|
</div>
|
||||||
{{!-- Sheet Body --}}
|
<div class="form-group">
|
||||||
<section class="sheet-body">
|
<label>Quantité </label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.quantite" value="{{system.quantite}}" data-dtype="Number" />
|
||||||
<label for="xp">Encombrement </label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.encombrement" value="{{system.encombrement}}" data-dtype="Number"/>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Résistance</label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.resistance" value="{{system.resistance}}" data-dtype="Number"/>
|
||||||
<label>Quantité </label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.quantite" value="{{system.quantite}}" data-dtype="Number" />
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Qualité</label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.qualite" value="{{system.qualite}}" data-dtype="Number"/>
|
||||||
<label for="xp">Résistance</label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.resistance" value="{{system.resistance}}" data-dtype="Number"/>
|
<div class="form-group item-cout">
|
||||||
</div>
|
<label for="xp">Prix (sols) </label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.cout" value="{{system.cout}}" data-dtype="Number"/>
|
||||||
<label for="xp">Qualité</label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.qualite" value="{{system.qualite}}" data-dtype="Number"/>
|
|
||||||
</div>
|
|
||||||
<div class="form-group item-cout">
|
|
||||||
<label for="xp">Prix (sols) </label>
|
|
||||||
<input class="attribute-value" type="text" name="system.cout" value="{{system.cout}}" data-dtype="Number"/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,20 +1,12 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
{{!-- Sheet Body --}}
|
||||||
<div class="header-fields">
|
<section class="sheet-body">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Refoulement</label>
|
||||||
</header>
|
<input class="attribute-value" type="text" name="system.refoulement" value="{{system.refoulement}}" data-dtype="Number"/>
|
||||||
|
</div>
|
||||||
{{!-- Sheet Body --}}
|
|
||||||
<section class="sheet-body">
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="xp">Refoulement</label>
|
|
||||||
<input class="attribute-value" type="text" name="system.refoulement" value="{{system.refoulement}}" data-dtype="Number"/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,29 +1,19 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
{{!-- Sheet Body --}}
|
||||||
<div class="header-fields">
|
<section class="sheet-body">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Type de possession </label>
|
||||||
</header>
|
<input class="attribute-value" type="text" name="system.typepossession" value="{{system.typepossession}}" data-dtype="String"/>
|
||||||
|
</div>
|
||||||
{{!-- Sheet Body --}}
|
<div class="form-group">
|
||||||
<section class="sheet-body">
|
<label for="xp">Possédé ? </label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="checkbox" name="system.istrue" {{#if system.istrue}}checked{{/if}}/>
|
||||||
<label for="xp">Type de possession </label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.typepossession" value="{{system.typepossession}}" data-dtype="String"/>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Compteur </label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.compteur" value="{{system.compteur}}" data-dtype="Number"/>
|
||||||
<label for="xp">Possédé ? </label>
|
</div>
|
||||||
<input class="attribute-value" type="checkbox" name="system.istrue" {{#if system.istrue}}checked{{/if}}/>
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
</div>
|
</section>
|
||||||
<div class="form-group">
|
|
||||||
<label for="xp">Compteur </label>
|
|
||||||
<input class="attribute-value" type="text" name="system.compteur" value="{{system.compteur}}" data-dtype="Number"/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,20 +1,12 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
{{!-- Sheet Body --}}
|
||||||
<div class="header-fields">
|
<section class="sheet-body">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Refoulement</label>
|
||||||
</header>
|
<input class="attribute-value" type="text" name="system.refoulement" value="{{system.refoulement}}" data-dtype="Number"/>
|
||||||
|
</div>
|
||||||
{{!-- Sheet Body --}}
|
|
||||||
<section class="sheet-body">
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="xp">Refoulement</label>
|
|
||||||
<input class="attribute-value" type="text" name="system.refoulement" value="{{system.refoulement}}" data-dtype="Number"/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,44 +1,36 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
{{!-- Sheet Body --}}
|
||||||
<div class="header-fields">
|
<section class="sheet-body">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
<div class="form-group">
|
||||||
</div>
|
<label class="alchimie-title" for="xp">But</label>
|
||||||
</header>
|
<input class="attribute-value" type="text" name="system.but" value="{{system.but}}" data-dtype="String"/>
|
||||||
|
</div>
|
||||||
{{!-- Sheet Body --}}
|
<div class="flexcol">
|
||||||
<section class="sheet-body">
|
<span><label class="alchimie-title">Manipulation : </label></span>
|
||||||
<div class="form-group">
|
<div class="form-group medium-editor">
|
||||||
<label class="alchimie-title" for="xp">But</label>
|
{{editor system.manipulation_update target="system.manipulation" button=true owner=owner editable=editable}}
|
||||||
<input class="attribute-value" type="text" name="system.but" value="{{system.but}}" data-dtype="String"/>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flexcol">
|
<div class="flexcol">
|
||||||
<span><label class="alchimie-title">Manipulation : </label></span>
|
<span><label class="alchimie-title">Utilisation : </label></span>
|
||||||
<div class="form-group medium-editor">
|
<div class="form-group small-editor">
|
||||||
{{editor system.manipulation_update target="system.manipulation" button=true owner=owner editable=editable}}
|
{{editor system.utilisation target="system.utilisation" button=true owner=owner editable=editable}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flexcol">
|
<div class="flexcol">
|
||||||
<span><label class="alchimie-title">Utilisation : </label></span>
|
<span><label class="alchimie-title">Enchantement : </label></span>
|
||||||
<div class="form-group small-editor">
|
<div class="form-group small-editor">
|
||||||
{{editor system.utilisation target="system.utilisation" button=true owner=owner editable=editable}}
|
{{editor system.enchantement target="system.enchantement" button=true owner=owner editable=editable}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flexcol">
|
<div class="flexcol">
|
||||||
<span><label class="alchimie-title">Enchantement : </label></span>
|
<span><label class="alchimie-title">Sur-effet : </label></span>
|
||||||
<div class="form-group small-editor">
|
<div class="form-group small-editor">
|
||||||
{{editor system.enchantement target="system.enchantement" button=true owner=owner editable=editable}}
|
{{editor system.sureffet target="system.sureffet" button=true owner=owner editable=editable}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flexcol">
|
|
||||||
<span><label class="alchimie-title">Sur-effet : </label></span>
|
|
||||||
<div class="form-group small-editor">
|
|
||||||
{{editor system.sureffet target="system.sureffet" button=true owner=owner editable=editable}}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,42 +1,34 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
{{!-- Sheet Body --}}
|
||||||
<div class="header-fields">
|
<section class="sheet-body">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
<div class="form-group">
|
||||||
</div>
|
<label>Niveau</label>
|
||||||
</header>
|
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
|
||||||
|
</div>
|
||||||
{{!-- Sheet Body --}}
|
<div class="form-group">
|
||||||
<section class="sheet-body">
|
<label>Durée</label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.duree" value="{{system.duree}}" data-dtype="String"/>
|
||||||
<label>Niveau</label>
|
</div>system
|
||||||
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
|
<div class="form-group">
|
||||||
</div>
|
<label>Sust</label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.sust" value="{{system.sust}}" data-dtype="Number"/>
|
||||||
<label>Durée</label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.duree" value="{{system.duree}}" data-dtype="String"/>
|
<div class="form-group">
|
||||||
</div>system
|
<label>Exotisme</label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.exotisme" value="{{system.exotisme}}" data-dtype="Number"/>
|
||||||
<label>Sust</label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.sust" value="{{system.sust}}" data-dtype="Number"/>
|
<div class="form-group">
|
||||||
</div>
|
<label>Référence / Auteur</label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
|
||||||
<label>Exotisme</label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.exotisme" value="{{system.exotisme}}" data-dtype="Number"/>
|
<div class="flexcol">
|
||||||
</div>
|
<span><label>Ingrédients : </label></span>
|
||||||
<div class="form-group">
|
<div class="form-group editor">
|
||||||
<label>Référence / Auteur</label>
|
{{editor system.ingredients target="system.ingredients" button=true owner=owner editable=editable}}
|
||||||
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flexcol">
|
|
||||||
<span><label>Ingrédients : </label></span>
|
|
||||||
<div class="form-group editor">
|
|
||||||
{{editor system.ingredients target="system.ingredients" button=true owner=owner editable=editable}}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,16 +1,7 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
{{!-- Sheet Body --}}
|
||||||
<div class="header-fields">
|
<section class="sheet-body">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
</div>
|
</section>
|
||||||
</header>
|
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
|
||||||
<section class="sheet-body">
|
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,82 +1,74 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
{{!-- Sheet Body --}}
|
||||||
<div class="header-fields">
|
<section class="sheet-body">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
<div class="form-group">
|
||||||
</div>
|
<label>Draconic </label>
|
||||||
</header>
|
<select name="system.draconic" id="draconic" data-dtype="String">
|
||||||
|
{{#select system.draconic}}
|
||||||
{{!-- Sheet Body --}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/sort-draconic.html"}}
|
||||||
<section class="sheet-body">
|
{{/select}}
|
||||||
<div class="form-group">
|
</select>
|
||||||
<label>Draconic </label>
|
</div>
|
||||||
<select name="system.draconic" id="draconic" data-dtype="String">
|
<div class="form-group">
|
||||||
{{#select system.draconic}}
|
<label for="xp">Case TMR </label>
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/sort-draconic.html"}}
|
<select name="system.caseTMR" id="caseTMR" data-dtype="String">
|
||||||
{{/select}}
|
{{#select system.caseTMR}}
|
||||||
</select>
|
{{>"systems/foundryvtt-reve-de-dragon/templates/sort-tmr.html"}}
|
||||||
</div>
|
<option value="special">Case spéciale TMR (saisie ci-dessous)</option>
|
||||||
<div class="form-group">
|
{{/select}}
|
||||||
<label for="xp">Case TMR </label>
|
</select>
|
||||||
<select name="system.caseTMR" id="caseTMR" data-dtype="String">
|
</div>
|
||||||
{{#select system.caseTMR}}
|
<div class="form-group">
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/sort-tmr.html"}}
|
<label for="xp">Case TMR Spéciale </label>
|
||||||
<option value="special">Case spéciale TMR (saisie ci-dessous)</option>
|
<input class="attribute-value" type="text" name="system.caseTMRspeciale" value="{{system.caseTMRspeciale}}" data-dtype="String"/>
|
||||||
{{/select}}
|
</div>
|
||||||
</select>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Difficulté </label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.difficulte" value="{{system.difficulte}}" data-dtype="String"/>
|
||||||
<label for="xp">Case TMR Spéciale </label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.caseTMRspeciale" value="{{system.caseTMRspeciale}}" data-dtype="String"/>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Coût en Rêve </label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.ptreve" value="{{system.ptreve}}" data-dtype="String"/>
|
||||||
<label for="xp">Difficulté </label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.difficulte" value="{{system.difficulte}}" data-dtype="String"/>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Coût en Seuil </label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.coutseuil" value="{{system.coutseuil}}" data-dtype="Number"/>
|
||||||
<label for="xp">Coût en Rêve </label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.ptreve" value="{{system.ptreve}}" data-dtype="String"/>
|
<div class="form-group">
|
||||||
</div>
|
<label for="rituel">Rituel </label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="checkbox" name="system.isrituel" {{#if system.isrituel}}checked{{/if}}/>
|
||||||
<label for="xp">Coût en Seuil </label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.coutseuil" value="{{system.coutseuil}}" data-dtype="Number"/>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Durée </label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.duree" value="{{system.duree}}" data-dtype="String"/>
|
||||||
<label for="rituel">Rituel </label>
|
</div>
|
||||||
<input class="attribute-value" type="checkbox" name="system.isrituel" {{#if system.isrituel}}checked{{/if}}/>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Portée </label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.portee" value="{{system.portee}}" data-dtype="String"/>
|
||||||
<label for="xp">Durée </label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.duree" value="{{system.duree}}" data-dtype="String"/>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Cible </label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.cible" value="{{system.cible}}" data-dtype="String"/>
|
||||||
<label for="xp">Portée </label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.portee" value="{{system.portee}}" data-dtype="String"/>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Jet de Resistance</label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.JR" value="{{system.JR}}" data-dtype="String"/>
|
||||||
<label for="xp">Cible </label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.cible" value="{{system.cible}}" data-dtype="String"/>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">XP </label>
|
||||||
<div class="form-group">
|
<input class="attribute-value" type="text" name="system.xp" value="{{system.xp}}" data-dtype="Number"/>
|
||||||
<label for="xp">Jet de Resistance</label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.JR" value="{{system.JR}}" data-dtype="String"/>
|
{{#if owner}}
|
||||||
</div>
|
{{#each bonusCaseList as |bcData key|}}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="xp">XP </label>
|
<label for="bonuscase">Case/Bonus :</label>
|
||||||
<input class="attribute-value" type="text" name="system.xp" value="{{system.xp}}" data-dtype="Number"/>
|
<input class="attribute-value" type="text" name="caseValue" value="{{bcData.case}}" data-dtype="String"/>
|
||||||
</div>
|
<input class="attribute-value" type="text" name="bonusValue" value="{{bcData.bonus}}" data-dtype="Number"/>
|
||||||
{{#if owner}}
|
</div>
|
||||||
{{#each bonusCaseList as |bcData key|}}
|
{{/each}}
|
||||||
<div class="form-group">
|
{{/if}}
|
||||||
<label for="bonuscase">Case/Bonus :</label>
|
|
||||||
<input class="attribute-value" type="text" name="caseValue" value="{{bcData.case}}" data-dtype="String"/>
|
|
||||||
<input class="attribute-value" type="text" name="bonusValue" value="{{bcData.bonus}}" data-dtype="Number"/>
|
|
||||||
</div>
|
|
||||||
{{/each}}
|
|
||||||
{{/if}}
|
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,16 +1,8 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
{{!-- Sheet Body --}}
|
||||||
<div class="header-fields">
|
<section class="sheet-body">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
|
||||||
<section class="sheet-body">
|
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,80 +1,72 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
{{!-- Sheet Body --}}
|
||||||
<div class="header-fields">
|
<section class="sheet-body">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Caractéristique</label>
|
||||||
</header>
|
<select name="system.carac" id="caracselect" data-dtype="String">
|
||||||
|
{{#select system.carac}}
|
||||||
{{!-- Sheet Body --}}
|
{{#each caracList as |carac key|}}
|
||||||
<section class="sheet-body">
|
<option value="{{key}}">{{carac.label}}</option>
|
||||||
<div class="form-group">
|
{{/each}}
|
||||||
<label for="xp">Caractéristique</label>
|
{{/select}}
|
||||||
<select name="system.carac" id="caracselect" data-dtype="String">
|
|
||||||
{{#select system.carac}}
|
|
||||||
{{#each caracList as |carac key|}}
|
|
||||||
<option value="{{key}}">{{carac.label}}</option>
|
|
||||||
{{/each}}
|
|
||||||
{{/select}}
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="xp">Compétence</label>
|
|
||||||
<select name="system.competence" id="competenceselect" data-dtype="String">
|
|
||||||
{{#select system.competence}}
|
|
||||||
{{#each competences as |competence key|}}
|
|
||||||
<option value="{{competence.name}}">{{competence.name}}</option>
|
|
||||||
{{/each}}
|
|
||||||
{{/select}}
|
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="xp">Difficulté</label>
|
<label for="xp">Compétence</label>
|
||||||
<input class="attribute-value" type="text" name="system.difficulte" value="{{system.difficulte}}" data-dtype="Number"/>
|
<select name="system.competence" id="competenceselect" data-dtype="String">
|
||||||
</div>
|
{{#select system.competence}}
|
||||||
<div class="form-group">
|
{{#each competences as |competence key|}}
|
||||||
<label for="xp">Périodicité</label>
|
<option value="{{competence.name}}">{{competence.name}}</option>
|
||||||
<input class="attribute-value" type="text" name="system.periodicite" value="{{system.periodicite}}" data-dtype="String"/>
|
{{/each}}
|
||||||
</div>
|
{{/select}}
|
||||||
<div class="form-group">
|
</select>
|
||||||
<label for="xp">Fatigue</label>
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.fatigue" value="{{system.fatigue}}" data-dtype="Number"/>
|
<div class="form-group">
|
||||||
</div>
|
<label for="xp">Difficulté</label>
|
||||||
{{#if isGM}}
|
<input class="attribute-value" type="text" name="system.difficulte" value="{{system.difficulte}}" data-dtype="Number"/>
|
||||||
<div class="form-group">
|
</div>
|
||||||
<label for="xp">Cacher les Points de Tâches nécessaires au joueur</label>
|
<div class="form-group">
|
||||||
<input class="attribute-value" type="checkbox" name="system.cacher_points_de_tache" value="{{system.cacher_points_de_tache}}" {{checked system.cacher_points_de_tache}}/>
|
<label for="xp">Périodicité</label>
|
||||||
</div>
|
<input class="attribute-value" type="text" name="system.periodicite" value="{{system.periodicite}}" data-dtype="String"/>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="xp">Fatigue</label>
|
||||||
|
<input class="attribute-value" type="text" name="system.fatigue" value="{{system.fatigue}}" data-dtype="Number"/>
|
||||||
|
</div>
|
||||||
|
{{#if isGM}}
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="xp">Cacher les Points de Tâches nécessaires au joueur</label>
|
||||||
|
<input class="attribute-value" type="checkbox" name="system.cacher_points_de_tache" value="{{system.cacher_points_de_tache}}" {{checked system.cacher_points_de_tache}}/>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="xp">Points de tâches nécessaires</label>
|
||||||
|
<input class="attribute-value" type="text" name="system.points_de_tache" value="{{system.points_de_tache}}" data-dtype="Number"/>
|
||||||
|
</div>
|
||||||
|
{{else}}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="xp">Points de tâches nécessaires</label>
|
<label for="xp">Points de tâches nécessaires</label>
|
||||||
|
{{#if system.cacher_points_de_tache}}
|
||||||
|
<input class="attribute-value" type="text" value="?????" data-dtype="Number" disabled/>
|
||||||
|
{{else}}
|
||||||
<input class="attribute-value" type="text" name="system.points_de_tache" value="{{system.points_de_tache}}" data-dtype="Number"/>
|
<input class="attribute-value" type="text" name="system.points_de_tache" value="{{system.points_de_tache}}" data-dtype="Number"/>
|
||||||
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{/if}}
|
||||||
<div class="form-group">
|
<hr>
|
||||||
<label for="xp">Points de tâches nécessaires</label>
|
<div class="form-group">
|
||||||
{{#if system.cacher_points_de_tache}}
|
<label for="xp">Points de tâches obtenus</label>
|
||||||
<input class="attribute-value" type="text" value="?????" data-dtype="Number" disabled/>
|
<input class="attribute-value" type="text" name="system.points_de_tache_courant" value="{{system.points_de_tache_courant}}" data-dtype="Number"/>
|
||||||
{{else}}
|
</div>
|
||||||
<input class="attribute-value" type="text" name="system.points_de_tache" value="{{system.points_de_tache}}" data-dtype="Number"/>
|
<div class="form-group">
|
||||||
{{/if}}
|
<label for="xp">Nombre de Succès</label>
|
||||||
</div>
|
<input class="attribute-value" type="text" name="system.nb_jet_succes" value="{{system.nb_jet_succes}}" data-dtype="Number" {{#if isGM}}{{else}}disabled{{/if}}/>
|
||||||
{{/if}}
|
</div>
|
||||||
<hr>
|
<div class="form-group">
|
||||||
<div class="form-group">
|
<label for="xp">Nombre d'Echecs</label>
|
||||||
<label for="xp">Points de tâches obtenus</label>
|
<input class="attribute-value" type="text" name="system.nb_jet_echec" value="{{system.nb_jet_echec}}" data-dtype="Number" {{#if isGM}}{{else}}disabled{{/if}}/>
|
||||||
<input class="attribute-value" type="text" name="system.points_de_tache_courant" value="{{system.points_de_tache_courant}}" data-dtype="Number"/>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="xp">Nombre de Succès</label>
|
|
||||||
<input class="attribute-value" type="text" name="system.nb_jet_succes" value="{{system.nb_jet_succes}}" data-dtype="Number" {{#if isGM}}{{else}}disabled{{/if}}/>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="xp">Nombre d'Echecs</label>
|
|
||||||
<input class="attribute-value" type="text" name="system.nb_jet_echec" value="{{system.nb_jet_echec}}" data-dtype="Number" {{#if isGM}}{{else}}disabled{{/if}}/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,29 +1,21 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
{{!-- Sheet Body --}}
|
||||||
<div class="header-fields">
|
<section class="sheet-body">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
<div class="flexcol">
|
||||||
</div>
|
<div class="form-group">
|
||||||
</header>
|
<label>Aspect</label>
|
||||||
|
<input class="attribute-value" type="text" name="system.concept" value="{{system.concept}}" data-dtype="String" />
|
||||||
{{!-- Sheet Body --}}
|
</div>
|
||||||
<section class="sheet-body">
|
<div class="form-group">
|
||||||
<div class="flexcol">
|
<label>Sens</label>
|
||||||
<div class="form-group">
|
<select name="system.aspect" id="aspect" data-dtype="String">
|
||||||
<label>Aspect</label>
|
{{#select system.aspect}}
|
||||||
<input class="attribute-value" type="text" name="system.concept" value="{{system.concept}}" data-dtype="String" />
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-aspect-tarot.html"}}
|
||||||
</div>
|
{{/select}}
|
||||||
<div class="form-group">
|
</select>
|
||||||
<label>Sens</label>
|
</div>
|
||||||
<select name="system.aspect" id="aspect" data-dtype="String">
|
|
||||||
{{#select system.aspect}}
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-aspect-tarot.html"}}
|
|
||||||
{{/select}}
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,16 +1,8 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
||||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
{{!-- Sheet Body --}}
|
||||||
<div class="header-fields">
|
<section class="sheet-body">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
|
||||||
<section class="sheet-body">
|
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user