From b4f2a5c64162cd72f399ab268e55377362bed98c Mon Sep 17 00:00:00 2001 From: Nicole Date: Sun, 25 Aug 2024 12:09:36 -0500 Subject: [PATCH] set static information netscript costs to 0 (#1628) --- .../bitburner.bladeburner.getblackopnames.md | 2 +- .../bitburner.bladeburner.getcontractnames.md | 2 +- ...urner.bladeburner.getgeneralactionnames.md | 2 +- ...bitburner.bladeburner.getoperationnames.md | 2 +- .../bitburner.bladeburner.getskillnames.md | 2 +- ...tburner.codingcontract.getcontracttypes.md | 2 +- markdown/bitburner.gang.getequipmentnames.md | 2 +- markdown/bitburner.gang.gettasknames.md | 2 +- ...urner.infiltration.getpossiblelocations.md | 2 +- src/Netscript/RamCostGenerator.ts | 22 +++++++++---------- src/ScriptEditor/NetscriptDefinitions.d.ts | 18 +++++++-------- 11 files changed, 29 insertions(+), 29 deletions(-) diff --git a/markdown/bitburner.bladeburner.getblackopnames.md b/markdown/bitburner.bladeburner.getblackopnames.md index fbacdffbb..43d5ea2cb 100644 --- a/markdown/bitburner.bladeburner.getblackopnames.md +++ b/markdown/bitburner.bladeburner.getblackopnames.md @@ -19,7 +19,7 @@ Array of strings containing the names of all Bladeburner Black Ops. ## Remarks -RAM cost: 0.4 GB +RAM cost: 0 GB Returns an array of strings containing the names of all Bladeburner Black Ops. diff --git a/markdown/bitburner.bladeburner.getcontractnames.md b/markdown/bitburner.bladeburner.getcontractnames.md index 5e47af7f2..0d3f4f867 100644 --- a/markdown/bitburner.bladeburner.getcontractnames.md +++ b/markdown/bitburner.bladeburner.getcontractnames.md @@ -19,7 +19,7 @@ Array of strings containing the names of all Bladeburner contracts. ## Remarks -RAM cost: 0.4 GB +RAM cost: 0 GB Returns an array of strings containing the names of all Bladeburner contracts. diff --git a/markdown/bitburner.bladeburner.getgeneralactionnames.md b/markdown/bitburner.bladeburner.getgeneralactionnames.md index ad66e0462..6a8a4bb64 100644 --- a/markdown/bitburner.bladeburner.getgeneralactionnames.md +++ b/markdown/bitburner.bladeburner.getgeneralactionnames.md @@ -19,7 +19,7 @@ Array of strings containing the names of all general Bladeburner actions. ## Remarks -RAM cost: 0.4 GB +RAM cost: 0 GB Returns an array of strings containing the names of all general Bladeburner actions. diff --git a/markdown/bitburner.bladeburner.getoperationnames.md b/markdown/bitburner.bladeburner.getoperationnames.md index 3b93e1e68..67516cc6f 100644 --- a/markdown/bitburner.bladeburner.getoperationnames.md +++ b/markdown/bitburner.bladeburner.getoperationnames.md @@ -19,7 +19,7 @@ Array of strings containing the names of all Bladeburner operations. ## Remarks -RAM cost: 0.4 GB +RAM cost: 0 GB Returns an array of strings containing the names of all Bladeburner operations. diff --git a/markdown/bitburner.bladeburner.getskillnames.md b/markdown/bitburner.bladeburner.getskillnames.md index cf3b367d2..d8cd0941f 100644 --- a/markdown/bitburner.bladeburner.getskillnames.md +++ b/markdown/bitburner.bladeburner.getskillnames.md @@ -19,7 +19,7 @@ Array of strings containing the names of all general Bladeburner skills. ## Remarks -RAM cost: 0.4 GB +RAM cost: 0 GB Returns an array of strings containing the names of all general Bladeburner skills. diff --git a/markdown/bitburner.codingcontract.getcontracttypes.md b/markdown/bitburner.codingcontract.getcontracttypes.md index 09f56f95c..62a0e6c54 100644 --- a/markdown/bitburner.codingcontract.getcontracttypes.md +++ b/markdown/bitburner.codingcontract.getcontracttypes.md @@ -17,5 +17,5 @@ string\[\] ## Remarks -RAM cost: 2 GB +RAM cost: 0 GB diff --git a/markdown/bitburner.gang.getequipmentnames.md b/markdown/bitburner.gang.getequipmentnames.md index 6684859c7..839dbe25a 100644 --- a/markdown/bitburner.gang.getequipmentnames.md +++ b/markdown/bitburner.gang.getequipmentnames.md @@ -19,7 +19,7 @@ Names of all Equipments/Augmentations. ## Remarks -RAM cost: 1 GB +RAM cost: 0 GB Get the name of all possible equipment/upgrades you can purchase for your Gang Members. This includes Augmentations. diff --git a/markdown/bitburner.gang.gettasknames.md b/markdown/bitburner.gang.gettasknames.md index 8b13fa38d..73e072379 100644 --- a/markdown/bitburner.gang.gettasknames.md +++ b/markdown/bitburner.gang.gettasknames.md @@ -19,7 +19,7 @@ All valid tasks that Gang members can be assigned to. ## Remarks -RAM cost: 1 GB +RAM cost: 0 GB Get the name of all valid tasks that Gang members can be assigned to. diff --git a/markdown/bitburner.infiltration.getpossiblelocations.md b/markdown/bitburner.infiltration.getpossiblelocations.md index 67b90929e..8c9f6ee37 100644 --- a/markdown/bitburner.infiltration.getpossiblelocations.md +++ b/markdown/bitburner.infiltration.getpossiblelocations.md @@ -19,5 +19,5 @@ all locations that can be infiltrated. ## Remarks -RAM cost: 5 GB +RAM cost: 0 GB diff --git a/src/Netscript/RamCostGenerator.ts b/src/Netscript/RamCostGenerator.ts index 90d212d3e..6213896d0 100644 --- a/src/Netscript/RamCostGenerator.ts +++ b/src/Netscript/RamCostGenerator.ts @@ -75,11 +75,11 @@ export const RamCostConstants = { StanekPlace: 5, StanekFragmentAt: 2, StanekDeleteAt: 0.15, + StanekAcceptGift: 2, + InfiltrationCalculateDifficulty: 2.5, InfiltrationCalculateRewards: 2.5, - InfiltrationGetLocations: 5, InfiltrationGetInfiltrations: 15, - StanekAcceptGift: 2, CycleTiming: 1, } as const; @@ -235,10 +235,10 @@ const gang = { getRecruitsAvailable: RamCostConstants.GangApiBase / 4, respectForNextRecruit: RamCostConstants.GangApiBase / 4, recruitMember: RamCostConstants.GangApiBase / 2, - getTaskNames: RamCostConstants.GangApiBase / 4, + getTaskNames: 0, getTaskStats: RamCostConstants.GangApiBase / 4, setMemberTask: RamCostConstants.GangApiBase / 2, - getEquipmentNames: RamCostConstants.GangApiBase / 4, + getEquipmentNames: 0, getEquipmentCost: RamCostConstants.GangApiBase / 2, getEquipmentType: RamCostConstants.GangApiBase / 2, getEquipmentStats: RamCostConstants.GangApiBase / 2, @@ -282,13 +282,13 @@ const go = { // Bladeburner API const bladeburner = { inBladeburner: RamCostConstants.BladeburnerApiBase / 4, - getContractNames: RamCostConstants.BladeburnerApiBase / 10, - getOperationNames: RamCostConstants.BladeburnerApiBase / 10, - getBlackOpNames: RamCostConstants.BladeburnerApiBase / 10, + getContractNames: 0, + getOperationNames: 0, + getBlackOpNames: 0, getNextBlackOp: RamCostConstants.BladeburnerApiBase / 2, getBlackOpRank: RamCostConstants.BladeburnerApiBase / 2, - getGeneralActionNames: RamCostConstants.BladeburnerApiBase / 10, - getSkillNames: RamCostConstants.BladeburnerApiBase / 10, + getGeneralActionNames: 0, + getSkillNames: 0, startAction: RamCostConstants.BladeburnerApiBase, stopBladeburnerAction: RamCostConstants.BladeburnerApiBase / 2, getCurrentAction: RamCostConstants.BladeburnerApiBase / 4, @@ -323,7 +323,7 @@ const bladeburner = { } as const; const infiltration = { - getPossibleLocations: RamCostConstants.InfiltrationGetLocations, + getPossibleLocations: 0, getInfiltration: RamCostConstants.InfiltrationGetInfiltrations, } as const; @@ -335,7 +335,7 @@ const codingcontract = { getDescription: RamCostConstants.CodingContractBase / 2, getNumTriesRemaining: RamCostConstants.CodingContractBase / 5, createDummyContract: RamCostConstants.CodingContractBase / 5, - getContractTypes: RamCostConstants.CodingContractBase / 5, + getContractTypes: 0, } as const; // Duplicate Sleeve API diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index e4e2560dc..4cd98d5ea 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -3175,7 +3175,7 @@ export interface Bladeburner { /** * List all contracts. * @remarks - * RAM cost: 0.4 GB + * RAM cost: 0 GB * * Returns an array of strings containing the names of all Bladeburner contracts. * @@ -3186,7 +3186,7 @@ export interface Bladeburner { /** * List all operations. * @remarks - * RAM cost: 0.4 GB + * RAM cost: 0 GB * * Returns an array of strings containing the names of all Bladeburner operations. * @@ -3197,7 +3197,7 @@ export interface Bladeburner { /** * List all black ops. * @remarks - * RAM cost: 0.4 GB + * RAM cost: 0 GB * * Returns an array of strings containing the names of all Bladeburner Black Ops. * @@ -3220,7 +3220,7 @@ export interface Bladeburner { /** * List all general actions. * @remarks - * RAM cost: 0.4 GB + * RAM cost: 0 GB * * Returns an array of strings containing the names of all general Bladeburner actions. * @@ -3231,7 +3231,7 @@ export interface Bladeburner { /** * List all skills. * @remarks - * RAM cost: 0.4 GB + * RAM cost: 0 GB * * Returns an array of strings containing the names of all general Bladeburner skills. * @@ -3851,7 +3851,7 @@ export interface CodingContract { /** * List all contract types. * @remarks - * RAM cost: 2 GB + * RAM cost: 0 GB */ getContractTypes(): string[]; } @@ -3996,7 +3996,7 @@ export interface Gang { /** * List member task names. * @remarks - * RAM cost: 1 GB + * RAM cost: 0 GB * * Get the name of all valid tasks that Gang members can be assigned to. * @@ -4033,7 +4033,7 @@ export interface Gang { /** * List equipment names. * @remarks - * RAM cost: 1 GB + * RAM cost: 0 GB * * Get the name of all possible equipment/upgrades you can purchase for your Gang Members. * This includes Augmentations. @@ -5503,7 +5503,7 @@ interface Infiltration { /** * Get all locations that can be infiltrated. * @remarks - * RAM cost: 5 GB + * RAM cost: 0 GB * * @returns all locations that can be infiltrated. */