#210 : Champ description (MJ seulement) pour tout les items

This commit is contained in:
sladecraven 2021-06-29 16:03:10 +02:00
parent 52fff9e79e
commit ab9f6f0017
37 changed files with 169 additions and 212 deletions

View File

@ -181,6 +181,7 @@ export class RdDUtility {
'systems/foundryvtt-reve-de-dragon/templates/partial-roll-enctotal.html',
'systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.html',
'systems/foundryvtt-reve-de-dragon/templates/partial-select-carac.html',
'systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html',
// Calendrier
'systems/foundryvtt-reve-de-dragon/templates/calendar-template.html',
'systems/foundryvtt-reve-de-dragon/templates/calendar-editor-template.html',

View File

@ -2,11 +2,11 @@
"name": "foundryvtt-reve-de-dragon",
"title": "Rêve de Dragon",
"description": "Rêve de Dragon RPG for FoundryVTT",
"version": "1.5.0",
"version": "1.5.1",
"manifestPlusVersion": "1.0.0",
"minimumCoreVersion": "0.8.0",
"compatibleCoreVersion": "0.8.99",
"templateVersion": 115,
"templateVersion": 116,
"author": "LeRatierBretonnien",
"authors": [
{

View File

@ -582,6 +582,7 @@
"musique", "chant", "danse", "jeu", "recettecuisine", "maladie", "poison", "oeuvre", "nourritureboisson", "signedraconique" ],
"objet": {
"description": "",
"descriptionmj": "",
"quantite": 1,
"encombrement": 0,
"equipe": false,
@ -591,6 +592,7 @@
},
"conteneur": {
"description": "",
"descriptionmj": "",
"capacite": 0,
"encombrement": 0,
"equipe": false,
@ -601,6 +603,7 @@
"arme": {
"categorie_parade": "",
"description": "",
"descriptionmj": "",
"quantite": 1,
"encombrement": 0,
"equipe": false,
@ -623,6 +626,7 @@
},
"munition": {
"description": "",
"descriptionmj": "",
"quantite": 1,
"encombrement": 0,
"equipe": false,
@ -631,6 +635,7 @@
},
"armure": {
"description": "",
"descriptionmj": "",
"quantite": 1,
"encombrement": 0,
"equipe": false,
@ -646,6 +651,7 @@
"categorie": "",
"xp": 0,
"description": "Compétence : ...",
"descriptionmj": "",
"defaut_carac": "",
"niveau_archetype": 0,
"xp_sort": 0
@ -658,10 +664,12 @@
"iscombat": false,
"isparade": false,
"dommages": 0,
"description": "Compétence : ..."
"description": "Compétence : ...",
"descriptionmj": ""
},
"sort": {
"description": "",
"descriptionmj": "",
"draconic": "",
"duree": "",
"JR": "",
@ -678,6 +686,7 @@
},
"herbe": {
"description": "",
"descriptionmj": "",
"niveau": 0,
"base": 0,
"quantite": 1,
@ -688,6 +697,7 @@
},
"ingredient": {
"description": "",
"descriptionmj": "",
"niveau": 0,
"encombrement": 0,
"base": 0,
@ -705,10 +715,12 @@
"difficulte": 0,
"points_de_tache": 0,
"points_de_tache_courant": 0,
"description": ""
"description": "",
"descriptionmj": ""
},
"livre": {
"description": "",
"descriptionmj": "",
"competence": "",
"auteur": "",
"quantite": 1,
@ -722,6 +734,7 @@
},
"potion": {
"description": "",
"descriptionmj": "",
"quantite": 1,
"encombrement": 0,
"rarete": "",
@ -736,32 +749,38 @@
"cout": 0
},
"rencontresTMR": {
"description": ""
"description": "",
"descriptionmj": ""
},
"queue": {
"description": "",
"descriptionmj": "",
"refoulement": 0,
"duree": "",
"restant" : 0
},
"ombre": {
"description": "",
"descriptionmj": "",
"refoulement": 2,
"duree": "",
"restant" : 0
},
"souffle": {
"description": "",
"descriptionmj": "",
"duree": "",
"restant" : 0
},
"tete": {
"description": ""
"description": "",
"descriptionmj": ""
},
"tarot": {
"concept":"",
"aspect":"",
"description": ""
"description": "",
"descriptionmj": ""
},
"nombreastral": {
"value": 0,
@ -773,7 +792,8 @@
"quantite": "",
"valeur_deniers":0,
"encombrement":0,
"description": ""
"description": "",
"descriptionmj": ""
},
"meditation": {
"competence": "",
@ -785,7 +805,8 @@
"comportement": "",
"tmr": "",
"malus" : 0,
"description": ""
"description": "",
"descriptionmj": ""
},
"casetmr": {
"coord": "",
@ -793,6 +814,7 @@
"label": "",
"specific": "",
"description": "",
"descriptionmj": "",
"sourceid":""
},
"recettealchimique": {
@ -801,12 +823,14 @@
"enchantement": "",
"sureffet": "",
"manipulation": "",
"description": ""
"description": "",
"descriptionmj": ""
},
"musique": {
"niveau": "",
"reference": "",
"description": ""
"description": "",
"descriptionmj": ""
},
"danse": {
"type": "",
@ -814,19 +838,22 @@
"apparence": false,
"niveau": "",
"reference": "",
"description": ""
"description": "",
"descriptionmj": ""
},
"chant": {
"niveau": "",
"reference": "",
"description": ""
"description": "",
"descriptionmj": ""
},
"jeu": {
"type": "",
"base": "",
"caraccomp": "",
"reference": "",
"description": ""
"description": "",
"descriptionmj": ""
},
"recettecuisine": {
"niveau": "",
@ -835,31 +862,36 @@
"sust": 0,
"exotisme": 0,
"reference": "",
"description": ""
"description": "",
"descriptionmj": ""
},
"oeuvre": {
"default_carac": "",
"competence": "",
"niveau": 0,
"reference": "",
"description": ""
"description": "",
"descriptionmj": ""
},
"maladie": {
"malignite": 0,
"periodicite": "",
"remedes": "",
"dommages":"",
"description": ""
"description": "",
"descriptionmj": ""
},
"poison": {
"malignite": 0,
"periodicite": "",
"remedes": "",
"dommages":"",
"description": ""
"description": "",
"descriptionmj": ""
},
"nourritureboisson": {
"description": "",
"descriptionmj": "",
"sust": 0,
"boisson": false,
"desaltere": 0,
@ -881,7 +913,8 @@
"sign": 5,
"part": 10
},
"description": ""
"description": "",
"descriptionmj": ""
}
}
}

