Compare commits

..

157 Commits

Author SHA1 Message Date
Olivier Gagnon
67e5e413e4 v0.52.2 2021-08-15 02:14:07 -04:00
Olivier Gagnon
796d91835c Simplify all the augmentation effects. 2021-08-15 00:49:19 -04:00
Olivier Gagnon
be8d56ced9 rewrite augmentation stats description so it's autogenerated and consistent with the actual effects. 2021-08-15 00:24:31 -04:00
hydroflame
0671c48c86 Merge pull request #1029 from Kwazygloo/patch-1
Unique  Aevum Augment
2021-08-14 14:28:37 -04:00
Olivier Gagnon
94388ba6af hotfix revert tutorial instructing the player to make a script on n00dles 2021-08-11 01:05:11 -04:00
Olivier Gagnon
306fe97ed8 rebuild with the version inside the game correctly udpated 2021-08-10 21:09:37 -04:00
Olivier Gagnon
c9b47ac3a6 Update changelog. 2021-08-10 21:03:40 -04:00
Olivier Gagnon
8c9f78394b v0.52.1 2021-08-10 21:01:09 -04:00
hydroflame
643d2525c5 Merge pull request #1031 from PurePandemonium/patch-1
Update doc page for Singularity functions
2021-08-10 20:56:40 -04:00
hydroflame
cb6e7ef5e9 Merge pull request #1036 from schroederIT/patch-1
Fix for unintended backdoor/autolink interaction
2021-08-10 20:55:50 -04:00
hydroflame
f7f9065472 Merge pull request #1037 from danielyxie/v0.52.1
V0.52.1
2021-08-10 20:55:19 -04:00
Olivier Gagnon
1e3af43ab3 v0.52.1 2021-08-10 20:54:43 -04:00
Olivier Gagnon
e18aa08eeb Fix crash when quitting an unfocused job 2021-08-10 19:36:52 -04:00
schroederIT
5a75581b38 Fix for unintended backdoor/autolink interaction
Added check for backdoorFlag when calling scan-analyze-link
2021-08-09 20:22:46 -05:00
Joshua Morgan
0d3bc1ea1f Update doc page for Singularity functions
Clean up the intro a bit and separate the list by level.
2021-07-08 14:09:45 -07:00
Kwazygloo
547324a813 Update AugmentationHelpers.jsx 2021-07-06 01:55:42 -07:00
Kwazygloo
fa64186120 Update AugmentationHelpers.jsx 2021-07-06 01:55:42 -07:00
Kwazygloo
9b593758c3 Update AugmentationHelpers.jsx 2021-07-06 01:55:42 -07:00
Kwazygloo
a55fd5046b Update AugmentationHelpers.jsx 2021-07-06 01:55:42 -07:00
Kwazygloo
0e177841ac Update AugmentationHelpers.jsx 2021-07-06 01:55:42 -07:00
MageKing17
0cd17cd3b3 Correct incorrect RAM value in tutorial.
Appears to be a leftover mistake from when the tutorial pointed at foodnstuff; n00dles only has 4 GB.
2021-07-06 00:19:34 -07:00
MageKing17
04c0c87242 Addressing feedback.
`flags` example should have the output, instead of the code, in a comment block. `formulas.basic.calculateExp` and `formulas.basic.hackChance` should have explicit `var` declarations.
2021-07-06 00:18:22 -07:00
MageKing17
43b09a2459 Correct descriptions of LuminCloaking2 and HydroflameLeftArm.
LuminCloaking-V2 claimed to be a more advanced version of itself, and Hydroflame Left Arm described a 2.7 multiplier as a 270% increase.
2021-07-06 00:18:22 -07:00
MageKing17
8731a02ef0 Update Source-File documentation and descriptions.
Only SF-11 had incorrect multipliers, but quite a few were missing things that they unlock; in particular, even the in-game description of BN/SF5 didn't mention the formulas API, which is one of its major benefits (besides Intelligence). I also removed the empty rows from the Source-File description table; it's not exactly hard to add new rows when new BitNodes get added, and all that empty space looks bad.
2021-07-06 00:18:22 -07:00
MageKing17
30abcec74a Update scriptScheduler.ns example to not be pointlessly async.
The example code gives the impression that `ns.run` and `ns.exec` are asynchronous, when they're not; making these functions async is adding overhead for no purpose.
2021-07-06 00:18:22 -07:00
MageKing17
ae15914efa Update netscript documentation.
Unfortunately, I haven't used most of the specialty APIs yet, so I'm not intimately familiar with where their documentation might be wrong. I figured some fixes were better than no fixes, and I can always make more fixes later.

