mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 01:32:55 +02:00
Added cases for all the commands that will be implemented for now. Updated Server class to contain information about servers, home computer, etc. Added a few fields to Server that will be used when hacking, as well as constructor.
This commit is contained in:
+7
-2
@@ -39,9 +39,14 @@ var Player = {
|
||||
total_money: 0,
|
||||
lifetime_money: 0,
|
||||
|
||||
//Starting (home) computer
|
||||
homeComputer = new Server();
|
||||
startingServer.init("19.42.93.219", "home.pc", true, true, true, true, 2);
|
||||
|
||||
//Servers
|
||||
//discoveredServers = [],
|
||||
//purchasedServers = [],
|
||||
currentServer = homeComputer, //Server currently being accessed through terminal
|
||||
discoveredServers = [],
|
||||
purchasedServers = [],
|
||||
|
||||
//Achievements and achievement progress
|
||||
|
||||
|
||||
Reference in New Issue
Block a user