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
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
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
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