2022-10-21 17:16:00 +02:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [CodingContract](./bitburner.codingcontract.md) > [createDummyContract](./bitburner.codingcontract.createdummycontract.md)
|
|
|
|
|
|
|
|
## CodingContract.createDummyContract() method
|
|
|
|
|
|
|
|
Generate a dummy contract.
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Signature:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
```typescript
|
2024-03-02 05:12:04 +01:00
|
|
|
createDummyContract(type: string): string;
|
2022-10-21 17:16:00 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| type | string | Type of contract to generate |
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Returns:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
2024-03-02 05:12:04 +01:00
|
|
|
string
|
|
|
|
|
|
|
|
Filename of the contract.
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
|
|
|
RAM cost: 2 GB
|
|
|
|
|
|
|
|
Generate a dummy contract on the home computer with no reward. Used to test various algorithms.
|
|
|
|
|