mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 12:15:44 +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
|
## Remarks
|
||||||
|
|
||||||
2.25 GB
|
1.05 GB
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ export const CONSTANTS = {
|
|||||||
- Fix misleading favor numbers (@catloversg)
|
- Fix misleading favor numbers (@catloversg)
|
||||||
- Sync UI updates to game updates. (@tom.prince)
|
- Sync UI updates to game updates. (@tom.prince)
|
||||||
- Always show description of faction price multiplier (@catloversg)
|
- 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)
|
- Use Autocomplete instead of Select in augmentation tool (@catloversg)
|
||||||
- Notify players about documentation tab after getting SF1.1 (@catloversg)
|
- Notify players about documentation tab after getting SF1.1 (@catloversg)
|
||||||
|
|
||||||
|
@ -551,11 +551,11 @@ export const RamCosts: RamCostTree<NSFull> = {
|
|||||||
getPurchasedServerMaxRam: RamCostConstants.GetPurchasedServerMaxRam,
|
getPurchasedServerMaxRam: RamCostConstants.GetPurchasedServerMaxRam,
|
||||||
getPurchasedServerCost: RamCostConstants.GetPurchaseServer,
|
getPurchasedServerCost: RamCostConstants.GetPurchaseServer,
|
||||||
getPurchasedServerUpgradeCost: 0.1,
|
getPurchasedServerUpgradeCost: 0.1,
|
||||||
|
getPurchasedServers: 1.05,
|
||||||
upgradePurchasedServer: 0.25,
|
upgradePurchasedServer: 0.25,
|
||||||
renamePurchasedServer: 0,
|
renamePurchasedServer: 0,
|
||||||
purchaseServer: RamCostConstants.PurchaseServer,
|
purchaseServer: RamCostConstants.PurchaseServer,
|
||||||
deleteServer: RamCostConstants.PurchaseServer,
|
deleteServer: RamCostConstants.PurchaseServer,
|
||||||
getPurchasedServers: RamCostConstants.PurchaseServer,
|
|
||||||
write: 0,
|
write: 0,
|
||||||
tryWritePort: 0,
|
tryWritePort: 0,
|
||||||
read: 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.
|
* 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.
|
* @returns Returns an array with the hostnames of all of the servers you have purchased.
|
||||||
*/
|
*/
|
||||||
getPurchasedServers(): string[];
|
getPurchasedServers(): string[];
|
||||||
|
Loading…
Reference in New Issue
Block a user