mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 20:55:44 +01:00
CORP: Revert mandatory coffeeparty (#333)
This commit is contained in:
parent
707508a8cc
commit
c1d3664955
@ -112,10 +112,14 @@ export class OfficeSpace {
|
||||
if (this.totalEmployees > 0) {
|
||||
/** Multiplier for employee morale/happiness/energy based on company performance */
|
||||
const perfMult = Math.pow(
|
||||
0.999 - (corporation.funds < 0 ? 0.002 : 0) - (industry.lastCycleRevenue < 0 ? 0.002 : 0),
|
||||
1.002 -
|
||||
(corporation.funds < 0 ? 0.002 : 0) -
|
||||
(industry.lastCycleRevenue < industry.lastCycleExpenses ? 0.002 : 0),
|
||||
marketCycles,
|
||||
);
|
||||
/** Flat reduction per cycle */
|
||||
// Flat reduction per cycle.
|
||||
// This does not cause a noticable decrease (it's only -.001% per cycle), it only serves
|
||||
// to make the numbers slightly different between Happiness and Morale.
|
||||
const reduction = 0.001 * marketCycles;
|
||||
|
||||
if (this.autoCoffee) {
|
||||
|
Loading…
Reference in New Issue
Block a user