mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-27 11:27:04 +02:00
convert company work to new work system
This commit is contained in:
@@ -21,12 +21,10 @@ interface GraftingWorkParams {
|
||||
|
||||
export class GraftingWork extends Work {
|
||||
augmentation: string;
|
||||
cyclesWorked: number;
|
||||
unitCompleted: number;
|
||||
|
||||
constructor(params?: GraftingWorkParams) {
|
||||
super(WorkType.GRAFTING, params?.singularity ?? true);
|
||||
this.cyclesWorked = 0;
|
||||
this.unitCompleted = 0;
|
||||
this.augmentation = params?.augmentation ?? AugmentationNames.Targeting1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user