From 8658a1bdfd1d51ecca6a1c807085415ec630f25a Mon Sep 17 00:00:00 2001 From: Daniel Xie Date: Tue, 11 Apr 2017 15:51:03 -0500 Subject: [PATCH] Added perks to Company object --- src/Company.js | 2 +- src/Constants.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Company.js b/src/Company.js index 9a0a07a6d..b1b9b86fa 100644 --- a/src/Company.js +++ b/src/Company.js @@ -5,6 +5,7 @@ function Company() { this.companyName = ""; this.info = ""; this.companyPositions = []; //Names (only name, not object) of all company positions + this.perks = []; //Available Perks this.salaryMultiplier = 1; //Multiplier for base salary this.expMultiplier = 1; //Multiplier for base exp gain @@ -17,7 +18,6 @@ function Company() { this.isPlayerEmployed = false; this.playerPosition = ""; //Name (only name, not object) of the current position player holds this.playerReputation = 0; //"Reputation" within company, gain reputation by working for company - }; Company.prototype.init = function(name, salaryMult, expMult, jobStatReqOffset) { diff --git a/src/Constants.js b/src/Constants.js index f1bb6c4a5..99c8ba476 100644 --- a/src/Constants.js +++ b/src/Constants.js @@ -6,7 +6,6 @@ CONSTANTS = { //How much reputation is needed to join a megacorporation's faction CorpFactionRepRequirement: 250000, - /* Script related things */ //Time (ms) it takes to run one operation in Netscript. CodeInstructionRunTime: 1500,