mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
Better RamCost testing (see desc)
* RamCostGenerator will have an error if ramcosts are defined for nonexistent functions, in addition to error if not all functions have ram costs defined * Removed a few random blank comment lines in NetscriptDefinitions.d.ts * RamCalculation.test.ts checks exact expected static and dynamic ram usage from (almost) every function, based on defined RamCosts in RamCostGenerator.
This commit is contained in:
24
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
24
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -4408,54 +4408,55 @@ export interface NS {
|
||||
* @remarks RAM cost: 4 GB
|
||||
*/
|
||||
readonly hacknet: Hacknet;
|
||||
|
||||
/**
|
||||
*
|
||||
* Namespace for bladeburner functions.
|
||||
* @remarks RAM cost: 0 GB
|
||||
*/
|
||||
readonly bladeburner: Bladeburner;
|
||||
|
||||
/**
|
||||
*
|
||||
* Namespace for codingcontract functions.
|
||||
* @remarks RAM cost: 0 GB
|
||||
*/
|
||||
readonly codingcontract: CodingContract;
|
||||
|
||||
/**
|
||||
*
|
||||
* Namespace for gang functions.
|
||||
* @remarks RAM cost: 0 GB
|
||||
*/
|
||||
readonly gang: Gang;
|
||||
|
||||
/**
|
||||
*
|
||||
* Namespace for sleeve functions.
|
||||
* @remarks RAM cost: 0 GB
|
||||
*/
|
||||
readonly sleeve: Sleeve;
|
||||
|
||||
/**
|
||||
*
|
||||
* Namespace for stock functions.
|
||||
* @remarks
|
||||
* RAM cost: 0 GB
|
||||
* @remarks RAM cost: 0 GB
|
||||
*/
|
||||
readonly stock: TIX;
|
||||
|
||||
/**
|
||||
*
|
||||
* Namespace for formulas functions.
|
||||
* @remarks
|
||||
* RAM cost: 0 GB
|
||||
* @remarks RAM cost: 0 GB
|
||||
*/
|
||||
readonly formulas: Formulas;
|
||||
|
||||
/**
|
||||
* Namespace for stanek functions.
|
||||
* RAM cost: 0 GB
|
||||
*/
|
||||
readonly stanek: Stanek;
|
||||
|
||||
/**
|
||||
* Namespace for infiltration functions.
|
||||
* RAM cost: 0 GB
|
||||
*/
|
||||
readonly infiltration: Infiltration;
|
||||
|
||||
/**
|
||||
* Namespace for corporation functions.
|
||||
* RAM cost: 1022.4 GB
|
||||
@@ -4476,8 +4477,7 @@ export interface NS {
|
||||
|
||||
/**
|
||||
* Namespace for grafting functions.
|
||||
* @remarks
|
||||
* RAM cost: 0 GB
|
||||
* @remarks RAM cost: 0 GB
|
||||
*/
|
||||
readonly grafting: Grafting;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user