bitburner-src/markdown/bitburner.bladeburner.getcitychaos.md

760 B

Home > bitburner > Bladeburner > getCityChaos

Bladeburner.getCityChaos() method

Get chaos of a city.

Signature:

getCityChaos(city: CityName | `${CityName}`): number;

Parameters

Parameter Type Description
city CityName | `${CityName}` Name of city. Case-sensitive

Returns:

number

Chaos in the specified city.

Remarks

RAM cost: 4 GB

Returns the chaos in the specified city, or -1 if an invalid city was specified.