2020-05-24 21:02:04 +02:00
< form class = "{{cssClass}}" autocomplete = "off" >
2020-05-21 21:48:20 +02:00
{{!-- Sheet Header --}}
< header class = "sheet-header" >
2020-11-20 11:40:32 +01:00
< div class = "header-fields" >
< div class = "flexrow" >
< img class = "profile-img" src = "{{actor.img}}" data-edit = "img" title = "{{actor.name}}" / >
< h1 class = "charname" > < input name = "name" type = "text" value = "{{actor.name}}" placeholder = "Name" / > < / h1 >
< / div >
< div class = "flexrow" >
2020-11-20 16:53:16 +01:00
< ul class = "flex-group-center flex-compteurs" >
< li >
2020-11-20 20:55:11 +01:00
< label class = "ctn-vie" >
2020-12-06 21:39:55 +01:00
< a id = "jet-vie" > Vie< / a >
2020-11-20 20:55:11 +01:00
< a id = "vie-moins" > -< / a >
< input class = "resource-content" type = "text" name = "data.sante.vie.value" value = "{{data.sante.vie.value}}" data-dtype = "Number" / >
< span > / {{data.sante.vie.max}}< / span >
< a id = "vie-plus" > +< / a >
< / label >
2020-11-20 16:53:16 +01:00
< / li >
< li >
2020-11-20 20:55:11 +01:00
< label class = "ctn-endu" >
Endurance
< a id = "endurance-moins" > -< / a >
< input class = "resource-content" type = "text" name = "data.sante.endurance.value" value = "{{data.sante.endurance.value}}" data-dtype = "Number" / >
< span > / {{data.sante.endurance.max}}< / span >
< a id = "endurance-plus" > +< / a >
< / label >
2020-11-20 16:53:16 +01:00
< / li >
< li >
2020-11-20 20:55:11 +01:00
< label class = "ctn-fatigue tooltip" >
Fatigue
< a id = "fatigue-moins" > -< / a >
2020-11-18 20:16:59 +01:00
< span class = "tooltiptext" > {{{data.fatigue.html}}}< / span >
2020-11-20 16:53:16 +01:00
< input class = "resource-content" id = "fatigue-value" type = "text" name = "data.sante.fatigue.value" value = "{{data.sante.fatigue.value}}" data-dtype = "Number" / >
2020-11-20 20:55:11 +01:00
< span > / {{data.sante.fatigue.max}}< / span >
< a id = "fatigue-plus" > +< / a >
< / label >
2020-11-20 16:53:16 +01:00
< / li >
< li >
2020-11-20 20:55:11 +01:00
< label class = "ctn-sonne" >
Sonné :
2020-11-20 16:53:16 +01:00
< input class = "resource-content" type = "checkbox" name = "data.sante.sonne.value" value = "{{data.sante.sonne.value}}" { { # if data . sante . sonne . value } } checked { { / if } } / >
< / label >
< / li >
< li >
2020-11-20 20:55:11 +01:00
< label class = "ctn-reve" >
< span class = "ptreve-actuel" > < a > Rêve< / a > < / span >
< a id = "ptreve-actuel-moins" > -< / a >
2020-11-20 16:53:16 +01:00
< input class = "resource-content" id = "pointsreve-value" type = "text" name = "data.reve.reve.value" value = "{{data.reve.reve.value}}" data-dtype = "Number" / >
2020-11-20 20:55:11 +01:00
< span > / {{data.reve.seuil.value}}< / span >
< a id = "ptreve-actuel-plus" > +< / a >
< / label >
2020-11-20 16:53:16 +01:00
< / li >
< / ul >
2020-11-20 11:40:32 +01:00
< div class = "flex-group-center flex-actions-bar" >
< div >
2020-12-01 01:17:18 +01:00
< span id = "encaisser-direct" > < a title = "Encaisser des dommages" > < img class = "button-img" src = "icons/svg/bones.svg" alt = "Encaisser des dommages" / > < / a > < / span >
< span id = "remise-a-neuf" class = "gm-only" > < a title = "Remise à neuf" > < img class = "button-img" src = "icons/svg/regen.svg" alt = "Remise à neuf" / > < / a > < / span >
< span id = "dormir-une-heure" > < a title = "Dormir une heure" > < img class = "button-img" src = "icons/svg/sleep.svg" alt = "Dormir une heure" / > < / a > < / span >
< span id = "dormir-chateau-dormant" > < a title = "Chateau Dormant" > < img class = "button-img" src = "systems/foundryvtt-reve-de-dragon/icons/heures/hd12.svg" alt = "Chateau Dormant" / > < / a > < / span >
< span id = "monte-tmr" > < a title = "Montée dans les Terres Médianes !" > < img class = "button-img" src = "systems/foundryvtt-reve-de-dragon/styles/img/ui/icon-tmr-normal.svg" alt = "Montée dans les Terres Médianes !" / > < / a > < / span >
< span id = "monte-tmr-rapide" > < a title = "Montée accélérée dans les Terres Médianes !" > < img class = "button-img" src = "systems/foundryvtt-reve-de-dragon/styles/img/ui/icon-tmr-rapide.svg" alt = "Montée accélérée dans les Terres Médianes !" / > < / a > < / span >
< span id = "visu-tmr" > < a title = "Regarder les Terres Médianes" > < img class = "button-img" src = "systems/foundryvtt-reve-de-dragon/styles/img/ui/icon-tmr-view.svg" alt = "Regarder les Terres Médianes" / > < / a > < / span >
2020-12-09 23:37:19 +01:00
< / div >
2020-06-12 11:47:41 +02:00
< div class = "flexrow" >
2020-11-20 11:40:32 +01:00
< span class = "tooltip" > Malus de fatigue : {{data.fatigue.malus}}
< span class = "tooltiptext" > {{{data.fatigue.html}}}< / span >
< / span >
2020-12-05 02:22:37 +01:00
< span > {{data.blessures.resume}}< / span >
2020-12-04 23:46:13 +01:00
< / div >
< div class = "flexrow" >
2020-12-09 23:37:19 +01:00
< span > {{data.compteurs.etat.label}}: {{data.compteurs.etat.value}}< / span > < span > < / span >
< / div >
< div class = "flexrow" >
< span > {{data.compteurs.surenc.label}}: {{data.compteurs.surenc.value}}< / span > < span > < / span >
2020-11-20 11:40:32 +01:00
< / div >
< / div >
2020-05-21 21:48:20 +02:00
< / div >
2020-11-20 11:40:32 +01:00
< / div >
2020-05-21 21:48:20 +02:00
< / header >
{{!-- Sheet Tab Navigation --}}
< nav class = "sheet-tabs tabs" data-group = "primary" >
2020-11-17 03:00:10 +01:00
< a class = "item" data-tab = "carac" > Carac.< / a >
2020-05-22 19:28:01 +02:00
< a class = "item" data-tab = "competences" > Compétences< / a >
2020-06-01 23:50:10 +02:00
< a class = "item" data-tab = "combat" > Combat< / a >
2020-11-17 03:00:10 +01:00
< a class = "item" data-tab = "blessurescompteurs" > États< / a >
2020-06-12 22:46:04 +02:00
< a class = "item" data-tab = "hautreve" > Haut-Rêve< / a >
2020-11-17 03:00:10 +01:00
< a class = "item" data-tab = "items" > Équipement< / a >
2020-05-21 21:48:20 +02:00
< a class = "item" data-tab = "description" > Description< / a >
< / nav >
{{!-- Sheet Body --}}
< section class = "sheet-body" >
2020-05-22 00:48:43 +02:00
{{!-- Carac Tab --}}
2020-05-24 21:02:04 +02:00
< div class = "tab items" data-group = "primary" data-tab = "carac" >
2020-05-24 20:19:57 +02:00
< div class = "grid grid-2col" >
2020-05-24 21:02:04 +02:00
< div class = "flex-group-left flexcol" >
2020-12-09 23:37:19 +01:00
< span > < a class = "lock-unlock-sheet" > {{data.lockUnlockText}}< / a > < / span >
2020-11-26 23:33:05 +01:00
< ul class = "carac-list alterne-list" >
{{#each data.carac as |carac key|}}
< li class = "competence flexrow list-item" data-attribute = "{{key}}" >
{{#if carac.isTaille}}
< span class = "carac-label flexrow" name = "data.carac.{{key}}.label" > {{carac.label}}< / span >
2020-05-24 20:19:57 +02:00
{{else}}
2020-11-26 23:33:05 +01:00
< span class = "carac-label flexrow" name = "data.carac.{{key}}.label" > < a name = {{key}} > {{carac.label}}< / a > < / span >
2020-05-24 20:19:57 +02:00
{{/if}}
2020-12-04 23:46:13 +01:00
{{#if carac.derivee}}
< label class = "competence-value flexrow" > {{carac.value}}< / label >
{{else}}
< input class = "carac-value flexrow" type = "text" name = "data.carac.{{key}}.value" value = "{{carac.value}}" data-dtype = "{{carac.type}}" { { # unless @ root . data . editCaracComp } } disabled { { / unless } } / >
< input class = "competence-xp flexrow" type = "text" name = "data.carac.{{key}}.xp" value = "{{carac.xp}}" data-dtype = "number" { { # unless @ root . data . editCaracComp } } disabled { { / unless } } / >
{{/if}}
2020-11-26 23:33:05 +01:00
< / li >
{{/each}}
< li class = "competence flexrow" >
< span class = "carac-label flexrow" name = "carac-total" > Total Caractéristiques < / span >
< span class = "competence-value flexrow" name = "carac-total-value" > {{data.caracSum}} < / span >
< / li >
< / ul >
2020-05-24 20:19:57 +02:00
< / div >
2020-05-24 21:02:04 +02:00
< div class = "flex-group-left flexcol" >
2020-11-26 23:33:05 +01:00
< ul class = "carac-list" >
{{#each data.attributs as |attr key|}}
2020-12-04 23:46:13 +01:00
< li class = "competence flexrow list-item" data-attribute = "{{key}}" >
< span class = "competence-label flexrow" name = "data.attributs.{{key}}.label" > {{attr.label}} : {{attr.value}}< / span >
< / li >
2020-11-26 23:33:05 +01:00
{{/each}}
2020-12-04 23:46:13 +01:00
< / ul >
< ul class = "carac-list alterne-list" >
< li class = "competence flexrow list-item" >
2020-12-06 18:41:54 +01:00
< span class = "generic-label" id = "chance-actuelle" > < a > Chance actuelle< / a > < / span >
2020-12-04 23:46:13 +01:00
< input class = "compteur-edit" id = "chance-edit" type = "text" name = "chance" value = "{{data.compteurs.chance.value}}" data-dtype = "number" / >
< a class = "item-control stress-test" id = "chance-appel" > Utiliser< / a >
< / li >
{{#each data.compteurs as |compteur key|}}
{{#if compteur.isChance}}
{{else if compteur.isInput}}
< li class = "competence flexrow list-item" >
< span class = "generic-label" > {{compteur.label}}< / span >
< input class = "compteur-edit" id = "{{key}}-edit" type = "text" name = "{{key}}" value = "{{compteur.value}}" data-dtype = "number" / >
{{#if compteur.isStress}}
< a class = "item-control stress-test" id = "stress-test" title = "Transformer" > Transformer< / a >
{{else}}
2020-12-06 21:11:30 +01:00
{{#if (eq compteur.label 'Ethylisme')}}
2020-12-06 20:13:43 +01:00
< a class = "item-control ethylisme-test" id = "ethylisme-test" title = "Jet d'Ethylisme" > Jet d'Ethylisme< / a >
{{else}}
2020-12-04 23:46:13 +01:00
< label > < / label >
2020-12-06 20:13:43 +01:00
{{/if}}
2020-12-04 23:46:13 +01:00
{{/if}}
2020-11-26 23:33:05 +01:00
< / li >
2020-12-04 23:46:13 +01:00
{{/if}}
2020-11-26 23:33:05 +01:00
{{/each}}
< / ul >
2020-12-06 19:29:10 +01:00
< ul class = "carac-list" > < / ul >
2020-05-24 20:19:57 +02:00
< / div >
< / div >
2020-05-22 00:48:43 +02:00
< / div >
2020-05-24 20:19:57 +02:00
2020-05-22 00:48:43 +02:00
{{!-- Compétences Tab --}}
2020-05-22 19:28:01 +02:00
< div class = "tab competences" data-group = "primary" data-tab = "competences" >
2020-12-09 23:37:19 +01:00
< div class = "flexrow" >
< span > < a class = "lock-unlock-sheet" > {{data.lockUnlockText}}< / a > < / span >
< span > < a class = "show-hide-competences" > {{data.showHideCompetenceText}}< / a > < / span >
< / div >
2020-06-12 22:46:04 +02:00
< div class = "grid grid-2col" >
2020-07-27 16:27:41 +02:00
< div class = "flex-group-left flexcol competence-column" >
2020-06-12 22:46:04 +02:00
< header class = "competence-header flexrow" >
< span class = "competence-title" > Compétences de base< / span >
< / header >
2020-11-26 23:33:05 +01:00
< ul class = "item-list alterne-list" >
{{#each data.competenceByCategory.generale as |comp key|}}
2020-12-06 22:19:40 +01:00
{{#if data.afficherCompetence}}
2020-11-24 18:39:27 +01:00
< li class = "item flexrow list-item" data-item-id = "{{comp._id}}" >
2020-06-12 22:46:04 +02:00
< img class = "sheet-competence-img" src = "{{comp.img}}" / >
< span class = "competence-label" name = "data.competenceByCategory.generale[{{key}}].name" > < a > {{comp.name}}< / a > < / span >
2020-11-20 12:06:54 +01:00
< input class = "competence-value" type = "text" name = "data.competenceByCategory.generale[{{key}}].data.value" compname = "{{comp.name}}" value = "{{numberFormat comp.data.niveau decimals=0 sign=true}}" data-dtype = "number" { { # unless @ root . data . editCaracComp } } disabled { { / unless } } / >
< input class = "competence-xp" type = "text" name = "data.competenceByCategory.generale[{{key}}]].data.xp" compname = "{{comp.name}}" value = "{{comp.data.xp}}" data-dtype = "number" { { # unless @ root . data . editCaracComp } } disabled { { / unless } } / >
2020-06-12 22:46:04 +02:00
< div class = "item-controls" >
< 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 >
2020-11-26 23:33:05 +01:00
< / div >
2020-06-12 22:46:04 +02:00
< / li >
2020-12-06 22:19:40 +01:00
{{/if}}
2020-11-26 23:33:05 +01:00
{{/each}}
< / ul >
2020-05-22 19:28:01 +02:00
2020-07-27 16:27:41 +02:00
< header class = "competence-header flexrow" >
2020-06-12 22:46:04 +02:00
< span class = "competence-title" > Compétences Particulières< / span >
< / header >
2020-11-26 23:33:05 +01:00
< ul class = "item-list alterne-list" >
{{#each data.competenceByCategory.particuliere as |comp key|}}
2020-12-06 22:19:40 +01:00
{{#if data.afficherCompetence}}
2020-11-24 18:39:27 +01:00
< li class = "item flexrow list-item" data-item-id = "{{comp._id}}" >
2020-06-12 22:46:04 +02:00
< img class = "sheet-competence-img" src = "{{comp.img}}" / >
< span class = "competence-label" name = "data.competenceByCategory.particuliere[{{key}}].name" > < a > {{comp.name}}< / a > < / span >
2020-11-20 12:06:54 +01:00
< input class = "competence-value" type = "text" name = "data.competenceByCategory.particuliere[{{key}}].data.niveau" compname = "{{comp.name}}" value = "{{numberFormat comp.data.niveau decimals=0 sign=true}}" data-dtype = "number" { { # unless @ root . data . editCaracComp } } disabled { { / unless } } / >
< input class = "competence-xp" type = "text" name = "data.competenceByCategory.particuliere[{{key}}].data.xp" compname = "{{comp.name}}" value = "{{comp.data.xp}}" data-dtype = "number" { { # unless @ root . data . editCaracComp } } disabled { { / unless } } / >
2020-06-12 22:46:04 +02:00
< div class = "item-controls" >
< 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 >
2020-11-26 23:33:05 +01:00
< / div >
2020-06-12 22:46:04 +02:00
< / li >
2020-12-06 22:19:40 +01:00
{{/if}}
2020-11-26 23:33:05 +01:00
{{/each}}
< / ul >
2020-07-27 16:27:41 +02:00
< header class = "competence-header flexrow" >
< span class = "competence-title" > Compétences Spécialisées< / span >
< / header >
2020-11-26 23:33:05 +01:00
< ul class = "item-list alterne-list" >
{{#each data.competenceByCategory.specialisee as |comp key|}}
2020-12-06 22:19:40 +01:00
{{#if data.afficherCompetence}}
2020-11-24 18:39:27 +01:00
< li class = "item flexrow list-item" data-item-id = "{{comp._id}}" >
2020-07-27 16:27:41 +02:00
< img class = "sheet-competence-img" src = "{{comp.img}}" / >
< span class = "competence-label" name = "data.competenceByCategory.specialisee[{{key}}].name" > < a > {{comp.name}}< / a > < / span >
2020-11-20 12:06:54 +01:00
< input class = "competence-value" type = "text" name = "data.competenceByCategory.specialisee[{{key}}].data.niveau" compname = "{{comp.name}}" value = "{{numberFormat comp.data.niveau decimals=0 sign=true}}" data-dtype = "number" { { # unless @ root . data . editCaracComp } } disabled { { / unless } } / >
< input class = "competence-xp" type = "text" name = "data.competenceByCategory.specialisee[{{key}}].data.xp" compname = "{{comp.name}}" value = "{{comp.data.xp}}" data-dtype = "number" { { # unless @ root . data . editCaracComp } } disabled { { / unless } } / >
2020-07-27 16:27:41 +02:00
< div class = "item-controls" >
< 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 >
2020-11-26 23:33:05 +01:00
< / div >
2020-07-27 16:27:41 +02:00
< / li >
2020-12-06 22:19:40 +01:00
{{/if}}
{{/each}}
2020-11-26 23:33:05 +01:00
< / ul >
2020-07-27 16:27:41 +02:00
< / div >
2020-06-12 22:46:04 +02:00
2020-07-27 16:27:41 +02:00
< div class = "flex-group-left flexcol competence-column" >
< header class = "competence-header flexrow" >
2020-06-17 20:31:43 +02:00
< span class = "competence-title" > Compétences De Mêlée< / span >
< / header >
2020-11-26 23:33:05 +01:00
< ul class = "item-list alterne-list" >
{{#each data.competenceByCategory.melee as |comp key|}}
2020-12-06 22:19:40 +01:00
{{#if data.afficherCompetence}}
2020-11-24 18:39:27 +01:00
< li class = "item flexrow list-item" data-item-id = "{{comp._id}}" >
2020-06-17 20:31:43 +02:00
< img class = "sheet-competence-img" src = "{{comp.img}}" / >
< span class = "competence-label" name = "data.competenceByCategory.melee[{{key}}].name" > < a > {{comp.name}}< / a > < / span >
2020-11-20 12:06:54 +01:00
< input class = "competence-value" type = "text" name = "data.competenceByCategory.melee[{{key}}].data.niveau" compname = "{{comp.name}}" value = "{{numberFormat comp.data.niveau decimals=0 sign=true}}" data-dtype = "number" { { # unless @ root . data . editCaracComp } } disabled { { / unless } } / >
< input class = "competence-xp" type = "text" name = "data.competenceByCategory.melee[{{key}}].data.xp" compname = "{{comp.name}}" value = "{{comp.data.xp}}" data-dtype = "number" { { # unless @ root . data . editCaracComp } } disabled { { / unless } } / >
2020-06-17 20:31:43 +02:00
< div class = "item-controls" >
< 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 >
2020-11-26 23:33:05 +01:00
< / div >
2020-06-17 20:31:43 +02:00
< / li >
2020-12-06 22:19:40 +01:00
{{/if}}
{{/each}}
2020-11-26 23:33:05 +01:00
< / ul >
2020-06-17 20:31:43 +02:00
2020-07-27 16:27:41 +02:00
< header class = "competence-header flexrow" >
2020-06-17 20:31:43 +02:00
< span class = "competence-title" > Compétences De Tir< / span >
< / header >
2020-11-26 23:33:05 +01:00
< ul class = "item-list alterne-list" >
{{#each data.competenceByCategory.tir as |comp key|}}
2020-12-06 22:19:40 +01:00
{{#if data.afficherCompetence}}
2020-11-24 18:39:27 +01:00
< li class = "item flexrow list-item" data-item-id = "{{comp._id}}" >
2020-06-17 20:31:43 +02:00
< img class = "sheet-competence-img" src = "{{comp.img}}" / >
< span class = "competence-label" name = "data.competenceByCategory.tir[{{key}}].name" > < a > {{comp.name}}< / a > < / span >
2020-11-20 12:06:54 +01:00
< input class = "competence-value" type = "text" name = "data.competenceByCategory.tir[{{key}}].data.niveau" compname = "{{comp.name}}" value = "{{numberFormat comp.data.niveau decimals=0 sign=true}}" data-dtype = "number" { { # unless @ root . data . editCaracComp } } disabled { { / unless } } / >
< input class = "competence-xp" type = "text" name = "data.competenceByCategory.tir[{{key}}].data.xp" compname = "{{comp.name}}" value = "{{comp.data.xp}}" data-dtype = "number" { { # unless @ root . data . editCaracComp } } disabled { { / unless } } / >
2020-06-17 20:31:43 +02:00
< div class = "item-controls" >
< 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 >
2020-11-26 23:33:05 +01:00
< / div >
2020-06-17 20:31:43 +02:00
< / li >
2020-12-06 22:19:40 +01:00
{{/if}}
2020-11-26 23:33:05 +01:00
{{/each}}
< / ul >
2020-06-17 20:31:43 +02:00
2020-07-27 16:27:41 +02:00
< header class = "competence-header flexrow" >
2020-06-17 20:31:43 +02:00
< span class = "competence-title" > Compétences De Lancer< / span >
< / header >
2020-11-26 23:33:05 +01:00
< ul class = "item-list alterne-list" >
2020-06-17 20:31:43 +02:00
{{#each data.competenceByCategory.lancer as |comp key|}}
2020-12-06 22:19:40 +01:00
{{#if data.afficherCompetence}}
2020-11-24 18:39:27 +01:00
< li class = "item flexrow list-item" data-item-id = "{{comp._id}}" >
2020-06-17 20:31:43 +02:00
< img class = "sheet-competence-img" src = "{{comp.img}}" / >
< span class = "competence-label" name = "data.competenceByCategory.lancer[{{key}}].name" > < a > {{comp.name}}< / a > < / span >
2020-11-20 12:06:54 +01:00
< input class = "competence-value" type = "text" name = "data.competenceByCategory.lancer[{{key}}].data.niveau" compname = "{{comp.name}}" value = "{{numberFormat comp.data.niveau decimals=0 sign=true}}" data-dtype = "number" { { # unless @ root . data . editCaracComp } } disabled { { / unless } } / >
< input class = "competence-xp" type = "text" name = "data.competenceByCategory.lancer[{{key}}].data.xp" compname = "{{comp.name}}" value = "{{comp.data.xp}}" data-dtype = "number" { { # unless @ root . data . editCaracComp } } disabled { { / unless } } / >
2020-06-17 20:31:43 +02:00
< div class = "item-controls" >
< 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 >
2020-11-26 23:33:05 +01:00
< / div >
2020-06-17 20:31:43 +02:00
< / li >
2020-12-06 22:19:40 +01:00
{{/if}}
2020-11-26 23:33:05 +01:00
{{/each}}
< / ul >
2020-06-17 20:31:43 +02:00
2020-06-12 22:46:04 +02:00
< header class = "competence-header flexrow" >
< span class = "competence-title" > Connaissances< / span >
< / header >
2020-11-26 23:33:05 +01:00
< ul class = "item-list alterne-list" >
{{#each data.competenceByCategory.connaissance as |comp key|}}
2020-12-06 22:19:40 +01:00
{{#if data.afficherCompetence}}
2020-11-24 18:39:27 +01:00
< li class = "item flexrow list-item" data-item-id = "{{comp._id}}" >
2020-06-12 22:46:04 +02:00
< img class = "sheet-competence-img" src = "{{comp.img}}" / >
< span class = "competence-label" name = "data.competenceByCategory.connaissance[{{key}}].name" > < a > {{comp.name}}< / a > < / span >
2020-11-20 12:06:54 +01:00
< input class = "competence-value" type = "text" name = "data.competenceByCategory.connaissance[{{key}}].data.niveau" compname = "{{comp.name}}" value = "{{numberFormat comp.data.niveau decimals=0 sign=true}}" data-dtype = "number" { { # unless @ root . data . editCaracComp } } disabled { { / unless } } / >
< input class = "competence-xp" type = "text" name = "data.competenceByCategory.connaissance[{{key}}].data.xp" compname = "{{comp.name}}" value = "{{comp.data.xp}}" data-dtype = "number" { { # unless @ root . data . editCaracComp } } disabled { { / unless } } / >
2020-06-12 22:46:04 +02:00
< div class = "item-controls" >
< 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 >
2020-11-26 23:33:05 +01:00
< / div >
2020-06-12 22:46:04 +02:00
< / li >
2020-12-06 22:19:40 +01:00
{{/if}}
2020-11-26 23:33:05 +01:00
{{/each}}
< / ul >
2020-05-22 19:28:01 +02:00
2020-07-27 16:27:41 +02:00
< header class = "competence-header flexrow" >
2020-06-12 22:46:04 +02:00
< span class = "competence-title" > Draconic< / span >
< / header >
2020-11-26 23:33:05 +01:00
< ul class = "item-list alterne-list" >
2020-06-12 22:46:04 +02:00
{{#each data.competenceByCategory.draconic as |comp key|}}
2020-12-06 22:19:40 +01:00
{{#if data.afficherCompetence}}
< li class = "item flexrow list-item" data-item-id = "{{comp._id}}" >
< img class = "sheet-competence-img" src = "{{comp.img}}" / >
< span class = "competence-label" name = "data.competenceByCategory.draconic[{{key}}].name" > < a > {{comp.name}}< / a > < / span >
< input class = "competence-value" type = "text" name = "data.competenceByCategory.draconic[{{key}}].data.niveau" compname = "{{comp.name}}" value = "{{numberFormat comp.data.niveau decimals=0 sign=true}}" data-dtype = "number" { { # unless @ root . data . editCaracComp } } disabled { { / unless } } / >
< input class = "competence-xp" type = "text" name = "data.competenceByCategory.draconic[{{key}}].data.xp" compname = "{{comp.name}}" value = "{{comp.data.xp}}" data-dtype = "number" { { # unless @ root . data . editCaracComp } } disabled { { / unless } } / >
< div class = "item-controls" >
< 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 >
{{/if}}
2020-06-12 22:46:04 +02:00
{{/each}}
2020-11-26 23:33:05 +01:00
< / ul >
2020-08-13 22:28:56 +02:00
< div >
2020-11-26 23:33:05 +01:00
< ul class = "item-list" >
2020-08-13 22:28:56 +02:00
< li class = "item flexrow" >
2020-12-02 20:52:37 +01:00
< span class = "generic-label" > Total XP compétences< / span >
2020-08-13 22:28:56 +02:00
< span class = "competence-value" > {{data.competenceXPTotal}}< / span >
< / li >
2020-12-02 20:52:37 +01:00
< li class = "item flexrow" >
< span class = "generic-label" > < a id = "affiche-archetype" > Voir l'Archetype< / a > < / span >
< / li >
2020-11-26 23:33:05 +01:00
< / ul >
< / div >
2020-06-12 22:46:04 +02:00
< / div >
< / div >
2020-05-22 00:48:43 +02:00
< / div >
2020-06-01 23:50:10 +02:00
{{!-- Combat Tab --}}
< div class = "tab combat" data-group = "primary" data-tab = "combat" >
2020-11-26 23:33:05 +01:00
< ul class = "item-list alterne-list" >
2020-11-24 16:41:15 +01:00
< li class = "competence-header flexrow" >
< span class = "competence-title competence-label" > Armes< / span >
2020-12-05 21:19:32 +01:00
< span class = "competence-title competence-label" > Lancer l'Initiative< / span >
2020-11-24 16:41:15 +01:00
< span class = "competence-title competence-label" > Comp.< / span >
< span class = "competence-title competence-value" > Niveau< / span >
< span class = "competence-title competence-value" > +dom< / span >
< / li >
2020-11-12 15:06:25 +01:00
{{#each data.combat as |arme key|}}
2020-11-24 18:39:27 +01:00
< li class = "item flexrow list-item" data-item-id = "{{arme._id}}" >
2020-11-25 20:30:48 +01:00
< span class = "arme-label" name = "data.armes[{{key}}].name" > < a data-competence-name = "{{arme.data.competence}}" > {{arme.name}}< / a > < / span >
2020-12-05 21:19:32 +01:00
< span class = "arme-initiative" > < a data-arme-name = "{{arme.name}}" data-competence-name = "{{arme.data.competence}}" > {{arme.data.initiative}}< / a > < / span >
2020-11-24 16:41:15 +01:00
< span class = "competence-label" name = "data.armes[{{key}}].data.competence" > {{arme.data.competence}}< / span >
< span class = "competence-value" name = "data.armes[{{key}}].data.niveau" > {{numberFormat arme.data.niveau decimals=0 sign=true}}< / span >
< span class = "competence-value" name = "data.armes[{{key}}].data.dommages" > {{numberFormat arme.data.dommages decimals=0 sign=true}}< / span >
< / li >
2020-06-01 23:50:10 +02:00
{{/each}}
2020-11-26 23:33:05 +01:00
< / ul >
2020-06-01 23:50:10 +02:00
< / div >
2020-06-12 22:46:04 +02:00
2020-11-04 16:29:10 +01:00
{{!-- Compteurs/Blessures Tab --}}
< div class = "tab blessurescompteurs" data-group = "primary" data-tab = "blessurescompteurs" >
2020-11-26 23:33:05 +01:00
{{!-- Liste de blessures --}}
< div class = "flex-group-left flexcol competence-column" >
< h3 class = "blessures-title" > Blessures Légeres :< / h3 >
< ul class = "blessure-data flexrow alterne-list blessures-list" >
2020-11-04 18:00:42 +01:00
{{#each data.blessures.legeres.liste as |bless key|}}
2020-11-24 18:39:27 +01:00
< li class = "item flexrow blessure-data list-item" data-blessure-type = "legere" data-attribute = {{key}} data-blessure-index = "{{key}}" >
2020-11-26 23:33:05 +01:00
< ul >
< li class = "item-control blessure-control" title = "Blessure Légère" data-blessure-active = "{{bless.active}}" >
{{#if bless.active}}
< i class = "fas fa-circle" > < / i >
{{else}}
< i class = "fas fa-genderless" > < / i >
{{/if}}
< / li >
< li >
Premiers soins
< input class = "blessures-soins" type = "text" name = "premiers_soins" data-dtype = "number" value = "{{bless.premiers_soins}}" / >
< / li >
< li >
Soins complets
< input class = "blessures-soins" type = "text" name = "soins_complets" data-dtype = "number" value = "{{bless.soins_complets}}" / >
< / li >
< li >
Jours
< input class = "blessures-soins" type = "text" name = "jours" data-dtype = "number" value = "{{bless.jours}}" / >
< / li >
< li >
Loc.
< input class = "blessures-soins" type = "text" name = "localisation" data-dtype = "String" value = "{{bless.localisation}}" / >
< / li >
< / ul >
2020-11-04 18:00:42 +01:00
< / li >
{{/each}}
2020-11-26 23:33:05 +01:00
< / ul >
< h3 class = "blessures-title" > Blessures Graves :< / h3 >
< ul class = "flexrow alterne-list blessures-list" >
2020-11-04 18:00:42 +01:00
{{#each data.blessures.graves.liste as |bless key|}}
2020-11-26 23:33:05 +01:00
< li class = "item flexrow list-item" data-blessure-type = "grave" data-attribute = {{key}} data-blessure-index = "{{key}}" >
< ul >
< li class = "item-control blessure-control" title = "Blessure Grave" data-blessure-active = "{{bless.active}}" >
{{#if bless.active}}
< i class = "fas fa-circle" > < / i >
{{else}}
< i class = "fas fa-genderless" > < / i >
{{/if}}
< / li >
< li >
Premiers soins
< input class = "blessures-soins" type = "text" name = "premiers_soins" data-dtype = "number" value = "{{bless.premiers_soins}}" / >
< / li >
< li >
Soins complets
< input class = "blessures-soins" type = "text" name = "soins_complets" data-dtype = "number" value = "{{bless.soins_complets}}" / >
< / li >
< li >
Jours
< input class = "blessures-soins" type = "text" name = "jours" data-dtype = "number" value = "{{bless.jours}}" / >
< / li >
< li >
Loc.
< input class = "blessures-soins" type = "text" name = "localisation" data-dtype = "String" value = "{{bless.localisation}}" / >
< / li >
< / ul >
2020-11-04 18:00:42 +01:00
< / li >
{{/each}}
2020-11-26 23:33:05 +01:00
< / ul >
< h3 class = "blessures-title" > Blessure Critique :< / h3 >
< ul class = "flexrow alterne-list blessures-list" >
2020-11-04 18:00:42 +01:00
{{#each data.blessures.critiques.liste as |bless key|}}
2020-11-26 23:33:05 +01:00
< li class = "item list-item flexrow" data-blessure-type = "critique" data-attribute = {{key}} data-blessure-index = "{{key}}" >
< ul >
< li class = "flex-group-center item-control blessure-control" title = "Blessure Critique" data-blessure-active = "{{bless.active}}" >
{{#if bless.active}}
< i class = "fas fa-circle" > < / i >
{{else}}
< i class = "fas fa-genderless" > < / i >
{{/if}}
< / li >
< li >
Premiers soins
< input class = "blessures-soins" type = "text" name = "premiers_soins" data-dtype = "number" value = "{{bless.premiers_soins}}" / >
< / li >
< li >
Soins complets
< input class = "blessures-soins" type = "text" name = "soins_complets" data-dtype = "number" value = "{{bless.soins_complets}}" / >
< / li >
< li >
Jours
< input class = "blessures-soins" type = "text" name = "jours" data-dtype = "number" value = "{{bless.jours}}" / >
< / li >
< li >
Loc.
< input class = "blessures-soins" type = "text" name = "localisation" data-dtype = "String" value = "{{bless.localisation}}" / >
< / li >
< / ul >
2020-11-04 18:00:42 +01:00
< / li >
{{/each}}
2020-11-26 23:33:05 +01:00
< / ul >
2020-11-04 18:00:42 +01:00
< / div >
2020-11-26 23:33:05 +01:00
{{!-- Queues, Souffles, Tetes, Ombre --}}
< ul class = "flex-group-left" >
2020-11-04 18:00:42 +01:00
< li class = "item flexrow" data-attribute = {{key}} data-item-id = "{{queue._id}}" >
2020-11-26 23:33:05 +01:00
< h3 > Queues:< / h3 >
{{#each data.queues as |queue key|}}
< span class = "queuesouffle-label" > < a data-item-id = "{{queue._id}}" > {{queue.name}}< / a > < / span >
< div class = "item-controls" >
< a class = "item-control item-delete" title = "Delete Item" > < i class = "fas fa-trash" > < / i > < / a >
< / div >
{{/each}}
2020-08-14 22:24:35 +02:00
< / li >
2020-11-16 09:41:46 +01:00
< li class = "item flexrow" data-attribute = {{key}} data-item-id = "{{souffle._id}}" >
2020-11-26 23:33:05 +01:00
< h3 > Souffles:< / h3 >
{{#each data.souffles as |souffle key|}}
< span class = "queuesouffle-label" > < a data-item-id = "{{souffle._id}}" > {{souffle.name}}< / a > < / span >
< div class = "item-controls" >
< a class = "item-control item-delete" title = "Delete Item" > < i class = "fas fa-trash" > < / i > < / a >
< / div >
{{/each}}
2020-06-12 22:46:04 +02:00
< / li >
2020-11-16 09:41:46 +01:00
< li class = "item flexrow" data-attribute = {{key}} data-item-id = "{{tete._id}}" >
2020-11-26 23:33:05 +01:00
< h3 > Tetes:< / h3 >
{{#each data.tetes as |tete key|}}
< span class = "queuesouffle-label" > < a data-item-id = "{{tete._id}}" > {{tete.name}}< / a > < / span >
< div class = "item-controls" >
< a class = "item-control item-delete" title = "Delete Item" > < i class = "fas fa-trash" > < / i > < / a >
< / div >
{{/each}}
2020-06-12 22:46:04 +02:00
< / li >
2020-11-16 09:41:46 +01:00
< li class = "item flexrow" data-attribute = {{key}} data-item-id = "{{ombre._id}}" >
2020-11-26 23:33:05 +01:00
< h3 > Ombres de Thanatos:< / h3 >
{{#each data.ombres as |ombre key|}}
< span class = "queuesouffle-label" > < a data-item-id = "{{ombre._id}}" > {{ombre.name}}< / a > < / span >
< div class = "item-controls" >
< a class = "item-control item-delete" title = "Delete Item" > < i class = "fas fa-trash" > < / i > < / a >
< / div >
{{/each}}
2020-06-12 22:46:04 +02:00
< / li >
2020-11-26 23:33:05 +01:00
< / ul >
2020-11-04 18:00:42 +01:00
< / div >
2020-06-12 22:46:04 +02:00
2020-11-26 23:33:05 +01:00
{{!-- hautreve Tab --}}
< div class = "tab hautreve " data-group = "primary" data-tab = "hautreve" style = "height:200px" >
< div >
< ul class = "item-list" >
< li class = "item flexrow" >
< span class = "competence-label" > Position en TMR :< / span >
< span >
{{#if data.isGM}}
< input class = "competence-value" type = "text" name = "data.reve.tmrpos.coord" value = "{{data.reve.tmrpos.coord}}" data-dtype = "String" / >
{{else}}
{{data.reve.tmrpos.coord}}
{{/if}}
< / span >
< / li >
< li class = "item flexrow" >
< span class = "competence-label" > Seuil de Rêve :< / span >
< span >
{{#if data.isGM}}
< input class = "seuil-reve-value" type = "text" name = "data.reve.seuil.value" value = "{{data.reve.seuil.value}}" data-dtype = "Number" / >
{{else}}
{{data.reve.seuil.value}}
{{/if}}
< / span >
< / li >
< li class = "item flexrow" >
< span class = "competence-label" > Refoulement : < / span >
< span >
{{#if data.isGM}}
< input class = "competence-value" type = "text" name = "data.reve.refoulement.value" value = "{{data.reve.refoulement.value}}" data-dtype = "Number" / >
{{else}}
{{data.reve.refoulement.value}}
{{/if}}
< / span >
< / li >
2020-12-11 08:29:24 +01:00
< li class = "item flexrow" >
< span class = "competence-label" > < a id = "jet-astrologie" > Astrologie : Nombres Astraux< / a > < / span >
< / li >
2020-11-26 23:33:05 +01:00
< / ul >
< / div >
< div >
< span > < strong > Sorts:< / strong > < / span >
< ul class = "item-list" >
2020-11-17 11:42:52 +01:00
{{#each data.sorts as |mysort key|}}
< li class = "item flexrow" data-item-id = "{{mysort._id}}" data-attribute = "{{key}}" >
< span class = "sort-label" > < a data-id = "{{mysort._id}}" > {{mysort.name}}< / a > < / span >
< span > {{mysort.data.draconic}} / {{mysort.data.difficulte}}< / span >
< div class = "item-controls" >
< a class = "item-control item-delete" title = "Supprimer" > < i class = "fas fa-trash" > < / i > < / a >
< / div >
< / li >
{{/each}}
2020-11-26 23:33:05 +01:00
< / ul >
< / div >
< div >
< span > < strong > Sorts en Réserve:< / strong > < / span >
< ul class = "item-list" >
2020-11-18 08:42:03 +01:00
{{#each data.sortReserve as |reserve key|}}
< li class = "item flexrow" data-item-id = "{{mysort._id}}" data-attribute = "{{key}}" >
< span class = "sort-label" > {{reserve.sort.name}} - {{reserve.coord}}< / span >
< / li >
{{/each}}
2020-11-26 23:33:05 +01:00
< / ul >
2020-05-21 21:48:20 +02:00
< / div >
2020-11-26 23:33:05 +01:00
< / div >
2020-05-21 21:48:20 +02:00
2020-11-26 23:33:05 +01:00
{{!-- Equipment Tab --}}
< div class = "tab items" data-group = "primary" data-tab = "items" >
2020-11-27 12:20:13 +01:00
< span cass = item-name > Encombrement total/max : {{numberFormat data.encombrementTotal decimals=1}} / {{data.attributs.encombrement.value}} < b > {{data.surEncombrementMessage}}< / b > < / span >
2020-11-26 23:33:05 +01:00
< ul class = "item-list alterne-list" >
2020-11-27 12:20:13 +01:00
< li class = "competence-header flexrow" >
< span class = "competence-title competence-label" > Nom< / span >
< span class = "competence-title competence-label" > Q.< / span >
< span class = "competence-title competence-value" > Enc.< / span >
< span class = "competence-title competence-value" > Equiper< / span >
< span class = "competence-title competence-value" > Editer/Suppr.< / span >
< / li >
2020-11-26 23:33:05 +01:00
{{#each data.objets as |item id|}}
{{#unless item.estContenu}}
{{#if (ne item.type 'conteneur')}}
< li class = "item flexrow list-item" data-item-id = "{{item._id}}" >
< img class = "sheet-competence-img" src = "{{item.img}}" title = "{{item.name}}" / >
2020-11-27 12:20:13 +01:00
< span class = "item-name" > {{item.name}}< / span >
< span class = "item-quantite" > {{item.data.quantite}}< / span >
< span class = "item-quantite" > {{numberFormat item.data.encTotal decimals=2}}< / span >
2020-11-26 23:33:05 +01:00
< div class = "item-controls" >
< a class = "item-control item-equip" title = "Equiper" > {{#if item.data.equipe}}< i class = "fas fa-circle" > < / i > {{else}}< i class = "fas fa-genderless" > < / i > {{/if}}< / a >
< a class = "item-control item-edit" title = "Editer" > < i class = "fas fa-edit" > < / i > < / a >
< a class = "item-control item-delete" title = "Supprimer" > < i class = "fas fa-trash" > < / i > < / a >
< / div >
< / li >
{{/if}}
{{/unless}}
{{/each}}
2020-11-27 09:40:48 +01:00
{{#each data.conteneurs as |conteneur id|}}
{{buildConteneur this}}
{{/each}}
2020-11-26 23:33:05 +01:00
< / ul >
< / div >
2020-07-24 10:51:11 +02:00
2020-11-26 23:33:05 +01:00
{{!-- Biography Tab --}}
< div class = "tab biography" data-group = "primary" data-tab = "description" >
< article class = "flexrow" >
< ul class = "item-list alterne-list" >
< li class = "item flexrow list-item" >
< label class = "description-label competence-label" > Sexe :
< input class = "description-value flexrow" type = "text" name = "data.sexe" value = "{{data.sexe}}" data-dtype = "String" / >
< / label >
< / li >
< li class = "item flexrow list-item" >
< label class = "description-label competence-label" > Poids :
< input class = "description-value flexrow" type = "text" name = "data.poids" value = "{{data.poids}}" data-dtype = "String" / >
< / label >
< / li >
< li class = "item flexrow list-item" >
< label class = "description-label competence-label" > Taille :
< input class = "description-value flexrow" type = "text" name = "data.taille" value = "{{data.taille}}" data-dtype = "String" / >
< / label >
< / li >
< li class = "item flexrow list-item" >
< label class = "description-label competence-label" > Cheveux :
< input class = "description-value flexrow" type = "text" name = "data.cheveux" value = "{{data.cheveux}}" data-dtype = "String" / >
< / label >
< / li >
< li class = "item flexrow list-item" >
< label class = "description-label competence-label" > Yeux :
< input class = "description-value flexrow" type = "text" name = "data.yeux" value = "{{data.yeux}}" data-dtype = "String" / >
< / label >
< / li >
< / ul >
< ul class = "item-list alterne-list" >
< li class = "item flexrow list-item" >
< label class = "description-label competence-label" > Age :
< input class = "description-value flexrow" type = "text" name = "data.age" value = "{{data.age}}" data-dtype = "String" / >
< / label >
< / li >
< li class = "item flexrow list-item" >
< label class = "description-label competence-label" > Heure de naissance :
2020-12-11 02:48:35 +01:00
< select class = "description-value flexrow" type = "text" name = "data.heure" value = "{{data.heure}}" data-dtype = "String" >
{{#select data.heure}}
{{>"systems/foundryvtt-reve-de-dragon/templates/heures-select-option.html"}}
{{/select}}
< / select >
2020-11-26 23:33:05 +01:00
< / label >
< / li >
< li class = "item flexrow list-item" >
< label class = "description-label competence-label" > Beauté :
< input class = "description-value flexrow" type = "text" name = "data.beaute" value = "{{data.beaute}}" data-dtype = "String" / >
< / label >
< / li >
< li class = "item flexrow list-item" >
< label class = "description-label competence-label" > Main directrice :
< input class = "description-value flexrow" type = "text" name = "data.main" value = "{{data.main}}" data-dtype = "String" / >
< / label >
< / li >
< / ul >
< / article >
< article class = "flexcol" >
< h3 > Biographie : < / h3 >
< div class = "form-group editor" >
{{editor content=data.biographie target="data.biographie" button=true owner=owner editable=editable}}
2020-09-06 14:11:59 +02:00
< / div >
2020-11-26 23:33:05 +01:00
< h3 > Notes : < / h3 >
< div class = "form-group editor" >
{{editor content=data.notes target="data.notes" button=true owner=owner editable=editable}}
2020-08-29 22:52:41 +02:00
< / div >
2020-12-01 20:52:05 +01:00
{{>"systems/foundryvtt-reve-de-dragon/templates/editor-notes-mj.html"}}
2020-11-26 23:33:05 +01:00
< / article >
< / div >
2020-06-12 22:46:04 +02:00
2020-05-21 21:48:20 +02:00
< / section >
< / form >