From 26a72c4a123dbe93f75d2c0c11976ed1914230aa Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Tue, 2 Feb 2021 22:05:38 +0100 Subject: [PATCH] Ajout poison --- system.json | 4 ++-- template.json | 9 +++++++- templates/item-poison-sheet.html | 35 ++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+), 3 deletions(-) create mode 100644 templates/item-poison-sheet.html diff --git a/system.json b/system.json index a7986cd8..281b35fa 100644 --- a/system.json +++ b/system.json @@ -2,11 +2,11 @@ "name": "foundryvtt-reve-de-dragon", "title": "Rêve de Dragon", "description": "Rêve de Dragon RPG for FoundryVTT", - "version": "1.3.8", + "version": "1.3.9", "manifestPlusVersion": "1.0.0", "minimumCoreVersion": "0.7.5", "compatibleCoreVersion": "0.7.9", - "templateVersion": 87, + "templateVersion": 88, "author": "LeRatierBretonnien", "authors": [ { diff --git a/template.json b/template.json index 05408db8..258e7261 100644 --- a/template.json +++ b/template.json @@ -563,7 +563,7 @@ "Item": { "types": ["objet", "arme", "armure", "conteneur", "competence", "sort", "herbe", "ingredient", "livre", "potion", "munition", "rencontresTMR", "queue", "ombre", "souffle", "tete", "competencecreature", "tarot", "monnaie", "nombreastral", "tache", "meditation", "casetmr", "recettealchimique", - "musique", "chant", "danse", "jeu", "recettecuisine", "maladie" ], + "musique", "chant", "danse", "jeu", "recettecuisine", "maladie", "poison" ], "objet": { "description": "", "quantite": 1, @@ -805,7 +805,14 @@ "periodicite": "", "remedes": "", "description": "" + }, + "poison": { + "malignite": 0, + "periodicite": "", + "remedes": "", + "description": "" } + } } diff --git a/templates/item-poison-sheet.html b/templates/item-poison-sheet.html new file mode 100644 index 00000000..8c2601d9 --- /dev/null +++ b/templates/item-poison-sheet.html @@ -0,0 +1,35 @@ +
+
+ +
+

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