Fixes #1023.
2021-07-06 00:18:22 -07:00
Kwazygloo
1aa141b87e Update AugmentationHelpers.jsx 2021-07-03 11:13:45 -04:00
Kwazygloo
55d1ebd0e4 Synthetic Heart and Combat Rib Description Changes 2021-06-29 19:55:26 -07:00
Kwazygloo
06ac63aece Update AugmentationHelpers.jsx 2021-06-29 19:29:36 -07:00
Kwazygloo
f706fee3d1 Augmented Targeting Description Changes 2021-06-29 19:20:05 -07:00
Kwazygloo
f554398a7f Update AugmentationHelpers.jsx 2021-06-22 23:17:24 -07:00
Kwazygloo
abe204109e Update AugmentationHelpers.jsx 2021-06-18 16:11:12 -04:00
Kwazygloo
434dd2b58d Update AugmentationHelpers.jsx 2021-06-18 12:09:56 -04:00
hydroflame
4c8d0acbd9 Merge pull request #1015 from danielyxie/dev
hotfix buying multiple NFG from level 0 not stacking
2021-06-14 20:32:49 -04:00
Olivier Gagnon
96847b5d27 build hotfix 2021-06-14 20:32:36 -04:00
Olivier Gagnon
8facdd2b49 hotfix buying multiple NFG from level 0 not stacking 2021-06-14 20:31:24 -04:00
hydroflame
8e2b5cfccb Merge pull request #1014 from danielyxie/dev
hotfix augmentation displaying null
2021-06-13 17:32:27 -04:00
Olivier Gagnon
2c7a4f4ce6 hotfix augmentation displaying null 2021-06-13 17:32:16 -04:00
hydroflame
1ca52e2b77 Merge pull request #1013 from danielyxie/dev
Hotfix adding noodle bars as infiltration location
2021-06-13 12:19:01 -04:00
Olivier Gagnon
2248c083c8 Hotfix adding noodle bars as infiltration location 2021-06-13 12:18:34 -04:00
hydroflame
37ec5c733f Merge pull request #1011 from danielyxie/dev
v0.52.0 Infiltration 2.0
2021-06-13 11:15:47 -04:00
Olivier Gagnon
321dca4993 v0.52.0 2021-06-13 11:15:02 -04:00
hydroflame
19f51b684b Infiltration rework (#1010)
Infiltration 2
2021-06-13 11:05:40 -04:00
Olivier Gagnon
39b4048603 Fixed a performance issue when installing too many Neuroflux at once. 2021-06-13 11:05:07 -04:00
Olivier Gagnon
2b1ec7d573 update patch notes 2021-06-12 05:57:09 -04:00
Olivier Gagnon
2b13b5329f tail is smarter 2021-06-12 05:42:18 -04:00
Olivier Gagnon
6661473adc Fix an issue where an empty stack trace would appear in ns1 scripts 2021-06-12 05:09:12 -04:00
Olivier Gagnon
d6a7471e0b Added functions to create gang 2021-06-12 04:47:03 -04:00
Olivier Gagnon
9996232751 Nerf the effect of intelligence on faction reputation gain 2021-06-12 04:28:17 -04:00
Olivier Gagnon
cdd376f2ae gave some love to the tutorial. 2021-06-12 04:23:15 -04:00
hydroflame
00a5085cdf Merge pull request #1008 from Tesseract1234567890/typosFix
Typo Fixes
2021-06-11 00:18:48 -04:00
Tesseract1234567890
4cd17607e6 Fixed server/node text always displaying as Hacknet Nodes even if the player has servers unlocked 2021-06-10 09:27:43 -04:00
Tesseract1234567890
1b734be895 Test to fix server/node text 2021-06-10 09:05:16 -04:00
Tesseract1234567890
6a8aa79396 Fixed capitalization error in Quotes.txt 2021-06-10 08:56:53 -04:00
Tesseract1234567890
34b3843e18 Fixed typo in PlayerObjectGeneralMethods.jsx 2021-06-10 08:55:06 -04:00
Tesseract1234567890
dd75c1b2d2 Fixed typo in Infiltration.js 2021-06-10 08:54:21 -04:00
hydroflame
6d072d766d Merge pull request #1007 from danielyxie/fix-reputation-transfer
Fix reputation transfering when applying for other jobs
2021-06-09 16:33:42 -04:00
Olivier Gagnon
7875d1ba93 Fix reputation transfering when applying for other jobs 2021-06-09 16:33:21 -04:00
hydroflame
0e458a8142 Merge pull request #1004 from Kwazygloo/patch-15
Update Info.tsx
2021-06-08 21:33:55 -04:00
Kwazygloo
8ab571d54d Update Info.tsx 2021-06-08 08:31:56 -04:00
hydroflame
d9da1a8568 Merge pull request #997 from Tesseract1234567890/sleevesUIFix
Allowed Sleeves UI to update on workout change via API
2021-06-07 19:45:25 -04:00
hydroflame
b946886295 Merge pull request #1002 from Tesseract1234567890/hydroPetPeeveFix
Hydro's Pet Peeve Fix
2021-06-07 19:43:16 -04:00
hydroflame
3bb74ceebe Merge pull request #1001 from Tesseract1234567890/hacknetNodeConstantsFix
Hacknet Node Constants Fix (see omuretsu's message in Discord)
2021-06-07 19:10:14 -04:00
Tesseract1234567890
e24c5b3cce Fixed hydro's pet peeve 2021-06-07 09:22:26 -04:00
Tesseract1234567890
527455bada Removed HacknetServerConstant from formulas.hacknetNodes.constants function call 2021-06-07 08:40:10 -04:00
Olivier Gagnon
efdd8482d7 minor tweak to really large number display 2021-06-06 15:06:39 -04:00
hydroflame
4180ceae17 Merge pull request #984 from Tesseract1234567890/numeralFormat.ts-NanT-removal
Modified numeralFormat.ts to prevent NaNt from appearing
2021-06-06 14:59:03 -04:00
hydroflame
9e04aef8d2 Merge pull request #999 from danielyxie/dev
0.51.10 early
2021-06-06 14:54:07 -04:00
Olivier Gagnon
0fc6f90863 push 0.51.11 early for a player 2021-06-06 14:53:31 -04:00
Olivier Gagnon
0cb821b50d lint 2021-06-06 14:46:33 -04:00
QuantumByte
14af88c3fc Merge branch 'danielyxie:dev' into sleevesUIFix 2021-06-06 14:41:48 -04:00
Olivier Gagnon
61dded637d fix some typos in augmentation descriptions. 2021-06-06 14:40:16 -04:00
Tesseract1234567890
4623bb3a0b Fix to Sleeves UI not updating when set to workout value by API 2021-06-06 14:32:09 -04:00
QuantumByte
4f7fb1cd62 Merge branch 'danielyxie:dev' into dev 2021-06-06 14:20:56 -04:00
Olivier Gagnon
0b401ba83b collapse 2 constants in where they are used. 2021-06-06 14:17:03 -04:00
Olivier Gagnon
40813d5c4f Finish work on the gimick time-based aug 2021-06-06 13:28:25 -04:00
QuantumByte
687a2f8852 Merge branch 'danielyxie:dev' into dev 2021-06-06 12:42:28 -04:00
Tesseract1234567890
150a3b03f4 Merge branch 'intFix' of https://github.com/Tesseract1234567890/bitburner into dev 2021-06-06 12:25:48 -04:00
hydroflame
42935a217d Merge pull request #991 from Tesseract1234567890/timeBasedAugment
Circadian Modulator - an augment based on the hour in which you install/reset
2021-06-06 12:06:15 -04:00
Olivier Gagnon
2c2548f856 dev menu is now save-file sensitive, Fixed some bugs related to BN5-1 int 2021-06-06 12:00:59 -04:00
hydroflame
141f2a8331 Merge pull request #994 from Tesseract1234567890/intFix
Fixed intelligence not resetting when b1t_flum3.exe is used from BN5 without having SF5
2021-06-06 11:03:01 -04:00
hydroflame
5b9d2e36c6 Merge pull request #995 from Tesseract1234567890/bladeburnerStatFix
Fixed Bladeburner stats not displaying correctly on Augmentations page
2021-06-06 10:54:18 -04:00
Tesseract1234567890
80125d1521 Fixed bladeburner stats not displaying correctly 2021-06-04 13:55:33 -04:00
Tesseract1234567890
ed041743c2 Allows player to keep int if bitfluming into SF5 from SF5 for some reason 2021-06-04 12:17:46 -04:00
Tesseract1234567890
f9ff45fbed Attempt at making Int. available from start of BN5 2021-06-04 12:14:04 -04:00
Tesseract1234567890
fc5e0ea6a0 Set intelligence_exp to 0 if player does not have SourceFile 5 on b1t_flum3.exe usage 2021-06-04 12:02:26 -04:00
Tesseract1234567890
66ff040e38 Attempt at fixing Int. not resetting on b1t_flum3.exe usage 2021-06-04 11:59:23 -04:00
Tesseract1234567890
49cc25479e Modified flavortext 2021-06-04 08:55:06 -04:00
hydroflame
4bd1813b45 Merge pull request #988 from Kwazygloo/patch-1
Update FactionInfo.ts
2021-06-03 22:56:30 -04:00
Tesseract1234567890
8259c1a5b9 Reset RNG to reload every hour 2021-06-03 16:54:43 -04:00
Tesseract1234567890
c793a076db Changed price and rep. cost of augment 2021-06-03 16:30:06 -04:00
Tesseract1234567890
e320a8339a added extended info to augment 2021-06-03 16:27:06 -04:00
Tesseract1234567890
1427a0f1ae Modified RNG gen for testing 2021-06-03 16:20:35 -04:00
Tesseract1234567890
17315733a7 deleted unnecessary functions 2021-06-03 16:17:34 -04:00
Tesseract1234567890
29d7134859 testing 2021-06-03 16:16:20 -04:00
Tesseract1234567890
4ac91f5599 set to hour instead of 6 mins 2021-06-03 15:27:08 -04:00
Tesseract1234567890
a3496cdfa9 changed rng method to based on hour of install, changes every 360000 ms 2021-06-03 13:25:20 -04:00
Tesseract1234567890
b88990444b Swapped faction to speakers for the dead, modified price + rep cost, modified lore 2021-06-03 13:21:11 -04:00
Tesseract1234567890
e9eae40891 expanded multiplierTypes 2021-06-03 12:21:56 -04:00
Tesseract1234567890
0ec05f3fe2 get random modifier for augment function added 2021-06-03 12:10:26 -04:00
Tesseract1234567890
21611ec571 Made random mult into function 2021-06-03 12:01:10 -04:00
Tesseract1234567890
e7fde38bf9 testing step random 2021-06-03 11:55:50 -04:00
Tesseract1234567890
c47990ef56 Fixed RNG generation for augment 2021-06-03 11:36:32 -04:00
Tesseract1234567890
23cefed8d4 test 2021-06-03 11:33:15 -04:00
Tesseract1234567890
d86fb0262a Attempt 2 2021-06-03 11:30:43 -04:00
Tesseract1234567890
aef0cc815e added rng to circ. modulator 2021-06-03 11:18:55 -04:00
Tesseract1234567890
e0436a4314 increased effect of modulator to test 2021-06-03 11:07:05 -04:00
Tesseract1234567890
1ad0fbe2e1 Attempt #1 at creating custom augment 2021-06-03 11:03:53 -04:00
Kwazygloo
db21010fe4 Update FactionInfo.ts 2021-06-03 08:40:25 -04:00
Tesseract1234567890
0535a0c49b Fixed high HP values 2021-06-02 21:57:31 -04:00
Tesseract1234567890
6314000bd0 Fixed absurdly high skill counter on UI 2021-06-02 21:54:11 -04:00
Tesseract1234567890
a05335d6e2 fixed a stupid mistake 2021-06-02 21:47:32 -04:00
Tesseract1234567890
54114dc6d0 Edited formatAbsurdNumber; reinstated parts of formatShares 2021-06-02 21:41:58 -04:00
Tesseract1234567890
1b6058dd0a Fixed formatAbsurdNumber 2021-06-02 21:38:36 -04:00
Tesseract1234567890
75227233f3 Added class method formatAbsurdNumber 2021-06-02 21:33:27 -04:00
hydroflame
8d80ecffd4 Merge pull request #987 from danielyxie/dev
hotfix making getPlayer a non-singularity function
2021-06-02 21:29:41 -04:00
Olivier Gagnon
57ab1d885b build hotfix 2021-06-02 21:29:29 -04:00
Olivier Gagnon
34c2c70a2b hotfix getPlayer non-singularity 2021-06-02 21:28:07 -04:00
hydroflame
0ef09a1c73 Merge pull request #977 from Kwazygloo/patch-3
Update Literatures.ts
2021-06-02 21:19:53 -04:00
hydroflame
264e0b2e1a Merge pull request #982 from Kwazygloo/patch-1
Update AugmentationHelpers.jsx
2021-06-02 21:19:05 -04:00
hydroflame
5755db4979 Merge pull request #983 from Kwazygloo/patch-1
Update Literatures.ts
2021-06-02 21:18:19 -04:00
hydroflame
84b49bb5e9 Merge pull request #985 from Tesseract1234567890/ErrorMessagesFix
Fixed typos in error messages
2021-06-02 21:16:17 -04:00
hydroflame
fb89b824d9 Merge pull request #986 from Tesseract1234567890/HudTextMod
Capitalized HP in HUD
2021-06-02 21:15:19 -04:00
Tesseract1234567890
fee661b451 Capitalized HP 2021-06-02 16:31:21 -04:00
Tesseract1234567890
a40d0bb6e0 Fixed typos in error messages 2021-06-02 16:18:38 -04:00
Tesseract1234567890
f7f22ac7ef Fixed typos in error messages 2021-06-02 16:12:46 -04:00
Tesseract1234567890
8fba3c3fa4 Modified numeralFormat.ts to prevent NaNt from appearing 2021-06-02 16:07:52 -04:00
Kwazygloo
a72560bf25 Update Literatures.ts 2021-06-01 16:12:11 -04:00
Kwazygloo
21211e7d08 Update AugmentationHelpers.jsx 2021-06-01 12:36:57 -04:00
hydroflame
d627890047 Merge pull request #979 from danielyxie/dev
hotfix farming rep and hacking mission or infiltrations
2021-05-31 23:58:53 -04:00
Olivier Gagnon
a1e0d40963 hotfix farming rep and hacking mission or infiltrations 2021-05-31 23:58:34 -04:00
hydroflame
ca8fc54400 Merge pull request #978 from danielyxie/dev
hotfix being to do other stuff while working out at the gym
2021-05-31 23:44:14 -04:00
Olivier Gagnon
cf67213c36 hotfix being to do other stuff while working out at the gym 2021-05-31 23:43:51 -04:00
Kwazygloo
51b2175c35 Update Literatures.ts 2021-05-31 20:35:30 -04:00
hydroflame
531c0ce5c0 Merge pull request #974 from danielyxie/dev
v0.59.10
2021-05-31 17:35:35 -04:00
hydroflame
ad9c01ac50 Merge pull request #973 from danielyxie/v0.59.10
v0.59.10
2021-05-31 17:34:53 -04:00
Olivier Gagnon
0f266eaa42 v0.59.10 2021-05-31 17:34:23 -04:00
Olivier Gagnon
674ce17834 fix nearly all lint errors now 2021-05-29 14:48:56 -04:00
hydroflame
e611ab7bc7 Merge pull request #969 from danielyxie/dev
Hotfix Vigilante Justice reducing wanted by a percentage.
2021-05-29 12:50:53 -04:00
Olivier Gagnon
60d6d49c43 Vigilante Justice now reduces wanted by a percentage to help players stuck with very high wanted level. 2021-05-29 12:48:58 -04:00
Olivier Gagnon
75b2806c93 Added new SF -1 called Bypass 2021-05-29 12:10:17 -04:00
hydroflame
04b57f07a9 Merge pull request #967 from danielyxie/dev
Hotfix very large number to extend kmbt with qQsSon.
2021-05-27 14:05:04 -04:00
Olivier Gagnon
a2d924e1c6 revert dev menu to 1e99 money 2021-05-27 14:04:49 -04:00
Olivier Gagnon
f14f65814a Hotfix very large number to extend kmbt with qQsSon. 2021-05-27 14:03:53 -04:00
hydroflame
04921520d8 Merge pull request #966 from danielyxie/dev
Hotfix number of decimal for very large numbers
2021-05-26 17:55:26 -04:00
Olivier Gagnon
9d1e132d11 Hotfix number of decimal for very large numbers 2021-05-26 17:54:55 -04:00
hydroflame
eb84652e19 Merge pull request #965 from danielyxie/dev
Hotfix large numbers
2021-05-26 14:14:44 -04:00
Olivier Gagnon
7fedd1f1f5 Fix very large number appearing as NaN 2021-05-26 14:14:20 -04:00
hydroflame
ba4169268c Merge pull request #963 from Pimvgd/patch-6
Update GeneralActions.ts
2021-05-23 13:45:06 -04:00
Pimvgd
5bf21c0ab2 Update GeneralActions.ts
typo fix
2021-05-18 21:16:32 +02:00
hydroflame
670587a07d Merge pull request #962 from danielyxie/dev
hotfix grow percent being logged 100x too high
2021-05-18 10:52:05 -04:00
Olivier Gagnon
4dc206bb3e hotfix grow percent being logged 100x too high 2021-05-18 10:51:36 -04:00
hydroflame
a7389f63b8 Merge pull request #961 from danielyxie/dev
v0.51.9
2021-05-18 00:01:35 -04:00
Olivier Gagnon
8ba63f4951 update changelog 2021-05-18 00:00:51 -04:00
hydroflame
2adcf79264 Merge pull request #952 from danielyxie/dev
hotfix ls not listing all files lol
2021-05-08 22:39:52 -04:00
hydroflame
fccf2b5cb4 Merge pull request #950 from danielyxie/dev
hotfix ls printing a bunch of newlines
2021-05-07 22:38:19 -04:00
hydroflame
b35d8475e3 Merge pull request #949 from danielyxie/dev
v0.51.8
2021-05-07 22:29:39 -04:00
209 changed files with 4306 additions and 3854 deletions

View File

@@ -1,13 +1,13 @@
Collection of Quotes
The past is relevant only as data
The past is relevant only as data.
Pull on the new flesh like borrowed gloves and burn your fingers once again.
A weapon is a tool. A tool for killing and destroying. And there will be times
when you must kill and destroy. Then you will choose and equip yourself with the tools
that you need. But remember the weakness of weapons. They are an extension --
You are the killer and destroyer. You are whole, with or without them.
you are the killer and destroyer. You are whole, with or without them.
For all that we have done, as a civilization, as individuals, the universe is
not stable, and nor is any single thing within it. Stars consume themselves,

View File

@@ -27,5 +27,4 @@
button {
padding: 4px;
}
}

View File

@@ -80,7 +80,7 @@
transform: rotate(-45deg);
}
}
input[type=checkbox] {
input[type="checkbox"] {
margin: 3px;
visibility: hidden;
&:checked + label:after {

View File

@@ -11,7 +11,7 @@
}
.casino-card .value {
font-size:15pt;
font-size: 15pt;
font-family: sans-serif;
}

View File

@@ -47,17 +47,16 @@
text-align: right;
}
#character-hack-wrapper td,
#character-agi-wrapper td {
border-bottom: 1px #aaa solid;
padding-bottom: 10px;
}
#character-str-wrapper td,
#character-cha-wrapper td {
padding-top: 10px;
}
.character-divider td {
border-top: 1px #aaa solid;
padding-top: 10px;
}
#character-hp-wrapper { color: $my-stat-hp-color; }
.character-hp-cell { color: $my-stat-hp-color; }
#character-money-wrapper { color: $my-stat-money-color; }
@@ -69,6 +68,8 @@
#character-int-wrapper { color: $my-stat-int-color; }
.character-int-cell { color: $my-stat-int-color; }
.character-combat-cell { color: $my-stat-physical; }
#character-work-wrapper { color: $my-stat-hack-color; }
.character-work-cell { color: $my-stat-hack-color; }
.character-overview-btn {
@include borderRadius(12px);

View File

@@ -3,15 +3,11 @@
}
.remove-exp-button {
margin-left:0;
margin-left: 0;
}
.exp-input {
margin-right: 0;
margin-left:0;
margin-top: 5px;
margin-bottom: 5px;
margin: 5px 0 5px 0;
padding: 2px 5px;
}

1
css/grid.min.css vendored
View File

@@ -1,3 +1,4 @@
/* stylelint-disable */
/*!
* Bootstrap Grid v4.1.2 (https://getbootstrap.com/)
* Copyright 2011-2018 The Bootstrap Authors

56
css/infiltration.scss Normal file
View File

@@ -0,0 +1,56 @@
@import "theme";
.blinking-cursor {
font-weight: 100;
color: #2E3D48;
-webkit-animation: 1s cursorblink step-end infinite;
-moz-animation: 1s cursorblink step-end infinite;
-ms-animation: 1s cursorblink step-end infinite;
-o-animation: 1s cursorblink step-end infinite;
animation: 1s cursorblink step-end infinite;
}
@keyframes "cursorblink" {
from, to {
color: transparent;
}
50% {
color: $hacker-green;
}
}
@-moz-keyframes cursorblink {
from, to {
color: transparent;
}
50% {
color: $hacker-green;
}
}
@-webkit-keyframes "cursorblink" {
from, to {
color: transparent;
}
50% {
color: $hacker-green;
}
}
@-ms-keyframes "cursorblink" {
from, to {
color: transparent;
}
50% {
color: $hacker-green;
}
}
@-o-keyframes "cursorblink" {
from, to {
color: transparent;
}
50% {
color: $hacker-green;
}
}

View File

@@ -69,3 +69,22 @@
float: right;
padding: 4px;
}
.interactive-tutorial-command {
background-color: #000;
color: $hacker-green;
white-space: nowrap;
}
.interactive-tutorial-code {
background-color: #272822;
color: white;
padding: 3px;
}
.interactive-tutorial-tab {
background-color: #555;
color: #e6e6e6;
padding: 3px;
box-shadow: 0 0 3px #000;
}

View File

@@ -150,38 +150,6 @@
/* Infiltration */
#infiltration-container {
position: fixed;
padding: 6px;
span {
margin: 0;
padding: 0;
}
}
#infiltration-left-panel,
#infiltration-right-panel {
display: inline-block;
border: 1px solid #fff;
width: 35%;
height: 75%;
top: 10px;
overflow-y: auto;
overflow-x: auto;
}
#infiltration-faction-select {
color: #fff;
}
#infiltration-left-panel p,
#infiltration-right-panel p {
margin: 4px;
}
#infiltration-buttons {
margin-top: 20px;
}
#infiltration-buttons .a-link-button {
display: inline;
margin: 5px;
width: 70%;
}

View File

