Commit Graph

4826 Commits

Author SHA1 Message Date
hydroflame
7a5dfd0e72
Merge pull request #2707 from MartinFournier/feature/theme-browser
Add Theme Browser accessible from GameOptions
2022-01-26 00:46:17 -05:00
hydroflame
77ba45df40
Merge pull request #2735 from Ninetailed/ns_printf
Add ns.printf function
2022-01-26 00:45:18 -05:00
hydroflame
2fe8a334ef
Merge pull request #2747 from smolgumball/improve-faction-root
ui: cleanup styles + presentation in FactionsRoot.tsx
2022-01-26 00:44:55 -05:00
hydroflame
2ecc71ba28
Merge pull request #2738 from pd/corp-jsdoc
NetscriptDefinitions: fix jsdoc for Corp research functions
2022-01-26 00:44:43 -05:00
hydroflame
85a8036ecf
Merge pull request #2751 from nickofolas/improvement/ui-pass
UI Improvements Pass
2022-01-26 00:44:20 -05:00
hydroflame
6c3ad48ef5
Merge pull request #2763 from Ornedan/formulas-access-checks
Fix formulas access checks
2022-01-26 00:42:51 -05:00
hydroflame
44a6f1b5a8
Merge pull request #2775 from dwRchyngqxs/script_nan_fix
Fixed array comparison handling of NaN
2022-01-26 00:42:29 -05:00
hydroflame
64662df91e
Merge pull request #2764 from zeddrak/patch-1
HacknetServer Grow/Weaken error messages
2022-01-26 00:42:11 -05:00
hydroflame
80396a3416
Merge pull request #2769 from zeddrak/patch-2
In response to Issue #2732
2022-01-26 00:41:51 -05:00
hydroflame
2c9302ee53
Merge pull request #2778 from MartinFournier/feat/electron-build-script
Modify electron build script to allow platform selection
2022-01-26 00:40:49 -05:00
hydroflame
bbef8452b3
Merge pull request #2771 from zeddrak/patch-3
Documentation edit in response to Issue #2678
2022-01-26 00:40:28 -05:00
hydroflame
862835e452
Merge pull request #2777 from MartinFournier/feat/electron-linux-icon
Add missing steam app icon for linux
2022-01-26 00:40:18 -05:00
hydroflame
de122eca73
Merge pull request #2779 from MartinFournier/fix/electron-mac-crash
Fix 'Steam not running' popup causing crash on MacOS
2022-01-26 00:36:57 -05:00
hydroflame
c2c31eede6
Merge pull request #2816 from danielyxie/revert-2785-improve-server-grow-low-money
Revert "Use min `server.moneyAvailable` of 1$ when growing server money"
2022-01-26 00:35:48 -05:00
hydroflame
5e10f7df1f
Revert "Use min server.moneyAvailable of 1$ when growing server money" 2022-01-26 00:35:42 -05:00
hydroflame
0a0b7db06f
Merge pull request #2785 from davidpa9708/improve-server-grow-low-money
Use min `server.moneyAvailable` of 1$ when growing server money
2022-01-26 00:34:52 -05:00
hydroflame
d5b937aaef
Merge pull request #2788 from MartinFournier/fix/electron-deprec-fix
Set nativeWindowOpen to fix deprecation warning
2022-01-26 00:33:16 -05:00
hydroflame
939136a32a
Merge pull request #2807 from dowinter/dev
Fix augmentation order when set to alphabetically
2022-01-26 00:32:59 -05:00
hydroflame
0dd339bb4d
Merge pull request #2790 from SlyCedix/travelToCity-money-fix
Make travelToCity throw on invalid city name and return false on no money
2022-01-26 00:32:25 -05:00
hydroflame
63e2250c15
Merge pull request #2796 from fearnlj01/patch-1
Band-aid fix for visible 'spoilers' in factions RTD
2022-01-26 00:32:12 -05:00
hydroflame
13453e678f
Merge pull request #2809 from pd/corp-api-leftovers
Corp API: Add setSmartSupplyUseLeftovers
2022-01-26 00:31:58 -05:00
hydroflame
a6fb6df04f
Merge pull request #2811 from reasonablytall/dev
Indicate that getRunningScript can return null
2022-01-26 00:31:26 -05:00
hydroflame
0f2dd23eba
Merge pull request #2813 from jamie-mac/fix/cypress-tests
Fix: Cypress tests for dev (updates to match UI changes)
2022-01-26 00:31:00 -05:00
hydroflame
5dd1c0224a
Merge pull request #2814 from SagePtr/patch-1
Add rounding to getPurchaseServerCost
2022-01-26 00:30:45 -05:00
Sage Pointer
98f40ca092
Add rounding to getPurchaseServerCost 2022-01-26 06:02:05 +02:00
jamie-mac
1b1206c95d Fix: Cypress tests for dev (updates to match UI changes) 2022-01-25 23:57:36 +00:00
Alex Aubuchon
6342ccbad5 Indicate that getRunningScript can return null 2022-01-25 18:28:47 -05:00
Phil Despotos
65ffbcc27e Corp API: Add setSmartSupplyUseLeftovers
The API can already toggle smart supply on/off, but can't manage the
related controls for whether smart supply will draw from the existing
materials in the warehouse. Without it, we can't keep some resources in
storage to boost the production multiplier without disabling smart
supply entirely.
2022-01-25 12:51:07 -06:00
Dominik Winter
e29eceb2bd fix augmentation order when set to alphabetically 2022-01-25 18:21:09 +01:00
Martin Fournier
8a2cad6c4a Reset styles for html changelogs in getUpdateText
Adds an optional sxProps to the DialogBox component.
2022-01-25 10:20:36 -05:00
Martin Fournier
c4ddb5ef64 Add tool to bump version & create PR
This includes a tool to update the various files in the repo that need
to change when a version increments.

