bitburner-src/markdown/bitburner.ns.gethacknetmultipliers.md
2023-04-28 14:45:55 -04:00

882 B
Raw Permalink Blame History

Home > bitburner > NS > getHacknetMultipliers

NS.getHacknetMultipliers() method

Get hacknet related multipliers.

Signature:

getHacknetMultipliers(): HacknetMultipliers;

Returns:

HacknetMultipliers

Object containing the Players hacknet related multipliers.

Remarks

RAM cost: 0.25 GB

Returns an object containing the Players hacknet related multipliers. These multipliers are returned in fractional forms, not percentages (e.g. 1.5 instead of 150%).

Example

const mults = ns.getHacknetMultipliers();
ns.tprint(`production: ${mults.production}`);
ns.tprint(`purchaseCost: ${mults.purchaseCost}`);