mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
Issues 1508 and 1506
This commit is contained in:
parent
b5a8ed1d9d
commit
12f61677e3
@ -7,7 +7,7 @@ toast() Netscript Function
|
|||||||
:param string message: message to display
|
:param string message: message to display
|
||||||
:param success|info|warning|error variant: color of the toast
|
:param success|info|warning|error variant: color of the toast
|
||||||
|
|
||||||
Spawns a toast (those bottom left notifications).
|
Spawns a toast (those bottom right notifications, like "Game Saved!" ).
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
@ -326,7 +326,7 @@ export function NetscriptBladeburner(
|
|||||||
checkBladeburnerCity("getCityEstimatedCommunities", cityName);
|
checkBladeburnerCity("getCityEstimatedCommunities", cityName);
|
||||||
const bladeburner = player.bladeburner;
|
const bladeburner = player.bladeburner;
|
||||||
if (bladeburner === null) throw new Error("Should not be called without Bladeburner");
|
if (bladeburner === null) throw new Error("Should not be called without Bladeburner");
|
||||||
return bladeburner.cities[cityName].commsEst;
|
return bladeburner.cities[cityName].comms;
|
||||||
},
|
},
|
||||||
getCityChaos: function (cityName: any): any {
|
getCityChaos: function (cityName: any): any {
|
||||||
helper.updateDynamicRam("getCityChaos", getRamCost("bladeburner", "getCityChaos"));
|
helper.updateDynamicRam("getCityChaos", getRamCost("bladeburner", "getCityChaos"));
|
||||||
|
Loading…
Reference in New Issue
Block a user