Commit Graph

775 Commits

Author SHA1 Message Date
Steven Evans
1a5208f78f [refactor] Moved 'printArray' to 'arrayToString' TS file 2018-07-08 20:17:51 -04:00
Steven Evans
d20516b03c [refactor] Moved 'addOffset' to its own TS file 2018-07-08 20:17:51 -04:00
Steven Evans
875f7b4438 [refactor] Moved 'removeElementById' to its own TS file 2018-07-08 20:17:50 -04:00
Steven Evans
488f947a5b [refactor] Moved 'getElementById' to its own TS file. 2018-07-08 20:17:50 -04:00
Steven Evans
8c25684fe1 [refactor] Moved 'createPopup' to its own TS file. 2018-07-08 20:17:50 -04:00
Steven Evans
107f1de18d [refactor] Moved createElement into its own TS file
This is the start at separating out UI related work from potentially backend
related work. This distinction will help when Web Workers can be
introduced to get around the background tab limitation for scripts.
2018-07-08 20:17:49 -04:00
Steven Evans
bdb935d104 [refactor] Moved isValidIPAddress to its own TS file 2018-07-08 20:17:49 -04:00
Steven Evans
be9891d93b [refactor] Moved 'getRandomInt' to its own TS file 2018-07-08 20:17:49 -04:00
Steven Evans
39c9488768 [refactor] Moved 'roundToTwo' to its own TS file 2018-07-08 20:17:48 -04:00
Steven Evans
15e3b751da [refactor] Moved "exceptionAlert" to its own TS file
Since this is a UI only function, when Web Workers are introduced this
call chain will not be allowed on the backend.
2018-07-08 20:15:07 -04:00
Steven Evans
be577164e3 [refactor] Removed export of "numOccurrences"
Does not appear to actually be used outside of StringHelperFunctions.ts
2018-07-08 20:15:07 -04:00
Steven Evans
a6293474a9 [refactor] Moved "isString()" to its own TS file 2018-07-08 20:15:06 -04:00
Steven Evans
187b5051b9 [refactor] Moved "createProgressBarText" to its own TS file 2018-07-08 20:15:06 -04:00
danielyxie
78c5a1b0f4 Initial commit for new Netscript 1 Intepreter 2018-07-08 18:53:24 -05:00
danielyxie
fde2b8cbc1 Infiltration can no longer be done programmatically. HP is reset when prestiging 2018-07-07 19:16:58 -05:00
danielyxie
f33bc59768
Merge pull request #349 from hydroflame/fix-donate-invalid-input
Fix donate invalid input
2018-07-06 17:07:44 -05:00
Olivier Gagnon
2090554238 fixed ramUsed wrong calculation 2018-07-05 23:15:01 -04:00
Olivier Gagnon
7721bfc6c8 clearing the faction donate text field no longer says invalid amount, also formatting 2018-07-05 12:59:20 -04:00
danielyxie
a165880fff Fix typo with Source File 12 2018-07-05 00:00:13 -05:00
danielyxie
7cc759f314 Updated version to v0.39.1. Production Build. Updated documentation 2018-07-04 23:52:54 -05:00
danielyxie
30b9624e1f Updated documentation 2018-07-03 21:12:46 -05:00
danielyxie
3213032427 Fixed incompatibility issues with Edge (due to spread syntax). Fixed issue with Terminal autocomplete and capitalized commands. Script ram is now rounded to 2 decimal places 2018-07-02 22:35:12 -05:00
danielyxie
c8421168b6 Copying a NetscriptJS script with scp now properly clears its 'module'. 2018-06-29 00:39:05 -05:00
Steven Evans
8624fff015
Merge branch 'dev' into eslint 2018-06-27 23:42:42 -04:00
danielyxie
300cd01cc8
Merge pull request #344 from kopelli/lint-cleanup
[style] Cleaning up TSLint violations
2018-06-27 22:39:50 -05:00
danielyxie
0de312a047
Merge pull request #347 from danielyxie/infiltration-improvements
Finishing Infiltration returns to company page. Infiltration remember…
2018-06-27 22:37:10 -05:00
danielyxie
393ce096fd Finishing Infiltration returns to company page. Infiltration remembers selected faction 2018-06-27 22:34:57 -05:00
Olivier Gagnon
611b9d2b12 fix crime parameter 2018-06-27 21:47:09 -04:00
danielyxie
e2b2fb66f3 Rebalancing BN - 7 and several Source Files 2018-06-27 18:28:11 -05:00
Steven Evans
f372f1e693 Merge branch 'dev' into eslint 2018-06-26 22:04:45 -04:00
Steven Evans
2b5090a273 [style] Cleaning up TSLint violations
Adding a few custom types and documentation to clean up TSLint rule
violations. Included some usage of rule disabling for things like long
lines where we need to extract text that the user would see. That level
of text should really be separated from the logic.
2018-06-26 21:40:26 -04:00
danielyxie
18e47ee7c4 Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-06-26 16:58:45 -05:00
Olivier Gagnon
048cbb0910 faction into to ts 2018-06-26 16:34:14 -04:00
Olivier Gagnon
7927e2bfe7 little more ts 2018-06-26 16:10:04 -04:00
danielyxie
219568d8af Fixing merge conflicts 2018-06-26 13:17:07 -05:00
Olivier Gagnon
50a1e83b55 more .js wrongly removed 2018-06-26 13:38:55 -04:00
Olivier Gagnon
40b29ea3c0 woops, sed overkill 2018-06-26 13:27:57 -04:00
Olivier Gagnon
6bdf946790 remove all .js from all appplicable imports 2018-06-26 12:34:11 -04:00
danielyxie
f9943db71d Adding description to SourceFile 7 2018-06-26 09:59:44 -05:00
danielyxie
13dbd9f26c Merge PRs and fix issues 2018-06-26 09:49:28 -05:00
danielyxie
89ecb15b6f
Merge pull request #324 from hydroflame/hydroflame-convert-ts
first conversion
2018-06-25 20:02:40 -05:00
danielyxie
0343ba863b
Merge pull request #323 from hydroflame/fix-negative-security-growth
cap difficulty and fix negative security growth
2018-06-25 19:59:48 -05:00
danielyxie
60c308a28f
Merge pull request #321 from hydroflame/buy-aug-setting
moved the suppress buy aug confirmation to settings, will now persist
2018-06-25 19:42:17 -05:00
danielyxie
d2a1443960
Merge pull request #320 from hydroflame/move-tor-html
[SMALL] moved all tor-html related code to one place, hurray for decoupling
2018-06-25 19:40:59 -05:00
danielyxie
b2a24002ee
Merge pull request #266 from hydroflame/streamline-create-programs
Streamline create programs
2018-06-25 19:34:08 -05:00
danielyxie
75ff10b5c2 Added documentation for Bladeburner API. Fixed typo in BN-7 description. 2018-06-25 14:07:03 -05:00
danielyxie
ca15e689ef More rebalancing of Infiltration. Updating version to v0.39.0 2018-06-25 12:29:51 -05:00
danielyxie
6193faa44a
Merge pull request #331 from hydroflame/format-fl1ght
Format fl1ght, fix #328
2018-06-24 22:29:49 -05:00
danielyxie
58753f9c89 Added Bladeburner functions and 'bladeburner' keyword to syntax highlighter for Netscript. Fixed a bug with bladeburner.getSkillLevel() Netscript fn 2018-06-24 22:07:05 -05:00
danielyxie
8c8574878c Rebalanced infiltration by making base difficulty lower, slightly decreasing the difficulty gain, and increasing money/exp rewards 2018-06-24 21:50:03 -05:00