Added perks to Company object

This commit is contained in:
Daniel Xie 2017-04-11 15:51:03 -05:00
parent 2e4925c45d
commit 8658a1bdfd
2 changed files with 1 additions and 2 deletions

@ -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) {

@ -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,