bitburner-src/markdown/bitburner.sleeve.settogymworkout.md
Olivier Gagnon feb0430aff work on doc
2021-10-30 15:46:34 -04:00

949 B

Home > bitburner > Sleeve > setToGymWorkout

Sleeve.setToGymWorkout() method

If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.

Return a boolean indicating whether or not the sleeve started working out.

Signature:

setToGymWorkout(sleeveNumber: number, gymName: Gym, stat: GymStat): boolean;

Parameters

Parameter Type Description
sleeveNumber number Index of the sleeve to workout at the gym.
gymName Gym Name of the gym.
stat GymStat Name of the stat to train.

Returns:

boolean

True if the sleeve started working out, false otherwise.

Remarks

RAM cost: 4 GB