Commit Graph

92 Commits

Author SHA1 Message Date
Aleksei Bezrodnov 1d5a735941 MISC: enforce eslint react checks (#640) 2023-06-26 22:29:44 -04:00
Snarling a4b826683e TYPESAFETY: Strict internal typing for AugmentationName (#608) 2023-06-16 17:52:42 -04:00
Snarling 6732549196 ENUMS: Initial Enum Helper rework + Reorganization (#596) 2023-06-12 00:34:20 -04:00
omuretsu df237b0842 Fix Stanek fix 2023-05-15 23:01:19 -04:00
omuretsu 21162c8cdd Fix stanek not recalculating stats immediately on game load 2023-05-15 22:55:57 -04:00
Snarling ebae35b1fb CODEBASE: Expand lint rules, and Aliases are stored as maps (#501) 2023-05-05 03:55:59 -04:00
Snarling 04d49e3a6d SCRIPTS: Script modules are reused when they are imported (#461)
Also corrects some compile race conditions.
2023-04-07 00:33:51 -04:00
Snarling 51bf0d1904 Stanek performance boost + bonus time rework (#410) 2023-03-07 14:45:22 -05:00
Snarling d3f9554a6e 2.2.2 Release (#378) 2023-02-21 09:44:18 -05:00
Snarling 6a6043c509 CODEBASE: Add custom useRerender hook (#359) 2023-02-11 13:22:55 -05:00
Snarling b4074328ec UI: Added new locale-aware and configurable number formatting (#354) 2023-02-11 13:18:50 -05:00
Snarling fb1f95c26e VARIOUS: Various changes prior to release 2.2 (#271)
See PR #271 description
2022-12-29 20:28:53 -05:00
Olivier Gagnon af1a1ac58d Rename lots of reference from old to new repo 2022-10-20 03:56:59 +11:00
Olivier Gagnon cbb7f58231 Make the main player object an alias, makes it easier to import 2022-10-09 18:42:14 -04:00
Olivier Gagnon f6f023eeb4 Fix tons of typos 2022-10-09 01:25:31 -04:00
hydroflame 0e26515c81 Merge pull request #4213 from borisflagell/SleeveZOE
STANEK: Reapply aug's multiplier to sleeve when applying Stanek gift to them
2022-10-09 00:25:52 -04:00
borisflagell 08b6c7a177 Fix #4195
Whenever StanekGift updated Sleeve's mult,
all mult were reset to default value (1.0 usually).
then stanek mult were merged.
but aug's mults never were.

=> Added a small loop to StanekGift updateMults() which reapply Aug's mult.
2022-10-08 15:28:51 +03:00
Snarling aa80cf6451 See description
Reverted ToastVariant back to an enum internally. Still exposed to player as just possible strings.
Changed all 1-line documentation comments to actually be 1-line. Moved some because they were not providing documentation for the thing they were trying to.
2022-10-04 06:40:10 -04:00
Snarling 6e3a6be106 Remove some redundant typing 2022-09-27 15:35:42 -04:00
Snarling 557bc12562 More classes as types 2022-09-27 15:35:42 -04:00
Snarling c510e47885 Player is now a Person
Use correct class inheritance, use class as type and remove IPlayer
2022-09-27 15:35:41 -04:00
Snarling 21a2d49de7 Finish removing player passing 2022-09-27 15:35:41 -04:00
Olivier Gagnon a3c92dd04d Wrap up v2.1.0 2022-09-23 15:00:20 -04:00
Olivier Gagnon fb197be206 Fix hostname generation being weird about dash 0 added 2022-09-23 12:04:21 -04:00
Olivier Gagnon 7455b80466 fix any in CotMG helper 2022-07-18 03:26:07 -04:00
Olivier Gagnon 6a11998427 nuke more any 2022-07-14 19:07:10 -04:00
Olivier Gagnon 6b630753f0 nuke some use of any 2022-07-14 19:00:10 -04:00
Olivier Gagnon 5629c16def extract multipliers in its own type 2022-07-14 18:43:33 -04:00
borisflagell 682d689e55 fix lint error
removed unused import
(fixing commit issue)
2022-05-24 15:10:05 +02:00
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