@@ -17,7 +17,7 @@
}
&.level-2 {
color: #48d1cc;
color: #48d1cc;
}
&.level-3 {

View File

@@ -234,9 +234,9 @@ a:visited {
#status-text-container {
background-color: transparent;
position:absolute;
top:0;
left:50%;
position: absolute;
top: 0;
left: 50%;
}
#status-text {
@@ -371,14 +371,15 @@ a:visited {
.noscrollbar {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
/* stylelint-disable-next-line property-no-unknown */
scrollbar-width: none; /* Firefox https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-width */
}
.noscrollbar::-webkit-scrollbar {
display: none;
}
input[type=checkbox] {
input[type="checkbox"] {
filter: invert(1) sepia(1) hue-rotate(41deg) brightness(100%) saturate(10);
}
@@ -398,7 +399,6 @@ input[type=checkbox] {
margin: 3px;
}
.optionRange::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;

View File

@@ -16,7 +16,7 @@
text-align: center;
border: 2px solid #e8e8e3;
border-radius: 2px;
box-shadow: 1px 1px 1px rgba(0,0,0,0.5);
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
font-size: 12px;
}

View File

@@ -26,7 +26,7 @@
margin: 10px;
}
#work-in-progress-cancel-button {
.work-button {
@include borderRadius(12px);
@include boxShadow(1px 1px 3px #000);
@@ -39,8 +39,8 @@
border: 3px solid #fff;
}
#work-in-progress-cancel-button:hover,
#work-in-progress-cancel-button:focus {
.work-button:hover,
.work-button:focus {
color: #fff;
text-decoration: none;
cursor: pointer;

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +1,2 @@
!function(n){function t(t){for(var e,i,f=t[0],c=t[1],l=t[2],p=0,s=[];p<f.length;p++)i=f[p],u[i]&&s.push(u[i][0]),u[i]=0;for(e in c)Object.prototype.hasOwnProperty.call(c,e)&&(n[e]=c[e]);for(a&&a(t);s.length;)s.shift()();return r.push.apply(r,l||[]),o()}function o(){for(var n,t=0;t<r.length;t++){for(var o=r[t],e=!0,f=1;f<o.length;f++){var c=o[f];0!==u[c]&&(e=!1)}e&&(r.splice(t--,1),n=i(i.s=o[0]))}return n}var e={},u={1:0},r=[];function i(t){if(e[t])return e[t].exports;var o=e[t]={i:t,l:!1,exports:{}};return n[t].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=n,i.c=e,i.d=function(n,t,o){i.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:o})},i.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},i.t=function(n,t){if(1&t&&(n=i(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var e in n)i.d(o,e,function(t){return n[t]}.bind(null,e));return o},i.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return i.d(t,"a",t),t},i.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},i.p="";var f=window.webpackJsonp=window.webpackJsonp||[],c=f.push.bind(f);f.push=t,f=f.slice();for(var l=0;l<f.length;l++)t(f[l]);var a=c;r.push([842,0]),o()}({781:function(n,t,o){},783:function(n,t,o){},785:function(n,t,o){},787:function(n,t,o){},789:function(n,t,o){},791:function(n,t,o){},793:function(n,t,o){},795:function(n,t,o){},797:function(n,t,o){},799:function(n,t,o){},801:function(n,t,o){},803:function(n,t,o){},805:function(n,t,o){},807:function(n,t,o){},809:function(n,t,o){},811:function(n,t,o){},813:function(n,t,o){},815:function(n,t,o){},817:function(n,t,o){},819:function(n,t,o){},821:function(n,t,o){},823:function(n,t,o){},825:function(n,t,o){},827:function(n,t,o){},829:function(n,t,o){},831:function(n,t,o){},833:function(n,t,o){},835:function(n,t,o){},837:function(n,t,o){},839:function(n,t,o){},842:function(n,t,o){"use strict";o.r(t);o(841),o(839),o(837),o(835),o(833),o(831),o(829),o(827),o(825),o(823),o(821),o(819),o(817),o(815),o(813),o(811),o(809),o(807),o(805),o(803),o(801),o(799),o(797),o(795),o(793),o(791),o(789),o(787),o(785),o(783),o(781)}});
!function(n){function t(t){for(var e,i,f=t[0],c=t[1],l=t[2],p=0,s=[];p<f.length;p++)i=f[p],u[i]&&s.push(u[i][0]),u[i]=0;for(e in c)Object.prototype.hasOwnProperty.call(c,e)&&(n[e]=c[e]);for(a&&a(t);s.length;)s.shift()();return r.push.apply(r,l||[]),o()}function o(){for(var n,t=0;t<r.length;t++){for(var o=r[t],e=!0,f=1;f<o.length;f++){var c=o[f];0!==u[c]&&(e=!1)}e&&(r.splice(t--,1),n=i(i.s=o[0]))}return n}var e={},u={1:0},r=[];function i(t){if(e[t])return e[t].exports;var o=e[t]={i:t,l:!1,exports:{}};return n[t].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=n,i.c=e,i.d=function(n,t,o){i.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:o})},i.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},i.t=function(n,t){if(1&t&&(n=i(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var e in n)i.d(o,e,function(t){return n[t]}.bind(null,e));return o},i.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return i.d(t,"a",t),t},i.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},i.p="";var f=window.webpackJsonp=window.webpackJsonp||[],c=f.push.bind(f);f.push=t,f=f.slice();for(var l=0;l<f.length;l++)t(f[l]);var a=c;r.push([853,0]),o()}({790:function(n,t,o){},792:function(n,t,o){},794:function(n,t,o){},796:function(n,t,o){},798:function(n,t,o){},800:function(n,t,o){},802:function(n,t,o){},804:function(n,t,o){},806:function(n,t,o){},808:function(n,t,o){},810:function(n,t,o){},812:function(n,t,o){},814:function(n,t,o){},816:function(n,t,o){},818:function(n,t,o){},820:function(n,t,o){},822:function(n,t,o){},824:function(n,t,o){},826:function(n,t,o){},828:function(n,t,o){},830:function(n,t,o){},832:function(n,t,o){},834:function(n,t,o){},836:function(n,t,o){},838:function(n,t,o){},840:function(n,t,o){},842:function(n,t,o){},844:function(n,t,o){},846:function(n,t,o){},848:function(n,t,o){},850:function(n,t,o){},853:function(n,t,o){"use strict";o.r(t);o(852),o(850),o(848),o(846),o(844),o(842),o(840),o(838),o(836),o(834),o(832),o(830),o(828),o(826),o(824),o(822),o(820),o(818),o(816),o(814),o(812),o(810),o(808),o(806),o(804),o(802),o(800),o(798),o(796),o(794),o(792),o(790)}});
//# sourceMappingURL=engineStyle.bundle.js.map

122
dist/engineStyle.css vendored
View File

