diff --git a/lang/en.json b/lang/en.json index de3aefd..0bcde30 100644 --- a/lang/en.json +++ b/lang/en.json @@ -1,5 +1,6 @@ { "Mosh.Add": "Add", + "Mosh.Advantage": "Advantage", "Mosh.Ammo": "Ammo", "Mosh.Ammunition": "Ammunition", "Mosh.AmmoType": "Ammo Type", @@ -54,6 +55,7 @@ "Mosh.DeleteWeapon": "Delete Weapon", "Mosh.Description": "Description", "Mosh.Disabled": "Disabled", + "Mosh.Disadvantage": "Disadvantage", "Mosh.DistressSignal": "Distress Signal", "Mosh.DMGReduction": "DMG Reduction", "Mosh.DR": "DR", @@ -77,7 +79,7 @@ "Mosh.HullPoints": "Hull Points", "Mosh.Installed": "Installed", "Mosh.Instinct": "Instinct", - "Mosh.Intelect": "Intelect", + "Mosh.Intellect": "Intellect", "Mosh.ItemName": "Item Name", "Mosh.Item": "Item", "Mosh.Items": "Items", @@ -95,11 +97,14 @@ "Mosh.MoraleCheck": "Morale Check", "Mosh.NA": "N/A", "Mosh.Name": "Name", + "Mosh.Next": "Next", + "Mosh.Normal": "Normal", "Mosh.Notes": "Notes", "Mosh.O2Remaining": "O2 Remaining", "Mosh.OpenDeckplan": "Open Deckplan", "Mosh.Other": "Other", "Mosh.Oxygen": "Oxygen", + "Mosh.PanicCheck": "Panic Check", "Mosh.Pronouns": "Pronouns", "Mosh.Quantity": "Quantity", "Mosh.Range": "Range", @@ -107,6 +112,8 @@ "Mosh.Repairs": "Repairs", "Mosh.Resolve": "Resolve", "Mosh.Robotic": "Robotic", + "Mosh.RollingForPanicEffect": "Rolling for panic effect...", + "Mosh.RollingForMaintenanceIssue": "Rolling for maintenance issue...", "Mosh.Sanity": "Sanity", "Mosh.SaveBonus": "SaveBonus", "Mosh.Severity": "Severity", @@ -143,5 +150,190 @@ "Mosh.Weight": "Weight", "Mosh.Wounds": "Wounds", "Mosh.WoundEffect": "Wound Effect", - "Mosh.XP": "XP" -} \ No newline at end of file + "Mosh.XP": "XP", + "Mosh.YouRolled90OrHigher": "You rolled 90 or higher, which is always considered a failure.", + "Mosh.ArmorEnhanced": "Armor Enhanced", + "Mosh.ArmorGained": "Armor Gained", + "Mosh.ArmorImpaired": "Armor Impaired", + "Mosh.BattleEnhanced": "Battle Enhanced", + "Mosh.BattleImpaired": "Battle Impaired", + "Mosh.BodyEnhanced": "Body Enhanced", + "Mosh.BodyImpaired": "Body Impaired", + "Mosh.BodyStrengthened": "Body Strengthened", + "Mosh.BodyWeakened": "Body Weakened", + "Mosh.BraveryEnhanced": "Bravery Enhanced", + "Mosh.BraveryImpaired": "Bravery Impaired", + "Mosh.BraveryImproved": "Bravery Improved", + "Mosh.BraveryLost": "Bravery Lost", + "Mosh.CalmGained": "Calm Gained", + "Mosh.CalmLost": "Calm Lost", + "Mosh.Centralpartitiondamagedetected.Unrecoverablesectorsfound": "Central partition damage detected. Unrecoverable sectors found", + "Mosh.CombatEnhanced": "Combat Enhanced", + "Mosh.CombatGained": "Combat Gained", + "Mosh.CombatImpaired": "Combat Impaired", + "Mosh.CombatLost": "Combat Lost", + "Mosh.Damaged": "Damaged", + "Mosh.DatarecoveredCentralpartitiondatarestored": "Data recovered. Central partition data restored", + "Mosh.HealthGained": "Health Gained", + "Mosh.HealthLost": "Health Lost", + "Mosh.InstinctEnhanced": "Instinct Enhanced", + "Mosh.InstinctGained": "Instinct Gained", + "Mosh.InstinctImpaired": "Instinct Impaired", + "Mosh.InstinctLost": "Instinct Lost", + "Mosh.IntellectEnhanced": "Intellect Enhanced", + "Mosh.IntellectGained": "IntellectGained", + "Mosh.LoyaltyEnhanced": "Loyalty Enhanced", + "Mosh.LoyaltyGained": "Loyalty Gained", + "Mosh.LoyaltyImpaired": "Loyalty Impaired", + "Mosh.LoyaltyLost": "Loyalty Lost", + "Mosh.MacroMakeaWoundCheck": "@UUID[Compendium.mosh.macros_hotbar_1e.ZzKgfEmRdvDfyBMS]{Make a Wound Check}", + "Mosh.Mended": "Mended", + "Mosh.Nothingprotectsyounow": "Nothing protects you now", + "Mosh.Powersurgesthroughyourchestandyoustarttooverheat": "Power surges through your chest and you start to overheat", + "Mosh.Repaired": "Repaired", + "Mosh.SanityEnhanced": "Sanity Enhanced", + "Mosh.SanityImpaired": "Sanity Impaired", + "Mosh.SanityIncreased": "Sanity Increased", + "Mosh.SanityLost": "Sanity Lost", + "Mosh.SpeedEnhanced": "Speed Enhanced", + "Mosh.SpeedGained": "Speed Gained", + "Mosh.SpeedImpaired": "Speed Impaired", + "Mosh.SpeedLost": "Speed Lost", + "Mosh.StrengthEnhanced": "Strength Enhanced", + "Mosh.StrengthGained": "Strength Gained", + "Mosh.StrengthImpaired": "Strength Impaired", + "Mosh.StrengthLost": "Strength Lost", + "Mosh.StressGained": "Stress Gained", + "Mosh.StressRelieved": "Stress Relieved", + "Mosh.Systemperformancegrindstoahalt": "Systemperformancegrindstoahalt", + "Mosh.Systemresourcesfreeupandyoufeelenergized": "System resources free up and you feel energized", + "Mosh.Systemresourcesfreeupandyouregaincontrol": "System resources free up and you regain control", + "Mosh.SystemsdamagedSensorscomputersandothersystemshavebeenimpaired": "Systems damaged. Sensors, computers, and other systems have been impaired", + "Mosh.SystemsEnhanced": "Systems Enhanced", + "Mosh.SystemsImpaired": "Systems Impaired", + "Mosh.icon_file_attribute_armor": "systems/mosh/images/icons/ui/attributes/armor.png", + "Mosh.icon_file_attribute_battle": "systems/mosh/images/icons/ui/attributes/battle.png", + "Mosh.icon_file_attribute_body": "systems/mosh/images/icons/ui/attributes/body.png", + "Mosh.icon_file_attribute_combat": "systems/mosh/images/icons/ui/attributes/combat.png", + "Mosh.icon_file_attribute_fear": "systems/mosh/images/icons/ui/attributes/fear.png", + "Mosh.icon_file_attribute_health": "systems/mosh/images/icons/ui/attributes/health.png", + "Mosh.icon_file_attribute_instinct": "systems/mosh/images/icons/ui/attributes/instinct.png", + "Mosh.icon_file_attribute_intellect": "systems/mosh/images/icons/ui/attributes/intellect.png", + "Mosh.icon_file_attribute_loyalty": "systems/mosh/images/icons/ui/attributes/loyalty.png", + "Mosh.icon_file_attribute_sanity": "systems/mosh/images/icons/ui/attributes/sanity.png", + "Mosh.icon_file_attribute_speed": "systems/mosh/images/icons/ui/attributes/speed.png", + "Mosh.icon_file_attribute_strength": "systems/mosh/images/icons/ui/attributes/strength.png", + "Mosh.icon_file_attribute_thrusters": "systems/mosh/images/icons/ui/attributes/thrusters.png", + "Mosh.icon_file_macro_gain_stress": "systems/mosh/images/icons/ui/macros/gain_stress.png", + "Mosh.icon_file_macro_relieve_stress": "systems/mosh/images/icons/ui/macros/relieve_stress.png", + "Mosh.SystemsupgradedSensorscomputersandothersystemshaveimproved": "Systems upgraded. Sensors, computers, and other systems have improved", + "Mosh.TargetingsystemsdamagedCombatreadinesshavebeenimpaired": "Targeting systems damaged. Combat readiness have been impaired", + "Mosh.TargetingsystemsupgradedCombatreadinesshasimproved": "Targeting systems upgraded. Combat readiness has improved", + "Mosh.TheenddrawsnearMakeaDeathSave": "The end draws near . . .

