Commit Graph

3655 Commits

Author SHA1 Message Date
hydroflame 247c02856a Merge pull request #2658 from smolgumball/clickable-ls-style-tweak
Fix issues with timestamps on same line as clickable script rows in `ls`
2022-01-17 15:55:22 -05:00
hydroflame b5357ec04e Merge pull request #2665 from MartinFournier/feature/ns-ui-getgameinfo
Add ns.ui.getGameInfo() to retrieve game version
2022-01-17 15:53:43 -05:00
hydroflame abef252547 Merge pull request #2666 from MartinFournier/fix/dupe-cost
Remove duplicated 'cost' keyword for RAM cost.
2022-01-17 15:53:31 -05:00
hydroflame 5344548740 Merge pull request #2668 from MartinFournier/fix/locked-shortcuts
Shortcuts now check to see if feature is unlocked
2022-01-17 15:53:18 -05:00
hydroflame 4e5f05d269 Merge pull request #2667 from MartinFournier/fix/hash-cache-achievement
Add check for hash capacity > 0 for MAX_CACHE
2022-01-17 15:52:42 -05:00
hydroflame b58a2c3cd5 Merge pull request #2674 from nickofolas/fix/help-format-fix-merge
Fix formatting lost in merge commit
2022-01-17 15:52:28 -05:00
hydroflame 2a8a958a7a Merge pull request #2673 from MartinFournier/feature/sidebar-collapsed-tooltip
Add tooltips on sidebar icons when collapsed
2022-01-17 15:52:13 -05:00
hydroflame a9a2764d62 Merge pull request #2672 from MartinFournier/fix/sidebar-stays-collapsed
Keep the sidebar opened or closed on reload
2022-01-17 15:52:01 -05:00
hydroflame cd372c7a55 Merge pull request #2676 from TheMas3212/fix-2675
Add Formulas.exe on start of bitnode 5
2022-01-17 15:51:27 -05:00
hydroflame cdb73319b2 Merge pull request #2679 from MartinFournier/fix/job-shortcut
Change job shortcut test to match sidebar item
2022-01-17 15:50:58 -05:00
hydroflame facca0c2e3 Merge pull request #2680 from attrib/patch-2
Fix formatting of respect needed on gang UI
2022-01-17 15:50:24 -05:00
theit8514 31ebdbb139 Handle 'export default' in static RAM calculation 2022-01-17 13:16:03 -05:00
theit8514 423efe19e1 Remove dependents from cache when dependency updated 2022-01-17 12:02:00 -05:00
Karl Fritsche c638b51e50 Fix formatting of respect needed on gang UI 2022-01-17 15:18:19 +01:00
Martin Fournier 82fe86820f Change job shortcut test to match sidebar item
I switched it to match the same condition as the sidebar menu item,
which checks for player.companyName, which should be set to the latest
company the player worked at. This can prevent a crash loading the jobs
page with an invalid companyName.

This fixes a problem a user had where the player.companyName was empty
while actually items in player.jobs, but I could not figure out how
to replicate. It may have had something to do with part-time jobs.
2022-01-17 08:08:33 -05:00
phyzical dd47a8baa0 throw error without bulk purchase reasearch 2022-01-17 20:00:19 +08:00
phyzical 6f2924dc0d generated docs 2022-01-17 18:24:42 +08:00
phyzical d50e199171 added buybackShares, sellShares and bulkPurchase 2022-01-17 18:03:29 +08:00
phyzical b742fae1c6 Bugfix for creating products in invalid industries 2022-01-17 17:58:09 +08:00
TheMas3212 0ba4f07a34 Add Formulas.exe on start of bitnode 5
fixes #2675
2022-01-17 17:30:50 +11:00
nickofolas 7a31b19c88 Fix formatting lost in merge commit 2022-01-16 20:40:11 -06:00
Martin Fournier 490da6d374 Add tooltips on sidebar icons when collapsed 2022-01-16 17:11:12 -05:00
Martin Fournier f9daf5df64 Keep the sidebar opened or closed on reload
Previously, going to a full-width page and heading back to the terminal would default the sidebar to its opened state regardless of what it was before.

Now it stores it in the GameRoot's state and also in the Settings so
that it persists over reloads.
2022-01-16 17:00:06 -05:00
Gian P e38010a9a4 Revert "Logs button reopens log window"
This reverts commit 01efd372e9.
2022-01-16 18:21:02 -03:00
Martin Fournier a03e47593f Shortcuts now check to see if feature is unlocked
The sidebar now checks if the Player has unlocked the features before using the router to head to the new page.
  - Check added for Bladeburner
  - Check added for Gangs
2022-01-16 11:31:52 -05:00
Martin Fournier da7f161e45 Add check for hash capacity > 0 for MAX_CACHE
Achievement would trigger as soon as you entered the node as the
capacity was 0.

It looks like this fix was lost in a merge resolution (see PR #2459)
2022-01-16 11:20:15 -05:00
pigalot d34d720ab9 Office Size Upgrade Cost 2022-01-16 16:12:03 +00:00
pigalot 2246dd7fe6 Update src/ScriptEditor/NetscriptDefinitions.d.ts
Co-authored-by: Jack <phyzicaly@hotmail.com>
2022-01-16 16:12:00 +00:00
pigalot 416c4ad619 swap if for Math.min 2022-01-16 16:12:00 +00:00
pigalot 4f391682b7 Fix for unneeded extra = 2022-01-16 16:12:00 +00:00
pigalot bd20f16a2d Fix for AI Cores in smart supply 2022-01-16 16:12:00 +00:00
pigalot 4562102448 Fix for js docs 2022-01-16 16:11:32 +00:00
pigalot 62f40b3dc1 Add bribe 2022-01-16 16:11:32 +00:00
pigalot ea88f5f150 spelling mistake 2022-01-16 16:11:32 +00:00
pigalot 1b1dc20c16 fix error message 2022-01-16 16:11:32 +00:00
pigalot 6533913b3b add docs for create corp self fund 2022-01-16 16:11:32 +00:00
pigalot 19ecda1607 Fix doc bug 2022-01-16 16:11:32 +00:00
pigalot 1384b86810 Added better job assignment function, and fix docs 2022-01-16 16:11:32 +00:00
pigalot abdc786403 prevent DreamSense from pushing over max 2022-01-16 16:11:32 +00:00
pigalot e245cc471a Prevent awareness and pop going over max 2022-01-16 16:11:31 +00:00
pigalot 98e8910c3a Research func, gopublic function, and validation 2022-01-16 16:11:31 +00:00
pigalot 2269f79b15 Add investments to the api 2022-01-16 16:11:31 +00:00
pigalot 1b8c715a5e Add costs and count function for ads 2022-01-16 16:11:31 +00:00
pigalot 42d767b443 Fix Bug with smart supply leftovers 2022-01-16 16:11:31 +00:00
pigalot 74019bc2be Make list of divisions accessable on the corp 2022-01-16 16:11:31 +00:00
pigalot 360b8d8d16 Add has corp to the api player object 2022-01-16 16:11:31 +00:00
pigalot 2cfa589da6 Prevent seed money outside of 3 2022-01-16 16:11:31 +00:00
pigalot e2bb76ae6d Add createCorp 2022-01-16 16:11:31 +00:00
pigalot bea6b0e0b1 Fix create corp text 2022-01-16 16:11:31 +00:00
pigalot 8729b54a9c Make 3.3 unlock all corp APIs 2022-01-16 16:11:31 +00:00