mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 06:48:42 +02:00
1.0 KiB
1.0 KiB
Home > bitburner > CodingContract > createDummyContract
CodingContract.createDummyContract() method
Generate a dummy contract.
Signature:
createDummyContract(type: CodingContractName): string | null;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
type |
Type of contract to generate |
Returns:
string | null
Filename of the contract.
Remarks
RAM cost: 2 GB
Generate a dummy contract on the home computer with no reward. Used to test various algorithms.
This function will return null and not generate a contract if the randomized contract name is the same as another contract's name.