mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-29 20:37:05 +02:00
Added documentation for new features
This commit is contained in:
@@ -24,6 +24,7 @@ import {clearEventListeners} from "../utils/HelperFunctions.j
|
||||
import {createRandomIp} from "../utils/IPAddress.js";
|
||||
import {Reviver, Generic_toJSON,
|
||||
Generic_fromJSON} from "../utils/JSONReviver.js";
|
||||
import numeral from "../utils/numeral.min.js";
|
||||
import {formatNumber,
|
||||
convertTimeMsToTimeElapsedString} from "../utils/StringHelperFunctions.js";
|
||||
|
||||
@@ -1602,6 +1603,9 @@ PlayerObject.prototype.singularityStopWork = function() {
|
||||
case CONSTANTS.WorkTypeCreateProgram:
|
||||
res = this.finishCreateProgramWork(true, true);
|
||||
break;
|
||||
case CONSTANTS.WorkTypeCrime:
|
||||
res = this.finishCrime(true);
|
||||
break;
|
||||
default:
|
||||
console.log("ERROR: Unrecognized work type");
|
||||
return "";
|
||||
|
||||
Reference in New Issue
Block a user