@UUID[Compendium.mosh.macros_hotbar_1e.NsRHfRuuNGPfkYVf]{Make a Death Save}", + "Mosh.ThrustersdamagedAgilityaccelerationandtopspeedareimpaired": "Thrusters damaged. Agility, acceleration, and top speed are impaired", + "Mosh.ThrustersEnhanced": "Thrusters Enhanced", + "Mosh.ThrustersImpaired": "Thrusters Impaired", + "Mosh.ThrustersupgradedAgilityaccelerationandtopspeedhaveimproved": "Thrusters upgraded. Agility, acceleration, and top speed have improved", + "Mosh.Wounded": "Wounded", + "Mosh.Youareafraidofeverything": "You are afraid of everything", + "Mosh.Youarealreadyascalmaspossible": "You are already as calm as possible", + "Mosh.Youarealreadyasfocusedaspossible": "You are already as focused as possible", + "Mosh.Youarealreadyatfullhealth": "You are already at full health", + "Mosh.Youarealreadyatmaximumarmor": "You are already at maximum armor", + "Mosh.Youarealreadyatmaximumbody": "You are already at maximum body", + "Mosh.Youarealreadyatmaximumcombat": "You are already at maximum combat", + "Mosh.Youarealreadyatmaximumfear": "You are already at maximum fear", + "Mosh.Youarealreadyatmaximuminstinct": "You are already at maximum instinct", + "Mosh.Youarealreadyatmaximumintellect": "You are already at maximum intellect", + "Mosh.Youarealreadyatmaximumloyalty": "You are already at maximum loyalty", + "Mosh.Youarealreadyatmaximumsanity": "You are already at maximum sanity", + "Mosh.Youarealreadyatmaximumspeed": "You are already at maximum speed", + "Mosh.Youarealreadyatmaximumstrength": "You are already at maximum strength", + "Mosh.Youarenowatfullhealth": "You are now at full health", + "Mosh.Youarenowatmaximumarmor": "You are now at maximum armor", + "Mosh.Youarenowatmaximumbody": "You are now at maximum body", + "Mosh.Youarenowatmaximumcombat": "You are now at maximum combat", + "Mosh.Youarenowatmaximumfear": "You are now at maximum fear", + "Mosh.Youarenowatmaximuminstinct": "You are now at maximum instinct", + "Mosh.Youarenowatmaximumintellect": "You are now at maximum intellect", + "Mosh.Youarenowatmaximumloyalty": "You are now at maximum loyalty", + "Mosh.Youarenowatmaximumsanity": "You are now at maximum sanity", + "Mosh.Youarenowatmaximumspeed": "You are now at maximum speed", + "Mosh.Youarenowatmaximumstrength": "You are now at maximum strength", + "Mosh.Youattaincompletepeaceofmind": "You attain complete peace of mind", + "Mosh.Youattainperfectfocusandclarity": "You attain perfect focus and clarity", + "Mosh.Youawakencoldandfrigidbarelyabletomove": "You awaken cold and frigid, barely able to move", + "Mosh.Youbracefortheworst": "You brace for the worst", + "Mosh.Youcantimaginefightinganymore": "You can't imagine fighting anymore", + "Mosh.Youfeelaburstofenergy": "You feel a burst of energy", + "Mosh.Youfeelapartofyourselfdriftaway": "You feel a part of yourself drift away", + "Mosh.Youfeelasenseofcalmwashoveryou": "You feel a sense of calm wash over you", + "Mosh.Youfeelcompletelylethargic": "You feel completely lethargic", + "Mosh.Youfeeldizzyasyoubleedout": "You feel dizzy as you bleed out", + "Mosh.Youfeeltightnessinyourchestandstarttosweat": "You feel tightness in your chest and start to sweat", + "Mosh.Youfeelutterlyconfused": "You feel utterly confused", + "Mosh.Youfindnothingwrongwiththeship": "You find nothing wrong with the ship", + "Mosh.Yougainsomeconfidenceinyourabilities": "You gain some confidence in your abilities", + "Mosh.Yougainsomeconfidenceinyourskills": "You gain some confidence in your skills", + "Mosh.Youhavenostrengthleft": "You have no strength left", + "Mosh.Youhitrockbottom": "You hit rock bottom", + "Mosh.Youknockondeathsdoor": "You knock on death's door", + "Mosh.Youlandasuccessfulhitonthetarget": "You land a successful hit on the target", + "Mosh.Youlosemotorcontrolforamomentasyoursensoryinputsflicker": "You lose motor control for a moment as your sensory inputs flicker", + "Mosh.Younowsufferfromthiscondition": "You now suffer from this condition", + "Mosh.Youonlycareaboutyourself": "You only care about yourself", + "Mosh.Youperformafullinspectionoftheshipforwearandtear": "You perform a full inspection of the ship for wear and tear", + "Mosh.YouputyourshiponemergencypowerAndWaitForHelp": "You put your ship on emergency power, seal yourselves in cryopods, send out a Distress Signal, and wait for help. It’s a long shot, but sometimes it’s the only shot you’ve got. Will you be found?", + "Mosh.Yourarmorcannotgetanylower": "Your armor cannot get any lower", + "Mosh.Yourbodycannotgetanylower": "Your body cannot get any lower", + "Mosh.Yourbodyfeelsweakandfragile": "Your body feels weak and fragile", + "Mosh.Yourbodyfeelsweakandfrail": "Your body feels weak and frail", + "Mosh.Yourcombatcannotgetanylower": "Your combat cannot get any lower", + "Mosh.Yourconditionworsens": "Your condition worsens", + "Mosh.Yourfearcannotgetanylower": "Your fear cannot get any lower", + "Mosh.Yourheartbeatracesoutofcontrolandyoustarttofeeldizzy": "Your heartbeat races out of control and you start to feel dizzy", + "Mosh.Yourinstinctcannotgetanylower": "Your instinct cannot get any lower", + "Mosh.Yourintellectcannotgetanylower": "Your intellect cannot get any lower", + "Mosh.Yourloyaltycannotgetanylower": "Your loyalty cannot get any lower", + "Mosh.Yourpainreceptorsindicatecoredamage": "Your pain receptors indicate core damage", + "Mosh.Yoursanitycannotgetanylower": "Your sanity cannot get any lower", + "Mosh.Yoursensorsdetectsignificantnanofluidloss": "Your sensors detect significant nanofluid loss", + "Mosh.Yourshipssystemsarealreadyatmaximumandcannotbeimprovedfurther": "Your ship's systems are already at maximum and cannot be improved further", + "Mosh.Yourshipssystemsareatmaximum": "Your ship's systems are at maximum", + "Mosh.Yourshipssystemsarebrokenandcannotbedamagedfurther": "Your ship's systems are broken and cannot be damaged further", + "Mosh.Yourshipssystemsarerunningsmoothly": "Your ship's systems are running smoothly", + "Mosh.Yourspeedcannotgetanylower": "Your speed cannot get any lower", + "Mosh.Yourstrengthcannotgetanylower": "Your strength cannot get any lower", + "Mosh.Yoursystemsmalfunctionfromthecondensationdamage": "Your systems malfunction from the condensation damage", + "Mosh.Yourtargetingsystemsarealreadyatmaximumandcannotbeimprovedfurther": "Your targeting systems are already at maximum and cannot be improved further", + "Mosh.Yourtargetingsystemsareatmaximum": "Your targeting systems are at maximum", + "Mosh.Yourtargetingsystemsarebrokenandcannotbedamagedfurther": "Your targeting systems are broken and cannot be damaged further", + "Mosh.Yourthrustersarealreadyatmaximumandcannotbeimprovedfurther": "Your thrusters are already at maximum and cannot be improved further", + "Mosh.Yourthrustersareatmaximum": "Your thrusters are at maximum", + "Mosh.Yourthrustersarebrokenandcannotbedamagedfurther": "Your thrusters are broken and cannot be damaged further", + "Mosh.Yousenseunrecoverabledataloss": "You sense unrecoverable data loss", + "Mosh.Yousoftresetpurgingunnecessarybackgroundprocesses": "You soft-reset, purging unnecessary background processes", + "Mosh.Youstareintoblacknessandfeelcompletelyunabletopullyourselfoutofit": "You stare into blackness and feel completely unable to pull yourself out of it", + "Mosh.Youstarttofeellikeyourselfagain": "You start to feel like yourself again", + "Mosh.Yousuccessfullymanueverthecraftthroughdanger": "You successfully manuever the craft through danger", + "Mosh.Youtakeadeepbreathandregainyourcomposure": "You take a deep breath and regain your composure", + "Mosh.Youvelostyourinstincts": "You've lost your instincts", + "Mosh.Youvelostyourmind": "You've lost your mind", + "Mosh.Youvelostyourshipssystems": "You've lost your ship's systems", + "Mosh.Youvelostyourtargetingsystems": "You've lost your targeting systems", + "Mosh.Youvelostyourthrusters": "You've lost your thrusters", + "Mosh.HEARTATTACKSHORTCIRCUITANDROIDS": "HEART ATTACK / SHORT CIRCUIT (ANDROIDS).", + "Mosh.SHORTCIRCUIT": "SHORT CIRCUIT.", + "Mosh.HEARTATTACK": "HEART ATTACK.", + "Mosh.Relieve1Stressqbq694JMbXeZrHj": " Relieve 1 Stress.

