boost noodle bar

This commit is contained in:
Olivier Gagnon 2021-12-09 16:47:26 -05:00
parent 2eaa33c9f3
commit 172998bef5
3 changed files with 5 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -86,6 +86,9 @@ export function SpecialLocation(props: IProps): React.ReactElement {
SnackbarEvents.emit("You ate some delicious noodles and feel refreshed", "success"); SnackbarEvents.emit("You ate some delicious noodles and feel refreshed", "success");
N00dles(); N00dles();
if (player.sourceFiles.length > 0) player.giveExploit(Exploit.N00dles); if (player.sourceFiles.length > 0) player.giveExploit(Exploit.N00dles);
if (player.sourceFileLvl(5) > 0 || player.bitNodeN === 5) {
player.intelligence_exp *= 1.0000000000000002;
}
} }
return ( return (