Commit Graph

6530 Commits

Author SHA1 Message Date
JP Sugarbroad
01529a8347 fix typing conflict between jest and cypress
Cypress and Jest both define "expect", but they come from different
libraries (Cypress uses Chai, Jest uses its own thing). So we can't
include both of them in the tsconfig.json. Conveniently, however, we
don't need any of the test code to be part of the main project, so
it suffices to give these things their own tsconfig.json files.

That being done, adding "jest" to the global types lets us remove all
those imports.
2022-05-10 22:26:54 -07:00
hydroflame
ce888b757a
Merge pull request #3632 from trambelus/patch-1
Fix infiltration rep BN mult calculation
2022-05-10 00:40:12 -04:00
nickofolas
770312b9df Remove redundant arrow function 2022-05-09 19:34:36 -05:00
nickofolas
8baafe438d Fix options sliders not sliding 2022-05-09 19:32:32 -05:00
nickofolas
dd949697df Fix handle position 2022-05-09 19:26:20 -05:00
nickofolas
d4e97d786c Various log box improvements 2022-05-09 18:15:23 -05:00
nickofolas
bc9bce0d2c Tweaks to classes 2022-05-09 17:50:45 -05:00
Undeemiss
c2f381cc6e Fix compilation error
I must have missed this file in the commit while having it changed
in my working directory, because the game compiled fine when I was
testing initially but not when I switched branches and came back.
2022-05-09 16:15:11 -05:00
Undeemiss
6748017dd8 Require Blade's Simulacrum be installed in order to take effect
The check for when an action is started was not set to ignore a
purchased but not yet installed Blade's Simulacrum. That is fixed
here.
2022-05-09 15:17:42 -05:00
Undeemiss
a1754da9f6 Random comment added to my coding contract so I can PR this branch 2022-05-09 15:04:09 -05:00
Undeemiss
b00301f4e1 Renamed BN mult CorporationSoftCap to CorporationSoftcap
Replaced all instances of "CorporationSoftCap" in src/ with
"CorporationSoftcap". If files outside of src/ must be changed, I
do not know what those would be.
2022-05-09 14:45:19 -05:00
Undeemiss
8a68633d9c Throw an error when trying to charge stanek booster fragments 2022-05-09 14:29:42 -05:00
Dane Horn
a778015a21 formatting 2022-05-09 09:56:44 +02:00
Dane Horn
1675a2811c ignore ctrl and alt keypresses 2022-05-09 09:55:41 +02:00
Dane Horn
05f2f267b1 reorder 0 territory gangs to the back of the list and reduce opacity 2022-05-09 08:11:22 +02:00
nickofolas
ebc6b52af5 Properly show stats with a BitNode mult of 0 2022-05-08 20:45:00 -05:00
Dane Horn
86b29237eb add new function to detect key presses that can be ignored 2022-05-08 23:59:00 +02:00
Dane Horn
a64c271175 initial approach removing gangs with <= 0 territory 2022-05-08 22:59:36 +02:00
Alt
a6d578eb2e
Edit RAM cost in comment to equal actual RAM usage 2022-05-08 22:53:34 +02:00
rderfler
b683bc0340 fmt 2022-05-08 14:14:05 -04:00
Trambelus
6d63d6f44a
Fix infiltration rep BN mult calculation 2022-05-08 04:23:32 -04:00
Olivier Gagnon
c6806caca2 Wrap most of the API 2022-05-07 19:08:07 -04:00
nickofolas
dd0ff1b614 Fix check for player gang access 2022-05-07 17:51:02 -05:00
nickofolas
1147df8c75 Format 2022-05-07 17:34:50 -05:00
nickofolas
ce500f9bfa Update SF description to reflect changes 2022-05-07 17:20:45 -05:00
nickofolas
d1498598a9 Fix conditional rendering of BN mults element 2022-05-07 17:16:47 -05:00
nickofolas
6d1a3bb47a Fix naming inconsistencies 2022-05-07 16:54:55 -05:00
nickofolas
05f6e079cd Fix hack money BN mult in PlayerMultipliers 2022-05-07 16:52:46 -05:00
nickofolas
c688e20876 Refactor character stats table 2022-05-07 16:51:34 -05:00
Olivier Gagnon
fb08139903 Implemented infinite loop safety net. 2022-05-07 17:43:45 -04:00
nickofolas
5d89f17e4a Tweak max SF level code 2022-05-07 16:28:01 -05:00
nickofolas
d43ec1d501 Fix computation of BN level 2022-05-07 16:19:31 -05:00
nickofolas
1f8c5164d7 Update BN Mults UI and add section to Stats 2022-05-07 15:52:10 -05:00
nickofolas
b1f945ff8e Refactor CharacterStats a bit 2022-05-07 14:48:26 -05:00
nickofolas
ef29baf563 Refactor PlayerMultipliers.tsx 2022-05-07 12:46:04 -05:00
nickofolas
81912d7876 Fix defaultMultipliers being changed 2022-05-07 10:14:01 -05: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
rderfler
30521468fc Merge dev 2022-05-06 22:44:37 -04:00
rderfler
77073836cb Merge remote-tracking branch 'upstream/dev' into dev 2022-05-06 22:44:24 -04:00
nickofolas
3e9bcea9e4 Fix modal z-index 2022-05-06 11:35:23 -05:00
Snarling
fe1dd11269 Only mention number of threads if != 1
Fixes confusion mentioned here: https://discord.com/channels/415207508303544321/921120989000114257/971233305020231722
2022-05-06 09:15:48 -04:00
Snarling
99a0337a14 Dirty fix for available ram float errors
1MB added to available ram when checking if available is sufficient. All actual ram values in game are a multiple of 50MB so an extra 1MB can't ever allow additional script load to be ran.
2022-05-06 08:56:19 -04:00
Zoë Hoekstra
65889079b6
Add log entry when ui.clearTerminal() is ran 2022-05-06 12:41:02 +02:00
Zoë Hoekstra
472c9778df
Add ns.ui.clearTerminal for 0.2 GB 2022-05-06 12:29:21 +02:00
phyzical
10c67ab363 refactor resulted in it being backwards 2022-05-06 16:35:07 +08:00
Olivier Gagnon
b46718d188 allbuild commit 22b6d0d5 2022-05-06 01:59:04 -04:00
hydroflame
22b6d0d5a0
Merge pull request #3613 from nickofolas/fix/nfg-level-application
AUGMENTATIONS: Fix NeuroFlux being applied improperly and migrate broken saves
2022-05-06 01:56:13 -04:00
jaype87
1a8e31ed09 fix formating 2022-05-06 01:06:53 +02:00
jaype87
5378e8cc38 sort and color grafting list 2022-05-06 00:44:05 +02:00