Created servers for some of the Factions. THese factions are joinable when you hack into the servers

This commit is contained in:
Daniel Xie 2016-12-22 10:19:02 -06:00
parent 65ba93190b
commit 8239e94a3a
4 changed files with 39 additions and 9 deletions

@ -66,8 +66,12 @@
<a href="#" id="create-program-menu-link"> Create Program </a> <a href="#" id="create-program-menu-link"> Create Program </a>
</li> </li>
<li class="faction-tab" style="visibility:hidden"> <li class="factions-tab" style="visibility:hidden">
<a href="#" id="faction-menu-link"> Factions </a> <a href="#" id="factions-menu-link"> Factions </a>
</li>
<li class="augmentations-tab" style="visiblity:hidden">
<a href="#" id="augmentations-menu-link"> Augmentations </a>
</li> </li>
<li class="tutorial-tab"> <li class="tutorial-tab">

@ -26,6 +26,10 @@ AddToAugmentations = function(aug) {
} }
//TODO Set descriptions for all //TODO Set descriptions for all
//TODO Something that decreases RAM usage of scripts
//TODO SOmething that increases rate at which you gain faction respect
// Similarly. something that helps you gain company reputation
initAugmentations = function() { initAugmentations = function() {
//Combat stat augmentations //Combat stat augmentations
var Targeting1 = new Augmentation("Targeting I"); var Targeting1 = new Augmentation("Targeting I");

@ -95,6 +95,6 @@ initFactions = function() {
//belong in other categories //belong in other categories
var TianDiHui = new Faction("Tian Di Hui"); //Society of the Heaven and Earth var TianDiHui = new Faction("Tian Di Hui"); //Society of the Heaven and Earth
AddToFactions(TianDiHui); AddToFactions(TianDiHui);
var CyberSec = new Faction("CyberSec");
AddToFactions(CyberSec);
} }

@ -495,6 +495,28 @@ initForeignServers = function() {
SnapFitnessGymServer.setPortProperties(4); SnapFitnessGymServer.setPortProperties(4);
AddToAllServers(SnapFitnessGymServer); AddToAllServers(SnapFitnessGymServer);
//Faction servers, cannot hack money from these
var BitRunnersServer = new Server();
BitRunnersServer.init(createRandomIp(), "run4theh111z", "The Runners", true, false, false, false, 1);
BitRunnersServer.setPortProperties(4);
AddToAllServers(BitRunnersServer);
var NiteSecServer = new Server();
NiteSecServer.init(createRandomIp(), "avmnite-02h", "NiteSec", true, false, false, false, 1);
NiteSecServer.setPortProperties(2);
AddToAllServers(NiteSecServer);
var DarkArmyServer = new Server();
DarkArmyServer.init(createRandomIp(), ".", ".", true, false, false, false, 1);
DarkArmyServer.setPortProperties(5);
AddToAllServers(DarkArmyServer);
var CyberSecServer = new Server();
CyberSecServer.init(createRandomIp(), "CSEC", "CyberSec", true, false, false, false, 1);
CyberSecServer.setPortProperties(2);
AddToAllServers(CyberSecServer);
/* Create a randomized network for all the foreign servers */ /* Create a randomized network for all the foreign servers */
//Groupings for creating a randomized network //Groupings for creating a randomized network
var NetworkGroup1 = [IronGymServer, FoodNStuffServer, SigmaCosmeticsServer, JoesGunsServer, HongFangTeaHouseServer, HaraKiriSushiBarServer]; var NetworkGroup1 = [IronGymServer, FoodNStuffServer, SigmaCosmeticsServer, JoesGunsServer, HongFangTeaHouseServer, HaraKiriSushiBarServer];
@ -502,14 +524,14 @@ initForeignServers = function() {
var NetworkGroup3 = [OmegaSoftwareServer, PhantasyServer, SilverHelixServer, NeoNightclubServer]; var NetworkGroup3 = [OmegaSoftwareServer, PhantasyServer, SilverHelixServer, NeoNightclubServer];
var NetworkGroup4 = [CrushFitnessGymServer, NetLinkTechnologiesServer, CompuTekServer, TheHubServer, JohnsonOrthopedicsServer]; var NetworkGroup4 = [CrushFitnessGymServer, NetLinkTechnologiesServer, CompuTekServer, TheHubServer, JohnsonOrthopedicsServer];
var NetworkGroup5 = [CatalystVenturesServer, SysCoreSecuritiesServer, SummitUniversityServer, ZBInstituteOfTechnologyServer, RothmanUniversityServer]; var NetworkGroup5 = [CatalystVenturesServer, SysCoreSecuritiesServer, SummitUniversityServer, ZBInstituteOfTechnologyServer, RothmanUniversityServer];
var NetworkGroup6 = [LexoCorpServer, RhoConstructionServer, AlphaEnterprisesServer, AevumPoliceServer, MilleniumFitnessGymServer]; var NetworkGroup6 = [LexoCorpServer, RhoConstructionServer, AlphaEnterprisesServer, AevumPoliceServer, MilleniumFitnessGymServer, CyberSecServer, NiteSecServer];
var NetworkGroup7 = [GlobalPharmaceuticalsServer, AeroCorpServer, GalacticCyberSystemsServer, SnapFitnessGymServer]; var NetworkGroup7 = [GlobalPharmaceuticalsServer, AeroCorpServer, GalacticCyberSystemsServer, SnapFitnessGymServer];
var NetworkGroup8 = [DeltaOneServer, UnitaLifeGroupServer, OmniaCybersystemsServer]; var NetworkGroup8 = [DeltaOneServer, UnitaLifeGroupServer, OmniaCybersystemsServer];
var NetworkGroup9 = [ZeusMedicalServer, SolarisSpaceSystemsServer, UniversalEnergyServer, IcarusMicrosystemsServer, DefCommServer]; var NetworkGroup9 = [ZeusMedicalServer, SolarisSpaceSystemsServer, UniversalEnergyServer, IcarusMicrosystemsServer, DefCommServer];
var NetworkGroup10 = [NovaMedicalServer, ZBDefenseServer, TaiYangDigitalServer, InfoCommServer]; var NetworkGroup10 = [NovaMedicalServer, ZBDefenseServer, TaiYangDigitalServer, InfoCommServer];
var NetworkGroup11 = [AppliedEnergeticsServer, MicrodyneTechnologiesServer, TitanLabsServer]; var NetworkGroup11 = [AppliedEnergeticsServer, MicrodyneTechnologiesServer, TitanLabsServer, BitRunnersServer];
var NetworkGroup12 = [VitaLifeServer, HeliosLabsServer, StormTechnologiesServer, FulcrumTechnologiesServer]; var NetworkGroup12 = [VitaLifeServer, HeliosLabsServer, StormTechnologiesServer, FulcrumTechnologiesServer];
var NetworkGroup13 = [KuaiGongInternationalServer, FourSigmaServer, OmniTekIncorporatedServer]; var NetworkGroup13 = [KuaiGongInternationalServer, FourSigmaServer, OmniTekIncorporatedServer, DarkArmyServer];
var NetworkGroup14 = [PowerhouseGymServer, ClarkeIncorporatedServer, NWOServer, BladeIndustriesServer, BachmanAndAssociatesServer]; var NetworkGroup14 = [PowerhouseGymServer, ClarkeIncorporatedServer, NWOServer, BladeIndustriesServer, BachmanAndAssociatesServer];
var NetworkGroup15 = [FulcrumSecretTechnologiesServer, MegaCorpServer, ECorpServer]; var NetworkGroup15 = [FulcrumSecretTechnologiesServer, MegaCorpServer, ECorpServer];