diff --git a/lang/en.json b/lang/en.json index 7e25f0d2..4d3927bc 100755 --- a/lang/en.json +++ b/lang/en.json @@ -33,6 +33,10 @@ } }, "Settings": { + "attackBonus": "Attack Bonus", + "attackName": "Attack Name", + "includeBase": { "label": "Include Item Damage" }, + "multiplier": "Multiplier", "resultBased": { "label": "Formula based on Hope/Fear result." }, @@ -128,7 +132,9 @@ "partner": { "label": "Partner" }, "resources": { "stress": { - "value": { "label": "Stress" } + "value": { "label": "Stress" }, + "currentStress": { "label": "Current Stress" }, + "maxStress": { "label": "Max Stress" } } } }, @@ -183,6 +189,7 @@ "selectSecondaryWeapon": "Select Secondary Weapon", "selectSubclass": "Select Subclass", "startingItems": "Starting Items", + "story": "Story", "suggestedArmor": "Suggested Armor", "suggestedPrimaryWeapon": "Suggested Primary Weapon", "suggestedSecondaryWeapon": "Suggested Secondary Weapon", @@ -1139,6 +1146,10 @@ "Healing": { "healingAmount": "Healing Amount" }, + "Modifier": { + "single": "Modifier", + "plural": "Modifiers" + }, "Neutral": { "full": "None", "short": "no" @@ -1237,6 +1248,8 @@ "single": "Trait", "plural": "Traits" }, + "actorName": "Actor Name", + "amount": "Amount", "armorScore": "Armor Score", "activeEffects": "Active Effects", "armorSlots": "Armor Slots", @@ -1245,21 +1258,25 @@ "bonus": "Bonus", "burden": "Burden", "check": "{check} Check", + "continue": "Continue", "criticalSuccess": "Critical Success", "damage": "Damage", "damageType": "Damage Type", "description": "Description", "difficulty": "Difficulty", + "dropActorsHere": "Drop Actors here", "duality": "Duality", "dualityRoll": "Duality Roll", "enabled": "Enabled", "evasion": "Evasion", + "equipment": "Equipment", "experience": { "single": "Experience", "plural": "Experiences" }, "fear": "Fear", "features": "Features", + "formula": "Formula", "healing": "Healing", "hitPoints": { "single": "Hit Point", @@ -1268,24 +1285,37 @@ }, "hope": "Hope", "hordeHp": "Horde HP", + "identify": "Identity", + "imagePath": "Image Path", "inactiveEffects": "Inactive Effects", "inventory": "Inventory", "level": "Level", + "levelUp": "Level Up", + "loadout": "Loadout", "max": "Max", - "modifier": "Modifier", "multiclass": "Multiclass", + "newCategory": "New Category", "none": "None", "partner": "Partner", "proficiency": "Proficiency", "quantity": "Quantity", "range": "Range", "recovery": "Recovery", + "resource": "Resource", "roll": "Roll", + "rollAll": "Roll All", + "rollDamage": "Roll Damage", + "save": "Save", "scalable": "Scalable", + "situationalBonus": "Situational Bonus", "stress": "Stress", "take": "Take", - "target": "Target", + "Target": { + "single": "Target", + "plural": "Targets" + }, "title": "Title", + "total": "Total", "true": "True", "type": "Type", "unarmored": "Unarmored", @@ -1593,7 +1623,8 @@ "sendToVault": "Send to Vault", "sendToLoadout": "Send to Loadout", "makeDeathMove": "Make a Death Move", - "rangeAndTarget": "Range & Target" + "rangeAndTarget": "Range & Target", + "appliedEvenIfSuccessful": "Applied even if save succeeded" } } } diff --git a/module/data/action/actionDice.mjs b/module/data/action/actionDice.mjs index c3c28247..e72dc54a 100644 --- a/module/data/action/actionDice.mjs +++ b/module/data/action/actionDice.mjs @@ -87,7 +87,10 @@ export class DHDamageField extends fields.SchemaField { constructor(options, context = {}) { const damageFields = { parts: new fields.ArrayField(new fields.EmbeddedDataField(DHDamageData)), - includeBase: new fields.BooleanField({ initial: false }) + includeBase: new fields.BooleanField({ + initial: false, + label: 'DAGGERHEART.ACTIONS.Settings.includeBase.label' + }) }; super(damageFields, options, context); } diff --git a/templates/actionTypes/damage.hbs b/templates/actionTypes/damage.hbs index bfbbc592..ad45fc33 100644 --- a/templates/actionTypes/damage.hbs +++ b/templates/actionTypes/damage.hbs @@ -6,7 +6,7 @@ {{#unless (or @root.isNPC path)}} {{#if @root.hasBaseDamage}} - {{formField @root.fields.damage.fields.includeBase value=@root.source.damage.includeBase label="Include Item Damage" name="damage.includeBase" classes="checkbox" }} + {{formField @root.fields.damage.fields.includeBase value=@root.source.damage.includeBase name="damage.includeBase" classes="checkbox" localize=true }} {{/if}} {{/unless}} {{#each source.parts as |dmg index|}} @@ -17,7 +17,7 @@ {{formField ../fields.value.fields.custom.fields.formula value=dmg.value.custom.formula name=(concat ../path "damage.parts." index ".value.custom.formula") localize=true}} {{else}}
- {{#if @root.isNPC}}{{formField ../fields.value.fields.flatMultiplier value=dmg.value.flatMultiplier name=(concat ../path "damage.parts." index ".value.flatMultiplier") label="Multiplier" classes="inline-child" }}{{/if}} + {{#if @root.isNPC}}{{formField ../fields.value.fields.flatMultiplier value=dmg.value.flatMultiplier name=(concat ../path "damage.parts." index ".value.flatMultiplier") label="DAGGERHEART.ACTIONS.Settings.multiplier" classes="inline-child" localize=true }}{{/if}} {{formField ../fields.value.fields.dice value=dmg.value.dice name=(concat ../path "damage.parts." index ".value.dice") classes="inline-child"}} {{formField ../fields.value.fields.bonus value=dmg.value.bonus name=(concat ../path "damage.parts." index ".value.bonus") localize=true classes="inline-child"}}
@@ -32,7 +32,7 @@
{{localize "DAGGERHEART.ACTORS.Adversary.hordeDamage"}}
- {{formField ../fields.valueAlt.fields.flatMultiplier value=dmg.valueAlt.flatMultiplier name=(concat ../path "damage.parts." index ".valueAlt.flatMultiplier") label="Multiplier" classes="inline-child" }} + {{formField ../fields.valueAlt.fields.flatMultiplier value=dmg.valueAlt.flatMultiplier name=(concat ../path "damage.parts." index ".valueAlt.flatMultiplier") label="DAGGERHEART.ACTIONS.Settings.multiplier" classes="inline-child" localize=true }} {{formField ../fields.valueAlt.fields.dice value=dmg.valueAlt.dice name=(concat ../path "damage.parts." index ".valueAlt.dice") classes="inline-child"}} {{formField ../fields.valueAlt.fields.bonus value=dmg.valueAlt.bonus name=(concat ../path "damage.parts." index ".valueAlt.bonus") localize=true classes="inline-child"}}
diff --git a/templates/actionTypes/effect.hbs b/templates/actionTypes/effect.hbs index d144f2fc..0d89399c 100644 --- a/templates/actionTypes/effect.hbs +++ b/templates/actionTypes/effect.hbs @@ -1,6 +1,6 @@
- Effects + {{localize "DAGGERHEART.GENERAL.Effect.plural"}}