Commit Graph

3882 Commits

Author SHA1 Message Date
hydroflame
93c5841ecb
Merge pull request #1555 from Snarling/netscriptfunctions-streamlining
Some NetscriptFunctions fixes/streamlining
2021-10-22 14:30:37 -04:00
Snarling
2867a15b95 Re-add cautionary tale for editing imported scripts 2021-10-19 20:25:37 -04:00
Snarling
14c41d2aab Add script editor documentation for getServer 2021-10-19 10:27:53 -04:00
Snarling
d035a4099f Streamlining for NetscriptFunctions
* Functions that used GetServer and then threw an error on null now use safeGetServer to do that for them.
* Parameter names for ip have been changed to hostname.
* Functionality of getPurchasedServers(false) to return an array of IPs was restored (it was broken by the change to hostnames as primary key).
* Dynamic ram message was updated to omit the part about modifying imported scripts, since this is no longer an issue.
* Dynamic ram violation samples were updated so that they would actually avoid using the variable name 'scan' (which would not subvert ram calculations).
* Included a fix for getServer to default to script's current server if no hostname is specified (per doc page).
2021-10-19 10:13:19 -04:00
CalvinTrop
010d3bfaef
Merge branch 'danielyxie:dev' into dev 2021-10-18 17:00:38 -07:00
Jeff Baars
ab60b411ca Bracket highlighting per Solarized example js images 2021-10-18 16:58:23 -07:00
Jeff Baars
fd9d8d5c8a Added solarish-dark and solarish-light themes to code editor based on Solarized: https://ethanschoonover.com/solarized/ 2021-10-18 16:20:41 -07:00
Olivier Gagnon
ffc8133fb8 some doc 2021-10-18 19:12:41 -04:00
Olivier Gagnon
a358c270f6 fix corp equation 2021-10-18 18:55:28 -04:00
Jeff Baars
7103601403 Added Solarized dark and light themes to code editor. 2021-10-18 13:41:26 -07:00
Olivier Gagnon
7ef4df414f fix sleeve task selector not getting the right task when loading the screen 2021-10-18 15:01:06 -04:00
hydroflame
c9a0592d23
Merge pull request #1552 from danielyxie/dev
fix sleeve criming
2021-10-18 14:59:41 -04:00
Olivier Gagnon
e52eff7771 fix sleeve criming 2021-10-18 14:59:18 -04:00
hydroflame
2ffb435598
Merge pull request #1550 from danielyxie/dev
Throw error when trying to pass non-string/number to other scripts
2021-10-18 14:30:04 -04:00
Olivier Gagnon
c4f59d4129 throw error when trying to pass non-string or number to other scripts 2021-10-18 14:29:43 -04:00
Olivier Gagnon
0419118fb1 fix missing table body 2021-10-18 14:15:43 -04:00
hydroflame
ab48c7062f
Merge pull request #1547 from Snarling/tutorial-text-fixes
Fix some minor tutorial issues
2021-10-18 14:14:00 -04:00
hydroflame
2444305625
Merge pull request #1546 from Snarling/char-overview-overhaul
Character Overview Overhaul
2021-10-18 14:13:52 -04:00
hydroflame
55504d600d
Merge pull request #1544 from Snarling/patch-3
Reduce repetitive code sections (bladeburner general actions)
2021-10-18 14:13:43 -04:00
Snarling
f915799fdc Reduce size of visibility-toggle Fab
Current fab is oversized, reduce size to further reduce click footprint of visibility toggle.
2021-10-18 05:45:13 -04:00
Snarling
5be4fb7aae Fix some minor tutorial issues
Changed example prompt to show n00dles for "hack" and "home" commands when connected to n00dles, fixed one missing capitalization
2021-10-18 04:12:45 -04:00
Snarling
61770ea717 Character Overview Overhaul
* Moved hardcoded styles from the hardcoded container div into a class, and assigned that class to a Mui component.
* Otherwise removed excess layered components
* Visibility toggle area no longer occupies the whole width of the overview area. This was blocking input near the top right (noticeable in corp).
2021-10-18 03:14:33 -04:00
Snarling
6bfec83d91 Update GeneralActions.tsx 2021-10-18 00:02:23 -04:00
Snarling
f105002847
Reduce repetitive code sections
Iteratively define general actions instead of defining each individually.
Remove anonymous function that automatically runs, placing code into main section of file so that it still automatically runs.
(untested - I don't have a local copy set up yet to test these changes on)
2021-10-17 20:02:22 -04:00
hydroflame
9383ae7be6
Merge pull request #1543 from danielyxie/dev
fix Incite Violence chaos increase
2021-10-17 19:44:52 -04:00
Olivier Gagnon
cfa10ab206 fix Incite Violence chaos increase 2021-10-17 19:44:43 -04:00
Olivier Gagnon
1b22fe4f3d revert dev meny 2021-10-17 19:01:10 -04:00
Olivier Gagnon
35a5e2f343 change the way charge works 2021-10-17 18:59:37 -04:00
hydroflame
925ed98c05
Merge pull request #1541 from danielyxie/dev
disable marketta1 is 2 is available.
2021-10-17 18:20:37 -04:00
Olivier Gagnon
1b22f28bd8 disable marketta1 is 2 is available. 2021-10-17 18:20:23 -04:00
hydroflame
ba563db5fe
Merge pull request #1540 from danielyxie/dev
Some bugfixes
2021-10-17 14:31:43 -04:00
Olivier Gagnon
7bda726e5f build bugfixed 2021-10-17 14:31:21 -04:00
hydroflame
6068b4a5cb
Merge pull request #1539 from Tyasuh/dev
Typo Fix
2021-10-17 14:29:53 -04:00
hydroflame
4bef2f09a5
Merge pull request #1538 from Snarling/patch-2
Actually fix fragment power display for negative numbers
2021-10-17 14:29:46 -04:00
tyasuh.taeragan@gmail.com
d3ab0353f7 Typo Fix 2021-10-17 09:15:10 -04:00
Snarling
b4c0458590
Actually fix fragment power display for negative numbers
Replace either -x% if present or just x%, to prevent --##.#% power display.
2021-10-17 03:11:42 -04:00
hydroflame
372fc1d006
Merge pull request #1536 from Tyasuh/dev
Corp UI Buyback Shares
2021-10-17 01:23:04 -04:00
tyasuh.taeragan@gmail.com
850200c98d Corp UI Buyback Shares 2021-10-17 01:21:25 -04:00
Olivier Gagnon
a612352f32 revert sidebar 2021-10-17 00:52:13 -04:00
Olivier Gagnon
79dd27d22f change rep cost for stanek augments 2021-10-17 00:51:43 -04:00
Olivier Gagnon
75b3d9b126 fix boosters with rotations 2021-10-17 00:35:50 -04:00
Olivier Gagnon
e49c1725b5 add stanek modifier in other bns 2021-10-17 00:20:05 -04:00
hydroflame
faf0809a04
Merge pull request #1534 from Tyasuh/dev
Issue 1522
2021-10-16 23:53:34 -04:00
hydroflame
41adad3991
Merge branch 'dev' into dev 2021-10-16 23:53:29 -04:00
tyasuh.taeragan@gmail.com
da02f8862a Commented Changes 2021-10-16 23:47:11 -04:00
tyasuh.taeragan@gmail.com
2ed961c0d2 #1522 Adressed and Corrected. 2021-10-16 23:09:35 -04:00
Olivier Gagnon
75caf77231 merge dev and added purchased server softcap 2021-10-16 22:39:56 -04:00
hydroflame
5f82c616a2
Merge pull request #1533 from danielyxie/dev
v0.57.0
2021-10-16 22:38:36 -04:00
Olivier Gagnon
c7c582e9fa update doc 2021-10-16 22:36:49 -04:00
Olivier Gagnon
c96c7e3d2e v0.57.0 v0.57.0 2021-10-16 22:32:48 -04:00