diff --git a/changelog.md b/changelog.md index acf5a442..b893fed4 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ # 12.0 +## 12.0.47 - La chèvre d'Astrobazzarh +- la consistance chèvre est maintenant possible dans les recettes alchimiques + (et toutes les consistances avec accents) + ## 12.0.46 - Le double demi d'Astrobazzarh - correction des raffraîchissement lors du sommeil qui empêchait de dormir plusieurs heures diff --git a/module/apps/textroll/text-roll-alchimie.js b/module/apps/textroll/text-roll-alchimie.js index 6733754d..e7c2f176 100644 --- a/module/apps/textroll/text-roll-alchimie.js +++ b/module/apps/textroll/text-roll-alchimie.js @@ -5,7 +5,7 @@ import { RdDUtility } from "../../rdd-utility.js"; import { RdDAlchimie } from "../../rdd-alchimie.js"; import { TextRollManager } from "./text-roll-formatter.js"; -const REGEX_ALCHIMIE_TERMES = "(?(\\w|-)+)" +const REGEX_ALCHIMIE_TERMES = "(?([-A-Za-zÀ-ÖØ-öø-ÿ ])+)" const REGEX_ALCHIMIE_MANIP = "(?(couleur|consistance))" const XREGEXP_ROLL_ALCHIMIE = XRegExp("@roll\\[" + REGEX_ALCHIMIE_MANIP + "\\s+" + REGEX_ALCHIMIE_TERMES + "\\]", 'giu') const XREGEXP_ROLL_ALCHIMIE_MANIP = XRegExp("@" + REGEX_ALCHIMIE_MANIP + "\\{" + REGEX_ALCHIMIE_TERMES + "\\}", 'giu')