Commit Graph

4272 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
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
Sage Pointer
ba99612d5d
Fix "BN3+" achievement triggered for BN2 2022-01-06 01:46:53 +02:00
Martin Fournier
4fad90ed4d Multiply ram cost by threads 2022-01-05 18:32:29 -05:00
Martin Fournier
b345da9dee Change detailed mem format 2022-01-05 18:04:26 -05:00
Thad Guidry
cc9a88df80
fix grammar typo and simplify dark web instructions 2022-01-05 16:15:48 -06:00
Martin Fournier
4b06bdd89c Add detailed ram cost to mem command 2022-01-05 16:41:48 -05:00
Sage Pointer
0bd8d3cb8f Fix some achievements not triggered if hacked with backdoor command
Moving to BitVerse and returning from function happened before setting backdoorInstalled property to true, so Achievement Handler believed the current BitNode was not finished (unless we applied backdoor through hack command, which has correct code).
2022-01-05 22:23:10 +02:00
Martin Fournier
46fe8cc94c Change SuppressSaveToast to only work on auto-save
Before this, this setting also suppressed the toast for the manual clicks.
2022-01-05 14:56:28 -05:00
Martin Fournier
674d8a3f06 Include electron-log in achievements file
When the timer throws an exception, it tried to log the error but log
was not defined.
2022-01-05 14:17:54 -05:00
Martin Fournier
1d89dd9d41 Add 'host' config for electron api server
Only tweakable through the config, this can allow external
access to the server (ie - if running through a VM or WSL)
2022-01-05 14:15:40 -05:00
hydroflame
7107dd682c
Merge pull request #2361 from MartinFournier/feature/save-tool
Add dev script to prettify save games
2022-01-05 12:50:05 -05:00
Olivier Gagnon
7e6976986f rm sf4 penalty 2022-01-05 12:37:49 -05:00
Martin Fournier
f645169752 Add dev script to prettify save games
Useful to analyze & debug a player's save game for anomalies.
2022-01-05 10:32:28 -05:00
hydroflame
ae779574b0
Merge pull request #2346 from MartinFournier/feature/electron-zoom
Add zoom to electron app
2022-01-05 10:18:48 -05:00
hydroflame
b718fc3ef7
Merge pull request #2343 from MartinFournier/feature/set-theme
Add ns.ui.setTheme() and ns.ui.resetTheme()
2022-01-05 10:17:51 -05:00
hydroflame
78de076e9c
Merge pull request #2345 from woody-lam-cwl/cache-level-tooltip
Fix #2278
2022-01-05 10:17:05 -05:00
hydroflame
ef3c7494cc
Merge pull request #2354 from TheMas3212/fix-1862
Fixes 1862 Combat gang members can do hacking tasks via API and vice versa
2022-01-05 10:16:52 -05:00
hydroflame
0ea139d2f6
Merge pull request #2342 from woody-lam-cwl/nan-donation
Fix #2275 accepts NaN donation bug
2022-01-05 10:16:01 -05:00
hydroflame
f798115259
Merge branch 'dev' into nan-donation 2022-01-05 10:15:40 -05:00
hydroflame
74ef8994bb
Merge pull request #2353 from TheMas3212/fix-1860
Fix 1860 donate to gang faction possible via singularity
2022-01-05 10:14:49 -05:00
hydroflame
802d179408
Merge pull request #2357 from woody-lam-cwl/fix-sf4-tests
Fix #2344 tests failing due to SF4
2022-01-05 10:14:08 -05:00
hydroflame
0638a0cfa7
Merge pull request #2355 from theit8514/get-owned-sourcefiles-ram
Update getOwnedSourceFiles RAM cost
2022-01-05 10:13:30 -05:00
Woody Lam
f4080ee615
Fix #2344 tests failing due to SF4 2022-01-05 13:45:20 +00:00
theit8514
41adedf1bc Update getOwnedSourceFiles RAM cost
Not a singularity function
2022-01-05 07:12:41 -05:00
TheMas3212
c9f0c9c553
Fixes 1862 Combat gang members can do hacking tasks via API and vice versa 2022-01-05 22:02:25 +11:00
TheMas3212
860e77f109
Add check to see if player is in gang before getting Gang Faction 2022-01-05 21:41:04 +11:00
TheMas3212
538a440b7e
Fixes #1860 donate to gang faction possible via singularity
also fixes bug i found while testing this where its possible to donate
to a faction you arent a member of
2022-01-05 21:36:09 +11:00
Olivier Gagnon
fc888505ae rm console log 2022-01-05 01:13:48 -05:00
Olivier Gagnon
feb2a651f6 fix tiem compression 2022-01-05 01:13:11 -05:00
Olivier Gagnon
925bed4430 fix scp 2022-01-04 22:25:41 -05:00