Commit Graph

4522 Commits

Author SHA1 Message Date
Martin Fournier
38e10e193e Add achievements dev menu 2022-01-08 05:45:38 -05:00
Martin Fournier
844d518684 Add achievements to base game
- Add a script to generate achievement data from Steamworks API
- Add achievements page with a link in sidebar
- Calculate achievements (1/min) with an engine counter
- Store achievements with a timestamp on unlocked in the PlayerObject
- Add a script to generate monochrome icons from Steam icons
- Add toast when unlocking an achievement
2022-01-08 05:45:32 -05:00
Martin Fournier
fc3c896b80 Add check for hash capacity > 0 for MAX_CACHE
Achievement would trigger as soon as you entered the node as the
capacity was 0.
2022-01-08 04:57:04 -05:00
zeddrak
cb109d8a3f
Apply bitnode multiplier before capping at 1
It is entirely possible to hack more than the BN multiplier, which means this function is reporting the effects of the multiplier incorrectly. By moving the BN multiplier before to before the caps are applied, the functionality is corrected.

(ie, hack % * BN multiplier, THEN cap to 1; not cap to 1, then BM multiply the 1)

TESTED: I'm currently running in BN 5 ( * BitNodeMultipliers.ScriptHackMoney = 0.15), and sent a 4b thread hack against several fully grown servers (Avail Money = 100% of Max Money). Each went down to 0% (not 85% as the current implementation would suggest) after the hack hit
2022-01-07 23:12:44 -08:00
Christopher
ad0b73aaee fixed syntax highlighting (don't highlight partial tokens/keywords) 2022-01-07 19:19:03 -06:00
Russell Stringer
e8d4265c96 Fix #2446 - ns.purchaseAugment() can no longer buy NF from gang
Added the checks from AugmentationPage.tsx to the singularity
purchaseAugment() function to disallow buying NF from player-run
gang and disallow TRP from player-run gang outside BN2
2022-01-07 17:02:44 -05:00
Russell Stringer
1cb65e3f31 fix #2174 - icarus message will no longer stack an unbounded number of alerts
AlertManager now stores a hash for each incoming alert and compares the
hash of any newly arriving alert against those still in the queue.
2022-01-07 15:19:36 -05:00
hydroflame
9bac18b04f
Merge pull request #2438 from KenJohansson/patch-1
Update netscriptjs.rst
2022-01-07 12:50:52 -05:00
hydroflame
0835adbdc0
Merge pull request #2437 from KenJohansson/patch-2
Update terminal.rst
2022-01-07 12:50:43 -05:00
hydroflame
52f2b3b182
Merge pull request #2436 from KenJohansson/patch-3
Update scripts.rst
2022-01-07 12:50:03 -05:00
hydroflame
c54c0751d8
Merge pull request #2435 from KenJohansson/patch-4
Update autocomplete.rst
2022-01-07 12:49:55 -05:00
KenJohansson
d015f7bca1
Update autocomplete.rst
Removed references to .ns
2022-01-07 18:46:47 +01:00
KenJohansson
4010e5791f
Update scripts.rst
Removed reference to .ns
2022-01-07 18:44:56 +01:00
KenJohansson
1c9a1b6c19
Update terminal.rst
Removed references to .ns.
2022-01-07 18:42:37 +01:00
KenJohansson
c48aaed6c5
Update netscriptjs.rst
Removed references to .ns and changed those to .js. Also fixed minor spelling/grammar mistake.
2022-01-07 18:25:17 +01:00
hydroflame
d2193e017d
Merge pull request #2422 from Spacejoker/spacejoker-docs
Doc formatting updates & fixing a few spelling errors.
2022-01-07 12:24:35 -05:00
Martin Fournier
b9ad1d3082 Apply export bonus when using options menu
Also applies the bonus before saving the game instead of after
2022-01-07 09:03:04 -05:00
Martin Fournier
3562671772 Add SaveTimestamp to saveString, used in import 2022-01-07 09:02:35 -05:00
hydroflame
79b3bb0f0e
Update BN14.md 2022-01-07 02:50:32 -05:00
hydroflame
a3a718218b
Update BN14.md 2022-01-07 02:48:15 -05:00
hydroflame
24b9affa80
Update BN14.md 2022-01-07 02:43:24 -05:00
hydroflame
22817fc201
Update BN14.md 2022-01-07 02:43:12 -05:00
hydroflame
2218415aca
Update BN14.md 2022-01-07 02:42:15 -05:00
hydroflame
121e2816fe
Update BN14.md 2022-01-07 02:41:39 -05:00
Olivier Gagnon
a389f888c8 Merge brat push
nch 'dev' of github.com:danielyxie/bitburner into dev
2022-01-07 02:39:59 -05:00
Olivier Gagnon
c44daea997 BN14 md 2022-01-07 02:39:43 -05:00
Jens
ede37767ac Doc formatting updates & fixing a few spelling errors. 2022-01-06 20:52:15 -08:00
hydroflame
77d17a965f
Merge pull request #2417 from SlyCedix/patch-2
Remove Incorrect Line
2022-01-06 21:31:11 -05:00
hydroflame
3bb3363bf3
Merge pull request #2419 from MartinFournier/fix/mem
Add save file warning for detailed ram usage
2022-01-06 21:28:52 -05:00
Martin Fournier
8b2ad883e4 Add save file warning for detailed ram usage 2022-01-06 21:13:38 -05:00
Cyn
3769081e4e
Remove Incorrect Line 2022-01-06 19:51:11 -05:00
hydroflame
4363aa43fe
Merge pull request #2406 from Ornedan/corporation-delay-check-stop
Make corporation delayed functions check if script has been stopped
2022-01-06 13:05:06 -05:00
Heikki Aitakangas
804fbfa90a Make corporation delayed functions check if script has been stopped during delay 2022-01-06 19:06:44 +02:00
Olivier Gagnon
1ac0d761e6 fix incorrect API files 2022-01-06 11:49:21 -05:00
Olivier Gagnon
def945e202 clear up NF desc 2022-01-06 11:38:55 -05:00
hydroflame
3f780397c5
Merge pull request #2390 from TheMas3212/fix-1918
Fixes 1918 Reputation Carry Over Bug
2022-01-06 11:37:18 -05:00
hydroflame
060224182f
Merge pull request #2365 from MartinFournier/fix/achievements-timer
Include electron-log in achievements file
2022-01-06 11:26:27 -05:00
hydroflame
1990f2f1f2
Merge pull request #2364 from MartinFournier/feature/allow-external-api
Add 'host' config for electron api server
2022-01-06 11:26:08 -05:00
hydroflame
b39c00e64f
Merge pull request #2366 from MartinFournier/fix/autosave-toast-setting
Change SuppressSaveToast to only work on auto-save
2022-01-06 11:25:57 -05:00
hydroflame
c722ff5982
Merge pull request #2373 from MartinFournier/feature/mem-verbose
Add detailed ram cost to mem command
2022-01-06 11:25:41 -05:00
hydroflame
b05f65fc0d
Merge pull request #2369 from SagePtr/patch-1
Fix some achievements not triggered if hacked with backdoor command
2022-01-06 11:25:27 -05:00
hydroflame
0d699edd1c
Merge pull request #2374 from thadguidry/patch-2
fix grammar typo and simplify dark web instructions
2022-01-06 11:25:03 -05:00
hydroflame
61a50da586
Merge pull request #2378 from SagePtr/patch-2
Fix "BN3+" achievement triggered for BN2
2022-01-06 11:24:44 -05:00
hydroflame
6628138d3a
Merge pull request #2395 from TheMas3212/fix-trigger-open-dev-menu-sf
Add check for DevMenu exploit to trigger steam achivement
2022-01-06 11:24:28 -05:00
hydroflame
ec49b8ad25
Merge pull request #2392 from TheMas3212/fix-1904
Add a Cancel button to exit out of Infiltrations
2022-01-06 11:23:47 -05:00
hydroflame
ce7c9a4de8
Merge pull request #2396 from tigercat2000/update_print_definitions
Update print and tprint signatures to match code
2022-01-06 11:23:29 -05:00
tigercat2000
6e96428643
Update print and tprint signatures to match code
In https://github.com/danielyxie/bitburner/pull/1380, print() and
tprint() were both changed to allow for variadic arguments, but this
wasn't documented in NetscriptDefinitions.d.ts.
2022-01-06 04:13:36 -08:00
TheMas3212
414cf35321
Add check for DevMenu exploit to trigger steam achivement 2022-01-06 21:26:30 +11:00
TheMas3212
604211112f
Add a Cancel to exit out of Infiltrations
fixes  #1904
doesnt current impose a penalty for canceling but i can add that in
easily if wanted
2022-01-06 19:30:15 +11:00
TheMas3212
a05dc44599
Fixes 1918 Reputation Carry Over Bug
fixes #1918
add a check that stops current work if you apply to a new job as an
employee at a different company
2022-01-06 18:55:16 +11:00