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

15 lines
481 B
ReStructuredText
Raw Normal View History

getCityEstimatedCommunities() Netscript Function
================================================
.. js:function:: getCityEstimatedCommunities(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: Estimated number of Synthoid communities 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.getCityEstimatedCommunities("Sector-12"); // returns: 76