diff --git a/src/004-base/organFarmBase.js b/src/004-base/organFarmBase.js index 4e8e6e50ba1fb0323e53379d2bc3133575695090..b45827816d6271803bd6a41e96efc9172f88fcb0 100644 --- a/src/004-base/organFarmBase.js +++ b/src/004-base/organFarmBase.js @@ -10,8 +10,10 @@ App.Medicine.OrganFarm.Organ = class { * @param {App.Medicine.OrganFarm.OrganImplantAction[]} actions * @param {boolean} [displayMultipleActions=false] allow multiple implant links to be displayed */ - constructor({type, name, tooltip = "", cost, time, canGrow = () => true, dependencies = [], - displayMultipleActions = false, actions = []} = {}) { + constructor({ + type, name, tooltip = "", cost, time, canGrow = () => true, dependencies = [], + displayMultipleActions = false, actions = [] + } = {}) { this.type = type; this.name = name; this.tooltip = tooltip; @@ -40,7 +42,9 @@ App.Medicine.OrganFarm.OrganImplantAction = class { * @param {function(App.Entity.SlaveState):string} implantError - message to show if this action cannot be used * @param {function(App.Entity.SlaveState)} implant */ - constructor({name, tooltip = "", healthImpact, surgeryType, autoImplant = true, canImplant, implantError, implant} = {}) { + constructor({ + name, tooltip = "", healthImpact, surgeryType, autoImplant = true, canImplant, implantError, implant + } = {}) { this.name = name; this.tooltip = tooltip; this.healthImpact = healthImpact;