From c0a8a8011519110e404681ed67d22018fb7ad72b Mon Sep 17 00:00:00 2001 From: Svornost <11434-svornost@users.noreply.gitgud.io> Date: Fri, 31 Jul 2020 18:40:14 -0700 Subject: [PATCH] fix jsdoc, indentation --- src/facilities/farmyard/farmyard.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/facilities/farmyard/farmyard.js b/src/facilities/farmyard/farmyard.js index 872dc00a9ad..7f674f5ba94 100644 --- a/src/facilities/farmyard/farmyard.js +++ b/src/facilities/farmyard/farmyard.js @@ -183,7 +183,7 @@ App.Facilities.Farmyard.farmyard = function() { upgradeCost = Math.trunc(V.farmyard * 1000 * V.upgradeMultiplierArcology), farmhands = App.Entity.facilities.farmyard.totalEmployeesCount; - cost.append(cashFormat(upgradeCost)); + cost.append(cashFormat(upgradeCost)); desc.append(`It can support ${V.farmyard} farmhands. Currently there ${farmhands === 1 ? `is` : `are`} ${farmhands} ${farmhands === 1 ? `farmhand` : `farmhands`} in ${V.farmyardName}. `); note.append(` Costs `, cost, ` and will increase upkeep costs`); @@ -370,7 +370,7 @@ App.Facilities.Farmyard.farmyard = function() { unitCost = Math.trunc(1000 * V.upgradeMultiplierArcology); - cost.append(cashFormat(unitCost)); + cost.append(cashFormat(unitCost)); if (V.farmMenialsSpace < 500) { desc.append(`There is enough room in ${V.farmyardName} to build housing, enough to give ${V.farmMenialsSpace + 100} menial slaves a place to sleep and relax. `); @@ -463,11 +463,11 @@ App.Facilities.Farmyard.farmyard = function() { /** * Creates a new rule button - * @param {string|[string]} descText The base description for the rule + * @param {string|string[]} descText The base description for the rule * @param {string} boldText The part in bold * @param {string} linkText The link text - * @param {[string]} enabled Variables to be set to 1 - * @param {[string]} disabled Variables to be set to 0 + * @param {string[]} enabled Variables to be set to 1 + * @param {string[]} disabled Variables to be set to 0 */ function makeRule(descText, boldText, linkText, enabled, disabled) { const -- GitLab