View File

@ -92,12 +92,9 @@
{{/select}}
</select>
</div>
<div class="flexcol">
<span><label>Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -28,12 +28,8 @@
<label for="xp">Prix (sols) </label>
<input class="attribute-value" type="text" name="data.cout" value="{{data.cout}}" data-dtype="Number"/>
</div>
<div class="flexcol">
<span><label>Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -20,12 +20,8 @@
{{/select}}
</select>
</div>
<div class="flexcol">
<span><label>Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -16,12 +16,9 @@
<label>Référence / Auteur</label>
<input class="attribute-value" type="text" name="data.reference" value="{{data.reference}}" data-dtype="String"/>
</div>
<div class="flexcol">
<span><label class="alchimie-title">Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -60,12 +60,9 @@
<label for="niveau_archetype">Niveau d'Archetype</label>
<input class="attribute-value" type="text" name="data.niveau_archetype" value="{{data.niveau_archetype}}" data-dtype="Number"/>
</div>
<div class="flexcol">
<span><label>Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -40,10 +40,9 @@
<label for="niveau">Dommages (+dom), si applicable </label>
<input class="attribute-value" type="text" name="data.dommages" value="{{data.dommages}}" data-dtype="Number"/>
</div>
<span><label>Description : </label></span>
<div class="form-group editor" style="min-height: 400px !important;">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -24,12 +24,9 @@
<label for="xp">Prix (sols) </label>
<input class="attribute-value" type="text" name="data.cout" value="{{data.cout}}" data-dtype="Number"/>
</div>
<div class="flexcol">
<span><label>Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -33,12 +33,9 @@
<label>Référence / Auteur</label>
<input class="attribute-value" type="text" name="data.reference" value="{{data.reference}}" data-dtype="String"/>
</div>
<div class="flexcol">
<span><label class="alchimie-title">Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -46,12 +46,9 @@
{{/select}}
</select>
</div>
<div class="flexcol">
<span><label>Description :</label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</div>
</section>

View File

