Undeemiss
6ba171b0c3
Unknown-ify count parameters
2022-05-31 21:27:04 -05: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
Undeemiss
709fc3ab63
Began attempting to implement a multi-upgrade function for bb
2022-05-28 14:12:07 -05: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
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
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
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
Olivier Gagnon
216055b3e0
allbuild commit b60f3da8
2022-05-25 18:38:01 -04:00
Olivier Gagnon
b60f3da80e
allbuild commit cb7f3b17
2022-05-25 16:05:03 -04:00
Olivier Gagnon
cb7f3b17be
fix ns1 scripts
2022-05-25 16:01:28 -04:00
Olivier Gagnon
ca2e22506b
more lint
2022-05-25 15:40:57 -04:00
Olivier Gagnon
c1650e332b
lint fixes
2022-05-25 15:08:48 -04:00
Olivier Gagnon
76ccb0ba36
lint
2022-05-25 11:43:43 -04:00
Olivier Gagnon
6fef46d5df
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-05-25 11:16:01 -04:00
Olivier Gagnon
bd6705419c
lint
2022-05-25 11:15:34 -04:00
hydroflame
315c949ca2
Merge pull request #3753 from phyzical/feature/3737
...
MISC: Remove progMult from product create as it is redundant
2022-05-25 11:14:39 -04:00
Olivier Gagnon
63b0b22f92
Fix tor router from anywhere
2022-05-25 11:14:06 -04:00
hydroflame
bef953bf59
Merge pull request #3758 from danielyxie/api-wrap
...
Fix a few bugs related to api wrapping
2022-05-25 11:12:38 -04:00
Olivier Gagnon
4dd7afac9d
allbuild commit 252b0a30
2022-05-25 11:10:25 -04:00
hydroflame
edef7729a2
Merge pull request #3756 from phyzical/bugfix/fix-tests
...
FIX: tests
2022-05-25 10:49:08 -04:00
hydroflame
0856680bab
Merge pull request #3754 from phyzical/bugfix/fix-dev-build
...
BUGFIX: fix compliation error in dev
2022-05-25 10:48:45 -04:00
phyzical
bc5377ba74
fix tests
...
bugfix/fix-tests
File List:
src/Terminal/determineAllPossibilitiesForTabCompletion.ts
test/jest/Terminal/Directory.test.js
2022-05-25 19:03:58 +08:00
phyzical
bec40e5274
fix compliation error in dev
...
bugfix/fix-dev-build
File List:
src/NetscriptFunctions.ts
2022-05-25 17:20:32 +08:00
phyzical
2e7e5ad917
remove progMult as it is redundant
...
feature/3737
File List:
src/Corporation/Product.ts
2022-05-25 17:09:36 +08:00
hydroflame
31fe43715e
Merge pull request #3743 from fdellwing/patch-1
...
MISC: Fix #3742 manualHack() should use correct BitNode Multiplier
2022-05-24 20:22:01 -04:00
hydroflame
467e307c05
Merge pull request #3748 from danielyxie/api-wrap
...
MISC: API Wrapping blocked
2022-05-24 20:19:52 -04:00
Olivier Gagnon
252b0a3018
allbuild commit 972abcbd
2022-05-24 20:19:26 -04:00
Olivier Gagnon
972abcbdc8
Wrap all the API
2022-05-24 20:16:39 -04:00
Olivier Gagnon
ae38b11ede
made static ram cost typecheck that it's missing no property.
2022-05-24 18:34:00 -04:00
Olivier Gagnon
0da2e74d12
more work on wrapping formulas
2022-05-24 17:51:48 -04:00
Olivier Gagnon
324f752d8a
Wrap formulas but doesn't compile
2022-05-24 17:29:44 -04:00