From 513e41b8f22a85dfb80cde005e352fa786897265 Mon Sep 17 00:00:00 2001 From: Pallando Date: Sun, 10 Nov 2024 14:26:37 +0100 Subject: [PATCH] Convert disease incubation/duration for Lustria and OWB2 --- compendium/wfrp4e-lustria.items.json | 10 ++++++++-- compendium/wfrp4e-owb2.items.json | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/compendium/wfrp4e-lustria.items.json b/compendium/wfrp4e-lustria.items.json index 4d6ca39..884d3a5 100644 --- a/compendium/wfrp4e-lustria.items.json +++ b/compendium/wfrp4e-lustria.items.json @@ -69,10 +69,16 @@ "converter": "generic_localization" }, "durationValue": "system.duration.value", - "durationUnit": "system.duration.unit", + "durationUnit": { + "path": "system.duration.unit", + "converter": "disease_duration_unit" + }, "contraction": "system.contraction.value", "incubationValue": "system.incubation.value", - "incubationUnit": "system.incubation.unit", + "incubationUnit": { + "path": "system.incubation.unit", + "converter": "disease_duration_unit" + }, "symptoms": "system.symptoms.value", "permanent": "system.permanent.value", "special": "system.special.value", diff --git a/compendium/wfrp4e-owb2.items.json b/compendium/wfrp4e-owb2.items.json index 7489ea7..ae44e21 100644 --- a/compendium/wfrp4e-owb2.items.json +++ b/compendium/wfrp4e-owb2.items.json @@ -78,10 +78,16 @@ "converter": "generic_localization" }, "durationValue": "system.duration.value", - "durationUnit": "system.duration.unit", + "durationUnit": { + "path": "system.duration.unit", + "converter": "disease_duration_unit" + }, "contraction": "system.contraction.value", "incubationValue": "system.incubation.value", - "incubationUnit": "system.incubation.unit", + "incubationUnit": { + "path": "system.incubation.unit", + "converter": "disease_duration_unit" + }, "symptoms": "system.symptoms.value", "permanent": "system.permanent.value", "special": "system.special.value",