mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-08 08:43:53 +01:00
API: Reduced RAM cost for ns.getPurchasedServers (#1614)
This commit is contained in:
parent
614bec1e13
commit
7f5c4e1fe0
@ -19,5 +19,5 @@ Returns an array with the hostnames of all of the servers you have purchased.
|
||||
|
||||
## Remarks
|
||||
|
||||
2.25 GB
|
||||
1.05 GB
|
||||
|
||||
|
@ -123,7 +123,7 @@ export const CONSTANTS = {
|
||||
- Fix misleading favor numbers (@catloversg)
|
||||
- Sync UI updates to game updates. (@tom.prince)
|
||||
- Always show description of faction price multiplier (@catloversg)
|
||||
- Add apostrophe to stanek's gift strings (@nicole)
|
||||
- Add apostrophe to stanek's gift strings (@faenre)
|
||||
- Use Autocomplete instead of Select in augmentation tool (@catloversg)
|
||||
- Notify players about documentation tab after getting SF1.1 (@catloversg)
|
||||
|
||||
|
@ -551,11 +551,11 @@ export const RamCosts: RamCostTree<NSFull> = {
|
||||
getPurchasedServerMaxRam: RamCostConstants.GetPurchasedServerMaxRam,
|
||||
getPurchasedServerCost: RamCostConstants.GetPurchaseServer,
|
||||
getPurchasedServerUpgradeCost: 0.1,
|
||||
getPurchasedServers: 1.05,
|
||||
upgradePurchasedServer: 0.25,
|
||||
renamePurchasedServer: 0,
|
||||
purchaseServer: RamCostConstants.PurchaseServer,
|
||||
deleteServer: RamCostConstants.PurchaseServer,
|
||||
getPurchasedServers: RamCostConstants.PurchaseServer,
|
||||
write: 0,
|
||||
tryWritePort: 0,
|
||||
read: 0,
|
||||
|
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -7125,7 +7125,7 @@ export interface NS {
|
||||
/**
|
||||
* Returns an array with the hostnames of all of the servers you have purchased.
|
||||
*
|
||||
* @remarks 2.25 GB
|
||||
* @remarks 1.05 GB
|
||||
* @returns Returns an array with the hostnames of all of the servers you have purchased.
|
||||
*/
|
||||
getPurchasedServers(): string[];
|
||||
|
Loading…
Reference in New Issue
Block a user