BB
de01ae20b9
Fixed some typos and style issues
2022-06-07 15:26:33 +02:00
Staszek Welsh
53743ecb7d
Change UI arrows
2022-06-03 22:16:03 +01:00
Staszek Welsh
6c73ea44ef
Remove potentially spoilery comments about Hacknet Servers from ns docs
2022-06-03 02:20:35 +01:00
Staszek Welsh
144a56e6e0
Remove incorrect doc comment about second arguments for getHackTime and friends
2022-06-03 02:18:06 +01:00
Staszek Welsh
052aa33f0c
Remove debug console.logs
2022-06-03 00:27:05 +01:00
Staszek Welsh
eb71097006
Fix bug where NaNs can leak into product creation productivities
2022-06-03 00:19:43 +01:00
Staszek Welsh
02b07bb332
Fix relevant linter errors and run formatter
2022-06-02 22:54:50 +01:00
Staszek Welsh
b29c8e0039
Stop potential exploit where you switch employees around right before a product finishes
2022-06-02 22:11:34 +01:00
Staszek Welsh
1ed19168f6
Use nicer arrows and alignment in office UI
2022-06-02 17:47:31 +01:00
Staszek Welsh
333975ecf6
Move buy coffee button to office UI section
2022-06-02 14:49:52 +01:00
Staszek Welsh
ba7b76369b
Remove industry upgrades
...
There are only two industry upgrades, one of which is buying coffee
which is not an upgrade, and for the office not the industry. Moving
that to the office leaves just hiring AdVerts, which is better as an
explicitly named set of methods.
2022-06-02 02:43:22 +01:00
Staszek Welsh
18a80d3fe9
Stop potential exploit where you could cheat at coffee/party prices
2022-06-02 00:07:34 +01:00
Staszek Welsh
9ffec86b58
Make buy coffee UI reflect if we're buying coffee
2022-06-02 00:00:30 +01:00
Staszek Welsh
fe83ca0f3f
Make throw party UI reflect if we're throwing a party
2022-06-01 23:45:29 +01:00
Staszek Welsh
04efd899a0
Remove async from buyCoffee and throwParty
2022-06-01 23:36:15 +01:00
Staszek Welsh
ffaa38d086
Unify code paths for buying coffee and throwing parties
2022-06-01 23:26:32 +01:00
Staszek Welsh
1ba5902e1e
Stop auto employee buttons moving around when the numbers change
2022-06-01 18:34:24 +01:00
Staszek Welsh
7d3a43f7b5
Remove async from employee assignment functions
2022-06-01 18:18:53 +01:00
Staszek Welsh
b9356ea782
Only switch employee jobs at the start of corp cycles
2022-06-01 18:11:33 +01:00
Staszek Welsh
df98bcc748
Remove unnecessary check in corporation.unlock
2022-06-01 13:03:32 +01:00
Staszek Welsh
eb46e4d156
Rename getDividends to getCycleDividends for clarity
2022-06-01 12:59:45 +01:00
Undeemiss
6ba171b0c3
Unknown-ify count parameters
2022-05-31 21:27:04 -05:00
Undeemiss
1bbb0610ab
Fix bug where player not refunded hashes for invalid server targets
2022-05-31 21:20:13 -05:00
Undeemiss
620e6986aa
Remove unnecessary refund for nonexistent hash upgrades
2022-05-31 21:15:29 -05:00
Undeemiss
f0dc532513
Add optional count parameter to hashCost and spendHashes
2022-05-31 21:13:03 -05:00
dependabot[bot]
d0d4812cc8
Bump eventsource from 1.1.0 to 1.1.1
...
Bumps [eventsource](https://github.com/EventSource/eventsource ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/EventSource/eventsource/releases )
- [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md )
- [Commits](https://github.com/EventSource/eventsource/compare/v1.1.0...v1.1.1 )
---
updated-dependencies:
- dependency-name: eventsource
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-31 23:54:43 +00:00
Staszek Welsh
4a3558098c
Fix error check in issueDividends expecting 0-100 when it actually takes 0-1
2022-05-30 22:31:51 +01:00
Staszek Welsh
74e4a32f13
Fix shareholder earnings in UI being per cycle instead of per sec
2022-05-30 22:24:52 +01:00
Staszek Welsh
c117b55df9
Expose dividend info through ns.corporation.getCorporation()
2022-05-30 22:21:27 +01:00
Staszek Welsh
e28fe3e31d
Use stored corporation.dividendTax in the dividend tax calculation
2022-05-30 22:05:05 +01:00
Staszek Welsh
8d474a7610
Change corporation.dividendPercentage to corporation.dividendRate
2022-05-30 21:45:36 +01:00
Ansopedian
d319b3f982
added singularity.goToLocation support for non-city-specific locations
2022-05-30 14:23:06 +02:00
borisflagell
2f1d47b466
SLEEVE: FIX #3794
2022-05-29 21:17:04 +02:00
Nezrahm
178015a140
Make hashnet perfectly convert overflow
2022-05-29 20:10:25 +02:00
Undeemiss
a0bff34761
Refactored the internal calculateCost function for readability
2022-05-29 11:35:28 -05:00
Undeemiss
06acc423ae
Added count to NS cost function, input checking, fixed documentation
...
Also changed upgradeSkill back to returning a bool instead of a
number.
2022-05-29 11:13:49 -05:00
borisflagell
e5b372438c
Update bitburner.sleeve.settobladeburneraction.md
...
Slight correction to the sleeveNumber description. Was referencing Gym Workout -> Now reference performing Action
2022-05-29 13:50:08 +02:00
Undeemiss
f8f3c099e0
Formatted/linted (There are some errors, but they aren't mine afaik)
2022-05-28 21:35:20 -05:00
Undeemiss
8b026f606b
Fixed off-by-one error in the fast calculateCost function
...
The off-by-one error was in the original sum, so it's not obvious
in the simplified version of the sum. Fixing this greatly improved
the accuracy of the simple calculation for small counts, but I'm
leaving the recursive mode in. Maybe I'll lower the threshold,
though. 100 isn't a terribly small number.
2022-05-28 21:26:11 -05:00
Undeemiss
8d9e077b66
calculateCost now works more accurately for count<=100
2022-05-28 21:06:25 -05:00
Undeemiss
908d5e9570
Proof-of-concept, handling purchases of 1e150 lvls at once
...
Threw something together with a formula that should, for large
purchases, be roughly the same cost as normal. The formula change
may cause noticeable deviation from expected costs for low numbers
of upgrades, though, so I plan to fix that by having high
quantities handled differently than low ones if necessary.
2022-05-28 20:37:33 -05:00
Vic1970
174190fdef
Update sleeves.rst
...
Minor corrections to sleeves documentation to reflect game behaviour regarding purchase of additional duplicate sleeves and memory for sleeves.
2022-05-29 08:36:58 +10:00
Undeemiss
709fc3ab63
Began attempting to implement a multi-upgrade function for bb
2022-05-28 14:12:07 -05:00
s2ks
3a55e3b9ad
Merge branch 'dev' into hamming
2022-05-28 15:31:46 +02:00
s2ks
f066c0f01e
correct size calculation
2022-05-28 15:27:32 +02:00
borisflagell
2332138fbd
Updated Modal to use new NumberInput Component
2022-05-28 03:15:23 +02:00
borisflagell
6be884a9ad
prettier
2022-05-28 02:50:04 +02:00
borisflagell
c6b6ad1ab9
Corporation: Add big number format support in some modal corp
...
Add big number format support. to the following Corporation's modal :
-BuybackShare
-BribeFaction
-GoPublicModal
-IssueNewShare
-MakeProduct
-SellSahares
2022-05-28 02:50:04 +02:00
hydroflame
6f017bf4f6
Merge pull request #3781 from danielyxie/number-component
...
MISC: Create NumberInput component which allows accepting the same kind of input everywhere.
2022-05-27 20:43:49 -04:00
Olivier Gagnon
b8750d1058
Make a new InputComponent that can be re-used everywhere to make all text accept the same kind of input
2022-05-27 20:41:14 -04:00