diff --git a/icons/tarots/dos-tarot.png b/icons/tarots/dos-tarot.png new file mode 100644 index 00000000..3c449592 Binary files /dev/null and b/icons/tarots/dos-tarot.png differ diff --git a/module/rdd-utility.js b/module/rdd-utility.js index f98a82b1..d915c0de 100644 --- a/module/rdd-utility.js +++ b/module/rdd-utility.js @@ -110,11 +110,13 @@ export class RdDUtility { 'systems/foundryvtt-reve-de-dragon/templates/item-rentontresTMR-sheet.html', 'systems/foundryvtt-reve-de-dragon/templates/item-queue-sheet.html', 'systems/foundryvtt-reve-de-dragon/templates/item-souffle-sheet.html', + 'systems/foundryvtt-reve-de-dragon/templates/item-tarot-sheet.html', 'systems/foundryvtt-reve-de-dragon/templates/item-tete-sheet.html', 'systems/foundryvtt-reve-de-dragon/templates/item-ombre-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/enum-aspect-tarot.html', 'systems/foundryvtt-reve-de-dragon/templates/enum-categorie.html', 'systems/foundryvtt-reve-de-dragon/templates/enum-rarete.html', 'systems/foundryvtt-reve-de-dragon/templates/arme-competence.html', diff --git a/system.json b/system.json index 5d63797f..2a2eed64 100644 --- a/system.json +++ b/system.json @@ -2,10 +2,10 @@ "name": "foundryvtt-reve-de-dragon", "title": "Rêve de Dragon", "description": "Rêve de Dragon RPG for FoundryVTT", - "version": "0.9.25", + "version": "0.9.26", "minimumCoreVersion": "0.6.0", "compatibleCoreVersion": "0.7.5", - "templateVersion": 40, + "templateVersion": 41, "author": "LeRatierBretonnien", "esmodules": [ "module/rdd-main.js", "module/hook-renderChatLog.js" ], "styles": ["styles/simple.css"], @@ -90,6 +90,15 @@ "path": "./packs/souffles-de-dragon.db", "entity": "Item", "tag" : "item" + }, + { + "name": "tarot-draconique", + "label": "Tarot Draconique", + "system": "foundryvtt-reve-de-dragon", + "module": "foundryvtt-reve-de-dragon", + "path": "./packs/tarot-draconique.db", + "entity": "Item", + "tag" : "item" }, { "name": "tetes-de-dragon-pour-haut-revants", diff --git a/template.json b/template.json index d7461a0e..7ec212ab 100644 --- a/template.json +++ b/template.json @@ -451,7 +451,7 @@ } }, "Item": { - "types": ["objet", "arme", "armure", "conteneur", "competence", "sort", "herbe", "ingredient", "livre", "potion", "munition", "rencontresTMR", "queue", "ombre", "souffle", "tete", "competencecreature"], + "types": ["objet", "arme", "armure", "conteneur", "competence", "sort", "herbe", "ingredient", "livre", "potion", "munition", "rencontresTMR", "queue", "ombre", "souffle", "tete", "competencecreature", "tarot"], "objet": { "description": "", "quantite": 1, @@ -590,6 +590,11 @@ "description": "" }, "tete": { + "description": "" + }, + "tarot": { + "concept":"", + "aspect":"", "description": "" } } diff --git a/templates/enum-aspect-tarot.html b/templates/enum-aspect-tarot.html new file mode 100644 index 00000000..e518aaea --- /dev/null +++ b/templates/enum-aspect-tarot.html @@ -0,0 +1,3 @@ + + + diff --git a/templates/item-tarot-sheet.html b/templates/item-tarot-sheet.html new file mode 100644 index 00000000..752b39ef --- /dev/null +++ b/templates/item-tarot-sheet.html @@ -0,0 +1,32 @@ +
+
+ +
+

+
+
+ + {{!-- Sheet Body --}} +
+
+
+ + +
+
+ + +
+
+ +
+ {{editor content=data.description target="data.description" button=true owner=owner editable=editable}} +
+
+
+ +