Commit Graph

52 Commits

Author SHA1 Message Date
Aleksei Bezrodnov 1af01401d9 UI: Correct behavior of "back" button on faction augs page
Plus router refactoring
2023-06-26 04:24:37 -04:00
Aleksei Bezrodnov 78ca279df7 FIX: singularity faction donation formula (#619) 2023-06-19 03:55:03 -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
Snarling ebae35b1fb CODEBASE: Expand lint rules, and Aliases are stored as maps (#501) 2023-05-05 03:55:59 -04:00
Snarling 6a6043c509 CODEBASE: Add custom useRerender hook (#359) 2023-02-11 13:22:55 -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
David Walker 8d793ea271 Internal refactoring of Router (#241) 2022-12-04 03:14:06 -05:00
Snarling 88d51e9a7e MISC: A bunch of enums stuff. (#212)
* Some game enums moved to utils/enums. Others can eventually be moved there as well.
* findEnumMember function for performing fuzzy matching of player input with enum members, without needing separate fuzzy functions for every enum.
* Also used findEnumMember for safely loading save games (allows case changes in enum values)
* Changed capitalization on some enums.
* BREAKING: removed classGains work formulas function
* Split ClassType enum into UniversityClassType and GymType.
* Added universityGains and gymGains work formulas functions
* Provided the new split enums to the player on ns.enums.
2022-11-20 08:37:11 -05:00
Olivier Gagnon cbb7f58231 Make the main player object an alias, makes it easier to import 2022-10-09 18:42:14 -04:00
Snarling 38063f62a7 build fix, lint, remove some instanceof checks 2022-09-27 16:09:32 -04:00
Snarling 83d357e758 commit1 2022-09-27 15:35:40 -04:00
Olivier Gagnon 4f86bc644c fix faction work not working correctly 2022-07-20 15:08:04 -04:00
Olivier Gagnon 0550bc188c refactor some stuff 2022-07-14 17:43:08 -04:00
Olivier Gagnon f7805c4a51 convert faction work to new work system 2022-07-12 01:54:19 -04:00
phyzical 033154a32d linting 2022-04-28 18:02:50 +08:00
Olivier Gagnon bab57fb4de make gang button a component 2022-04-25 12:02:37 -04:00
borisflagell 90dc8bbc3a Streamlining GangKarmaRequirement constant
As suggested by phyzical :

The GangKarmaRequirement const was declared locally in the PlayerObjectGangMethod.ts file.

It's now part of the GangConstants object in the gang/data/constant.ts file.

Allowing it to be referenced in the FactionRoot.tsx tooltip.
2022-04-23 15:55:15 +02:00
borisflagell 421e7b8c74 Update FactionRoot.tsx
Run Prettier

Manually fixed trailing space for lint test
2022-04-21 18:51:04 +02:00
borisflagell e05617d9d3 UI FIX #3415
fixes #3415
2022-04-21 00:18:15 +02:00
phyzical 44ea479043 update constants
* added OperationNames
* added faction names
* used citynames where appropriate
2022-03-19 16:09:59 +08:00
BB 4eb59ac70c Turned on no-useless-concat lint and fixed it in code 2022-03-16 20:44:52 +01:00
nickofolas beebcefb18 Initialize purchasingAugs state to correct value
Overwritten in merge commit, just fixing before I forget haha
2022-03-10 21:21:08 -06:00
Olivier Gagnon dfb29626f3 fix mc 2022-03-10 22:17:01 -05:00
hydroflame c13ff7ea52 Merge branch 'dev' into improvement/aug-page-link 2022-03-10 21:40:58 -05:00
nickofolas e960fbfa28 Implement faction augs page shortcut 2022-03-10 18:39:54 -06:00
Jack 2f40906d4b Update src/Faction/ui/FactionRoot.tsx
Co-authored-by: ApamNapat <ApamNapat@users.noreply.github.com>
2022-03-09 22:49:50 +08:00
phyzical de0b0f9fa9 added logic to show a sorry page when augmenting with faction screen open 2022-03-09 22:02:34 +08:00
BB 2c3e0985c4 Simplified some relative imports 2022-03-06 05:05:55 +01:00
theit8514 d59601f848 Add return value and code style cleanup 2021-12-15 20:48:19 -05:00
theit8514 ad57f3dc73 Work functions do not take focus
setFocus readded and updated to send the user to the Work page if focusing.
2021-12-15 20:33:48 -05:00
Olivier Gagnon 3112dc60c0 few more bugfixes 2021-11-11 23:28:08 -05:00
Olivier Gagnon 58d652da54 fix something about covenant sleeve purchases 2021-11-05 21:57:41 -04:00
Olivier Gagnon 5ba7b2796d build gang in mui 2021-10-01 15:39:56 -04:00
Olivier Gagnon 9cbb525da3 remove hacking missions 2021-10-01 15:26:12 -04:00
Olivier Gagnon 3187bb990d Everything except Gang is Muified 2021-10-01 13:36:59 -04:00
Olivier Gagnon b0e4a2a775 finalize corp in mui 2021-09-30 17:02:07 -04:00
Olivier Gagnon 73834d03cd faction dont rerender 2021-09-29 10:33:21 -04:00
Olivier Gagnon 86678b6290 convert blade to mui 2021-09-27 17:09:48 -04:00
Olivier Gagnon 14e6dd0158 sleeves to mui 2021-09-26 20:55:38 -04:00
Olivier Gagnon 8b15adda8a lint 2021-09-25 02:36:49 -04:00
Olivier Gagnon 66a2adaeb4 update prettier 2021-09-22 12:56:55 -04:00
Olivier Gagnon c1945ab12e fix donation 2021-09-22 12:49:29 -04:00
Olivier Gagnon 558b671206 few bugfix 2021-09-22 11:32:04 -04:00
Olivier Gagnon 501ce70702 re-add back button from faction to factions 2021-09-21 17:13:35 -04:00
Olivier Gagnon 9e62438b43 Rework faction augs menu 2021-09-20 20:42:13 -04:00
Olivier Gagnon 8db57d7e81 hotfix 2021-09-20 01:45:32 -04:00
Olivier Gagnon 34313e8100 fix create gang not working. 2021-09-20 01:24:39 -04:00
Olivier Gagnon 7a2dd16092 Hacking missions inside GameRoot 2021-09-19 17:05:27 -04:00
Olivier Gagnon e1a22016b5 build dev 2021-09-18 04:01:07 -04:00