From e320a8339a8d45e102766f86bd142e125496d17e Mon Sep 17 00:00:00 2001 From: Tesseract1234567890 Date: Thu, 3 Jun 2021 16:23:09 -0400 Subject: [PATCH] added extended info to augment --- src/Augmentation/AugmentationHelpers.jsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Augmentation/AugmentationHelpers.jsx b/src/Augmentation/AugmentationHelpers.jsx index d125d4a1d..d9ae50add 100644 --- a/src/Augmentation/AugmentationHelpers.jsx +++ b/src/Augmentation/AugmentationHelpers.jsx @@ -102,15 +102,18 @@ function initAugmentations() { const CircadianRhythm = new Augmentation({ name:AugmentationNames.CircadianRhythm, moneyCost: 1e12, repCost:450e3, info:"An prototype injection which modifies your circadian rhythm, leading to unexpected effects.

" + - "This augmentation increases or decreases a random skill by a random amount depending on install time.
" + "This augmentation currently modifies these values:
" }); + for (let i = 0; i < randomBonuses.length; i++) { console.log(`${randomBonuses[i]}`); CircadianRhythm.mults[randomBonuses[i][0]] = randomBonuses[i][1]; + CircadianRhythm.info += `${randomBonuses[i][0]} by ${Math.round(100 * randomBonuses[i][1].toFixed(2))}%
` } - console.log(CircadianRhythm.mults); + + console.log(CircadianRhythm.info); CircadianRhythm.addToFactions(["Speakers for the Dead"]); if (augmentationExists(AugmentationNames.CircadianRhythm)) {