This is my BitBurner repo!
📦BitBurner
┣ 📂.vscode
┣ 📂live
┃ ┣ 📂contracts
┃ ┣ 📂data
┃ ┣ 📂imports
┃ ┣ 📂modules
┃ ┣ 📂scripts
┃ ┣ 📂shopping
┃ ┣ 📂stanek
┃ ┣ 📂tools
┃ ┣ 📜boot.js
┃ ┣ 📜main.js
┃ ┗ 📜reboot.js
┣ 📂old
┣ 📜.gitignore
┣ 📜AchievementData.json
┣ 📜commands.md
┣ 📜cspell.json
┣ 📜jsconfig.json
┣ 📜NetscriptDefinitions.d.ts
┣ 📜README.md
┗ 📜template.js
Contains all the files that get synced to Bitburner.
Contains all of the contract scripts and some tools for interacting with contracts.
Also includes a template and scripts that have not been completed yet.
Contains the contract solving scripts themselves. Only the
completefolder is used by the contracts module.
Main:
Removes all contracts from all servers.
Reports how many successfully deleted and across how many servers.
Main:
Creates a given number of dummy contracts for each contract type.
Runscontracts.jswhen all dummy contracts are made.
This is where all the data storage files get generated and accessed by modules. (This is usually empty because it gets filled when the scripts run.)
Place for storing custom libraries to be used by modules and other scripts.
Examples of how to export classes, functions and variables for use in other scripts.
Main:
Alerts with the examples of the following...Variables:
CONSTANT- simple constant.Functions:
function_name(ns,foo)- simple function.Classes:
FooBar()- simple class.
Examples of how to export classes, functions and variables for use in other scripts.
Main:
Alerts with 2 lists of achievements with matching descriptions:Locked&UnlockedClasses:
Achievements- used to fetch, parse and assess the state of in-game achievements.
Colours!
.js
Main:
Opens a tail and prints anANSIcolour palette to it.Variables:
ANSI- used to access ANSI codes for colouring strings.
Sorted intofg,bgandfont- withresetfor clearing the formatting.
.md
Contains a guide for understanding how ANSI works and how to useANSI.js.
Main:
Alerts showing which.exes exist and what their skill requirement is.Functions:
all_exes(ns)- Returns a set containing all possibleExeobjects.Classes:
Exe- models a given.exefile, providing getter for names, requirement and existence.
Main:
Alerts with the list of modules, displaying their RAM cost and whether they are enabled (⭕) or disabled (❌).Variables:
MODULES_PATH- the location of the modules in the file-structure.Functions:
all_modules(ns)- Returns an array ofModuleobjects representing all the scripts in the module folder.Classes:
Module- acts as an interface for each script, allowing the state of the module to be tracked and modified to a limited degree.
Main:
Alerts with a list of all servers visible at that moment.
The list also shows if the servers are rooted/backdoored and their current free RAM.Functions:
write_map(ns)- Writes a map of the network to the data folder, overwriting any old information.
server_stats(ns)- Writes a dump of server information for purchased servers into the data folder.Classes:
UtilServer- Represents a given server and it's properties/connections.
AllServers- Represents the entire network as a dynamically generated set/array ofUtilServerobjects.
Main:
UnusedFunctions:
terminal_command(ns,command)- Runs the given command via the terminal.
Main:
Variables:
Functions:
Classes:
Main:
Variables:
Functions:
Classes:
Main:
Variables:
Functions:
Classes:
Just a folder for old stuff.
This is also where things like the lore, demos and references are for now.
It's the gitignore!
Empty for now.
A Markdown doc I made to keep track of terminal commands.
Essentially ripped straight from
help
Config for the spellchecker including a list of words.
Includes a list of words and capacity for a dictionary.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
