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 4c500961..d915c0de 100644 --- a/module/rdd-utility.js +++ b/module/rdd-utility.js @@ -110,11 +110,15 @@ 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', 'systems/foundryvtt-reve-de-dragon/templates/sort-draconic.html', 'systems/foundryvtt-reve-de-dragon/templates/sort-tmr.html', diff --git a/system.json b/system.json index 6741c734..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.24", + "version": "0.9.26", "minimumCoreVersion": "0.6.0", "compatibleCoreVersion": "0.7.5", - "templateVersion": 39, + "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 2d74f664..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, @@ -545,8 +545,9 @@ "encombrement": 0, "base": 0, "quantite": 1, - "rarete": "", "milieu": "", + "rarete": "", + "categorie": "", "cout": 0 }, "tache": { @@ -589,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/enum-categorie.html b/templates/enum-categorie.html new file mode 100644 index 00000000..9faf1346 --- /dev/null +++ b/templates/enum-categorie.html @@ -0,0 +1,5 @@ + + + + + diff --git a/templates/enum-rarete.html b/templates/enum-rarete.html new file mode 100644 index 00000000..667b2c76 --- /dev/null +++ b/templates/enum-rarete.html @@ -0,0 +1,5 @@ + + + + + diff --git a/templates/herbe-categorie.html b/templates/herbe-categorie.html new file mode 100644 index 00000000..9faf1346 --- /dev/null +++ b/templates/herbe-categorie.html @@ -0,0 +1,5 @@ + + + + + diff --git a/templates/herbe-frequence.html b/templates/herbe-frequence.html new file mode 100644 index 00000000..667b2c76 --- /dev/null +++ b/templates/herbe-frequence.html @@ -0,0 +1,5 @@ + + + + + diff --git a/templates/item-herbe-sheet.html b/templates/item-herbe-sheet.html index 09264fcd..d41b8ac0 100644 --- a/templates/item-herbe-sheet.html +++ b/templates/item-herbe-sheet.html @@ -1,31 +1,53 @@
\ No newline at end of file diff --git a/templates/item-ingredient-sheet.html b/templates/item-ingredient-sheet.html index c2d111f8..e67e3ec4 100644 --- a/templates/item-ingredient-sheet.html +++ b/templates/item-ingredient-sheet.html @@ -1,35 +1,57 @@