mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 15:12:27 +01:00
15 lines
383 B
ReStructuredText
15 lines
383 B
ReStructuredText
getCityChaos() Netscript Function
|
|
=================================
|
|
|
|
.. js:function:: getCityChaos(cityName)
|
|
|
|
:RAM cost: 4 GB
|
|
:param string cityName: Name of city. Case-sensitive
|
|
:returns: Chaos in the specified city, or -1 if an invalid city was specified.
|
|
|
|
Example:
|
|
|
|
.. code-block:: javascript
|
|
|
|
bladeburner.getCityChaos("Sector-12"); // returns: 3800.1
|