Commit Graph

63 Commits

Author SHA1 Message Date
borisflagell
5b4addbb21 Prettier & slight fix
Streamlined DummyGrid to behave like Grid.

Fixed a bad practice issue with ActiveFragmentSummary that displayed an error message in the webbrowser devtool console.
2022-05-22 01:08:53 +02:00
borisflagell
ce5fdb00af STANEK: FIX #3669 Clearing stanek grid using API could crash the page.
Fix #3669 - Query the "activegrid" at each re-rerendering of the Stanek Page. Rather than using React useState and passing it as Props.

Tested with :
ns.clearLog()
ns.tail()
await ns.sleep(2000)

ns.print("Clearing gift")
await ns.sleep(1000);
ns.stanek.clearGift()
2022-05-22 00:57:30 +02:00
Olivier Gagnon
4cc518f377 fix lint 2022-05-19 02:49:49 -04:00
Olivier Gagnon
c2b4a5b52a Update codebase for stanek 2022-05-19 02:48:50 -04:00
hydroflame
e6ce9a9c03
Merge pull request #3622 from borisflagell/#1754---stanek
UI: FIX #1754  Stanek effect summary & slight tweak.
2022-05-19 02:12:50 -04:00
Olivier Gagnon
fda3f02d73 Fix stanek leaking classes 2022-05-19 01:34:36 -04:00
nickofolas
18120362cd Reapply entropy properly in stanek 2022-05-18 17:32:37 -05:00
borisflagell
7a6bcfc513 slight tweak to the no fragment use case
Removed the "non currently" message displayed when the played got no fragment.
2022-05-11 20:18:05 +02:00
borisflagell
5542d43fb9 Added support of duplicate fragment
Fragments sharing the same effect will now be merged in the summary.
2022-05-11 20:13:03 +02:00
borisflagell
cc6089092f Fix Test error on Tooltip import (hopefully) 2022-05-07 15:35:27 +02:00
borisflagell
705a56f3bd prettier
Add a summary to the stanek page

Tweak UI

Ran Prettier & lint, added a margin to a stanek page element

revert shit
2022-05-07 15:14:51 +02:00
Undeemiss
749b93608b Fixed Stanek fragment collision detection
Relaxed some overzealous short-circuiting to ensure fragments
on the Stanek's Gift board properly check for collisions.
2022-04-14 11:13:50 -05:00
Olivier Gagnon
811ae1a751 more stanek doc 2022-04-13 17:40:11 -04:00
hydroflame
e2296aa963
Merge branch 'dev' into stanek-examples 2022-04-13 17:38:59 -04:00
Olivier Gagnon
a98f28fe92 change stanek description 2022-04-13 17:38:34 -04:00
nickofolas
4a0fb59e56 Fix dummy stanek width 2022-04-13 16:04:31 -05:00
Undeemiss
605851ddbd Corrected example grids found in stanek help
Updated the descriptions of all four example Stanek grids, updated
the contents of the third, and added spacing between the grids so
that it is clearer which grid each description refers to.
2022-04-13 15:46:09 -05:00
Olivier Gagnon
d895124267 lint 2022-04-13 00:27:43 -04:00
Olivier Gagnon
3e357ab9a7 Added demos in stanek 2022-04-12 20:23:03 -04:00
Undeemiss
1c58f29fe9 Added info button to Stanek's Gift page
Added a small button that can be clicked to bring up a concise,
to the point description of how the Stanek's Gift mechanic works.
2022-04-12 17:54:42 -05:00
Olivier Gagnon
48f80f25d6 fmt and lint 2022-04-06 19:30:08 -04:00
Olivier Gagnon
e3e6b449d4 Make Stanek hacknet cost percentage better. 2022-04-01 16:59:23 -04:00
Olivier Gagnon
b86ff7d405 allbuild commit 6c8a46d3 2022-04-01 16:39:58 -04:00
Olivier Gagnon
cd09589f25 stanek-formula-rework 2022-04-01 15:45:12 -04:00
Thomas B
5d2f2d4373
Update StaneksGift.ts 2022-03-22 08:38:28 -04:00
Thomas B
8b8b098fb6
Update Constants.ts 2022-03-22 08:37:11 -04:00
Thomas B
67ca1fc3e5
Update Constants.ts 2022-03-22 08:35:22 -04:00
Thomas B
9381cb4a67
Cap Stanek at 25x25 2022-03-21 12:46:38 -04:00
Thomas B
a57042276b
Cap Staneks Gift at 25x25 2022-03-21 12:44:26 -04:00
BB
9c9550ad42 Removed unreachable code 2022-03-20 19:33:10 +01:00
phyzical
44ea479043 update constants
* added OperationNames
* added faction names
* used citynames where appropriate
2022-03-19 16:09:59 +08:00
BB
b2959e71ca Fixed and improved wording in Stanek's gift description 2022-03-01 21:53:20 +01:00
Olivier Gagnon
d8a5f5b03c many fixes 2022-01-09 15:24:32 -05:00
Olivier Gagnon
69a9448e47 fix typos 2021-12-12 12:46:56 -05:00
Olivier Gagnon
8e11e25904 release bn13 2021-12-03 15:45:39 -05:00
Olivier Gagnon
cb4c06d2ba remove cooling because it fucks with very high level hacking strategies 2021-11-18 15:42:49 -05:00
Olivier Gagnon
ae9ad4430e Increase rep gains 2 2021-11-17 10:59:15 -05:00
Olivier Gagnon
022cd7b68d Increase rep gains 2021-11-17 10:51:45 -05:00
Olivier Gagnon
d958aa5ed9 fix charging for 0 rep 2021-11-15 14:41:34 -05:00
Olivier Gagnon
d49d8b4764 stanek bitnode mult 2021-11-13 23:58:08 -05:00
Olivier Gagnon
43a6521403 more work on bn13 2021-11-13 23:45:26 -05:00
Olivier Gagnon
56ddcd9a45 more work on bn13 2021-11-13 22:44:17 -05:00
Olivier Gagnon
080b5a4a1f merge dev 2021-10-26 23:11:47 -04:00
tyasuh.taeragan@gmail.com
514150e589 Update FragmentInspector.tsx
Power to Base Power, Fragment Inspector
2021-10-25 10:34:15 -04:00
Olivier Gagnon
35a5e2f343 change the way charge works 2021-10-17 18:59:37 -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
Olivier Gagnon
75b3d9b126 fix boosters with rotations 2021-10-17 00:35:50 -04:00
Olivier Gagnon
fdf2e72896 prestige stuff with sg 2021-10-16 21:38:03 -04:00
Olivier Gagnon
df6d156e8e Change a few fragment 2021-10-16 21:00:36 -04:00
Olivier Gagnon
50147f6b0b build new version 2021-10-16 19:10:11 -04:00