From a0d25f7d2bb3949360aa5ce819d4d19641910c23 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Sat, 30 Jan 2021 00:18:49 +0100 Subject: [PATCH] Add injuries & maladies --- template.json | 12 +++++++++++- templates/item-injury-sheet.html | 25 ++++++++++++++++++++++++ templates/item-malady-sheet.html | 33 ++++++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 templates/item-injury-sheet.html create mode 100644 templates/item-malady-sheet.html diff --git a/template.json b/template.json index 2770a78..1a46f33 100644 --- a/template.json +++ b/template.json @@ -139,7 +139,7 @@ } }, "Item": { - "types": ["gear", "weapon", "armor", "container", "skill", "language", "weakness", "geneline", "subculture", "consequence", "action" ], + "types": ["gear", "weapon", "armor", "container", "skill", "language", "weakness", "geneline", "subculture", "consequence", "action", "injury", "malady" ], "templates": { "commongear": { "big": 0, @@ -232,6 +232,16 @@ "type": "", "minap": 0, "description": 0 + }, + "injury": { + "card": "", + "description": "" + }, + "malady": { + "vector": "", + "action": "", + "effect": "", + "notes": "" } } } diff --git a/templates/item-injury-sheet.html b/templates/item-injury-sheet.html new file mode 100644 index 0000000..4795cba --- /dev/null +++ b/templates/item-injury-sheet.html @@ -0,0 +1,25 @@ +
+
+ +
+

+
+
+ + {{!-- Sheet Body --}} +
+ +
+ + +
+
+ +
+ {{editor content=data.description target="data.description" button=true owner=owner editable=editable}} +
+
+ + +
+
diff --git a/templates/item-malady-sheet.html b/templates/item-malady-sheet.html new file mode 100644 index 0000000..0ba4655 --- /dev/null +++ b/templates/item-malady-sheet.html @@ -0,0 +1,33 @@ +
+
+ +
+

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