diff --git a/modules/ui/editors.js b/modules/ui/editors.js index 0540633f..ff211005 100644 --- a/modules/ui/editors.js +++ b/modules/ui/editors.js @@ -294,9 +294,9 @@ function toggleBurgLock(burg) { function showBurgLockTip(burg) { const b = pack.burgs[burg]; if (b.lock) { - tip('Click to Unlock burg and allow it to be change by regeneration tools'); + tip('Click to unlock burg and allow it to be change by regeneration tools'); } else { - tip('Click to Lock burg and prevent changes by regeneration tools'); + tip('Click to lock burg and prevent changes by regeneration tools'); } } diff --git a/modules/ui/resources-editor.js b/modules/ui/resources-editor.js index 5fd45937..997ea9de 100644 --- a/modules/ui/resources-editor.js +++ b/modules/ui/resources-editor.js @@ -70,9 +70,13 @@ function editResources() { for (const r of pack.resources) { const stroke = Resources.getStroke(r.color); const model = r.model.replaceAll('_', ' '); - const bonusArray = Object.entries(r.bonus).map(e => Array(e[1]).fill(e[0])).flat(); //prettier-ignore + const bonusArray = Object.entries(r.bonus) + .map((e) => Array(e[1]).fill(e[0])) + .flat(); const bonusHTML = bonusArray.map((bonus) => getBonusIcon(bonus)).join(''); - const bonusString = Object.entries(r.bonus).map((e) => e.join(': ')).join('; '); //prettier-ignore + const bonusString = Object.entries(r.bonus) + .map((e) => e.join(': ')) + .join('; '); lines += `