API: Reduced RAM cost for ns.getPurchasedServers (#1614)

This commit is contained in:
Nicole 2024-08-22 02:44:21 -05:00 committed by GitHub
parent 614bec1e13
commit 7f5c4e1fe0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

@ -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,

@ -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[];