@UUID[Compendium.mosh.macros_triggered_1e.qbq694JMbXeZrHjj]{-1 Stress}", + "Mosh.Gain1d10Calmk2TtLFOG9mGaWVx31d10Calm":" Gain 1d10 Calm.

@UUID[Compendium.mosh.macros_triggered_1e.k2TtLFOG9mGaWVx3]{+1d10 Calm}", + "Mosh.SelectAStat": "Select a Stat", + "Mosh.ChooseTheStatForSkillCheck": "Choose the Stat that best suits the nature of this Skill Check. You will add your skill bonus to the Stat value for this roll", + "Mosh.GivingYouAHigherNumber": "(giving you a higher number to roll under).", + "Mosh.StrengthSkillExample": "Holding airlocks closed, carrying fallen comrades, climbing, pushing, jumping.", + "Mosh.SpeedSkillExample": "Getting out of the cargo bay before the blast doors close, acting before someone (or something) else, running away.", + "Mosh.IntellectSkillExample": "Recalling your training and experience under duress, thinking through difficult problems, inventing or fixing things.", + "Mosh.CombatSkillExample": "Fighting for your life.", + "Mosh.SelectYourRollType": "Select your roll type", + "Mosh.ChooseAStat": "Choose a Stat" +} diff --git a/module/actor/actor.js b/module/actor/actor.js index 8f1ce58..4cfc9eb 100644 --- a/module/actor/actor.js +++ b/module/actor/actor.js @@ -1728,97 +1728,16 @@ export class MothershipActor extends Actor { let buttonDesc = ``; //create HTML for this window //header - let dialogDesc = ` - -
-

