Olivier Gagnon
3ee7d593d0
Convert crime to new work model
2022-07-07 02:00:23 -04:00
hydroflame
7d263e4223
Merge pull request #3889 from stalefishies/purchase-aug-fix
...
MISC: Add faction membership check to singularity.purchaseAugmentation
2022-07-06 15:35:53 -04:00
hydroflame
f706b48db8
Merge pull request #3872 from ilkecan/add-options-shortcut
...
UI: Add a keyboard shortcut to switch to Options page
2022-07-06 14:39:25 -04:00
hydroflame
fb31903966
Merge pull request #3873 from ilkecan/createProgram-cancel-message
...
createProgram: FIX #3846 Return correct message
2022-07-06 14:38:38 -04:00
hydroflame
e5ecf1b502
Merge pull request #3793 from Nezrahm/dev
...
HACKNET: Make hashnet perfectly convert overflow
2022-07-06 14:38:13 -04:00
hydroflame
4f617e7d3d
Merge pull request #3818 from ApamNapat/fixed_some_typos_and_style_issues
...
MISC: Fixed some typos and style issues
2022-07-06 14:35:31 -04:00
hydroflame
b067e05738
Merge pull request #3813 from stalefishies/doc-fix
...
DOCUMENTATION: FIX #2602 Remove incorrect info from getHackTime and friends
2022-07-06 14:33:40 -04:00
hydroflame
2a3b591eb7
Merge pull request #3786 from Vic1970/doco_typos
...
DOCUMENTATION: Corrections to Sleeve Documentation (Sleeves.rst) for consistency and typos.
2022-07-06 14:32:41 -04:00
hydroflame
eeb01b77d6
Merge pull request #3834 from stalefishies/types-fix
...
MISC: FIX #3831 Fix NS declarations with incorrect script arg types
2022-07-06 14:31:44 -04:00
hydroflame
c8075ba809
Merge pull request #3858 from douweschulte/dev
...
Small docs and help updates
2022-07-06 14:30:05 -04:00
hydroflame
9f6ba6c802
Merge pull request #3864 from marcowesii/patch-1
...
DOCUMENTATION: arguments documentation example for ns2 scripts
2022-07-06 14:28:42 -04:00
hydroflame
ee9cdee512
Merge pull request #3866 from ilkecan/parameterize-script-extension
...
TUTORIAL: Remove the hardcoded script extension
2022-07-06 14:26:40 -04:00
hydroflame
a9d078752a
Merge pull request #3891 from va2dos/patch-1
...
Documentation: Added BN13 to list of source files (sourcefiles.rst)
2022-07-06 14:26:17 -04:00
hydroflame
b55318706a
Merge pull request #3893 from danielyxie/dev
...
2 recovery fix
2022-07-06 12:43:23 -04:00
Olivier Gagnon
11483db71d
allbuild commit b5927847
2022-07-06 12:39:48 -04:00
Olivier Gagnon
b592784712
update donation counter
2022-07-06 12:38:11 -04:00
hydroflame
0d5ce06d4d
Merge pull request #3697 from borisflagell/#3669
...
STANEK: FIX #3669 Clearing stanek grid using API could crash the page.
2022-07-06 12:37:15 -04:00
hydroflame
904f45f610
Merge pull request #3847 from Snarling/QuitWorkFix
...
COMPANY: FIX #3837 , #3830 corrected backwards logic in quitJob function
2022-07-06 12:35:14 -04:00
sebastien lapratte
a29788c260
Update sourcefiles.rst
2022-07-04 21:01:45 -04:00
Staszek Welsh
395b583905
Add faction membership check to singularity.purchaseAugmentation
2022-07-04 23:44:58 +01:00
Snarling
9cb58898f2
Add ilkecan fix for part time work
2022-06-29 15:03:34 -04:00
ilkecan
adda3d68cd
createProgram: Return correct message
...
It doesn't return completion message upon cancellation anymore.
2022-06-29 02:01:01 +00:00
ilkecan
9f8c567d4c
Add a keyboard shortcut to switch to Options page
2022-06-29 00:33:39 +00:00
ilkecan
44118c8a72
Remove the hardcoded script name
2022-06-28 23:48:07 +00:00
ilkecan
415ae8ee59
Remove the hardcoded tutorial script extension
...
Parameterized it according to the chosen NS version.
2022-06-26 20:33:01 +00:00
Douwe Schulte
934a72b94c
Fix Nitpick: scan-analyze description displays with an html tag when doing help
#3843
2022-06-22 14:06:05 +02:00
Douwe Schulte
d472c1239b
Missing link to used library in tprintf
2022-06-22 12:37:46 +02:00
marcowesii
a4b7f69307
example for ns2 arguments from terminal
...
example for ns2 arguments from terminal because args array seems to not be used anymore
2022-06-19 18:59:15 +02:00
Snarling
7acb83ba77
Fix backwards logic on quitJob
2022-06-16 07:44:32 -04:00
Staszek Welsh
d2d76d40e0
npm run format
2022-06-10 20:03:43 +01:00
Staszek Welsh
ecc56213bc
Fix function declarations with incorrect script arg types
2022-06-10 19:54:11 +01:00
BB
de01ae20b9
Fixed some typos and style issues
2022-06-07 15:26:33 +02: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
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
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