@ -46,12 +46,9 @@
{{/select}}
</select>
</div>
<div class="flexcol">
<span><label>Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -31,12 +31,9 @@
<label>Référence / Auteur</label>
<input class="attribute-value" type="text" name="data.reference" value="{{data.reference}}" data-dtype="String"/>
</div>
<div class="flexcol">
<span><label class="alchimie-title">Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -59,12 +59,9 @@
<label for="xp">Prix (sols) </label>
<input class="attribute-value" type="number" name="data.cout" value="{{data.cout}}" data-dtype="Number"/>
</div>
<div class="flexcol">
<span><label>Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -24,12 +24,9 @@
<label for="xp">Remèdes </label>
<input class="attribute-value" type="text" name="data.remedes" value="{{data.remedes}}" data-dtype="String"/>
</div>
<div class="flexcol">
<span><label>Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -76,10 +76,9 @@
<label>>{{data.malus}}</label>
{{/if}}
</div>
<span><label>Description : </label></span>
<div class="form-group editor" style="min-height: 400px">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -24,10 +24,9 @@
<label for="xp">Encombrement</label>
<input class="attribute-value" type="text" name="data.encombrement" value="{{data.encombrement}}" data-dtype="Number"/>
</div>
<span><label>Description : </label></span>
<div class="form-group editor" style="min-height: 400px !important;">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -24,12 +24,9 @@
<label for="xp">Prix (sols) </label>
<input class="attribute-value" type="text" name="data.cout" value="{{data.cout}}" data-dtype="Number"/>
</div>
<div class="flexcol">
<span><label>Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -16,12 +16,9 @@
<label>Référence / Auteur</label>
<input class="attribute-value" type="text" name="data.reference" value="{{data.reference}}" data-dtype="String"/>
</div>
<div class="flexcol">
<span><label class="alchimie-title">Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -53,12 +53,9 @@
<label>Prix (sols) </label>
<input class="attribute-value" type="text" name="data.cout" value="{{data.cout}}" data-dtype="Number" />
</div>
<div class="flexcol">
<span><label>Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -28,12 +28,9 @@
<label for="xp">Prix (sols) </label>
<input class="attribute-value" type="text" name="data.cout" value="{{data.cout}}" data-dtype="Number"/>
</div>
<div class="flexcol">
<span><label>Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -34,12 +34,9 @@
<label>Niveau</label>
<input class="attribute-value" type="text" name="data.niveau" value="{{data.niveau}}" data-dtype="Number"/>
</div>
<div class="flexcol">
<span><label>Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -12,10 +12,9 @@
<label for="xp">Refoulement</label>
<input class="attribute-value" type="text" name="data.refoulement" value="{{data.refoulement}}" data-dtype="Number"/>
</div>
<span><label>Description : </label></span>
<div class="form-group editor" style="min-height: 400px !important;">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -24,12 +24,9 @@
<label for="xp">Remèdes </label>
<input class="attribute-value" type="text" name="data.remedes" value="{{data.remedes}}" data-dtype="String"/>
</div>
<div class="flexcol">
<span><label>Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -110,12 +110,9 @@
</select>
</div>
{{/if}}
<div class="flexcol">
<span><label>Description :</label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -12,12 +12,9 @@
<label for="xp">Refoulement</label>
<input class="attribute-value" type="text" name="data.refoulement" value="{{data.refoulement}}" data-dtype="Number"/>
</div>
<div class="flexcol">
<span><label>Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -36,12 +36,9 @@
{{editor content=data.sureffet target="data.sureffet" button=true owner=owner editable=editable}}
</div>
</div>
<div class="flexcol">
<span><label class="alchimie-title">Notes additionnelles : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -34,12 +34,9 @@
{{editor content=data.ingredients target="data.ingredients" button=true owner=owner editable=editable}}
</div>
</div>
<div class="flexcol">
<span><label>Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -8,12 +8,9 @@
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="flexcol">
<span><label>Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -45,12 +45,9 @@
{{/each}}
</select>
</div>
<div class="flexcol">
<span><label>Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
</section>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -74,12 +74,9 @@
</div>
{{/each}}
{{/if}}
<div class="flexcol">
<span><label>Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
</section>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -8,12 +8,9 @@
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="flexcol">
<span><label>Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
</section>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -48,10 +48,9 @@
<label for="xp">Points de tâches obtenus</label>
<input class="attribute-value" type="text" name="data.points_de_tache_courant" value="{{data.points_de_tache_courant}}" data-dtype="Number"/>
</div>
<span><label>Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</section>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -21,12 +21,9 @@
{{/select}}
</select>
</div>
<div class="flexcol">
<span><label>Description :</label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -8,12 +8,9 @@
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="flexcol">
<span><label>Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
</section>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
</form>

View File

@ -0,0 +1,14 @@
<div class="flexcol">
<span><label>Description : </label></span>
<div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
{{#if isGM}}
<div class="flexcol">
<span><label>Description (MJ seulement): </label></span>
<div class="form-group editor">
{{editor content=data.descriptionmj target="data.descriptionmj" button=true owner=owner editable=editable}}
</div>
</div>
{{/if}}