2016-11-03 22:36:01 +01:00
|
|
|
//Netburner Faction class
|
|
|
|
function Faction(name) {
|
|
|
|
this.name = name;
|
|
|
|
this.augmentations = [];
|
|
|
|
|
|
|
|
//Player-related properties for faction
|
|
|
|
this.isMember = false; //Whether player is member
|
|
|
|
this.playerReputation = 0; //"Reputation" within faction
|
|
|
|
};
|
|
|
|
|
|
|
|
//TODO
|
2016-11-17 23:25:40 +01:00
|
|
|
Faction.prototype.init = function() {
|
2016-11-03 22:36:01 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-11-17 23:25:40 +01:00
|
|
|
Faction.prototype.setAugmentations = function(augs) {
|
2016-11-03 22:36:01 +01:00
|
|
|
for (var i = 0; i < augs.length; i++) {
|
|
|
|
this.augmentations.push(augs[i]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-20 21:18:34 +01:00
|
|
|
Factions = {}
|
2016-11-03 22:36:01 +01:00
|
|
|
Factions = {
|
2016-11-17 16:31:52 +01:00
|
|
|
//TODO Saving this for later, IShima is a kinda cool name maybe use it for something
|
2016-11-03 22:36:01 +01:00
|
|
|
//Endgame
|
2016-11-17 23:25:40 +01:00
|
|
|
Illuminati: new Faction("Illuminati"),
|
|
|
|
Daedalus: new Faction("Daedalus"),
|
|
|
|
Covenant: new Faction("The Covenant"),
|
2016-11-03 22:36:01 +01:00
|
|
|
|
|
|
|
//Megacorporations, each forms its own faction
|
2016-11-17 23:25:40 +01:00
|
|
|
ECorp: new Faction("ECorp"),
|
|
|
|
MegaCorp: new Faction("MegaCorp"),
|
|
|
|
BachmanAndAssociates: new Faction("Bachman & Associates"),
|
|
|
|
BladeIndustries: new Faction("Blade Industries"),
|
|
|
|
NWO: new Faction("NWO"),
|
|
|
|
ClarkeIncorporated: new Faction("Clarke Incorporated"),
|
|
|
|
OmniTekIncorporated: new Faction("OmniTek Incorporated"),
|
|
|
|
FourSigma: new Faction("Four Sigma"),
|
|
|
|
KuaiGongInternational: new Faction("KuaiGong International"),
|
2016-11-03 22:36:01 +01:00
|
|
|
|
|
|
|
//Hacker groups
|
2016-11-17 23:25:40 +01:00
|
|
|
BitRunners: new Faction("BitRunners"),
|
|
|
|
BlackHand: new Faction("The Black Hand"),
|
|
|
|
NiteSec: new Faction("NiteSec"),
|
2016-11-03 22:36:01 +01:00
|
|
|
|
|
|
|
//City factions, essentially governments
|
2016-11-17 23:25:40 +01:00
|
|
|
Chongqing: new Faction("Chongqing"),
|
|
|
|
Sector12: new Faction("Sector-12"),
|
|
|
|
HongKong: new Faction("New Tokyo"),
|
|
|
|
Aevum: new Faction("Aevum"),
|
|
|
|
Ishima: new Faction("Ishima"),
|
|
|
|
Volhaven: new Faction("Volhaven"),
|
2016-11-17 16:31:52 +01:00
|
|
|
|
|
|
|
//Criminal Organizations/Gangs
|
|
|
|
|
|
|
|
//Earlygame factions - factions the player will prestige with early on that don't
|
|
|
|
//belong in other categories
|
|
|
|
|
2016-11-03 22:36:01 +01:00
|
|
|
}
|