mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 17:53:00 +02:00
rewrite augmentation stats description so it's autogenerated and consistent with the actual effects.
This commit is contained in:
@@ -76,6 +76,7 @@ class DevMenuComponent extends Component {
|
||||
|
||||
this.setSF = this.setSF.bind(this);
|
||||
this.setAllSF = this.setAllSF.bind(this);
|
||||
this.clearExploits = this.clearExploits.bind(this);
|
||||
this.processStocks = this.processStocks.bind(this);
|
||||
this.setStockPrice = this.setStockPrice.bind(this);
|
||||
this.viewStockCaps = this.viewStockCaps.bind(this);
|
||||
@@ -378,6 +379,10 @@ class DevMenuComponent extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
clearExploits() {
|
||||
Player.exploits = [];
|
||||
}
|
||||
|
||||
addProgram() {
|
||||
const program = this.state.program;
|
||||
if(!Player.hasProgram(program)) {
|
||||
@@ -953,6 +958,12 @@ class DevMenuComponent extends Component {
|
||||
</div>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span className="text">Exploits:</span></td>
|
||||
<td>
|
||||
<button className="std-button touch-right" onClick={this.clearExploits()}>Clear</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr key={'sf-all'}>
|
||||
<td><span className="text">All:</span></td>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user