It also includes a workflow to trigger the action manually, passing it a
version & a changelog url. It'll update the values, build the app, build
the doc, make a commit in a branch, and create a pull request to merge
this stuff back into dev.
2022-01-25 10:20:36 -05:00
Martin Fournier
c367de24a8 Add tool & workflow to fetch changelog
Rewrote the changelog script to use primarily merged pull requests
between "commit A" and "commit B".
It uses the GitHub rest api. The resulting data is pushed to a draft gist.

Manual usage is in the README.

Also adds a GitHub workflow action to run the tool on demand, through
the GitHub action's interface.
2022-01-25 10:20:36 -05:00
Jordan Fearnley
45e106ebe5
Band-aid fix for visible 'spoilers' in factions RTD
Segments the table into multiple expandable parts using the raw RST directive to add HTML directly to the page. Not really a great practice, but would at least quell any arguments as to how spoiler heavy the page is in the meantime.

I'm not sure that the proposed change is up to standard, but will open the PR based on initial feedback to screenshots and leave for others to decide.

https://discord.com/channels/415207508303544321/924108882551386133/935278973154361434 - Screenshots of what it looks like when generated locally with sphinx
2022-01-24 21:30:00 +00:00
David Perez Alvarez
6de6fa092f
"improve" server money grow when 0
min `server.moneyAvailable` of 1$ when growing

unify displayed growth
2022-01-24 09:51:36 -05:00
Cyn
cdeae4ef68 Make travelToCity throw on invalid city name and return false on no money 2022-01-23 22:08:07 -05:00
Martin Fournier
e7aa977eb0 Persist terminal command history in game save
Copy the terminal commands into the player object so that they are saved
between game reloads.

Adds a 'history' command to display history, and a 'history -c' command
to clear it from both the current terminal & the player's save.
2022-01-23 17:09:54 -05:00
Martin Fournier
df0a86966a Add icon for linux 2022-01-23 16:52:19 -05:00
qcorradi
23cd53aad4 Add the deck count for blackjack 2022-01-23 22:08:23 +01:00
qcorradi
08314ed33e Fixed array comparison handling of NaN
Issue #2033 is fixed, not using Object.is as recommended by https://developer.mozilla.org/en-US/docs/Web/JavaScript/Equality_comparisons_and_sameness#when_to_use_object.is_versus_triple_equals
2022-01-23 20:33:32 +01:00
qcorradi
341975ee09 Fixed player hacking exp multiplier application
Fixing the application of player's exp multiplier as indicated in #2260,
the game balance will need to get re-adjusted in consequence.
2022-01-23 20:30:36 +01:00
Martin Fournier
73d777ef86 Remove files from previous electron builds
Ensure we don't keep old files around in the published app.
2022-01-23 13:24:14 -05:00
Martin Fournier
abfb2127f2 Fix 'Steam not running' popup causing crash on Mac 2022-01-23 13:04:19 -05:00
Martin Fournier
ee416dc06e Set nativeWindowOpen to fix deprecation warning 2022-01-23 13:01:40 -05:00
Martin Fournier
1d118cc8be Modify electron build script to select platforms
Allows to build only mac windows or linux for a quicker build time while
developping.
2022-01-23 12:58:20 -05:00
zeddrak
56fe63cdd5
In response to Issue #2678
Added some clarifications in response to Issue #2678.
Did not rebuild the md files (I didn't want to cause unnecessary file conflicts).
2022-01-22 21:41:53 -08:00
zeddrak
3fa580cb93
Update codingcontracttypes.ts 2022-01-22 21:06:20 -08:00
zeddrak
57a1bef967
In response to Issue #2732 (Optional)
This simply clarifies the description for the find all valid math expressions in response to issue #2732 
https://github.com/danielyxie/bitburner/issues/2732
2022-01-22 21:00:28 -08:00
zeddrak
4ffe5508dc
HacknetServer Grow/Weaken error messages
It may be intentional to use hack for all 3 (ie, assume the player makes the connection that can't hack, also means can't grow or weaken), in which case, disregard.
On the other hand, it could've easily been a copy/paste artifact, and this would be more explicitly clear, so thought it was worth bringing up.
2022-01-22 14:47:33 -08:00
Heikki Aitakangas
621df103cf Fix formulas access checks 2022-01-23 00:31:59 +02:00
nickofolas
f6bb4e0138 Fix console warning on ascension modal 2022-01-22 11:37:27 -06:00