2019-03-02 19:08:54 -08:00
|
|
|
getBonusTime() Netscript Function
|
|
|
|
=================================
|
|
|
|
|
|
|
|
.. js:function:: getBonusTime()
|
2021-03-11 16:48:00 -05:00
|
|
|
|
2021-03-07 04:13:37 -05:00
|
|
|
:RAM cost: 0 GB
|
2021-03-12 02:51:56 -05:00
|
|
|
:returns: Amount of accumulated "bonus time" (seconds) for the Bladeburner mechanic.
|
2019-03-02 19:08:54 -08:00
|
|
|
|
|
|
|
"Bonus time" is accumulated when the game is offline or if the game is
|
|
|
|
inactive in the browser.
|
|
|
|
|
|
|
|
"Bonus time" makes the game progress faster, up to 5x the normal speed.
|
|
|
|
For example, if an action takes 30 seconds to complete but you've accumulated
|
|
|
|
over 30 seconds in bonus time, then the action will only take 6 seconds
|
|
|
|
in real life to complete.
|
2021-03-12 02:51:56 -05:00
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
.. code-block:: javascript
|
|
|
|
|
|
|
|
bladeburner.getBonusTime(); // returns: 130
|