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 = `
-
-