diff --git a/lang/en.json b/lang/en.json index a48c8b7..209d555 100644 --- a/lang/en.json +++ b/lang/en.json @@ -27,9 +27,12 @@ "ACTIVEAURAS.FORM_Height": "Check Token Height", "ACTIVEAURAS.FORM_Alignment": "Check Alignment", "ACTIVEAURAS.FORM_Type": "Check creature type", + "ACTIVEAURAS.FORM_Any": "Any", "ACTIVEAURAS.FORM_Good": "Good", "ACTIVEAURAS.FORM_Neutral": "Neutral", "ACTIVEAURAS.FORM_Evil": "Evil", + "ACTIVEAURAS.FORM_Lawful": "Lawful", + "ACTIVEAURAS.FORM_Chaotic": "Chaotic", "ACTIVEAURAS.FORM_SaveEnable": "Save Type To Prevent", "ACTIVEAURAS.FORM_SaveDC": "Save DC", "ACTIVEAURAS.FORM_TypePrompt": "humanoid/beast etc", diff --git a/lang/es.json b/lang/es.json index bf9d474..7ad36ab 100644 --- a/lang/es.json +++ b/lang/es.json @@ -27,9 +27,12 @@ "ACTIVEAURAS.FORM_Height": "Comprobar altura del token", "ACTIVEAURAS.FORM_Alignment": "Comprobar Alineamiento", "ACTIVEAURAS.FORM_Type": "Comprobar tipo de criatura", + "ACTIVEAURAS.FORM_Any": "Ningún", "ACTIVEAURAS.FORM_Good": "Bueno", "ACTIVEAURAS.FORM_Neutral": "Neutral", "ACTIVEAURAS.FORM_Evil": "Malvado", + "ACTIVEAURAS.FORM_Lawful": "Legítimo", + "ACTIVEAURAS.FORM_Chaotic": "Caótico", "ACTIVEAURAS.FORM_SaveEnable": "Tipo de Salvación para evitar", "ACTIVEAURAS.FORM_SaveDC": "CD de la TS", "ACTIVEAURAS.FORM_TypePrompt": "humanoide/bestia, etc", diff --git a/lang/fr.json b/lang/fr.json index c95bb54..7211630 100644 --- a/lang/fr.json +++ b/lang/fr.json @@ -27,9 +27,12 @@ "ACTIVEAURAS.FORM_Height": "Vérifier la Hauteur du Token", "ACTIVEAURAS.FORM_Alignment": "Vérifier l'Alignement ", "ACTIVEAURAS.FORM_Type": "Vérifier le type de la créature", + "ACTIVEAURAS.FORM_Any": "N'importe quel", "ACTIVEAURAS.FORM_Good": "Bon", "ACTIVEAURAS.FORM_Neutral": "Neutre", "ACTIVEAURAS.FORM_Evil": "Mauvais", + "ACTIVEAURAS.FORM_Lawful": "Légitime", + "ACTIVEAURAS.FORM_Chaotic": "Chaotique", "ACTIVEAURAS.FORM_SaveEnable": "Type de la sauvegarde", "ACTIVEAURAS.FORM_SaveDC": "DD de la sauvegarde", "ACTIVEAURAS.FORM_TypePrompt": "ex: humanoid/beast ... liste en anglais", diff --git a/lang/ja.json b/lang/ja.json index e08eeb5..8f0567a 100644 --- a/lang/ja.json +++ b/lang/ja.json @@ -27,9 +27,12 @@ "ACTIVEAURAS.FORM_Height": "コマの高度を考慮する", "ACTIVEAURAS.FORM_Alignment": "属性を確認する", "ACTIVEAURAS.FORM_Type": "クリーチャーの種別を確認する", + "ACTIVEAURAS.FORM_Any": "[EN] Any", "ACTIVEAURAS.FORM_Good": "善", "ACTIVEAURAS.FORM_Neutral": "中立", "ACTIVEAURAS.FORM_Evil": "悪", + "ACTIVEAURAS.FORM_Lawful": "[EN] Lawful", + "ACTIVEAURAS.FORM_Chaotic": "[EN] Chaotic", "ACTIVEAURAS.FORM_SaveEnable": "セーヴ時の能力値", "ACTIVEAURAS.FORM_SaveDC": "セーヴDC", "ACTIVEAURAS.FORM_TypePrompt": "humanoid/beast など", diff --git a/lang/ko.json b/lang/ko.json index b1a5245..12d6754 100644 --- a/lang/ko.json +++ b/lang/ko.json @@ -27,9 +27,12 @@ "ACTIVEAURAS.FORM_Height": "토큰 높이 확인", "ACTIVEAURAS.FORM_Alignment": "성향 확인", "ACTIVEAURAS.FORM_Type": "생물체 유형 확인", + "ACTIVEAURAS.FORM_Any": "[EN] Any", "ACTIVEAURAS.FORM_Good": "선", "ACTIVEAURAS.FORM_Neutral": "중립", "ACTIVEAURAS.FORM_Evil": "악", + "ACTIVEAURAS.FORM_Lawful": "[EN] Lawful", + "ACTIVEAURAS.FORM_Chaotic": "[EN] Chaotic", "ACTIVEAURAS.FORM_SaveEnable": "방해할 내성 굴림 유형", "ACTIVEAURAS.FORM_SaveDC": "내성 굴림 난이도", "ACTIVEAURAS.FORM_TypePrompt": "인간형/야수 기타", diff --git a/lang/zh-tw.json b/lang/zh-tw.json index 4d07d4e..3ca7601 100644 --- a/lang/zh-tw.json +++ b/lang/zh-tw.json @@ -27,9 +27,12 @@ "ACTIVEAURAS.FORM_Height": "檢查棋子高度", "ACTIVEAURAS.FORM_Alignment": "檢查對齊", "ACTIVEAURAS.FORM_Type": "檢查生物類型", + "ACTIVEAURAS.FORM_Any": "[EN] Any", "ACTIVEAURAS.FORM_Good": "好", "ACTIVEAURAS.FORM_Neutral": "中性", "ACTIVEAURAS.FORM_Evil": "邪惡", + "ACTIVEAURAS.FORM_Lawful": "[EN] Lawful", + "ACTIVEAURAS.FORM_Chaotic": "[EN] Chaotic", "ACTIVEAURAS.FORM_SaveEnable": "保存類型到預設", "ACTIVEAURAS.FORM_SaveDC": "保存DC", "ACTIVEAURAS.FORM_TypePrompt": "類人生物/野獸等", diff --git a/src/AAhtml.js b/src/AAhtml.js index 2871810..70d5cdc 100644 --- a/src/AAhtml.js +++ b/src/AAhtml.js @@ -17,21 +17,26 @@ Hooks.on("renderActiveEffectConfig", async (sheet, html) => { const AuraTab = game.i18n.format("ACTIVEAURAS.tabname"); const FormCheckHeight = game.i18n.format("ACTIVEAURAS.FORM_Height"); const FormCheckAlignment = game.i18n.format("ACTIVEAURAS.FORM_Alignment"); - const FormCheckType = game.i18n.format("ACTIVEAURAS.FORM_Type") - const FormGood = game.i18n.format("ACTIVEAURAS.FORM_Good") - const FormNeutral = game.i18n.format("ACTIVEAURAS.FORM_Neutral") - const FormEvil = game.i18n.format("ACTIVEAURAS.FORM_Evil") - const FormTypePrompt = game.i18n.format("ACTIVEAURAS.FORM_TypePrompt") - const FormRadiusPrompt = game.i18n.format("ACTIVEAURAS.FORM_RadiusPrompt") - const HostileTurn = game.i18n.format("ACTIVEAURAS.FORM_HostileTurn") - const ActivateOnce = game.i18n.format("ACTIVEAURAS.FORM_ActivateOnce") - const Wildcard = game.i18n.format("ACTIVEAURAS.FORM_Wildcard") - const Extra = game.i18n.format("ACTIVEAURAS.FORM_Extra") + const FormCheckType = game.i18n.format("ACTIVEAURAS.FORM_Type"); + const FormAny = game.i18n.format("ACTIVEAURAS.FORM_Any"); + const FormGood = game.i18n.format("ACTIVEAURAS.FORM_Good"); + const FormNeutral = game.i18n.format("ACTIVEAURAS.FORM_Neutral"); + const FormEvil = game.i18n.format("ACTIVEAURAS.FORM_Evil"); + const FormLawful = game.i18n.format("ACTIVEAURAS.FORM_Lawful"); + const FormChaotic = game.i18n.format("ACTIVEAURAS.FORM_Chaotic"); + const FormTypePrompt = game.i18n.format("ACTIVEAURAS.FORM_TypePrompt"); + const FormRadiusPrompt = game.i18n.format("ACTIVEAURAS.FORM_RadiusPrompt"); + const HostileTurn = game.i18n.format("ACTIVEAURAS.FORM_HostileTurn"); + const ActivateOnce = game.i18n.format("ACTIVEAURAS.FORM_ActivateOnce"); + const Wildcard = game.i18n.format("ACTIVEAURAS.FORM_Wildcard"); + const Extra = game.i18n.format("ACTIVEAURAS.FORM_Extra"); const tab = ` ${AuraTab}`; let type = flags[AA_MODULE_NAME]?.type ? flags[AA_MODULE_NAME]?.type : ""; - let alignment = flags[AA_MODULE_NAME]?.alignment ? flags[AA_MODULE_NAME]?.alignment : ""; + let alignment = flags[AA_MODULE_NAME]?.alignment ? flags[AA_MODULE_NAME]?.alignment : {}; + let gne_alignment = alignment?.gne ? alignment?.gne : ""; + let lnc_alignment = alignment?.lnc ? alignment?.lnc : ""; let contents = `