mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-02 13:57:05 +02:00
more conversion
This commit is contained in:
@@ -584,6 +584,13 @@ class DevMenuComponent extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
finishCorporationProducts() {
|
||||
if(!Player.corporation) return;
|
||||
Player.corporation.divisions.forEach(div => {
|
||||
Object.keys(div.products).forEach(prod => div.products[prod].prog = 99.9)
|
||||
});
|
||||
}
|
||||
|
||||
specificContract() {
|
||||
generateContract({
|
||||
problemType: this.state.codingcontract,
|
||||
@@ -1169,6 +1176,11 @@ class DevMenuComponent extends Component {
|
||||
/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<button className="std-button" onClick={this.finishCorporationProducts}>Finish products</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user