mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 05:33:54 +01:00
Added Silhouette Faction. Needs to add Augs for it
This commit is contained in:
parent
51d351f894
commit
fd70bf259b
@ -131,6 +131,9 @@ initFactions = function() {
|
||||
var TheSyndicate = new Faction("The Syndicate");
|
||||
TheSyndicate.setInfo(FactionInfo.TheSyndicateInfo);
|
||||
AddToFactions(TheSyndicate);
|
||||
var Silhouette = new Faction("Silhouette");
|
||||
Silhouette.setInfo(FactionInfo.SilhouetteInfo);
|
||||
AddToFactions(Silhouette);
|
||||
|
||||
//Earlygame factions - factions the player will prestige with early on that don't
|
||||
//belong in other categories
|
||||
@ -367,6 +370,15 @@ PlayerObject.prototype.checkForFactionInvitations = function() {
|
||||
invitedFactions.push(thesyndicateFac);
|
||||
}
|
||||
|
||||
var silhouetteFac = Factions["Silhouette"];
|
||||
if (silhouetteFac.isBanned == false && silhouetteFac.isMember == false &&
|
||||
(this.companyPosition.positionName == CompanyPositions.CTO.positionName ||
|
||||
this.companyPosition.positionName == CompanyPositions.CFO.positionName ||
|
||||
this.companyPosition.positionName == CompanyPositions.CEO.positionName) &&
|
||||
this.money >= 15000000) {
|
||||
invitedFactions.push(silhouetteFac);
|
||||
}
|
||||
|
||||
//Tian Di Hui
|
||||
var tiandihuiFac = Factions["Tian Di Hui"];
|
||||
if (tiandihuiFac.isBanned == false && tiandihuiFac.isMember == false &&
|
||||
@ -625,6 +637,10 @@ displayFactionContent = function(factionName) {
|
||||
fieldWorkDiv.style.display = "inline";
|
||||
securityWorkDiv.style.display = "inline";
|
||||
break;
|
||||
case "Silhouette":
|
||||
hackDiv.style.display = "inline";
|
||||
fieldWorkDiv.style.display = "inline";
|
||||
securityWorkDiv.style.display = "none";
|
||||
case "Tian Di Hui":
|
||||
hackDiv.style.display = "inline";
|
||||
fieldWorkDiv.style.display = "none";
|
||||
|
@ -111,7 +111,7 @@ FactionInfo = {
|
||||
|
||||
TheSyndicateInfo: "TODO",
|
||||
|
||||
Silhouette: "Corporations are so big, you don't even know who you're working for. That's terror. Terror built into the system.",
|
||||
SilhouetteInfo: "Corporations are so big, you don't even know who you're working for. That's terror. Terror built into the system.",
|
||||
|
||||
//Earlygame factions - factions the player will prestige with early on that don't
|
||||
//belong in other categories
|
||||
|
Loading…
Reference in New Issue
Block a user