@@ -366,13 +366,14 @@ a:visited {
.noscrollbar {
-ms-overflow-style: none;
/* IE and Edge */
/* stylelint-disable-next-line property-no-unknown */
scrollbar-width: none;
/* Firefox */ }
/* Firefox https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-width */ }
.noscrollbar::-webkit-scrollbar {
display: none; }
input[type=checkbox] {
input[type="checkbox"] {
filter: invert(1) sepia(1) hue-rotate(41deg) brightness(100%) saturate(10); }
.optionCheckbox {
@@ -784,15 +785,14 @@ button {
.character-stat-cell {
text-align: right; }
#character-hack-wrapper td,
#character-agi-wrapper td {
border-bottom: 1px #aaa solid;
padding-bottom: 10px; }
#character-str-wrapper td,
#character-cha-wrapper td {
padding-top: 10px; }
.character-divider td {
border-top: 1px #aaa solid;
padding-top: 10px; }
#character-hp-wrapper {
color: #dd3434; }
@@ -826,6 +826,12 @@ button {
.character-combat-cell {
color: #faffdf; }
#character-work-wrapper {
color: #adff2f; }
.character-work-cell {
color: #adff2f; }
.character-overview-btn {
-webkit-border-radius: 12px;
-moz-border-radius: 12px;
@@ -1349,33 +1355,8 @@ button {
/* Infiltration */
#infiltration-container {
position: fixed;
padding: 6px; }
#infiltration-container span {
margin: 0;
padding: 0; }
#infiltration-left-panel,
#infiltration-right-panel {
display: inline-block;
border: 1px solid #fff;
width: 35%;
height: 75%;
top: 10px;
overflow-y: auto;
overflow-x: auto; }
#infiltration-faction-select {
color: #fff; }
#infiltration-left-panel p,
#infiltration-right-panel p {
margin: 4px; }
#infiltration-buttons {
margin-top: 20px; }
#infiltration-buttons .a-link-button {
display: inline; }
margin: 5px;
width: 70%; }
/**
* Styling for the Augmentations UI. This is the page that displays all of the
@@ -1521,7 +1502,7 @@ button {
width: 70%;
margin: 10px; }
#work-in-progress-cancel-button {
.work-button {
-webkit-border-radius: 12px;
-moz-border-radius: 12px;
border-radius: 12px;
@@ -1536,8 +1517,8 @@ button {
padding: 5px;
border: 3px solid #fff; }
#work-in-progress-cancel-button:hover,
#work-in-progress-cancel-button:focus {
.work-button:hover,
.work-button:focus {
color: #fff;
text-decoration: none;
cursor: pointer; }
@@ -1808,6 +1789,22 @@ button {
float: right;
padding: 4px; }
.interactive-tutorial-command {
background-color: #000;
color: #adff2f;
white-space: nowrap; }
.interactive-tutorial-code {
background-color: #272822;
color: white;
padding: 3px; }
.interactive-tutorial-tab {
background-color: #555;
color: #e6e6e6;
padding: 3px;
box-shadow: 0 0 3px #000; }
/* COLORS */
/* Attributes */
* {
@@ -2317,10 +2314,10 @@ button {
border-right: none;
opacity: 0;
transform: rotate(-45deg); }
.bbcheckbox input[type=checkbox] {
.bbcheckbox input[type="checkbox"] {
margin: 3px;
visibility: hidden; }
.bbcheckbox input[type=checkbox]:checked + label:after {
.bbcheckbox input[type="checkbox"]:checked + label:after {
opacity: 1; }
/* Bladeburner Console */
@@ -2508,6 +2505,7 @@ button {
.Treant > .unlocked:hover {
background-color: #666; }
/* stylelint-disable */
/*!
* Bootstrap Grid v4.1.2 (https://getbootstrap.com/)
* Copyright 2011-2018 The Bootstrap Authors
@@ -4986,10 +4984,7 @@ html {
margin-left: 0; }
.exp-input {
margin-right: 0;
margin-left: 0;
margin-top: 5px;
margin-bottom: 5px;
margin: 5px 0 5px 0;
padding: 2px 5px; }
.text-center {
@@ -5033,5 +5028,46 @@ html {
padding: 6px;
width: 60%; }
/* COLORS */
/* Attributes */
.blinking-cursor {
font-weight: 100;
color: #2E3D48;
-webkit-animation: 1s cursorblink step-end infinite;
-moz-animation: 1s cursorblink step-end infinite;
-ms-animation: 1s cursorblink step-end infinite;
-o-animation: 1s cursorblink step-end infinite;
animation: 1s cursorblink step-end infinite; }
@keyframes "cursorblink" {
from, to {
color: transparent; }
50% {
color: #adff2f; } }
@-moz-keyframes cursorblink {
from, to {
color: transparent; }
50% {
color: #adff2f; } }
@-webkit-keyframes "cursorblink" {
from, to {
color: transparent; }
50% {
color: #adff2f; } }
@-ms-keyframes "cursorblink" {
from, to {
color: transparent; }
50% {
color: #adff2f; } }
@-o-keyframes "cursorblink" {
from, to {
color: transparent; }
50% {
color: #adff2f; } }
/*# sourceMappingURL=engineStyle.css.map*/

94
dist/vendor.bundle.js vendored

File diff suppressed because one or more lines are too long

149
dist/vendor.css vendored
View File

@@ -11,7 +11,8 @@
padding: 4px 0;
/* Vertical padding around content */ }
.CodeMirror pre {
.CodeMirror pre.CodeMirror-line,
.CodeMirror pre.CodeMirror-line-like {
padding: 0 4px;
/* Horizontal padding of content */ }
@@ -98,7 +99,7 @@
left: 0;
right: 0;
top: -50px;
bottom: -20px;
bottom: 0;
overflow: hidden; }
.CodeMirror-ruler {
@@ -216,11 +217,11 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
.CodeMirror-scroll {
overflow: scroll !important;
/* Things will break if this is overridden */
/* 30px is the magic margin used to hide the element's real scrollbars */
/* 50px is the magic margin used to hide the element's real scrollbars */
/* See overflow: hidden in .CodeMirror */
margin-bottom: -30px;
margin-right: -30px;
padding-bottom: 30px;
margin-bottom: -50px;
margin-right: -50px;
padding-bottom: 50px;
height: 100%;
outline: none;
/* Prevent dragging from highlighting the element */
@@ -228,7 +229,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
.CodeMirror-sizer {
position: relative;
border-right: 30px solid transparent; }
border-right: 50px solid transparent; }
/* The fake, visible scrollbars. Used to force redraw during scrolling
before actual scrolling happens, thus preventing shaking and
@@ -236,7 +237,8 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
position: absolute;
z-index: 6;
display: none; }
display: none;
outline: none; }
.CodeMirror-vscrollbar {
right: 0;
@@ -270,7 +272,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
height: 100%;
display: inline-block;
vertical-align: top;
margin-bottom: -30px; }
margin-bottom: -50px; }
.CodeMirror-gutter-wrapper {
position: absolute;
@@ -300,7 +302,8 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
min-height: 1px;
/* prevents collapsing before first draw */ }
.CodeMirror pre {
.CodeMirror pre.CodeMirror-line,
.CodeMirror pre.CodeMirror-line-like {
/* Reset some styles that the rest of the page might have set */
-moz-border-radius: 0;
-webkit-border-radius: 0;
@@ -321,7 +324,8 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
-webkit-font-variant-ligatures: contextual;
font-variant-ligatures: contextual; }
.CodeMirror-wrap pre {
.CodeMirror-wrap pre.CodeMirror-line,
.CodeMirror-wrap pre.CodeMirror-line-like {
word-wrap: break-word;
white-space: pre-wrap;
word-break: normal; }
@@ -1479,6 +1483,16 @@ span.CodeMirror-selectedtext {
.cm-s-darcula span.cm-special {
color: #FF9E59; }
.cm-s-darcula span.cm-matchhighlight {
color: #FFFFFF;
background-color: rgba(50, 89, 48, 0.7);
font-weight: normal; }
.cm-s-darcula span.cm-searching {
color: #FFFFFF;
background-color: rgba(61, 115, 59, 0.7);
font-weight: normal; }
.cm-s-darcula .CodeMirror-cursor {
border-left: 1px solid #A9B7C6; }
@@ -2510,7 +2524,7 @@ Ported to CodeMirror by Peter Kroon
color: #999; }
.cm-s-lesser-dark span.cm-link {
color: #00c; }
color: #7070E6; }
.cm-s-lesser-dark span.cm-error {
color: #9d1e15; }
@@ -2766,103 +2780,105 @@ Ported to CodeMirror by Peter Kroon
color: white !important; }
/*
Name: material
Author: Michael Kaminsky (http://github.com/mkaminsky11)
Original material color scheme by Mattia Astorino (https://github.com/equinusocio/material-theme)
Name: material
Author: Mattia Astorino (http://github.com/equinusocio)
Website: https://material-theme.site/
*/
.cm-s-material.CodeMirror {
background-color: #263238;
color: #e9eded; }
color: #EEFFFF; }
.cm-s-material .CodeMirror-gutters {
background: #263238;
color: #537f7e;
color: #546E7A;
border: none; }
.cm-s-material .CodeMirror-guttermarker, .cm-s-material .CodeMirror-guttermarker-subtle, .cm-s-material .CodeMirror-linenumber {
color: #537f7e; }
.cm-s-material .CodeMirror-guttermarker,
.cm-s-material .CodeMirror-guttermarker-subtle,
.cm-s-material .CodeMirror-linenumber {
color: #546E7A; }
.cm-s-material .CodeMirror-cursor {
border-left: 1px solid #f8f8f0; }
border-left: 1px solid #FFCC00; }
.cm-s-material div.CodeMirror-selected {
background: rgba(255, 255, 255, 0.15); }
background: rgba(128, 203, 196, 0.2); }
.cm-s-material.CodeMirror-focused div.CodeMirror-selected {
background: rgba(255, 255, 255, 0.1); }
background: rgba(128, 203, 196, 0.2); }
.cm-s-material .CodeMirror-line::selection, .cm-s-material .CodeMirror-line > span::selection, .cm-s-material .CodeMirror-line > span > span::selection {
background: rgba(255, 255, 255, 0.1); }
.cm-s-material .CodeMirror-line::selection,
.cm-s-material .CodeMirror-line > span::selection,
.cm-s-material .CodeMirror-line > span > span::selection {
background: rgba(128, 203, 196, 0.2); }
.cm-s-material .CodeMirror-line::-moz-selection, .cm-s-material .CodeMirror-line > span::-moz-selection, .cm-s-material .CodeMirror-line > span > span::-moz-selection {
background: rgba(255, 255, 255, 0.1); }
.cm-s-material .CodeMirror-line::-moz-selection,
.cm-s-material .CodeMirror-line > span::-moz-selection,
.cm-s-material .CodeMirror-line > span > span::-moz-selection {
background: rgba(128, 203, 196, 0.2); }
.cm-s-material .CodeMirror-activeline-background {
background: rgba(0, 0, 0, 0); }
background: rgba(0, 0, 0, 0.5); }
.cm-s-material .cm-keyword {
color: #c792ea; }
color: #C792EA; }
.cm-s-material .cm-operator {
color: #e9eded; }
color: #89DDFF; }
.cm-s-material .cm-variable-2 {
color: #80CBC4; }
color: #EEFFFF; }
.cm-s-material .cm-variable-3, .cm-s-material .cm-type {
color: #82B1FF; }
.cm-s-material .cm-variable-3,
.cm-s-material .cm-type {
color: #f07178; }
.cm-s-material .cm-builtin {
color: #DECB6B; }
color: #FFCB6B; }
.cm-s-material .cm-atom {
color: #F77669; }
color: #F78C6C; }
.cm-s-material .cm-number {
color: #F77669; }
color: #FF5370; }
.cm-s-material .cm-def {
color: #e9eded; }
color: #82AAFF; }
.cm-s-material .cm-string {
color: #C3E88D; }
.cm-s-material .cm-string-2 {
color: #80CBC4; }
color: #f07178; }
.cm-s-material .cm-comment {
color: #546E7A; }
.cm-s-material .cm-variable {
color: #82B1FF; }
color: #f07178; }
.cm-s-material .cm-tag {
color: #80CBC4; }
color: #FF5370; }
.cm-s-material .cm-meta {
color: #80CBC4; }
.cm-s-material .cm-attribute {
color: #FFCB6B; }
.cm-s-material .cm-attribute {
color: #C792EA; }
.cm-s-material .cm-property {
color: #80CBAE; }
color: #C792EA; }
.cm-s-material .cm-qualifier {
color: #DECB6B; }
.cm-s-material .cm-variable-3, .cm-s-material .cm-type {
.cm-s-material .cm-variable-3,
.cm-s-material .cm-type {
color: #DECB6B; }
.cm-s-material .cm-tag {
color: #ff5370; }
.cm-s-material .cm-error {
color: white;
background-color: #EC5F67; }
background-color: #FF5370; }
.cm-s-material .CodeMirror-matchingbracket {
text-decoration: underline;
@@ -3074,13 +3090,6 @@ div.cm-s-mdn-like span.CodeMirror-matchingbracket {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFcAAAAyCAYAAAAp8UeFAAAHvklEQVR42s2b63bcNgyEQZCSHCdt2vd/0tWF7I+Q6XgMXiTtuvU5Pl57ZQKkKHzEAOtF5KeIJBGJ8uvL599FRFREZhFx8DeXv8trn68RuGaC8TRfo3SNp9dlDDHedyLyTUTeRWStXKPZrjtpZxaRw5hPqozRs1N8/enzIiQRWcCgy4MUA0f+XWliDhyL8Lfyvx7ei/Ae3iQFHyw7U/59pQVIMEEPEz0G7XiwdRjzSfC3UTtz9vchIntxvry5iMgfIhJoEflOz2CQr3F5h/HfeFe+GTdLaKcu9L8LTeQb/R/7GgbsfKedyNdoHsN31uRPWrfZ5wsj/NzzRQHuToIdU3ahwnsKPxXCjJITuOsi7XLc7SG/v5GdALs7wf8JjTFiB5+QvTEfRyGOfX3Lrx8wxyQi3sNq46O7QahQiCsRFgqddjBouVEHOKDgXAQHD9gJCr5sMKkEdjwsarG/ww3BMHBU7OBjXnzdyY7SfCxf5/z6ATccrwlKuwC/jhznnPF4CgVzhhVf4xp2EixcBActO75iZ8/fM9zAs2OMzKdslgXWJ9XG8PQoOAMA5fGcsvORgv0doBXyHrCwfLJAOwo71QLNkb8n2Pl6EWiR7OCibtkPaz4Kc/0NNAze2gju3zOwekALDaCFPI5vjPFmgGY5AZqyGEvH1x7QfIb8YtxMnA/b+QQ0aQDAwc6JMFg8CbQZ4qoYEEHbRwNojuK3EHwd7VALSgq+MNDKzfT58T8qdpADrgW0GmgcAS1lhzztJmkAzcPNOQbsWEALBDSlMKUG0Eq4CLAQWvEVQ9WU57gZJwZtgPO3r9oBTQ9WO8TjqXINx8R0EYpiZEUWOF3FxkbJkgU9B2f41YBrIj5ZfsQa0M5kTgiAAqM3ShXLgu8XMqcrQBvJ0CL5pnTsfMB13oB8athpAq2XOQmcGmoACCLydx7nToa23ATaSIY2ichfOdPTGxlasXMLaL0MLZAOwAKIM+y8CmicobGdCcbbK9DzN+yYGVoNNI5iUKTMyYOjPse4A8SM1MmcXgU0toOq1yO/v8FOxlASyc7TgeYaAMBJHcY1CcCwGI/TK4AmDbDyKYBBtFUkRwto8gygiQEaByFgJ00BH2M8JWwQS1nafDXQCidWyOI8AcjDCSjCLk8ngObuAm3JAHAdubAmOaK06V8MNEsKPJOhobSprwQa6gD7DclRQdqcwL4zxqgBrQcabUiBLclRDKAlWp+etPkBaNMA0AKlrHwTdEByZAA4GM+SNluSY6wAzcMNewxmgig5Ks0nkrSpBvSaQHMdKTBAnLojOdYyGpQ254602ZILPdTD1hdlggdIm74jbTp8vDwF5ZYUeLWGJpWsh6XNyXgcYwVoJQTEhhTYkxzZjiU5npU2TaB979TQehlaAVq4kaGpiPwwwLkYUuBbQwocyQTv1tA0+1UFWoJF3iv1oq+qoSk8EQdJmwHkziIF7oOZk14EGitibAdjLYYK78H5vZOhtWpoI0ATGHs0Q8OMb4Ey+2bU2UYztCtA0wFAs7TplGLRVQCcqaFdGSPCeTI1QNIC52iWNzof6Uib7xjEp07mNNoUYmVosVItHrHzRlLgBn9LFyRHaQCtVUMbtTNhoXWiTOO9k/V8BdAc1Oq0ArSQs6/5SU0hckNy9NnXqQY0PGYo5dWJ7nINaN6o958FWin27aBaWRka1r5myvLOAm0j30eBJqCxHLReVclxhxOEN2JfDWjxBtAC7MIH1fVaGdoOp4qJYDgKtKPSFNID2gSnGldrCqkFZ+5UeQXQBIRrSwocbdZYQT/2LwRahBPBXoHrB8nxaGROST62DKUbQOMMzZIC9abkuELfQzQALWTnDNAm8KHWFOJgJ5+SHIvTPcmx1xQyZRhNL5Qci689aXMEaN/uNIWkEwDAvFpOZmgsBaaGnbs1NPa1Jm32gBZAIh1pCtG7TSH4aE0y1uVY4uqoFPisGlpP2rSA5qTecWn5agK6BzSpgAyD+wFaqhnYoSZ1Vwr8CmlTQbrcO3ZaX0NAEyMbYaAlyquFoLKK3SPby9CeVUPThrSJmkCAE0CrKUQadi4DrdSlWhmah0YL9z9vClH59YGbHx1J8VZTyAjQepJjmXwAKTDQI3omc3p1U4gDUf6RfcdYfrUp5ClAi2J3Ba6UOXGo+K+bQrjjssitG2SJzshaLwMtXgRagUNpYYoVkMSBLM+9GGiJZMvduG6DRZ4qc04DMPtQQxOjEtACmhO7K1AbNbQDEggZyJwscFpAGwENhoBeUwh3bWolhe8BTYVKxQEWrSUn/uhcM5KhvUu/+eQu0Lzhi+VrK0PrZZNDQKs9cpYUuFYgMVpD4/NxenJTiMCNqdUEUf1qZWjppLT5qSkkUZbCwkbZMSuVnu80hfSkzRbQeqCZSAh6huR4VtoM2gHAlLf72smuWgE+VV7XpE25Ab2WFDgyhnSuKbs4GuGzCjR+tIoUuMFg3kgcWKLTwRqanJQ2W00hAsenfaApRC42hbCvK1SlE0HtE9BGgneJO+ELamitD1YjjOYnNYVcraGhtKkW0EqVVeDx733I2NH581k1NNxNLG0i0IJ8/NjVaOZ0tYZ2Vtr0Xv7tPV3hkWp9EFkgS/J0vosngTaSoaG06WHi+xObQkaAdlbanP8B2+2l0f90LmUAAAAASUVORK5CYII=); }
/* Based on the theme at http://bonsaiden.github.com/JavaScript-Garden */
/*<!--match-->*/
.cm-s-midnight span.CodeMirror-matchhighlight {
background: #494949; }
.cm-s-midnight.CodeMirror-focused span.CodeMirror-matchhighlight {
background: #314D67 !important; }
/*<!--activeline-->*/
.cm-s-midnight .CodeMirror-activeline-background {
background: #253540; }
@@ -3420,7 +3429,7 @@ div.cm-s-mdn-like span.CodeMirror-matchingbracket {
background: #292A2B;
color: #E6E6E6;
line-height: 1.5;
font-family: 'Operator Mono', 'Source Sans Pro', Menlo, Monaco, Consolas, Courier New, monospace; }
font-family: 'Operator Mono', 'Source Code Pro', Menlo, Monaco, Consolas, Courier New, monospace; }
.cm-s-panda-syntax .CodeMirror-cursor {
border-color: #ff2c6d; }
@@ -5000,7 +5009,7 @@ http://ethanschoonover.com/solarized/img/solarized-palette.png
color: #AEAEAE; }
.cm-s-vibrant-ink .cm-link {
color: blue; }
color: #5656F3; }
.cm-s-vibrant-ink .cm-error {
border-bottom: 1px solid red; }
@@ -5305,7 +5314,7 @@ THE SOFTWARE.
.cm-s-zenburn .CodeMirror-cursor {
border-left: 1px solid white; }
.cm-s-zenburn {
.cm-s-zenburn.CodeMirror {
background-color: #3f3f3f;
color: #dcdccc; }
@@ -5487,17 +5496,17 @@ li.CodeMirror-hint-active {
-o-transition: opacity .4s;
-ms-transition: opacity .4s; }
.CodeMirror-lint-mark-error, .CodeMirror-lint-mark-warning {
.CodeMirror-lint-mark {
background-position: left bottom;
background-repeat: repeat-x; }
.CodeMirror-lint-mark-error {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg=="); }
.CodeMirror-lint-mark-warning {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII="); }
.CodeMirror-lint-marker-error, .CodeMirror-lint-marker-warning {
.CodeMirror-lint-mark-error {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg=="); }
.CodeMirror-lint-marker {
background-position: center center;
background-repeat: no-repeat;
cursor: pointer;
@@ -5507,17 +5516,17 @@ li.CodeMirror-hint-active {
vertical-align: middle;
position: relative; }
.CodeMirror-lint-message-error, .CodeMirror-lint-message-warning {
.CodeMirror-lint-message {
padding-left: 18px;
background-position: top left;
background-repeat: no-repeat; }
.CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII="); }
.CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII="); }
.CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII="); }
.CodeMirror-lint-marker-multiple {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC");
background-repeat: no-repeat;

View File

@@ -50,7 +50,7 @@ Duplicate Sleeves. It is a numeral value between 1 and 100, and it affects how m
is earned when the sleeve is performing a task.
Let N be the sleeve's synchronization. When the sleeve earns experience by performing
a task, both the sleeve and the player's original host consciousness of N% of the
a task, both the sleeve and the player's original host consciousness gain N% of the
amount of experience normally earned by the task. All of the player's other sleeves
earn ((N/100)^2 * 100)% of the experience.

View File

@@ -15,73 +15,53 @@ of level 3.
List of all Source-Files
^^^^^^^^^^^^^^^^^^^^^^^^
+------------------------------------+-------------------------------------------------------------------------------------+
| BitNode-1: Source Genesis | * Lets the player start with 32 GB of RAM on home computer |
| | * Increases all of the player's multipliers by 16%/24%/28% |
| BitNode-1: Source Genesis | * Lets the player start with 32 GB of RAM on home computer. |
| | * Increases all of the player's multipliers by 16%/24%/28%. |
+------------------------------------+-------------------------------------------------------------------------------------+
| BitNode-2: Rise of the Underworld | * Increases the player's crime success rate, crime money, and |
| | charisma multipliers by 24%/36%/42% |
| BitNode-2: Rise of the Underworld | * Lets the player create Gangs in other BitNodes (although some |
| | BitNodes will disable this mechanic). |
| | * Increases the player's crime success rate, crime money, and |
| | charisma multipliers by 24%/36%/42%. |
+------------------------------------+-------------------------------------------------------------------------------------+
| BitNode-3: Corporatocracy | * Lets the player create Corporations in other BitNodes (although some |
| | BitNodes will disable this mechanic) |
| | * Increases the player's charisma and company salary multipliers by 8%/12%/14% |
| | BitNodes will disable this mechanic). |
| | * Increases the player's charisma and company salary multipliers by 8%/12%/14%. |
+------------------------------------+-------------------------------------------------------------------------------------+
| BitNode-4: The Singularity | * Lets the player access and use Netscript Singularity Functions in other BitNodes. |
| | * Each level of this Source-File opens up more of the Singularity Functions to use |
| | * Each level of this Source-File opens up more of the Singularity Functions to use. |
+------------------------------------+-------------------------------------------------------------------------------------+
| BitNode-5: Artificial Intelligence | * Unlocks :ref:`gameplay_intelligence` |
| | * Unlocks :js:func:`getBitNodeMultipliers` Netscript function |
| | * Increases all of the player's hacking-related multipliers by 8%/12%/14% |
| BitNode-5: Artificial Intelligence | * Unlocks :ref:`gameplay_intelligence`. |
| | * Unlocks :js:func:`getBitNodeMultipliers` and :js:func:`getServer` |
| | Netscript functions, as well as :ref:`netscriptformulas`. |
| | * Increases all of the player's hacking-related multipliers by 8%/12%/14%. |
+------------------------------------+-------------------------------------------------------------------------------------+
| BitNode-6: Bladeburners | * Unlocks the Bladeburner feature in other BitNodes |
| BitNode-6: Bladeburners | * Unlocks the Bladeburner feature in other BitNodes. |
| | * Increases all of the player's level and experience gain rate multipliers for |
| | combat stats by 8%/12%/14% |
| | combat stats by 8%/12%/14%. |
+------------------------------------+-------------------------------------------------------------------------------------+
| BitNode-7: Bladeburners 2079 | * Allows the player to access the :ref:`netscript_bladeburnerapi` in other BitNodes |
| | * Increases all of the player's Bladeburner multipliers by 8%/12%/14% |
| BitNode-7: Bladeburners 2079 | * Allows the player to access the :ref:`netscript_bladeburnerapi` in other BitNodes.|
| | * Increases all of the player's Bladeburner multipliers by 8%/12%/14%. |
+------------------------------------+-------------------------------------------------------------------------------------+
| BitNode-8: Ghost of Wall Street | * Increases the player's hacking growth multiplier by 12%/18%/21% |
| BitNode-8: Ghost of Wall Street | * Increases the player's hacking growth multiplier by 12%/18%/21%. |
| | * Level 1 grants permanent access to :ref:`WSE <gameplay_stock_market>` and |
| | :ref:`TIX API <netscript_tixapi>` |
| | * Level 2 grants permanent access to shorting stocks |
| | * Level 3 grants permanent access to use limit/stop orders |
| | :ref:`TIX API <netscript_tixapi>`. |
| | * Level 2 grants permanent access to shorting stocks. |
| | * Level 3 grants permanent access to use limit/stop orders. |
+------------------------------------+-------------------------------------------------------------------------------------+
| BitNode-9: Coming Soon | |
| BitNode-9: Hacktocracy | * Level 1 permanently unlocks the Hacknet Server in other BitNodes. |
| | * Level 2 lets the player start with 128 GB of RAM on home computer. |
| | * Level 3 grants a highly-upgraded Hacknet Server when entering a new BitNode (it |
| | will be lost after installing augments). |
+------------------------------------+-------------------------------------------------------------------------------------+
| BitNode-10: Digital Carbon | * Each level of this grants a Duplicate Sleeve. |
| | * Allows the player to access the :ref:`netscript_sleeveapi` in other BitNodes |
| | * Allows the player to access the :ref:`netscript_sleeveapi` in other BitNodes. |
+------------------------------------+-------------------------------------------------------------------------------------+
| BitNode-11: The Big Crash | * Company favor increases both the player's salary and reputation gain at that |
| | company by 1% per favor (rather than just the reputation gain) |
| | company by 1% per favor (rather than just the reputation gain). |
| | * Increases the player's company salary and reputation gain multipliers by |
| | 24%/36%/42% |
| | 32%/48%/56%. |
+------------------------------------+-------------------------------------------------------------------------------------+
| BitNode-12: The Recursion | * There is no maximum level for this Source-File |
| | * Each level of this Source-File increases all of the player's multipliers by 1%. |
| | * This affect is multiplicative with itself. This means that level N of this |
| | Source-File will result in a multiplier of 1.01^N (or 0.99^N for multipliers |
| | that decrease) |
+------------------------------------+-------------------------------------------------------------------------------------+
| | |
+------------------------------------+-------------------------------------------------------------------------------------+
| | |
+------------------------------------+-------------------------------------------------------------------------------------+
| | |
+------------------------------------+-------------------------------------------------------------------------------------+
| | |
+------------------------------------+-------------------------------------------------------------------------------------+
| | |
+------------------------------------+-------------------------------------------------------------------------------------+
| | |
+------------------------------------+-------------------------------------------------------------------------------------+
| | |
+------------------------------------+-------------------------------------------------------------------------------------+
| | |
+------------------------------------+-------------------------------------------------------------------------------------+
| | |
+------------------------------------+-------------------------------------------------------------------------------------+
| | |
+------------------------------------+-------------------------------------------------------------------------------------+
| | |
+------------------------------------+-------------------------------------------------------------------------------------+
| | |
| BitNode-12: The Recursion | * There is no maximum level for this Source-File. |
| | * Lets the player start with Neuroflux Governor equal to the level of this |
| | Source-File. |
+------------------------------------+-------------------------------------------------------------------------------------+

View File

@@ -124,6 +124,6 @@ Gain experience by:
* Committing certain crimes
* Infiltration
* Working out at a gym
* Studying at a university
* Working a relevant job at a company
* Doing Field work for a Faction

View File

@@ -3,7 +3,133 @@
Changelog
=========
v0.51.9 - 2021-05-17 offline progress and exports! (hydroflame)
v0.52.2 - 2021-07-15 Oh yeah, BN11 is a thing (drunk hydroflame tbh)
-------------------------------------------
** Source-Files **
* Source-File 11 now also provides a small reduction to the price increase
multiplier.
** Augmentations **
* New Augmentation offered by Aevum, themed around 777 and offers some basic
programs.
* Augmentation descriptions are now more concise and consistent.
v0.52.1 - 2021-07-10 bugfixing (hydroflame & community)
-------------------------------------------
**Misc.**
* Fix game crash/corruption when quitting a job while working for it unfocused.
* Fix typo in corporation Market Data.
* Fix typo in docs for hackPercent.
* The tutorial encourages the players to connect to home before creating `n00dles.script`
* The dark web `buy` command now accepts `-1` (one) and `--list` instead of just
`-l`. Helps some confused players.
* Character overview screen no longer hidden on the corporation screen.
* Infiltration difficulty display is now more explicit (It's a big arrow instead
of just one word.)
* Fix wrong ram value in tutorial. (@MageKing17)
* Plenty of augmentation description cleanup (@Kwazygloo)
* Plenty of typo/description fixed (@MageKing17)
* Cleanup description of singularity function on readthedocs (@PurePandemonium)
* Fix bug when autolinking a server while backdooring (@schroederIT)
v0.52.0 - 2021-06-13 Infiltration 2.0 (hydroflame & community)
--------------------------------------------------------------
**Infiltration**
* Completely reworked. Not the same mechanic at all.
**Terminal**
* tail is smarter. It automatically assume the only possible options in some
cases.
**Intelligence**
* Now available when starting BN5 instead of after beating it for the first
time.
* Nerf the effect of intelligence on reputation gain.
**Augmentation**
* Added a new augmentation, the 'Unstable Circadian Modulator', whose
gimmick is that its stats are randomized every hour.
**Netscript**
* 'getPlayer' is not a singularity function anymore.
* 'hacknetNodes.constants' returns the correct values.
* 'createGang' has been added.
* 'inGang' has been added.
**Tutorial**
* Updated the tutorial. Made it look cleaner, fixed typos, etc.
**Misc.**
* Fix many typos in literature (@kwazygloo)
* Fix being able to unfocus from gym and university.
* Fix being able to do hacking missions while unfocused.
* Fix many typos in Augmentation descriptions (@kwazygloo)
* More numbers handle absurdly large values. (@Tesseract1234567890)
* Fix many typos (@Tesseract1234567890)
* Fixed an issue that caused a UI desync when sleeves were set to workout
stats other than strength at the gym.
* Fix weird alignment of donation text box and button. (@Tesseract1234567890)
* Fixed an issue where reputation could be transfered to new jobs when unfocused.
* Empty stack traces should no longer appear.
* Purchasing anything with Infinity money doesn't result in NaN.
v0.51.10 - 2021-05-31 Focus Mark, Focus! (hydroflame)
-----------------------------------------------------
**Focus**
* You can now use the terminal and write scripts while working for factions
but you will gain reputation at a slower rate.
**SF -1**
* Added a new SF -1: Bypass
**Gang**
* "Vigilante justice"/"Ethical hacking" now reduces wanted level by a very
small percentage as well an absolute value.
**Netscript**
* 'tFormat' now has a second argument to display with millisecond precision.
* 'purchaseSleeveAug' can no longer purchase the same aug over and over for
the same sleeve.
* fix typo in logging for 'getServerSecurityLevel'
* Fixed some weird issue where very rarely you would get 0 exp from 'grow'
* 'getActionTime' now returns correct values for Diplomacy and Regeneration.
**Corporations**
* Fixed an exploit where you could get nearly infinite corporation funds by
entering negative numbers in textboxes.
* Fixed an exploit where shares could be sold again by clicking the
"sell share" button via scripts.
**Documentation**
* typo fix in purchaseTor
* typo fix in basicgameplay/stats
**Misc.**
* Very large number will no longer appear as "$NaNt"
* Hash capacity now displays in the "big number" format.
v0.51.9 - 2021-05-17 offline progress and exports! (hydroflame & community)
---------------------------------------------------------------
**Alias**
@@ -57,7 +183,7 @@ v0.51.9 - 2021-05-17 offline progress and exports! (hydroflame)
* Money earned/spent by sleeves is now tracked under Character>Money
v0.51.8 - 2021-05-07 It was there all along (hydroflame)
v0.51.8 - 2021-05-07 It was there all along (hydroflame & community)
--------------------------------------------------------
**Servers**
@@ -113,7 +239,7 @@ v0.51.8 - 2021-05-07 It was there all along (hydroflame)
* script income transfers to parent on death. This helps keep track of
income for scripts that spawn short lived scripts.
v0.51.7 - 2021-04-28 n00dles (hydroflame)
v0.51.7 - 2021-04-28 n00dles (hydroflame & community)
-----------------------------------------
**Tutorial servers**
@@ -171,7 +297,7 @@ v0.51.7 - 2021-04-28 n00dles (hydroflame)
* Faction invite text says "Decide later"/"Join!" instead of "No"/"Yes"
v0.51.6 - 2021-04-28 Backdoor! (Community)
v0.51.6 - 2021-04-28 Backdoor! (hydroflame & community)
------------------------------------------
**Backdoor**

View File

@@ -64,9 +64,9 @@ documentation_title = '{0} Documentation'.format(project)
# built documents.
#
# The short X.Y version.
version = '0.51'
version = '0.52'
# The full version, including alpha/beta/rc tags.
release = '0.51.9'
release = '0.52.2'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

View File

@@ -5,13 +5,16 @@ getBitNodeMultipliers() Netscript Function
:RAM cost: 4 GB
Returns an object containing the current BitNode multipliers. This function
requires Source-File 5 in order to run. The multipliers are returned in
decimal forms (e.g. 1.5 instead of 150%). The multipliers represent the
difference between the current BitNode and the original BitNode (BitNode-1).
For example, if the *CrimeMoney* multiplier has a value of 0.1, then that
means that committing crimes in the current BitNode will only give 10% of
the money you would have received in BitNode-1.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
run this function.
Returns an object containing the current BitNode multipliers. The
multipliers are returned in decimal forms (e.g. 1.5 instead of 150%). The
multipliers represent the difference between the current BitNode and the
original BitNode (BitNode-1). For example, if the *CrimeMoney* multiplier
has a value of 0.1, then that means that committing crimes in the current
BitNode will only give 10% of the money you would have received in
BitNode-1.
The structure of the returned object is subject to change as BitNode
multipliers get added to the game. Refer to the `source code here

View File

@@ -3,7 +3,7 @@ getServer() Netscript Function
.. js:function:: getServer([hostname])
:RAM cost: 4 GB
:RAM cost: 2 GB
:param string hostname: Hostname of the server, defaults to host server.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to run this function.

View File

@@ -7,8 +7,8 @@ brutessh() Netscript Function
:param string hostname: Hostname of the target server.
Runs the BruteSSH.exe program on the target server. BruteSSH.exe must exist
on your home computer.
Runs the ``BruteSSH.exe`` program on the target server. ``BruteSSH.exe``
must exist on your home computer.
Examples:

View File

@@ -9,9 +9,3 @@ disableLog() Netscript Function
Disables logging for the given function. Logging can be disabled for
all functions by passing 'ALL' as the argument.
Note that this does not completely remove all logging functionality.
This only stops a function from logging when the function is successful. If
the function fails, it will still log the reason for failure.
Notable functions that cannot have their logs disabled: run, exec, exit

View File

@@ -19,9 +19,8 @@ exec() Netscript Function
the :doc:`run<run>` function except that it can be used to run a script on any
server, instead of just the current server.
.. warning:: Running this function with a ``numThreads`` argument of 0 will return 0 without
running the script. However, running this function with a negative *numThreads*
argument will cause a runtime error.
.. warning:: Running this function with a ``numThreads`` argument of 0 or
less will cause a runtime error.
The simplest way to use the :doc:`exec<exec>` command is to call it with
just the script name and the target server. The following example will try

View File

@@ -6,3 +6,12 @@ exit() Netscript Function
:RAM cost: 0 GB
Terminates the current script immediately.
.. warning:: In :ref:`netscriptjs`, execution may continue past a call to
this function; while some game-related functions (e.g. those with an
``ns.`` prefix) will not function after this function has been called,
there might still be unintended behavior if you assume ``exit`` will
immediately halt execution, like it does in :ref:`netscript1`. To be
safe, you should probably ``return`` from the main function instead
of/in addition to calling ``ns.exit()`` when halting a NetscriptJS
script.

View File

@@ -7,17 +7,22 @@ flags() Netscript Function
:param data array of pairs of strings: Flags definition.
:returns: Object containing all the flags that were parsed or default.
The flag definition is an array of pairs of values, the first value is the
name of the flag, the 2nd value is the default value for that flag.
This function allows for a more flexible way of parsing script arguments
than to just pass a fixed list in a fixed order. Options can be given
names, and passed in any order, while having defined default values.
The flag definition is an array of pairs of values: the first value is the
name of the flag, and the 2nd value is the default value for that flag.
The return object is a map containing flag names to the value. It also
contains the special field '_' which contains all arguments that were not flags.
contains the special field '_', which contains all arguments that were not
flags.
Example:
.. code-block:: javascript
/* example.script
// example.script
var data = flags([
['delay', 0], // a default number means this flag is a number
['server', 'foodnstuff'], // a default string means this flag is a string
@@ -25,16 +30,17 @@ flags() Netscript Function
['help', false], // a default boolean means this flag is a boolean
]);
tprint(data);
*/
/*
[home ~/]> run example.script
{"_":[],"delay":0,"server":"foodnstuff"}
{"_":[],"delay":0,"server":"foodnstuff","exclude":[],"help":false}
[home ~/]> run example.script --delay 3000
{"_":[],"server":"foodnstuff","delay":3000}
{"_":[],"server":"foodnstuff","exclude":[],"help":false,"delay":3000}
[home ~/]> run example.script --delay 3000 --server harakiri-sushi
{"_":[],"delay":3000,"server":"harakiri-sushi"}
{"_":[],"exclude":[],"help":false,"delay":3000,"server":"harakiri-sushi"}
[home ~/]> run example.script --delay 3000 --server harakiri-sushi hello world
{"_":["hello","world"],"delay":3000,"server":"harakiri-sushi"}
{"_":["hello","world"],"exclude":[],"help":false,"delay":3000,"server":"harakiri-sushi"}
[home ~/]> run example.script --delay 3000 --server harakiri-sushi hello world --exclude a --exclude b
{"_":["hello","world"],"delay":3000,"server":"harakiri-sushi","exclude":["a","b"]}
{"_":["hello","world"],"help":false,"delay":3000,"server":"harakiri-sushi","exclude":["a","b"]}
[home ~/]> run example.script --help
{"_":[],"delay":0,"server":"foodnstuff","exclude":[],"help":true}
*/

View File

@@ -10,7 +10,6 @@ ftpcrack() Netscript Function
Runs the ``FTPCrack.exe`` program on the target server. ``FTPCrack.exe``
must exist on your home computer.
Examples:
.. code-block:: javascript

View File

@@ -10,4 +10,4 @@ getFavorToDonate() Netscript Function
.. code-block:: javascript
getFavorToDonate() // returns: 150
getFavorToDonate() // returns: 150

View File

@@ -13,7 +13,6 @@ getGrowTime() Netscript Function
The function takes in an optional ``hackLvl`` parameter that can be
specified to see what the grow time would be at different hacking levels.
Example:
.. code-block:: javascript

View File

@@ -10,4 +10,4 @@ getHackingLevel() Netscript Function
.. code-block:: javascript
getHackingLevel(); // returns: 124
getHackingLevel(); // returns: 124

View File

@@ -11,4 +11,3 @@ getHostname() Netscript Function
.. code-block:: javascript
getHostname(); // returns: "foodnstuff"

View File

@@ -0,0 +1,101 @@
getPlayer() Netscript Function
==============================
.. js:function:: getPlayer()
:RAM cost: 0.5 GB
The result of this function can be passed to the :doc:`formulas API<../netscriptformulasapi>`.
Returns an object with the Player's stats. The object has the following properties::
{
hacking_skill: Current Hacking skill level
hp: Current health points
max_hp: Maximum health points
strength: Current Strength skill level
defense: Current Defense skill level
dexterity: Current Dexterity skill level
agility: Current Agility skill level
charisma: Current Charisma skill level
intelligence: Current Intelligence skill level (from BitNode-5)
hacking_chance_mult: Hacking Chance multiplier (from Source-Files and Augments)
hacking_speed_mult: Hacking Speed multiplier (from Source-Files and Augments)
hacking_money_mult: Hacking Money multiplier (from Source-Files and Augments)
hacking_grow_mult: Hacking Growth multiplier (from Source-Files and Augments)
hacking_exp: Current Hacking experience points
strength_exp: Current Strength experience points
defense_exp: Current Defense experience points
dexterity_exp: Current Dexterity experience points
agility_exp: Current Agility experience points
charisma_exp: Current Charisma experience points
hacking_mult: Hacking Level multiplier (from Source-Files and Augments)
strength_mult: Strength Level multiplier (from Source-Files and Augments)
defense_mult: Defense Level multiplier (from Source-Files and Augments)
dexterity_mult: Dexterity Level multiplier (from Source-Files and Augments)
agility_mult: Agility Level multiplier (from Source-Files and Augments)
charisma_mult: Charisma Level multiplier (from Source-Files and Augments)
hacking_exp_mult: Hacking Experience multiplier (from Source-Files and Augments)
strength_exp_mult: Strength Experience multiplier (from Source-Files and Augments)
defense_exp_mult: Defense Experience multiplier (from Source-Files and Augments)
dexterity_exp_mult: Dexterity Experience multiplier (from Source-Files and Augments)
agility_exp_mult: Agility Experience multiplier (from Source-Files and Augments)
charisma_exp_mult: Charisma Experience multiplier (from Source-Files and Augments)
company_rep_mult: Company reputation gain multiplier (from Source-Files and Augments)
faction_rep_mult: Faction reputation gain multiplier (from Source-Files and Augments)
money: Current money
city: Name of city you are currently in
location: Name of the last location visited
crime_money_mult: Crime money multiplier (from Source-Files and Augments)
crime_success_mult: Crime success multiplier (from Source-Files and Augments)
isWorking: Boolean indicating whether the player is currently performing work
workType: Name of the kind of work the player is performing
currentWorkFactionName: Name of the faction the player is currently working for
currentWorkFactionDescription: Description of the kind of work the player is currently doing
workHackExpGainRate: Amount of Hacking experience the player will gain every cycle (fifth of a second)
workStrExpGainRate: Amount of Strength experience the player will gain every cycle
workDefExpGainRate: Amount of Defense experience the player will gain every cycle
workDexExpGainRate: Amount of Dexterity experience the player will gain every cycle
workAgiExpGainRate: Amount of Agility experience the player will gain every cycle
workChaExpGainRate: Amount of Charisma experience the player will gain every cycle
workRepGainRate: Amount of Reputation the player will gain every cycle
workMoneyGainRate: Amount of Money the player will gain every cycle
workMoneyLossRate: Amount of Money the player will lose every cycle
workHackExpGained: Total Hacking experience gained while working thus far
workStrExpGained: Total Strength experience gained while working thus far
workDefExpGained: Total Defense experience gained while working thus far
workDexExpGained: Total Dexterity experience gained while working thus far
workAgiExpGained: Total Agility experience gained while working thus far
workChaExpGained: Total Charisma experience gained while working thus far
workRepGained: Total Reputation gained while working thus far
workMoneyGained: Total Money gained while working thus far
createProgramName: Name of the program the player is currently creating
createProgramReqLvl: Hacking skill required to make that program
className: Name of the class the player is currently studying
crimeType: Name of the crime the player last started
work_money_mult: Salary multiplier (from Source-Files and Augments)
hacknet_node_money_mult: Hacknet Node production multiplier (from Source-Files and Augments)
hacknet_node_purchase_cost_mult: Hacknet Node purchase cost multiplier (from Source-Files and Augments)
hacknet_node_ram_cost_mult: Hacknet Node RAM upgrade cost multiplier (from Source-Files and Augments)
hacknet_node_core_cost_mult: Hacknet Node Core purchase cost multiplier (from Source-Files and Augments)
hacknet_node_level_cost_mult: Hacknet Node level upgrade cost multiplier (from Source-Files and Augments)
hasWseAccount: Boolean indicating whether the player has a WSE Account
hasTixApiAccess: Boolean indicating whether the player has TIX API Access
has4SData: Boolean indicating whether the player has 4S Market Data Access
has4SDataTixApi: Boolean indicating whether the player has 4S Market Data TIX API Access
bladeburner_max_stamina_mult: Bladeburner Max Stamina multiplier (from Source-Files and Augments)
bladeburner_stamina_gain_mult: Bladeburner Stamina Gain multiplier (from Source-Files and Augments)
bladeburner_success_chance_mult: Bladeburner Success Chance multiplier (from Source-Files and Augments)
bitNodeN: Current BitNode number
totalPlaytime: Total amount of time the game has been running, in milliseconds
playtimeSinceLastAug: Milliseconds since the last time Augmentations were installed
playtimeSinceLastBitnode: Milliseconds since this BitNode was started
jobs: A mapping of companies the player works for to the title of the player's job at that company
factions: An array of factions the player is currently a member of
tor: Boolean indicating whether or not you have a tor router
}
Example::
player = getPlayer();
print('My charisma level is: ' + player.charisma);

View File

@@ -10,4 +10,4 @@ getPurchasedServerLimit() Netscript Function
.. code-block:: javascript
getPurchasedServerLimit() // returns: 25
getPurchasedServerLimit() // returns: 25

View File

@@ -10,4 +10,4 @@ getPurchasedServerMaxRam() Netscript Function
.. code-block:: javascript
getPurchasedServerMaxRam(); // returns: 1048576
getPurchasedServerMaxRam(); // returns: 1048576

View File

@@ -4,7 +4,7 @@ getRunningScript() Netscript Function
.. js:function:: getRunningScript()
:RAM cost: 0.3 GB
:returns: Script object or null if not found
:returns: Script object or null if not found.
The object has the following properties:
@@ -64,8 +64,8 @@ getRunningScript() Netscript Function
.. js:function:: getRunningScript(pid)
:RAM cost: 0.3 GB
:param number pid: PID of the script
:returns: Script object or null if not found
:param number pid: PID of the script.
:returns: Script object or null if not found.
Examples:
@@ -73,13 +73,13 @@ getRunningScript() Netscript Function
getRunningScript(42); // get the script with pid 42.
.. js:function:: getRunningScript(fn, hostname[, args])
.. js:function:: getRunningScript(fn, hostname[, args...])
:RAM cost: 0.3 GB
:param number fn: filename of the target script
:param number hostname: hostname of the server running the script
:param number args: arguments to the script.
:returns: Script object or null if not found
:param number fn: Filename of the target script.
:param number hostname: Hostname of the server running the script.
:param number args...: Arguments that the script is running with.
:returns: Script object or null if not found.
Examples:

View File

@@ -15,4 +15,3 @@ getScriptExpGain() Netscript Function
.. note:: A script is uniquely identified by both its name and its
arguments.

View File

@@ -16,4 +16,4 @@ getScriptIncome() Netscript Function
scripts since you last installed Augmentations.
.. note:: A script is uniquely identified by both its name and its
arguments.
arguments.

View File

@@ -9,8 +9,8 @@ getScriptLogs() Netscript Function
:param args...: Arguments to identify which scripts to get logs for
:returns: Array of string, each line being a logged line. Chronological.
.. note:: There is a maximum number of lines that a script stores in its logs.
This is configurable in the game's options.
.. note:: There is a maximum number of lines that a script stores in its logs.
This is configurable in the game's options.
If the function is called with no arguments, it will return the current
script's logs.

View File

@@ -7,10 +7,10 @@ getServerGrowth() Netscript Function
:param string hostname: Hostname of target server.
:returns: Server growth parameter.
The growth parameter is a number between 1 and 100 affects the percentage by
which the server's money is increased when using the :doc:`grow<grow>`
function. A higher growth parameter will result in a higher percentage
increase.
The growth parameter is a number, typically between 1 and 100, that affects
the percentage by which the server's money is increased when using the
:doc:`grow<grow>` function. A higher growth parameter will result in a
higher percentage increase.
Example:

View File

@@ -5,10 +5,10 @@ getServerMaxMoney() Netscript Function
:RAM cost: 0.1 GB
:param string hostname: Hostname of target server.
:returns: Maximum amount of money that can be available on a server.
:returns: Maximum amount of money that can be available on a server.
Example:
.. code-block:: javascript
getServerMaxMoney('foodnstuff'); // returns: 4000000
getServerMaxMoney('foodnstuff'); // returns: 50000000

View File

@@ -16,4 +16,4 @@ getServerMoneyAvailable() Netscript Function
.. code-block:: javascript
getServerMoneyAvailable("foodnstuff"); // returns: 120000
getServerMoneyAvailable("home"); // returns: 1000
getServerMoneyAvailable("home"); // returns: 1000

View File

@@ -3,12 +3,14 @@ getServerRam() Netscript Function
.. js:function:: getServerRam(hostname)
.. warning:: This function is deprecated.
.. warning:: This function is deprecated. It still functions, but new
scripts should prefer :doc:`getServerMaxRam<getServerMaxRam>`
and :doc:`getServerUsedRam<getServerUsedRam>` instead.
:RAM cost: 0.1 GB
:param string hostname: Hostname of target server.
:returns: An array of 2 number, first number is the total RAM, second the
used RAM.
:returns: An array of 2 numbers; the first number is the total RAM, and the
second is the used RAM.
Returns an array with two elements that gives information about a server's memory (RAM). The first
element in the array is the amount of RAM that the server has total (in GB). The second element in

View File

@@ -11,4 +11,4 @@ getServerRequiredHackingLevel() Netscript Function
.. code-block:: javascript
getServerRequiredHackingLevel("foodnstuff"); // returns: 5
getServerRequiredHackingLevel("foodnstuff"); // returns: 5

View File

@@ -11,4 +11,4 @@ getServerSecurityLevel() Netscript Function
.. code-block:: javascript
getServerSecurityLevel("foodnstuff"); // returns: 3.45
getServerSecurityLevel("foodnstuff"); // returns: 3.45

View File

@@ -10,4 +10,4 @@ getTimeSinceLastAug() Netscript Function
.. code-block:: javascript
getTimeSinceLastAug(); // returns: 13912400
getTimeSinceLastAug(); // returns: 13912400

View File

@@ -13,4 +13,4 @@ hackChance() Netscript Function
.. code-block:: javascript
hackChance("foodnstuff"); // returns: .5
// So 50% chance to hack "foodnstuff"
// So 50% chance to hack "foodnstuff"

View File

@@ -6,8 +6,8 @@ httpworm() Netscript Function
:RAM cost: 0.05 GB
:param string hostname: Hostname of the target server.
Runs the HTTPWorm.exe program on the target server. HTTPWorm.exe must exist
on your home computer.
Runs the ``HTTPWorm.exe`` program on the target server. ``HTTPWorm.exe``
must exist on your home computer.
Example:

View File

@@ -11,4 +11,4 @@ isLogEnabled() Netscript Function
.. code-block:: javascript
isLogEnabled('hack'); // returns: true
isLogEnabled('hack'); // returns: true

View File

@@ -14,4 +14,4 @@ killall() Netscript Function
.. code-block:: javascript
killall('foodnstuff'); // returns: true
killall('foodnstuff'); // returns: true

View File

@@ -12,4 +12,4 @@ ls() Netscript Function
.. code-block:: javascript
ls("home"); // returns: ["demo.script", "msg1.txt"]
ls("home"); // returns: ["demo.script", "msg1.txt"]

View File

@@ -6,7 +6,8 @@ nuke() Netscript Function
:RAM cost: 0.05 GB
:param string hostname: Hostname of the target server.
Runs the NUKE.exe program on the target server. NUKE.exe must exist on your home computer.
Runs the ``NUKE.exe`` program on the target server. ``NUKE.exe`` must exist
on your home computer.
Example:

View File

@@ -13,4 +13,4 @@ print() Netscript Function
.. code-block:: javascript
print("Hello world!"); // Prints "Hello world!" in the logs.
print({a:5}); // Prints '{"a":5}' in the logs.
print({a:5}); // Prints '{"a":5}' in the logs.

View File

@@ -20,4 +20,4 @@ prompt() Netscript Function
answer = prompt("Buy a server for $"+cost);
if(answer) {
purchaseServer("my server", 8192);
}
}

View File

@@ -6,9 +6,8 @@ relaysmtp() Netscript Function
:RAM cost: 0.05 GB
:param string hostname: Hostname of the target server.
Runs the relaySMTP.exe program on the target server. relaySMTP.exe must
exist on your home computer.
Runs the ``relaySMTP.exe`` program on the target server. ``relaySMTP.exe``
must exist on your home computer.
Example:

View File

@@ -17,9 +17,8 @@ run() Netscript Function
scripts located on the current server (the server running the script that
calls this function).
.. warning:: Running this function with a ``numThreads`` argument of 0 will
return 0 without running the script. However, running this function with
a negative ``numThreads`` argument will cause a runtime error.
.. warning:: Running this function with a ``numThreads`` argument of 0 or
less will cause a runtime error.
The simplest way to use the :doc:`run<run>` command is to call it with just
the script name. The following example will run ``foo.script``

View File

@@ -12,4 +12,4 @@ scan() Netscript Function
.. code-block:: javascript
scan("home"); // returns: ["foodnstuff", "sigma-cosmetics", "joesguns", "hong-fang-tea", "harakiri-sushi", "iron-gym"]
scan("home"); // returns: ["foodnstuff", "sigma-cosmetics", "joesguns", "hong-fang-tea", "harakiri-sushi", "iron-gym"]

View File

@@ -9,7 +9,7 @@ scp() Netscript Function
Hostname of the source server, which is the server from which the file will be copied.
This argument is optional and if it's omitted the source will be the current server.
:param string destination: Hostname of the destination server, which is the server to which the file will be copied.
:returns: ``true`` is the copy was a success.
:returns: ``true`` if the copy was a success.
Copies a script or literature (.lit) file(s) to another server. The
``files`` argument can be either a string specifying a single file to copy,

View File

@@ -11,4 +11,4 @@ serverExists() Netscript Function
.. code-block:: javascript
serverExists("foodnstuff"); // returns: true
serverExists("foodnstuff"); // returns: true

View File

@@ -8,9 +8,8 @@ sleep() Netscript Function
Suspends the script for n milliseconds.
Example:
.. code-block:: javascript
sleep(3000); // Will wait 3 seconds.
sleep(3000); // Will wait 3 seconds.

View File

@@ -16,6 +16,8 @@ spawn() Netscript Function
current one. This function can only be used to run scripts on the local
server.
.. warning:: Running this function with a ``numThreads`` argument of 0 or
less will cause a runtime error.
Example:

View File

@@ -6,8 +6,8 @@ sqlinject() Netscript Function
:RAM cost: 0.05 GB
:param string hostname: Hostname of the target server.
Runs the SQLInject.exe program on the target server. SQLInject.exe must
exist on your home computer.
Runs the ``SQLInject.exe`` program on the target server. ``SQLInject.exe``
must exist on your home computer.
Example:

View File

@@ -1,15 +1,17 @@
tFormat() Netscript Function
============================
.. js:function:: tFormat(milliseconds)
.. js:function:: tFormat(milliseconds[, milliPrecision=false])
:RAM cost: 0 GB
:param number milliseconds: Amount of milliseconds to format.
:param number milliPrecision: Display time with millisecond precision.
:returns: milliseconds in the "D M H S" format
Example:
.. code-block:: javascript
tFormat(3000); // returns: "3 seconds"
tFormat(10000000); // returns: "2 hours 46 minutes 40 seconds"
tFormat(3000); // returns: "3 seconds"
tFormat(10000000); // returns: "2 hours 46 minutes 40 seconds"
tFormat(10000023, true); // returns: "2 hours 46 minutes 40.023 seconds"

View File

@@ -44,9 +44,6 @@ tail() Netscript Function
// Open logs from process with id 42
tail(42);
// Open logs from process with id 42 on the foodnstuff server
tail(42, "foodnstuff");
.. js:function:: tail()
:RAM cost: 0 GB

View File

@@ -13,4 +13,4 @@ tprint() Netscript Function
.. code-block:: javascript
tprint("Hello world!"); // Prints "Hello world!" to the terminal.
tprint({a:5}); // Prints '{"a":5}' to the terminal.
tprint({a:5}); // Prints '{"a":5}' to the terminal.

View File

@@ -11,4 +11,4 @@ tryWrite() Netscript Function
Attempts to write data to the specified Netscript Port. If the port is full,
the data will not be written. Otherwise, the data will be written normally.
See :ref:`netscript_ports` for more details.
See :ref:`netscript_ports` for more details.

View File

@@ -8,7 +8,6 @@ write() Netscript Function
:param string data: Data to write
:param string mode: Defines the write mode. Only valid when writing to text files or scripts.
This function can be used to either write data to a port, a text file
(.txt), or a script (.script, .js, .ns)

View File

@@ -11,8 +11,8 @@ getData() Netscript Function
contract type.
Get the data associated with the specific Coding Contract. Note that this is
not the same as the contract's description. This is just the data that
the contract wants you to act on in order to solve
not the same as the contract's description; this is just the data that
the contract wants you to act on in order to solve.
Example:
@@ -20,4 +20,4 @@ getData() Netscript Function
data = codingcontract.getData("contract-123.cct", "home");
answer = solve(data);
codingcontract.attempt(answer, "contract-123.cct", "home");
codingcontract.attempt(answer, "contract-123.cct", "home");

View File

@@ -15,4 +15,4 @@ getDescription() Netscript Function
.. code-block:: javascript
codingcontract.getDescription("contract-123.cct", "home");
codingcontract.getDescription("contract-123.cct", "home");

View File

@@ -16,4 +16,4 @@ getNumTriesRemaining() Netscript Function
.. code-block:: javascript
codingcontract.getNumTriesRemaining("contract-123.cct", "home"); // returns: 5
codingcontract.getNumTriesRemaining("contract-123.cct", "home"); // returns: 5

View File

@@ -8,15 +8,18 @@ calculateExp() Netscript Function
:param number mult: Assume a specific skill multipler (not exp multiplier).
:returns: number of exp required to reach given ``skillLevel`` with that multiplier.
You must have Source-File 5-1 in order to use this function.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function.
This function calculates the amount of experience needed to reach level the given ``skillLevel``.
This function calculates the amount of experience needed to reach the given
``skillLevel``.
Examples:
.. code-block:: javascript
nextHacking = getStats().hacking+1;
nextExp = formulas.basic.calculateExp(nextHacking);
missingExp = nextExp - getCharacterInformation().hackingExp;
var player = getPlayer();
var nextHacking = player.hacking_skill+1;
var nextExp = formulas.basic.calculateExp(nextHacking);
var missingExp = nextExp - player.hacking_exp;
tprint("Missing " + missingExp + " to reach next hacking level");

View File

@@ -8,7 +8,8 @@ calculateSkill() Netscript Function
:param number mult: Assume a specific skill multipler (not exp multiplier).
:returns: skillLevel that ``exp`` would reach with that multiplier.
You must have Source-File 5-1 in order to use this function.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function.
This function calculates the skillLevel that the given amount of ``exp`` would reach.

View File

@@ -7,17 +7,21 @@ growPercent() Netscript Function
:param server server: The server that receives the growth.
:param number threads: The number of thread that would be used.
:param player player: The player.
:returns: The percentage growth this server would receive with these parameters.
:returns: The amount the server's money would be multiplied by with these
parameters.
You must have Source-File 5-1 in order to use this function.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function.
Server can be acquired with the :doc:`getServer<../../advancedfunctions/getServer>` function.
Player can be acquired with the :doc:`getPlayer<../../singularityfunctions/getPlayer>` function.
Player can be acquired with the :doc:`getPlayer<../../basicfunctions/getPlayer>` function.
This function calculates percentage of growth a server would receive with these parameters.
This function calculates the amount of growth, as a multiplier, a server
would receive with these parameters. Despite its name, it does not return
a percentage.
Examples:
.. code-block:: javascript
tprint(formulas.basic.growPercent(getServer(), 50, getPlayer()))
tprint(formulas.basic.growPercent(getServer(), 50, getPlayer()))

View File

@@ -8,10 +8,11 @@ growTime() Netscript Function
:param player player: The player.
:returns: The time it takes to grow this server. In seconds.
You must have Source-File 5-1 in order to use this function.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function.
Server can be acquired with the :doc:`getServer<../../advancedfunctions/getServer>` function.
Player can be acquired with the :doc:`getPlayer<../../singularityfunctions/getPlayer>` function.
Player can be acquired with the :doc:`getPlayer<../../basicfunctions/getPlayer>` function.
This function calculates the amount of time it takes to grow a server.
@@ -21,4 +22,4 @@ growTime() Netscript Function
server = getServer();
server.hackDifficulty = server.minDifficulty;
tprint(formulas.basic.growTime(server, getPlayer()));
tprint(formulas.basic.growTime(server, getPlayer()));

View File

@@ -6,19 +6,20 @@ hackChance() Netscript Function
:RAM cost: 0 GB
:param server server: The server to hack.
:param player player: The player.
:returns: The change to hack that server. between 0 and 1.
:returns: The chance to hack that server, between 0 and 1.
You must have Source-File 5-1 in order to use this function.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function.
Server can be acquired with the :doc:`getServer<../../advancedfunctions/getServer>` function.
Player can be acquired with the :doc:`getPlayer<../../singularityfunctions/getPlayer>` function.
Player can be acquired with the :doc:`getPlayer<../../basicfunctions/getPlayer>` function.
This function calculates percentage chance to hack a server.
This function calculates the probability to successfully hack a server.
Examples:
.. code-block:: javascript
server = getServer();
var server = getServer();
server.hackDifficulty = server.minDifficulty;
tprint(formulas.basic.hackChance(server, getPlayer()));
tprint(formulas.basic.hackChance(server, getPlayer()));

View File

@@ -8,10 +8,11 @@ hackExp() Netscript Function
:param player player: The player.
:returns: The amount of exp that would be acquired if this server were to be hacked.
You must have Source-File 5-1 in order to use this function.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function.
Server can be acquired with the :doc:`getServer<../../advancedfunctions/getServer>` function.
Player can be acquired with the :doc:`getPlayer<../../singularityfunctions/getPlayer>` function.
Player can be acquired with the :doc:`getPlayer<../../basicfunctions/getPlayer>` function.
This function calculates the amount of exp obtained by hacking a server.
@@ -19,6 +20,4 @@ hackExp() Netscript Function
.. code-block:: javascript
server = getServer();
server.hackDifficulty = 99.9;
tprint(formulas.basic.hackExp(server, getPlayer()));
tprint(formulas.basic.hackExp(getServer(), getPlayer()));

View File

@@ -6,15 +6,16 @@ hackPercent() Netscript Function
:RAM cost: 0 GB
:param server server: The server to hack.
:param player player: The player.
:returns: The percentage of money hacked from a servers maximum money.
:returns: The percentage of money hacked from the server's money.
You must have Source-File 5-1 in order to use this function.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function.
Server can be acquired with the :doc:`getServer<../../advancedfunctions/getServer>` function.
Player can be acquired with the :doc:`getPlayer<../../singularityfunctions/getPlayer>` function.
Player can be acquired with the :doc:`getPlayer<../../basicfunctions/getPlayer>` function.
This function calculates the percentage of maximum money hacked from a server.
Multiply this by thread count to know calculate the percentage for more than 1 thread.
This function calculates the percentage of money hacked from a server.
Multiply this by thread count to calculate the percentage for more than 1 thread.
Examples:
@@ -22,4 +23,4 @@ hackPercent() Netscript Function
server = getServer();
server.hackDifficulty = server.minDifficulty;
tprint(formulas.basic.hackPercent(server, getPlayer()));
tprint(formulas.basic.hackPercent(server, getPlayer()));

View File

@@ -8,10 +8,11 @@ hackTime() Netscript Function
:param player player: The player.
:returns: The time it takes to hack this server. In seconds.
You must have Source-File 5-1 in order to use this function.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function.
Server can be acquired with the :doc:`getServer<../../advancedfunctions/getServer>` function.
Player can be acquired with the :doc:`getPlayer<../../singularityfunctions/getPlayer>` function.
Player can be acquired with the :doc:`getPlayer<../../basicfunctions/getPlayer>` function.
This function calculates the amount of time it takes to hack a server.
@@ -21,4 +22,4 @@ hackTime() Netscript Function
server = getServer();
server.hackDifficulty = server.minDifficulty;
tprint(formulas.basic.hackTime(server, getPlayer()));
tprint(formulas.basic.hackTime(server, getPlayer()));

View File

@@ -8,10 +8,11 @@ weakenTime() Netscript Function
:param player player: The player.
:returns: The time it takes to weaken this server. In seconds.
You must have Source-File 5-1 in order to use this function.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function.
Server can be acquired with the :doc:`getServer<../../advancedfunctions/getServer>` function.
Player can be acquired with the :doc:`getPlayer<../../singularityfunctions/getPlayer>` function.
Player can be acquired with the :doc:`getPlayer<../../basicfunctions/getPlayer>` function.
This function calculates the amount of time it takes to weaken a server.
@@ -21,4 +22,4 @@ weakenTime() Netscript Function
server = getServer();
server.hackDifficulty = server.minDifficulty;
tprint(formulas.basic.weakenTime(server, getPlayer()));
tprint(formulas.basic.weakenTime(server, getPlayer()));

View File

@@ -6,21 +6,28 @@ constants() Netscript Function
:RAM cost: 0 GB
:returns: A structure with various constants related to hacknet nodes.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function.
Returns an object with the following properties::
{
MoneyGainPerLevel: Multiplied by the node's level to get the node's base income
BaseCost: A multiplier used when buying new nodes or upgrading levels
LevelBaseCost: A multiplier used when upgrading levels
RamBaseCost: A multiplier used when upgrading RAM
CoreBaseCost: A multiplier used when buying additional cores
PurchaseNextMult: The root of an exponent used when buying new nodes
UpgradeLevelMult: The root of an exponent used when upgrading levels
UpgradeRamMult: The root of an exponent used when upgrading RAM
UpgradeCoreMult: The root of an exponent used when buying additional cores
MaxLevel: Maximum level a node can have
MaxRam: Maximum RAM a node can have
MaxCores: Maximum number of cores a node can have
}
Examples:
.. code-block:: javascript
{
MoneyGainPerLevel
BaseCost
LevelBaseCost
RamBaseCost
CoreBaseCost
PurchaseNextMult
UpgradeLevelMult
UpgradeRamMult
UpgradeCoreMult
MaxLevel
MaxRam
MaxCores
}
tprint("Maximum RAM a hacknet node can have: "+formulas.hacknetNodes.constants().MaxRam+" GB.");

View File

@@ -9,7 +9,8 @@ coreUpgradeCost() Netscript Function
:param number costMult: Aug multiplier that reduces cost. Defaults to ``1``.
:returns: Money required to go from ``startingCores`` to ``startingCores+extraCores``.
You must have Source-File 5-1 in order to use this function.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function.
This function calculates the cost of upgrading cores from any level to any level.

View File

@@ -8,7 +8,8 @@ hacknetNodeCost() Netscript Function
:param number costMult: Aug multiplier that reduces cost. Defaults to ``1``.
:returns: Money required to buy your ``nodeN`` th node.
You must have Source-File 5-1 in order to use this function.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function.
This function calculates the cost purchasing a hacknet node.

View File

@@ -9,7 +9,8 @@ levelUpgradeCost() Netscript Function
:param number costMult: Aug multiplier that reduces cost. Defaults to ``1``.
:returns: Money required to go from ``startingLevel`` to ``startingLevel+extraLevels``.
You must have Source-File 5-1 in order to use this function.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function.
This function calculates the cost of upgrading levels from any level to any level.
@@ -17,4 +18,4 @@ levelUpgradeCost() Netscript Function
.. code-block:: javascript
formulas.hacknetNodes.levelUpgradeCost(1, 5); // returns: 2816
formulas.hacknetNodes.levelUpgradeCost(1, 5); // returns: 2816

View File

@@ -9,7 +9,8 @@ moneyGainRate() Netscript Function
:param number core: cores of the node.
:returns: Money per second that a node with those stats would gain per second.
You must have Source-File 5-1 in order to use this function.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function.
This function calculates the money rate of a node with the given stats.
@@ -21,4 +22,4 @@ moneyGainRate() Netscript Function
currentRate = formulas.hacknetNodes.moneyGainRate(node.level, node.ram, node.cores);
levelRate = formulas.hacknetNodes.moneyGainRate(node.level+1, node.ram, node.cores);
ramRate = formulas.hacknetNodes.moneyGainRate(node.level, node.ram*2, node.cores);
coresRate = formulas.hacknetNodes.moneyGainRate(node.level, node.ram, node.cores+1);
coresRate = formulas.hacknetNodes.moneyGainRate(node.level, node.ram, node.cores+1);

View File

@@ -11,7 +11,8 @@ ramUpgradeCost() Netscript Function
..note:: ``startingRam`` is the actual amount of ram, not the amount of levels of ram.
You must have Source-File 5-1 in order to use this function.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function.
This function calculates the cost of upgrading levels from any level to any level.
@@ -19,4 +20,4 @@ ramUpgradeCost() Netscript Function
.. code-block:: javascript
formulas.hacknetNodes.ramUpgradeCost(1, 5); // returns: 2095000
formulas.hacknetNodes.ramUpgradeCost(1, 5); // returns: 2095000

View File

@@ -9,7 +9,9 @@ cacheUpgradeCost() Netscript Function
:param number costMult: Aug multiplier that reduces cost. Defaults to ``1``.
:returns: Money required to go from ``startingLevel`` to ``startingLevel+extraLevels``.
You must have Source-File 5-1 and Source-File 9-1 in order to use this function.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function. In addition, if you are not in BitNode-9, then you must
have Source-File 9-1 in order to use this function.
This function calculates the cost of upgrading cache from any level to any level.

View File

@@ -6,24 +6,32 @@ constants() Netscript Function
:RAM cost: 0 GB
:returns: A structure with various constants related to hacknet servers.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function. In addition, if you are not in BitNode-9, then you must
have Source-File 9-1 in order to use this function.
Returns an object with the following properties::
{
HashesPerLevel: Multiplied by the server's level to get the server's base income
BaseCost: A multiplier used when buying new nodes or upgrading levels
RamBaseCost: A multiplier used when upgrading RAM
CoreBaseCost: A multiplier used when buying additional cores
CacheBaseCost: A multiplier used when upgrading cache
PurchaseMult: The root of an exponent used when buying new servers
UpgradeLevelMult: The root of an exponent used when upgrading levels
UpgradeRamMult: The root of an exponent used when upgrading RAM
UpgradeCoreMult: The root of an exponent used when buying additional cores
UpgradeCacheMult: The root of an exponent used when upgrading cache
MaxServers: Maximum number of hacknet servers you can own
MaxLevel: Maximum level a server can have
MaxRam: Maximum RAM a server can have
MaxCores: Maximum number of cores a server can have
MaxCache: Maximum cache a server can have
}
Examples:
.. code-block:: javascript
{
HashesPerLevel
BaseCost
RamBaseCost
CoreBaseCost
CacheBaseCost
PurchaseMult
UpgradeLevelMult
UpgradeRamMult
UpgradeCoreMult
UpgradeCacheMult
MaxServers
MaxLevel
MaxRam
MaxCores
MaxCache
}
tprint("Maximum RAM a hacknet server can have: "+formulas.hacknetServers.constants().MaxRam+" GB");

View File

@@ -9,7 +9,9 @@ coreUpgradeCost() Netscript Function
:param number costMult: Aug multiplier that reduces cost. Defaults to ``1``.
:returns: Money required to go from ``startingCores`` to ``startingCores+extraCores``.
You must have Source-File 5-1 and Source-File 9-1 in order to use this function.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function. In addition, if you are not in BitNode-9, then you must
have Source-File 9-1 in order to use this function.
This function calculates the cost of upgrading cores from any level to any level.

View File

@@ -8,7 +8,9 @@ hacknetServerCost() Netscript Function
:param number costMult: Aug multiplier that reduces cost. Defaults to ``1``.
:returns: Money required to buy your ``serverN`` th node.
You must have Source-File 5-1 and Source-File 9-1 in order to use this function.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function. In addition, if you are not in BitNode-9, then you must
have Source-File 9-1 in order to use this function.
This function calculates the cost purchasing a hacknet node.

View File

@@ -10,7 +10,9 @@ hashGainRate() Netscript Function
:param number core: cores of the server.
:returns: Money per second that a server with those stats would gain per second.
You must have Source-File 5-1 and Source-File 9-1 in order to use this function.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function. In addition, if you are not in BitNode-9, then you must
have Source-File 9-1 in order to use this function.
This function calculates the hash rate of a server with the given stats.
@@ -19,7 +21,7 @@ hashGainRate() Netscript Function
.. code-block:: javascript
server = hacknet.getNodeStats(1);
currentRate = formulas.hacknetNodes.hashGainRate(server.level, 0, server.ram, server.cores);
levelRate = formulas.hacknetNodes.hashGainRate(server.level+1, 0, server.ram, server.cores);
ramRate = formulas.hacknetNodes.hashGainRate(server.level, 0, server.ram*2, server.cores);
coresRate = formulas.hacknetNodes.hashGainRate(server.level, 0, server.ram, server.cores+1);
currentRate = formulas.hacknetServers.hashGainRate(server.level, 0, server.ram, server.cores);
levelRate = formulas.hacknetServers.hashGainRate(server.level+1, 0, server.ram, server.cores);
ramRate = formulas.hacknetServers.hashGainRate(server.level, 0, server.ram*2, server.cores);
coresRate = formulas.hacknetServers.hashGainRate(server.level, 0, server.ram, server.cores+1);

View File

@@ -8,7 +8,9 @@ hashUpgradeCost() Netscript Function
:param number level: Level of the upgrade.
:returns: Amount of Hash.
You must have Source-File 5-1 and Source-File 9-1 in order to use this function.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function. In addition, if you are not in BitNode-9, then you must
have Source-File 9-1 in order to use this function.
This function calculates amount of Hash require to buy level ``level`` of upgrade ``upgName``.

View File

@@ -9,7 +9,9 @@ levelUpgradeCost() Netscript Function
:param number costMult: Aug multiplier that reduces cost. Defaults to ``1``.
:returns: Money required to go from ``startingLevel`` to ``startingLevel+extraLevels``.
You must have Source-File 5-1 and Source-File 9-1 in order to use this function.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function. In addition, if you are not in BitNode-9, then you must
have Source-File 9-1 in order to use this function.
This function calculates the cost of upgrading levels from any level to any level.
@@ -17,4 +19,4 @@ levelUpgradeCost() Netscript Function
.. code-block:: javascript
formulas.hacknetServers.levelUpgradeCost(1, 5); // returns: 2792000
formulas.hacknetServers.levelUpgradeCost(1, 5); // returns: 2792000

View File

@@ -11,7 +11,9 @@ ramUpgradeCost() Netscript Function
..note:: ``startingRam`` is the actual amount of ram, not the amount of levels of ram.
You must have Source-File 5-1 and Source-File 9-1 in order to use this function.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to
use this function. In addition, if you are not in BitNode-9, then you must
have Source-File 9-1 in order to use this function.
This function calculates the cost of upgrading levels from any level to any level.
@@ -19,4 +21,4 @@ ramUpgradeCost() Netscript Function
.. code-block:: javascript
formulas.hacknetServers.ramUpgradeCost(1, 5); // returns: 15810000
formulas.hacknetServers.ramUpgradeCost(1, 5); // returns: 15810000

View File

@@ -0,0 +1,12 @@
createGang() Netscript Function
======================================
.. js:function:: createGang(faction)
:RAM cost: 1 GB
:param string faction: Name of faction
:returns: ``true`` if a Gang was created with that faction.
Creates a Gang with that faction. You need to have access to Gangs, the
faction must be one of the approved gang factions, and you must be a member
of that faction for the creation to be successful.

View File

@@ -0,0 +1,7 @@
inGang() Netscript Function
======================================
.. js:function:: inGang()
:RAM cost: 1 GB
:returns: ``true`` if the player is already in a gang.

View File

@@ -92,7 +92,7 @@ its type and name. The following are valid values when specifying the action's t
* blackop
* blackops
**General Actions (Training, Field Analysis, Recruitment)**
**General Actions (Training, Field Analysis, etc)**
* general
* general action
* gen

Some files were not shown because too many files have changed in this diff Show More