Select a Stat

Choose the Stat that best suits the nature of this Skill Check. You will add your skill bonus to the Stat value for this roll (giving you a higher number to roll under).
-
- - - - - `; + let dialogDesc = await renderTemplate('systems/mosh/templates/dialogs/skill-check-stat-selection-dialog.html'); //create button header if needed if (!rollString) { - buttonDesc = `

Select your roll type:

`; + buttonDesc = `

` + game.i18n.localize("Mosh.SelectYourRollType") + `:

`; } else { buttonDesc = ``; } //create final dialog data const dialogData = { - title: `Choose a Stat`, + title: game.i18n.localize("Mosh.ChooseAStat"), content: dialogDesc + buttonDesc, buttons: {} }; @@ -1827,7 +1746,7 @@ export class MothershipActor extends Actor { //we need to generate a roll string //Advantage dialogData.buttons.button1 = { - label: `Advantage`, + label: game.i18n.localize("Mosh.Advantage"), callback: (html) => { rollString = `1d100 [+]`; aimFor = `low`; @@ -1839,7 +1758,7 @@ export class MothershipActor extends Actor { }; //Normal dialogData.buttons.button2 = { - label: `Normal`, + label: game.i18n.localize("Mosh.Normal"), callback: (html) => { rollString = `1d100`; aimFor = `low`; @@ -1851,7 +1770,7 @@ export class MothershipActor extends Actor { }; //Disadvantage dialogData.buttons.button3 = { - label: `Disadvantage`, + label: game.i18n.localize("Mosh.Disadvantage"), callback: (html) => { rollString = `1d100 [-]`; aimFor = `low`; @@ -1864,7 +1783,7 @@ export class MothershipActor extends Actor { //add a next button if we dont need a rollString } else { dialogData.buttons.button1 = { - label: `Next`, + label: game.i18n.localize("Mosh.Next"), callback: (html) => { aimFor = `low`; attribute = html.find("input[name='stat']:checked").attr("value"); @@ -1995,7 +1914,7 @@ export class MothershipActor extends Actor { } //create button header if needed if (!rollString) { - buttonDesc = `

