more conversion

This commit is contained in:
Olivier Gagnon
2021-08-30 03:07:14 -04:00
parent 21008ba65a
commit a72d1aa99f
16 changed files with 934 additions and 817 deletions
+12
View File
@@ -591,6 +591,13 @@ class DevMenuComponent extends Component {
});
}
addCorporationResearch() {
if(!Player.corporation) return;
Player.corporation.divisions.forEach(div => {
div.sciResearch.qty += 1e10;
});
}
specificContract() {
generateContract({
problemType: this.state.codingcontract,
@@ -1181,6 +1188,11 @@ class DevMenuComponent extends Component {
<button className="std-button" onClick={this.finishCorporationProducts}>Finish products</button>
</td>
</tr>
<tr>
<td>
<button className="std-button" onClick={this.addCorporationResearch}>Tons of research</button>
</td>
</tr>
</tbody>
</table>
</div>