bitburner-src/doc/source/netscript/bladeburnerapi/getCityChaos.rst

15 lines
383 B
ReStructuredText
Raw Normal View History

getCityChaos() Netscript Function
=================================
.. js:function:: getCityChaos(cityName)
2021-03-11 22:48:00 +01:00
:RAM cost: 4 GB
:param string cityName: Name of city. Case-sensitive
2021-03-12 08:51:56 +01:00
:returns: Chaos in the specified city, or -1 if an invalid city was specified.
Example:
.. code-block:: javascript
2021-03-12 08:51:56 +01:00
bladeburner.getCityChaos("Sector-12"); // returns: 3800.1