Select your roll type:

`; + buttonDesc = `

` + game.i18n.localize("Mosh.SelectYourRollType") + `:

`; } else { buttonDesc = ``; } @@ -2010,7 +1929,7 @@ export class MothershipActor extends Actor { //we need to generate a roll string //Advantage dialogData.buttons.button1 = { - label: `Advantage`, + label: game.i18n.localize("Mosh.Advantage"), callback: (html) => { rollString = `1d100 [+]`; skill = html.find("input[name='skill']:checked").attr("id"); @@ -2022,7 +1941,7 @@ export class MothershipActor extends Actor { }; //Normal dialogData.buttons.button2 = { - label: `Normal`, + label: game.i18n.localize("Mosh.Normal"), callback: (html) => { rollString = `1d100`; skill = html.find("input[name='skill']:checked").attr("id"); @@ -2034,7 +1953,7 @@ export class MothershipActor extends Actor { }; //Disadvantage dialogData.buttons.button3 = { - label: `Disadvantage`, + label: game.i18n.localize("Mosh.Disadvantage"), callback: (html) => { rollString = `1d100 [-]`; skill = html.find("input[name='skill']:checked").attr("id"); @@ -2047,7 +1966,7 @@ export class MothershipActor extends Actor { //add a next button if we dont need a rollString } else { dialogData.buttons.button1 = { - label: `Next`, + label: game.i18n.localize("Mosh.Next"), callback: (html) => { skill = html.find("input[name='skill']:checked").attr("id"); skillValue = html.find("input[name='skill']:checked").attr("value"); @@ -2074,13 +1993,13 @@ export class MothershipActor extends Actor { //create final dialog data const dialogData = { title: dlgTitle, - content: `

