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
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
s2ks
c88d3bcf85
format
2022-05-27 22:37:32 +02:00
s2ks
bcc53c48a7
be clear about the form the answer should come in
2022-05-27 22:31:42 +02:00
s2ks
aa321e3305
re-implement HammingEncode/Decode added HammingEncodeProperly
...
to generate valid hamming codes for "HammingCodes: Encoded Binary to
Integer"
2022-05-27 21:42:39 +02:00
s2ks
4b37603ea5
Attempt to clear up some ambiguity in the descriptions
...
of the "HammingCodes" coding contracts as well as having the
"HammingCodes: Encoded Binary to Integer" coding contract generate valid
Hamming codes.
2022-05-27 21:36:03 +02:00
borisflagell
c5b68610a1
fix typo in thrown error message
2022-05-27 17:59:37 +02:00
hydroflame
605dd87e90
Merge pull request #3771 from borisflagell/BladeBurnerAPIGetBonusTime
...
API: Lightweight FIX - in-game API doc Gang & Bladeburner getBonusTime() referenced wrong time unit
2022-05-26 19:08:36 -04:00
borisflagell
eed6f355fb
Update NetscriptDefinitions.d.ts
...
Fix two instance of in-game API doc referencing the wrong time unit.
2022-05-26 23:39:57 +02:00
Markus-D-M
30687ce74e
Typo
2022-05-26 21:08:28 +02:00
Olivier Gagnon
f70297c829
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-05-26 12:59:09 -04:00
Olivier Gagnon
f2721fefd2
Bladeburner final op no longer directly sends you to the bitverse but instead makes a button appear that sends you there
2022-05-26 12:59:05 -04:00
Markus-D-M
1d06273858
Specify api data + Adding description to doc.
2022-05-26 09:40:05 +02:00
Markus-D-M
ec95730a81
Merge branch 'dev' into contracts_encryption
2022-05-26 09:09:34 +02:00
hydroflame
394b2fca5d
Merge pull request #3768 from jeek/dev
...
Reduce Fulcrum Rep Requirement
2022-05-26 02:14:25 -04:00
T.J. Eckman
734f1167df
Restore Fulcrum Rep Requirement to Default
...
Instead of setting it specifically to 200e3, removed the argument entirely so it will use the default, which currently happens to be 200e3.
2022-05-26 01:12:40 -04:00
T.J. Eckman
2defd1887d
Reduce Fulcrum Rep Requirement
2022-05-26 01:00:56 -04:00
Olivier Gagnon
4e10e190cb
allbuild commit 00adc2ff
2022-05-26 00:57:25 -04:00
Olivier Gagnon
00adc2ffa2
allbuild commit ddf4ab26
2022-05-26 00:34:30 -04:00
Olivier Gagnon
ddf4ab2672
dont generate coding contract offline because SF1.1
2022-05-25 20:49:11 -04:00
Olivier Gagnon
f29e546961
allbuild commit 6a2e5b06
2022-05-25 20:39:25 -04:00
Olivier Gagnon
6a2e5b06ad
fix manualHack
2022-05-25 20:19:42 -04:00
Olivier Gagnon
0dff3e22bc
allbuild commit 7bc9177a
2022-05-25 19:04:22 -04:00
hydroflame
7bc9177ab4
Merge pull request #3766 from jeek/dev
...
Speed up assigning of employees currently without a job.
2022-05-25 19:01:54 -04:00
T.J. Eckman
e14a61e8ae
Merge pull request #1 from jeek/corpturboassign
...
Unassigned Employees Boost
2022-05-25 18:56:06 -04:00
T.J. Eckman
cfb0967634
Unassigned Employees Boost
...
Speed up assigning of employees currently without a job.
2022-05-25 18:55:34 -04:00