Merge branch 'rendu-messages' into 'v1.2'

#94 - tâches de premiers soins

See merge request LeRatierBretonnien/foundryvtt-reve-de-dragon!99
This commit is contained in:
Leratier Bretonnien 2021-01-03 08:07:17 +00:00
commit ffc334f4dd
4 changed files with 15 additions and 3 deletions

View File

@ -13,8 +13,8 @@ export class RdDItemSheet extends ItemSheet {
return mergeObject(super.defaultOptions, { return mergeObject(super.defaultOptions, {
classes: ["foundryvtt-reve-de-dragon", "sheet", "item"], classes: ["foundryvtt-reve-de-dragon", "sheet", "item"],
template: "systems/foundryvtt-reve-de-dragon/templates/item-sheet.html", template: "systems/foundryvtt-reve-de-dragon/templates/item-sheet.html",
width: 520, width: 550,
height: 480 height: 550
//tabs: [{navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description"}] //tabs: [{navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description"}]
}); });
} }

View File

@ -0,0 +1,3 @@
{"_id":"dlvK5Lks7WoSZ1Ko","name":"1er soins - Blessure critique","permission":{"default":0,"Q2G6GTdrotKzYGUC":3},"type":"tache","data":{"carac":"dexterite","competence":"Chirurgie","periodicite":"1 round","fatigue":0,"difficulte":-6,"points_de_tache":6,"points_de_tache_courant":0,"description":"<p><span class=\"fontstyle0\">Effectuer les premiers soins consiste &agrave; obtenir le nombre de points de t&acirc;che demand&eacute; par la blessure. Un minimum de mat&eacute;riel est n&eacute;cessaire : de l&rsquo;eau, des chi!ons propres pour servir de pansements.</span></p>\n<p>&nbsp;</p>"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_chirurgie.png","effects":[]}
{"_id":"lHdfav9mvs68yj7J","name":"1er soins - Blessure légère","permission":{"default":0,"Q2G6GTdrotKzYGUC":3},"type":"tache","data":{"carac":"dexterite","competence":"Chirurgie","periodicite":"1 round","fatigue":0,"difficulte":-2,"points_de_tache":2,"points_de_tache_courant":0,"description":"<p><span class=\"fontstyle0\">Effectuer les premiers soins consiste &agrave; obtenir le nombre de points de t&acirc;che demand&eacute; par la blessure. Un minimum de mat&eacute;riel est n&eacute;cessaire : de l&rsquo;eau, des chi!ons propres pour servir de pansements.</span></p>\n<p>&nbsp;</p>"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_chirurgie.png","effects":[]}
{"_id":"nbkuXbhgSxHwXD4t","name":"1er soins - Blessure grave","permission":{"default":0,"Q2G6GTdrotKzYGUC":3},"type":"tache","data":{"carac":"dexterite","competence":"Chirurgie","periodicite":"1 round","fatigue":0,"difficulte":-4,"points_de_tache":4,"points_de_tache_courant":0,"description":"<p><span class=\"fontstyle0\">Effectuer les premiers soins consiste &agrave; obtenir le nombre de points de t&acirc;che demand&eacute; par la blessure. Un minimum de mat&eacute;riel est n&eacute;cessaire : de l&rsquo;eau, des chi!ons propres pour servir de pansements.</span></p>\n<p>&nbsp;</p>"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_chirurgie.png","effects":[]}

View File

@ -198,6 +198,15 @@
"path": "./packs/botanique.db", "path": "./packs/botanique.db",
"entity": "Item", "entity": "Item",
"tags" : [ "plantes", "champignons", "herbes" ] "tags" : [ "plantes", "champignons", "herbes" ]
},
{
"name": "taches-courantes",
"label": "Tâches courantes",
"system": "foundryvtt-reve-de-dragon",
"module": "foundryvtt-reve-de-dragon",
"path": "./packs/taches-courantes.db",
"entity": "Item",
"tags" : [ "taches" ]
} }
], ],
"languages": [], "languages": [],

View File

@ -49,7 +49,7 @@
<input class="attribute-value" type="text" name="data.points_de_tache_courant" value="{{data.points_de_tache_courant}}" data-dtype="Number"/> <input class="attribute-value" type="text" name="data.points_de_tache_courant" value="{{data.points_de_tache_courant}}" data-dtype="Number"/>
</div> </div>
<span><label>Description : </label></span> <span><label>Description : </label></span>
<div class="form-group editor" style="min-height: 400px !important;"> <div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}} {{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div> </div>
</section> </section>