Select your roll type:

`, + buttonDesc: `

` + game.i18n.localize("Mosh.SelectYourRollType") + `:

`, buttons: {} }; //add buttons //Advantage dialogData.buttons.button1 = { - label: `Advantage`, + label: game.i18n.localize("Mosh.Advantage"), callback: (html) => { rollString = dieAdv; resolve([rollString]); @@ -2090,7 +2009,7 @@ export class MothershipActor extends Actor { }; //Normal dialogData.buttons.button2 = { - label: `Normal`, + label: game.i18n.localize("Mosh.Normal"), callback: (html) => { rollString = die; resolve([rollString]); @@ -2100,6 +2019,7 @@ export class MothershipActor extends Actor { }; //Disadvantage dialogData.buttons.button3 = { + label: game.i18n.localize("Mosh.Normal"), label: `Disadvantage`, callback: (html) => { rollString = dieDis; diff --git a/templates/actor/actor-sheet.html b/templates/actor/actor-sheet.html index f4736b8..800e4a4 100644 --- a/templates/actor/actor-sheet.html +++ b/templates/actor/actor-sheet.html @@ -266,7 +266,7 @@
{{ localize 'Mosh.Intelect' }} + data-label="{{ localize 'Mosh.Intellect' }}">{{ localize 'Mosh.Intellect' }}
diff --git a/templates/chat/itemRoll.html b/templates/chat/itemRoll.html index e08d7fe..f1cddf0 100644 --- a/templates/chat/itemRoll.html +++ b/templates/chat/itemRoll.html @@ -33,7 +33,7 @@ {{/if}} {{#if item.system.severity}}
-
Severity: {{item.system.severity}}
+
{{ localize 'Mosh.Severity' }}: {{item.system.severity}}
@@ -41,7 +41,7 @@ {{/if}} {{#if item.system.armorPoints}}
-
Armor Points: {{item.system.armorPoints}}
+
{{ localize 'Mosh.ArmorPoints' }}: {{item.system.armorPoints}}
@@ -49,7 +49,7 @@ {{/if}} {{#if item.system.damageReduction}}
-
Damage Reduction: {{item.system.damageReduction}}
+
{{ localize 'Mosh.DamageReduction' }}: {{item.system.damageReduction}}
@@ -63,9 +63,9 @@ {{else if (compare 'str' item.system.type '===' 'repair')}}
{{#if item.system.major}} -
Major Repair
+
{{ localize 'Mosh.MajorRepair' }}
{{else}} -
Minor Repair
+
{{ localize 'Mosh.MinorRepair' }}
{{/if}}
diff --git a/templates/chat/rollCheck.html b/templates/chat/rollCheck.html index df7303f..bb4de00 100644 --- a/templates/chat/rollCheck.html +++ b/templates/chat/rollCheck.html @@ -14,7 +14,7 @@
{{#if (compare 'int' parsedRollResult.total '>=' 90)}} - You rolled 90 or higher, which is always considered a failure. + {{ localize 'Mosh.YouRolled90OrHigher' }} {{else}} {{#if (compare 'int' skillValue '>' 0)}} You {{{outcomeVerb}}} {{{comparisonText}}} your {{{attribute}}} plus {{{skill}}} skill bonus. @@ -41,7 +41,7 @@
{{{weapon.system.description}}}
{{#if woundEffect}}
-
Wound Effect +
{{ localize 'Mosh.WoundEffect' }}
{{{woundEffect}}}
@@ -57,7 +57,7 @@
-
DESCRIPTION
+
{{ localize 'Mosh.Description' }}
@@ -65,7 +65,7 @@
{{{weapon.system.description}}}
{{#if woundEffect}}
-
Wound Effect +
{{ localize 'Mosh.WoundEffect' }}
{{{woundEffect}}}
diff --git a/templates/chat/rollTable.html b/templates/chat/rollTable.html index e674087..c4328fa 100644 --- a/templates/chat/rollTable.html +++ b/templates/chat/rollTable.html @@ -13,10 +13,10 @@ {{#if secondRoll}}
{{#if (compare 'str' specialRoll '===' 'panicCheck')}} -
Rolling for panic effect...
+
{{ localize 'Mosh.RollingForPanicEffect' }}
{{/if}} {{#if (compare 'str' specialRoll '===' 'maintenanceCheck')}} -
Rolling for maintenance issue...
+
{{ localize 'Mosh.RollingForMaintenanceIssue' }}
{{/if}}
{{{parsedRollResult2.rollHtml}}} diff --git a/templates/dialogs/skill-check-stat-selection-dialog.html b/templates/dialogs/skill-check-stat-selection-dialog.html new file mode 100644 index 0000000..414f82f --- /dev/null +++ b/templates/dialogs/skill-check-stat-selection-dialog.html @@ -0,0 +1,83 @@ + +
+

{{ localize "Mosh.SelectAStat" }}

+ {{ localize "Mosh.ChooseTheStatForSkillCheck" }}{{ localize "Mosh.GivingYouAHigherNumber"}}. + +
+
+ + + + \ No newline at end of file