mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23:48 +01:00
Sleeves earnings is now tracked in Character Stats Money
This commit is contained in:
parent
7a1fdd6c28
commit
218a9dd250
@ -266,5 +266,6 @@ export const CONSTANTS: IMap<any> = {
|
||||
* It is now possible to suppress bladeburner "action stopped" popup.
|
||||
* Updated several dependencies (who cares, I know)
|
||||
* ls no longer prints lingering newline.
|
||||
* Money earned/spent by sleeves is now tracked under Character>Money
|
||||
`,
|
||||
}
|
@ -334,6 +334,7 @@ export class Sleeve extends Person {
|
||||
this.earningsForTask.money += gain;
|
||||
this.earningsForPlayer.money += gain;
|
||||
p.gainMoney(gain);
|
||||
p.recordMoneySource(gain, 'sleeves');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -61,6 +61,7 @@ export function CharacterInfo(p: IPlayer): React.ReactElement {
|
||||
if (src.infiltration) { parts.push([`Infiltration:`, Money(src.infiltration)]) }
|
||||
if (src.stock) { parts.push([`Stock Market:`, Money(src.stock)]) }
|
||||
if (src.casino) { parts.push([`Casino:`, Money(src.casino)]) }
|
||||
if (src.sleeves) { parts.push([`Sleeves:`, Money(src.sleeves)]) }
|
||||
|
||||
return StatsTable(parts, "");
|
||||
}
|
||||
|
@ -19,6 +19,7 @@ export class MoneySourceTracker {
|
||||
hacknetnode = 0;
|
||||
hospitalization = 0;
|
||||
infiltration = 0;
|
||||
sleeves = 0;
|
||||
stock = 0;
|
||||
total = 0;
|
||||
work = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user