diff --git a/RdD.geany b/RdD.geany index 900aa908..452f930e 100644 --- a/RdD.geany +++ b/RdD.geany @@ -27,17 +27,18 @@ long_line_behaviour=1 long_line_column=72 [files] -current_page=0 -FILE_NAME_0=8694;JSON;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplate.json;0;2 +current_page=5 +FILE_NAME_0=9147;JSON;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplate.json;0;2 FILE_NAME_1=3682;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Factor-sheet.js;0;2 FILE_NAME_2=17891;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Factor-sheet.html;0;2 FILE_NAME_3=13913;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Factor.js;0;2 FILE_NAME_4=416;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Fdialog-roll-carac.html;0;2 -FILE_NAME_5=20216;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Frdd-utility.js;0;2 +FILE_NAME_5=5840;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Frdd-utility.js;0;2 FILE_NAME_6=135;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Frdd-main.js;0;2 -FILE_NAME_7=1639;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Fitem-competence-sheet.html;0;2 -FILE_NAME_8=487;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Fitem-armure-sheet.html;0;2 -FILE_NAME_9=1122;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Fitem-sheet.js;0;2 +FILE_NAME_7=617;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Fitem-competence-sheet.html;0;2 +FILE_NAME_8=1217;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Fitem-sort-sheet.html;0;2 +FILE_NAME_9=160;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Fsort-draconic.html;0;2 +FILE_NAME_10=284;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Fsort-tmr.html;0;2 [VTE] last_dir=/home/sigmar diff --git a/module/rdd-utility.js b/module/rdd-utility.js index 6d26313c..81ef11ed 100644 --- a/module/rdd-utility.js +++ b/module/rdd-utility.js @@ -80,10 +80,13 @@ export class RdDUtility { 'systems/foundryvtt-reve-de-dragon/templates/item-armure-sheet.html', 'systems/foundryvtt-reve-de-dragon/templates/item-objet-sheet.html', 'systems/foundryvtt-reve-de-dragon/templates/item-conteneur-sheet.html', + 'systems/foundryvtt-reve-de-dragon/templates/item-sort-sheet.html', 'systems/foundryvtt-reve-de-dragon/templates/competence-categorie.html', 'systems/foundryvtt-reve-de-dragon/templates/competence-carac-defaut.html', 'systems/foundryvtt-reve-de-dragon/templates/competence-base.html', 'systems/foundryvtt-reve-de-dragon/templates/arme-competence.html', + 'systems/foundryvtt-reve-de-dragon/templates/sort-draconic.html', + 'systems/foundryvtt-reve-de-dragon/templates/sort-tmr.html', // Dialogs 'systems/foundryvtt-reve-de-dragon/templates/dialog-competence.html', 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-carac.html' diff --git a/system.json b/system.json index f0c036e8..88fb1e26 100644 --- a/system.json +++ b/system.json @@ -2,10 +2,10 @@ "name": "foundryvtt-reve-de-dragon", "title": "Rêve de Dragon", "description": "L'implémentation de Rêve de Dragon pour FoundryVTT", - "version": "0.7.6", + "version": "0.7.7", "minimumCoreVersion": "0.6.0", "compatibleCoreVersion": "0.6.2", - "templateVersion": 15, + "templateVersion": 16, "author": "LeRatierBretonnien", "esmodules": [ "module/rdd-main.js", "module/hook-renderChatLog.js" ], "styles": ["styles/simple.css"], diff --git a/template.json b/template.json index 2fd06325..d23cdc4a 100644 --- a/template.json +++ b/template.json @@ -346,13 +346,20 @@ "sort": { "description": "", "draconic": "", - "difficulte": 0, - "portée": 0 + "duree": "", + "JR": "", + "cible": "", + "difficulte": "", + "portée": "", + "caseTMR": "", + "caseTMRspeciale": "", + "ptreve": "" }, "herbe": { "description": "", "niveau": 0, "base": 0, + "quantite": 1, "cout": 0 }, "ingredient": { @@ -360,6 +367,7 @@ "niveau": 0, "encombrement": 0, "base": 0, + "quantite": 1, "cout": 0 }, "tache": { @@ -372,6 +380,7 @@ "livre": { "description": "", "auteur": "", + "quantite": 1, "difficulte": 0, "points_de_tache": 0, "encombrement": 0, @@ -379,6 +388,7 @@ }, "potion": { "description": "", + "quantite": 1, "encombrement": 0, "cout": 0 } diff --git a/templates/item-sort-sheet.html b/templates/item-sort-sheet.html new file mode 100644 index 00000000..c22d51c3 --- /dev/null +++ b/templates/item-sort-sheet.html @@ -0,0 +1,63 @@ +
+
+ +
+

+
+
+ + {{!-- Sheet Body --}} +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ Description : +
+
+ {{editor content=data.description target="data.description" button=true owner=owner editable=editable}} +
+
+ +
diff --git a/templates/sort-draconic.html b/templates/sort-draconic.html new file mode 100644 index 00000000..5e2f4c55 --- /dev/null +++ b/templates/sort-draconic.html @@ -0,0 +1,4 @@ + + + + diff --git a/templates/sort-tmr.html b/templates/sort-tmr.html new file mode 100644 index 00000000..c716adbc --- /dev/null +++ b/templates/sort-tmr.html @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + +